~ubuntu-branches/ubuntu/trusty/xchat-gnome/trusty-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-07-05 12:27:58 UTC
  • mfrom: (1.1.19 upstream) (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110705122758-bkl6xii0ebfddtmh
Tags: 1:0.30.0~git20100421.29cc76-1ubuntu1
* Merge with Debian unstable, remaining changes: (LP: #773847)
  - debian/control:
    - add Build-Depends on liblaunchpad-integration-dev.
    - xchat-gnome Suggests: xchat-gnome-indicator.
  - debian/patches/02_lpi.patch: add Launchpad integration items to the help
    menu
  - debian/patches/10_xchat-gnome-close-event.patch: add events for window
    close.
  - debian/patches/04_autojoin_ubuntu_chan.patch: add the Ubuntu network
    as default selection and default to autojoining #ubuntu.
  - debian/patches/20_add_gui_focus.patch: implement GUI focus from XChat.
  - debian/patches/51_freenode_default_port_8001.patch: Drop ports 666x
    for FreeNode to workaround a possible DCC exploit.
  - debian/patches/95_apturl-support.patch: support apt://-urls.
  - debian/watch: also look for unstable versions
  - debian/xchat-gnome.gconf-defaults: Set the default enabled plugins,
    indicator, netmonitor, and notifyosd.
* debian/patches/52_no_zero_width_pixmaps.patch: dropped, applied upstream.
* debian/patches/98_ice_depends_for_eggsmclient.patch: replaced by
  01_link_libice.patch.
* debian/control: remove duplicate entry in Build-Depends for intltool.
* debian/xchat-gnome.install: also install the xchat-gnome.desktop file from
  /usr/share/applications in xchat-gnome rather than xchat-gnome-common.
  (LP: #374686)
* debian/rules: update the xchat-gnome-common binary-install target to not
  keep a duplicate copy of the xchat-gnome.desktop file.

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.67 for XChat-GNOME IRC Chat 0.26.1.
4
 
#
5
 
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
11
 
#
12
 
#
13
 
# This configure script is free software; the Free Software Foundation
14
 
# gives unlimited permission to copy, distribute and modify it.
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in #(
30
 
  *posix*) :
31
 
    set -o posix ;; #(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in #(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
case $0 in #((
95
 
  *[\\/]* ) as_myself=$0 ;;
96
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
 
for as_dir in $PATH
98
 
do
99
 
  IFS=$as_save_IFS
100
 
  test -z "$as_dir" && as_dir=.
101
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102
 
  done
103
 
IFS=$as_save_IFS
104
 
 
105
 
     ;;
106
 
esac
107
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
 
# in which case we are not to be found in the path.
109
 
if test "x$as_myself" = x; then
110
 
  as_myself=$0
111
 
fi
112
 
if test ! -f "$as_myself"; then
113
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
 
  exit 1
115
 
fi
116
 
 
117
 
# Unset variables that we do not need and which cause bugs (e.g. in
118
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119
 
# suppresses any "Segmentation fault" message there.  '((' could
120
 
# trigger a bug in pdksh 5.2.14.
121
 
for as_var in BASH_ENV ENV MAIL MAILPATH
122
 
do eval test x\${$as_var+set} = xset \
123
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
 
done
125
 
PS1='$ '
126
 
PS2='> '
127
 
PS4='+ '
128
 
 
129
 
# NLS nuisances.
130
 
LC_ALL=C
131
 
export LC_ALL
132
 
LANGUAGE=C
133
 
export LANGUAGE
134
 
 
135
 
# CDPATH.
136
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
 
 
138
 
if test "x$CONFIG_SHELL" = x; then
139
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
 
  emulate sh
141
 
  NULLCMD=:
142
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
 
  # is contrary to our usage.  Disable this feature.
144
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
 
  setopt NO_GLOB_SUBST
146
 
else
147
 
  case \`(set -o) 2>/dev/null\` in #(
148
 
  *posix*) :
149
 
    set -o posix ;; #(
150
 
  *) :
151
 
     ;;
152
 
esac
153
 
fi
154
 
"
155
 
  as_required="as_fn_return () { (exit \$1); }
156
 
as_fn_success () { as_fn_return 0; }
157
 
as_fn_failure () { as_fn_return 1; }
158
 
as_fn_ret_success () { return 0; }
159
 
as_fn_ret_failure () { return 1; }
160
 
 
161
 
exitcode=0
162
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
 
 
168
 
else
169
 
  exitcode=1; echo positional parameters were not saved.
170
 
fi
171
 
test x\$exitcode = x0 || exit 1"
172
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
177
 
  if (eval "$as_required") 2>/dev/null; then :
178
 
  as_have_required=yes
179
 
else
180
 
  as_have_required=no
181
 
fi
182
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
 
 
184
 
else
185
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
 
as_found=false
187
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
 
do
189
 
  IFS=$as_save_IFS
190
 
  test -z "$as_dir" && as_dir=.
191
 
  as_found=:
192
 
  case $as_dir in #(
193
 
         /*)
194
 
           for as_base in sh bash ksh sh5; do
195
 
             # Try only shells that exist, to save several forks.
196
 
             as_shell=$as_dir/$as_base
197
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  CONFIG_SHELL=$as_shell as_have_required=yes
200
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
 
  break 2
202
 
fi
203
 
fi
204
 
           done;;
205
 
       esac
206
 
  as_found=false
207
 
done
208
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
 
  CONFIG_SHELL=$SHELL as_have_required=yes
211
 
fi; }
212
 
IFS=$as_save_IFS
213
 
 
214
 
 
215
 
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        BASH_ENV=/dev/null
220
 
        ENV=/dev/null
221
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
 
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
 
fi
225
 
 
226
 
    if test x$as_have_required = xno; then :
227
 
  $as_echo "$0: This script requires a shell more modern than all"
228
 
  $as_echo "$0: the shells that I found on your system."
229
 
  if test x${ZSH_VERSION+set} = xset ; then
230
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
 
  else
233
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
234
 
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome
235
 
$0: about your system, including any error possibly output
236
 
$0: before this message. Then install a modern shell, or
237
 
$0: manually run the script under such a shell if you do
238
 
$0: have one."
239
 
  fi
240
 
  exit 1
241
 
fi
242
 
fi
243
 
fi
244
 
SHELL=${CONFIG_SHELL-/bin/sh}
245
 
export SHELL
246
 
# Unset more variables known to interfere with behavior of common tools.
247
 
CLICOLOR_FORCE= GREP_OPTIONS=
248
 
unset CLICOLOR_FORCE GREP_OPTIONS
249
 
 
250
 
## --------------------- ##
251
 
## M4sh Shell Functions. ##
252
 
## --------------------- ##
253
 
# as_fn_unset VAR
254
 
# ---------------
255
 
# Portably unset VAR.
256
 
as_fn_unset ()
257
 
{
258
 
  { eval $1=; unset $1;}
259
 
}
260
 
as_unset=as_fn_unset
261
 
 
262
 
# as_fn_set_status STATUS
263
 
# -----------------------
264
 
# Set $? to STATUS, without forking.
265
 
as_fn_set_status ()
266
 
{
267
 
  return $1
268
 
} # as_fn_set_status
269
 
 
270
 
# as_fn_exit STATUS
271
 
# -----------------
272
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273
 
as_fn_exit ()
274
 
{
275
 
  set +e
276
 
  as_fn_set_status $1
277
 
  exit $1
278
 
} # as_fn_exit
279
 
 
280
 
# as_fn_mkdir_p
281
 
# -------------
282
 
# Create "$as_dir" as a directory, including parents if necessary.
283
 
as_fn_mkdir_p ()
284
 
{
285
 
 
286
 
  case $as_dir in #(
287
 
  -*) as_dir=./$as_dir;;
288
 
  esac
289
 
  test -d "$as_dir" || eval $as_mkdir_p || {
290
 
    as_dirs=
291
 
    while :; do
292
 
      case $as_dir in #(
293
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294
 
      *) as_qdir=$as_dir;;
295
 
      esac
296
 
      as_dirs="'$as_qdir' $as_dirs"
297
 
      as_dir=`$as_dirname -- "$as_dir" ||
298
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
300
 
         X"$as_dir" : 'X\(//\)$' \| \
301
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
 
$as_echo X"$as_dir" |
303
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304
 
            s//\1/
305
 
            q
306
 
          }
307
 
          /^X\(\/\/\)[^/].*/{
308
 
            s//\1/
309
 
            q
310
 
          }
311
 
          /^X\(\/\/\)$/{
312
 
            s//\1/
313
 
            q
314
 
          }
315
 
          /^X\(\/\).*/{
316
 
            s//\1/
317
 
            q
318
 
          }
319
 
          s/.*/./; q'`
320
 
      test -d "$as_dir" && break
321
 
    done
322
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
323
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
 
 
325
 
 
326
 
} # as_fn_mkdir_p
327
 
# as_fn_append VAR VALUE
328
 
# ----------------------
329
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
 
# advantage of any shell optimizations that allow amortized linear growth over
331
 
# repeated appends, instead of the typical quadratic growth present in naive
332
 
# implementations.
333
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
 
  eval 'as_fn_append ()
335
 
  {
336
 
    eval $1+=\$2
337
 
  }'
338
 
else
339
 
  as_fn_append ()
340
 
  {
341
 
    eval $1=\$$1\$2
342
 
  }
343
 
fi # as_fn_append
344
 
 
345
 
# as_fn_arith ARG...
346
 
# ------------------
347
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
 
# must be portable across $(()) and expr.
350
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351
 
  eval 'as_fn_arith ()
352
 
  {
353
 
    as_val=$(( $* ))
354
 
  }'
355
 
else
356
 
  as_fn_arith ()
357
 
  {
358
 
    as_val=`expr "$@" || test $? -eq 1`
359
 
  }
360
 
fi # as_fn_arith
361
 
 
362
 
 
363
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
364
 
# ----------------------------------------
365
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
 
# script with STATUS, using 1 if that was 0.
368
 
as_fn_error ()
369
 
{
370
 
  as_status=$1; test $as_status -eq 0 && as_status=1
371
 
  if test "$4"; then
372
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
 
  fi
375
 
  $as_echo "$as_me: error: $2" >&2
376
 
  as_fn_exit $as_status
377
 
} # as_fn_error
378
 
 
379
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
381
 
  as_expr=expr
382
 
else
383
 
  as_expr=false
384
 
fi
385
 
 
386
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387
 
  as_basename=basename
388
 
else
389
 
  as_basename=false
390
 
fi
391
 
 
392
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393
 
  as_dirname=dirname
394
 
else
395
 
  as_dirname=false
396
 
fi
397
 
 
398
 
as_me=`$as_basename -- "$0" ||
399
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
 
         X"$0" : 'X\(//\)$' \| \
401
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
 
$as_echo X/"$0" |
403
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
404
 
            s//\1/
405
 
            q
406
 
          }
407
 
          /^X\/\(\/\/\)$/{
408
 
            s//\1/
409
 
            q
410
 
          }
411
 
          /^X\/\(\/\).*/{
412
 
            s//\1/
413
 
            q
414
 
          }
415
 
          s/.*/./; q'`
416
 
 
417
 
# Avoid depending upon Character Ranges.
418
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
 
as_cr_digits='0123456789'
422
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430
 
  sed -n '
431
 
    p
432
 
    /[$]LINENO/=
433
 
  ' <$as_myself |
434
 
    sed '
435
 
      s/[$]LINENO.*/&-/
436
 
      t lineno
437
 
      b
438
 
      :lineno
439
 
      N
440
 
      :loop
441
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442
 
      t loop
443
 
      s/-\n.*//
444
 
    ' >$as_me.lineno &&
445
 
  chmod +x "$as_me.lineno" ||
446
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
 
 
448
 
  # Don't try to exec as it changes $[0], causing all sort of problems
449
 
  # (the dirname of $[0] is not the place where we might find the
450
 
  # original and so on.  Autoconf is especially sensitive to this).
451
 
  . "./$as_me.lineno"
452
 
  # Exit status is that of the last command.
453
 
  exit
454
 
}
455
 
 
456
 
ECHO_C= ECHO_N= ECHO_T=
457
 
case `echo -n x` in #(((((
458
 
-n*)
459
 
  case `echo 'xy\c'` in
460
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461
 
  xy)  ECHO_C='\c';;
462
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463
 
       ECHO_T=' ';;
464
 
  esac;;
465
 
*)
466
 
  ECHO_N='-n';;
467
 
esac
468
 
 
469
 
rm -f conf$$ conf$$.exe conf$$.file
470
 
if test -d conf$$.dir; then
471
 
  rm -f conf$$.dir/conf$$.file
472
 
else
473
 
  rm -f conf$$.dir
474
 
  mkdir conf$$.dir 2>/dev/null
475
 
fi
476
 
if (echo >conf$$.file) 2>/dev/null; then
477
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
478
 
    as_ln_s='ln -s'
479
 
    # ... but there are two gotchas:
480
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482
 
    # In both cases, we have to default to `cp -p'.
483
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
 
      as_ln_s='cp -p'
485
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
486
 
    as_ln_s=ln
487
 
  else
488
 
    as_ln_s='cp -p'
489
 
  fi
490
 
else
491
 
  as_ln_s='cp -p'
492
 
fi
493
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494
 
rmdir conf$$.dir 2>/dev/null
495
 
 
496
 
if mkdir -p . 2>/dev/null; then
497
 
  as_mkdir_p='mkdir -p "$as_dir"'
498
 
else
499
 
  test -d ./-p && rmdir ./-p
500
 
  as_mkdir_p=false
501
 
fi
502
 
 
503
 
if test -x / >/dev/null 2>&1; then
504
 
  as_test_x='test -x'
505
 
else
506
 
  if ls -dL / >/dev/null 2>&1; then
507
 
    as_ls_L_option=L
508
 
  else
509
 
    as_ls_L_option=
510
 
  fi
511
 
  as_test_x='
512
 
    eval sh -c '\''
513
 
      if test -d "$1"; then
514
 
        test -d "$1/.";
515
 
      else
516
 
        case $1 in #(
517
 
        -*)set "./$1";;
518
 
        esac;
519
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520
 
        ???[sx]*):;;*)false;;esac;fi
521
 
    '\'' sh
522
 
  '
523
 
fi
524
 
as_executable_p=$as_test_x
525
 
 
526
 
# Sed expression to map a string onto a valid CPP name.
527
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
 
 
529
 
# Sed expression to map a string onto a valid variable name.
530
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
 
 
532
 
 
533
 
 
534
 
# Check that we are running under the correct shell.
535
 
SHELL=${CONFIG_SHELL-/bin/sh}
536
 
 
537
 
case X$lt_ECHO in
538
 
X*--fallback-echo)
539
 
  # Remove one level of quotation (which was required for Make).
540
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
 
  ;;
542
 
esac
543
 
 
544
 
ECHO=${lt_ECHO-echo}
545
 
if test "X$1" = X--no-reexec; then
546
 
  # Discard the --no-reexec flag, and continue.
547
 
  shift
548
 
elif test "X$1" = X--fallback-echo; then
549
 
  # Avoid inline document here, it may be left over
550
 
  :
551
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
 
  # Yippee, $ECHO works!
553
 
  :
554
 
else
555
 
  # Restart under the correct shell.
556
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
557
 
fi
558
 
 
559
 
if test "X$1" = X--fallback-echo; then
560
 
  # used as fallback echo
561
 
  shift
562
 
  cat <<_LT_EOF
563
 
$*
564
 
_LT_EOF
565
 
  exit 0
566
 
fi
567
 
 
568
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
 
# if CDPATH is set.
570
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
 
 
572
 
if test -z "$lt_ECHO"; then
573
 
  if test "X${echo_test_string+set}" != Xset; then
574
 
    # find a string as large as possible, as long as the shell can cope with it
575
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579
 
      then
580
 
        break
581
 
      fi
582
 
    done
583
 
  fi
584
 
 
585
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
588
 
    :
589
 
  else
590
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
591
 
    # backslashes.  This makes it impossible to quote backslashes using
592
 
    #   echo "$something" | sed 's/\\/\\\\/g'
593
 
    #
594
 
    # So, first we look for a working echo in the user's PATH.
595
 
 
596
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
 
    for dir in $PATH /usr/ucb; do
598
 
      IFS="$lt_save_ifs"
599
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
603
 
        ECHO="$dir/echo"
604
 
        break
605
 
      fi
606
 
    done
607
 
    IFS="$lt_save_ifs"
608
 
 
609
 
    if test "X$ECHO" = Xecho; then
610
 
      # We didn't find a better echo, so look for alternatives.
611
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
614
 
        # This shell has a builtin print -r that does the trick.
615
 
        ECHO='print -r'
616
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
618
 
        # If we have ksh, try running configure again with it.
619
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
 
        export ORIGINAL_CONFIG_SHELL
621
 
        CONFIG_SHELL=/bin/ksh
622
 
        export CONFIG_SHELL
623
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624
 
      else
625
 
        # Try using printf.
626
 
        ECHO='printf %s\n'
627
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
630
 
          # Cool, printf works
631
 
          :
632
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
 
             test "X$echo_testing_string" = 'X\t' &&
634
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
 
          export CONFIG_SHELL
638
 
          SHELL="$CONFIG_SHELL"
639
 
          export SHELL
640
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
 
             test "X$echo_testing_string" = 'X\t' &&
643
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
645
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
 
        else
647
 
          # maybe with a smaller string...
648
 
          prev=:
649
 
 
650
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652
 
            then
653
 
              break
654
 
            fi
655
 
            prev="$cmd"
656
 
          done
657
 
 
658
 
          if test "$prev" != 'sed 50q "$0"'; then
659
 
            echo_test_string=`eval $prev`
660
 
            export echo_test_string
661
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
 
          else
663
 
            # Oops.  We lost completely, so just stick with echo.
664
 
            ECHO=echo
665
 
          fi
666
 
        fi
667
 
      fi
668
 
    fi
669
 
  fi
670
 
fi
671
 
 
672
 
# Copy echo and quote the copy suitably for passing to libtool from
673
 
# the Makefile, instead of quoting the original, which is used later.
674
 
lt_ECHO=$ECHO
675
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677
 
fi
678
 
 
679
 
 
680
 
 
681
 
 
682
 
test -n "$DJDIR" || exec 7<&0 </dev/null
683
 
exec 6>&1
684
 
 
685
 
# Name of the host.
686
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687
 
# so uname gets run too.
688
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
 
 
690
 
#
691
 
# Initializations.
692
 
#
693
 
ac_default_prefix=/usr/local
694
 
ac_clean_files=
695
 
ac_config_libobj_dir=.
696
 
LIBOBJS=
697
 
cross_compiling=no
698
 
subdirs=
699
 
MFLAGS=
700
 
MAKEFLAGS=
701
 
 
702
 
# Identity of this package.
703
 
PACKAGE_NAME='XChat-GNOME IRC Chat'
704
 
PACKAGE_TARNAME='xchat-gnome'
705
 
PACKAGE_VERSION='0.26.1'
706
 
PACKAGE_STRING='XChat-GNOME IRC Chat 0.26.1'
707
 
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome'
708
 
PACKAGE_URL=''
709
 
 
710
 
ac_unique_file="configure.ac"
711
 
# Factoring default headers for most tests.
712
 
ac_includes_default="\
713
 
#include <stdio.h>
714
 
#ifdef HAVE_SYS_TYPES_H
715
 
# include <sys/types.h>
716
 
#endif
717
 
#ifdef HAVE_SYS_STAT_H
718
 
# include <sys/stat.h>
719
 
#endif
720
 
#ifdef STDC_HEADERS
721
 
# include <stdlib.h>
722
 
# include <stddef.h>
723
 
#else
724
 
# ifdef HAVE_STDLIB_H
725
 
#  include <stdlib.h>
726
 
# endif
727
 
#endif
728
 
#ifdef HAVE_STRING_H
729
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730
 
#  include <memory.h>
731
 
# endif
732
 
# include <string.h>
733
 
#endif
734
 
#ifdef HAVE_STRINGS_H
735
 
# include <strings.h>
736
 
#endif
737
 
#ifdef HAVE_INTTYPES_H
738
 
# include <inttypes.h>
739
 
#endif
740
 
#ifdef HAVE_STDINT_H
741
 
# include <stdint.h>
742
 
#endif
743
 
#ifdef HAVE_UNISTD_H
744
 
# include <unistd.h>
745
 
#endif"
746
 
 
747
 
ac_subst_vars='am__EXEEXT_FALSE
748
 
am__EXEEXT_TRUE
749
 
LTLIBOBJS
750
 
LIBOBJS
751
 
AM_LDFLAGS
752
 
AM_CFLAGS
753
 
AM_CPPFLAGS
754
 
BUILD_PLUGINS
755
 
DIST_PLUGINS
756
 
USE_MMX_FALSE
757
 
USE_MMX_TRUE
758
 
MKINSTALLDIRS
759
 
POSUB
760
 
POFILES
761
 
PO_IN_DATADIR_FALSE
762
 
PO_IN_DATADIR_TRUE
763
 
INTLLIBS
764
 
INSTOBJEXT
765
 
GMOFILES
766
 
CATOBJEXT
767
 
CATALOGS
768
 
MSGFMT_OPTS
769
 
GETTEXT_PACKAGE
770
 
USE_OPENSSL_FALSE
771
 
USE_OPENSSL_TRUE
772
 
OPENSSL_LIBS
773
 
OPENSSL_CFLAGS
774
 
TCL_CFLAGS
775
 
TCL_LIBS
776
 
PYTHON_EXTRA_LIBS
777
 
PYTHON_CFLAGS
778
 
PYTHON_LIB_LOC
779
 
PYTHON_LIBS
780
 
PYTHON_INCLUDES
781
 
pkgpyexecdir
782
 
pyexecdir
783
 
pkgpythondir
784
 
pythondir
785
 
PYTHON_PLATFORM
786
 
PYTHON_EXEC_PREFIX
787
 
PYTHON_PREFIX
788
 
PYTHON_VERSION
789
 
PYTHON
790
 
PERL_LDFLAGS
791
 
PERL_CFLAGS
792
 
PERL
793
 
GCONFTOOL
794
 
GCONF_SCHEMAS_INSTALL_FALSE
795
 
GCONF_SCHEMAS_INSTALL_TRUE
796
 
GCONF_SCHEMA_FILE_DIR
797
 
GCONF_SCHEMA_CONFIG_SOURCE
798
 
ENABLE_LIBCANBERRA_FALSE
799
 
ENABLE_LIBCANBERRA_TRUE
800
 
LIBCANBERRAGTK_LIBS
801
 
LIBCANBERRAGTK_CFLAGS
802
 
ENABLE_LIBNOTIFY_FALSE
803
 
ENABLE_LIBNOTIFY_TRUE
804
 
LIBNOTIFY_LIBS
805
 
LIBNOTIFY_CFLAGS
806
 
ENABLE_DBUS_FALSE
807
 
ENABLE_DBUS_TRUE
808
 
DBUS_SERVICES_DIR
809
 
DATADIR
810
 
DBUS_BINDING_TOOL
811
 
DBUS_LIBS
812
 
DBUS_CFLAGS
813
 
EGG_SMCLIENT_LIBS
814
 
EGG_SMCLIENT_CFLAGS
815
 
DEPENDENCIES_LIBS
816
 
DEPENDENCIES_CFLAGS
817
 
HAVE_GNOME_DOC_UTILS_FALSE
818
 
HAVE_GNOME_DOC_UTILS_TRUE
819
 
DISTCHECK_CONFIGURE_FLAGS
820
 
ENABLE_SK_FALSE
821
 
ENABLE_SK_TRUE
822
 
DOC_USER_FORMATS
823
 
OMF_DIR
824
 
HELP_DIR
825
 
PKG_CONFIG_LIBDIR
826
 
PKG_CONFIG_PATH
827
 
PKG_CONFIG
828
 
WARN_CFLAGS
829
 
DISABLE_DEPRECATED
830
 
ACLOCAL_AMFLAGS
831
 
GLIB_GENMARSHAL
832
 
OTOOL64
833
 
OTOOL
834
 
LIPO
835
 
NMEDIT
836
 
DSYMUTIL
837
 
lt_ECHO
838
 
RANLIB
839
 
AR
840
 
OBJDUMP
841
 
LN_S
842
 
NM
843
 
ac_ct_DUMPBIN
844
 
DUMPBIN
845
 
LD
846
 
FGREP
847
 
EGREP
848
 
GREP
849
 
SED
850
 
host_os
851
 
host_vendor
852
 
host_cpu
853
 
host
854
 
build_os
855
 
build_vendor
856
 
build_cpu
857
 
build
858
 
LIBTOOL
859
 
am__fastdepCCAS_FALSE
860
 
am__fastdepCCAS_TRUE
861
 
CCASDEPMODE
862
 
CCASFLAGS
863
 
CCAS
864
 
CPP
865
 
DATADIRNAME
866
 
am__fastdepCC_FALSE
867
 
am__fastdepCC_TRUE
868
 
CCDEPMODE
869
 
AMDEPBACKSLASH
870
 
AMDEP_FALSE
871
 
AMDEP_TRUE
872
 
am__quote
873
 
am__include
874
 
DEPDIR
875
 
OBJEXT
876
 
EXEEXT
877
 
ac_ct_CC
878
 
CPPFLAGS
879
 
LDFLAGS
880
 
CFLAGS
881
 
CC
882
 
ALL_LINGUAS
883
 
INTLTOOL_PERL
884
 
GMSGFMT
885
 
MSGFMT
886
 
MSGMERGE
887
 
XGETTEXT
888
 
INTLTOOL_POLICY_RULE
889
 
INTLTOOL_SERVICE_RULE
890
 
INTLTOOL_THEME_RULE
891
 
INTLTOOL_SCHEMAS_RULE
892
 
INTLTOOL_CAVES_RULE
893
 
INTLTOOL_XML_NOMERGE_RULE
894
 
INTLTOOL_XML_RULE
895
 
INTLTOOL_KBD_RULE
896
 
INTLTOOL_XAM_RULE
897
 
INTLTOOL_UI_RULE
898
 
INTLTOOL_SOUNDLIST_RULE
899
 
INTLTOOL_SHEET_RULE
900
 
INTLTOOL_SERVER_RULE
901
 
INTLTOOL_PONG_RULE
902
 
INTLTOOL_OAF_RULE
903
 
INTLTOOL_PROP_RULE
904
 
INTLTOOL_KEYS_RULE
905
 
INTLTOOL_DIRECTORY_RULE
906
 
INTLTOOL_DESKTOP_RULE
907
 
INTLTOOL_EXTRACT
908
 
INTLTOOL_MERGE
909
 
INTLTOOL_UPDATE
910
 
USE_NLS
911
 
MAINT
912
 
MAINTAINER_MODE_FALSE
913
 
MAINTAINER_MODE_TRUE
914
 
AM_BACKSLASH
915
 
AM_DEFAULT_VERBOSITY
916
 
am__untar
917
 
am__tar
918
 
AMTAR
919
 
am__leading_dot
920
 
SET_MAKE
921
 
AWK
922
 
mkdir_p
923
 
MKDIR_P
924
 
INSTALL_STRIP_PROGRAM
925
 
STRIP
926
 
install_sh
927
 
MAKEINFO
928
 
AUTOHEADER
929
 
AUTOMAKE
930
 
AUTOCONF
931
 
ACLOCAL
932
 
VERSION
933
 
PACKAGE
934
 
CYGPATH_W
935
 
am__isrc
936
 
INSTALL_DATA
937
 
INSTALL_SCRIPT
938
 
INSTALL_PROGRAM
939
 
target_alias
940
 
host_alias
941
 
build_alias
942
 
LIBS
943
 
ECHO_T
944
 
ECHO_N
945
 
ECHO_C
946
 
DEFS
947
 
mandir
948
 
localedir
949
 
libdir
950
 
psdir
951
 
pdfdir
952
 
dvidir
953
 
htmldir
954
 
infodir
955
 
docdir
956
 
oldincludedir
957
 
includedir
958
 
localstatedir
959
 
sharedstatedir
960
 
sysconfdir
961
 
datadir
962
 
datarootdir
963
 
libexecdir
964
 
sbindir
965
 
bindir
966
 
program_transform_name
967
 
prefix
968
 
exec_prefix
969
 
PACKAGE_URL
970
 
PACKAGE_BUGREPORT
971
 
PACKAGE_STRING
972
 
PACKAGE_VERSION
973
 
PACKAGE_TARNAME
974
 
PACKAGE_NAME
975
 
PATH_SEPARATOR
976
 
SHELL'
977
 
ac_subst_files=''
978
 
ac_user_opts='
979
 
enable_option_checking
980
 
enable_silent_rules
981
 
enable_maintainer_mode
982
 
enable_nls
983
 
enable_dependency_tracking
984
 
enable_shared
985
 
enable_static
986
 
with_pic
987
 
enable_fast_install
988
 
with_gnu_ld
989
 
enable_libtool_lock
990
 
enable_debug
991
 
enable_compile_warnings
992
 
enable_iso_c
993
 
with_help_dir
994
 
with_omf_dir
995
 
with_help_formats
996
 
enable_scrollkeeper
997
 
enable_dbus
998
 
enable_notification
999
 
enable_canberra
1000
 
with_gconf_source
1001
 
with_gconf_schema_file_dir
1002
 
enable_schemas_install
1003
 
enable_perl
1004
 
enable_python
1005
 
enable_tcl
1006
 
enable_mmx
1007
 
with_plugins
1008
 
'
1009
 
      ac_precious_vars='build_alias
1010
 
host_alias
1011
 
target_alias
1012
 
CC
1013
 
CFLAGS
1014
 
LDFLAGS
1015
 
LIBS
1016
 
CPPFLAGS
1017
 
CPP
1018
 
CCAS
1019
 
CCASFLAGS
1020
 
PKG_CONFIG
1021
 
PKG_CONFIG_PATH
1022
 
PKG_CONFIG_LIBDIR
1023
 
DEPENDENCIES_CFLAGS
1024
 
DEPENDENCIES_LIBS
1025
 
EGG_SMCLIENT_CFLAGS
1026
 
EGG_SMCLIENT_LIBS
1027
 
DBUS_CFLAGS
1028
 
DBUS_LIBS
1029
 
LIBNOTIFY_CFLAGS
1030
 
LIBNOTIFY_LIBS
1031
 
LIBCANBERRAGTK_CFLAGS
1032
 
LIBCANBERRAGTK_LIBS
1033
 
OPENSSL_CFLAGS
1034
 
OPENSSL_LIBS'
1035
 
 
1036
 
 
1037
 
# Initialize some variables set by options.
1038
 
ac_init_help=
1039
 
ac_init_version=false
1040
 
ac_unrecognized_opts=
1041
 
ac_unrecognized_sep=
1042
 
# The variables have the same names as the options, with
1043
 
# dashes changed to underlines.
1044
 
cache_file=/dev/null
1045
 
exec_prefix=NONE
1046
 
no_create=
1047
 
no_recursion=
1048
 
prefix=NONE
1049
 
program_prefix=NONE
1050
 
program_suffix=NONE
1051
 
program_transform_name=s,x,x,
1052
 
silent=
1053
 
site=
1054
 
srcdir=
1055
 
verbose=
1056
 
x_includes=NONE
1057
 
x_libraries=NONE
1058
 
 
1059
 
# Installation directory options.
1060
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1061
 
# and all the variables that are supposed to be based on exec_prefix
1062
 
# by default will actually change.
1063
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1064
 
# (The list follows the same order as the GNU Coding Standards.)
1065
 
bindir='${exec_prefix}/bin'
1066
 
sbindir='${exec_prefix}/sbin'
1067
 
libexecdir='${exec_prefix}/libexec'
1068
 
datarootdir='${prefix}/share'
1069
 
datadir='${datarootdir}'
1070
 
sysconfdir='${prefix}/etc'
1071
 
sharedstatedir='${prefix}/com'
1072
 
localstatedir='${prefix}/var'
1073
 
includedir='${prefix}/include'
1074
 
oldincludedir='/usr/include'
1075
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1076
 
infodir='${datarootdir}/info'
1077
 
htmldir='${docdir}'
1078
 
dvidir='${docdir}'
1079
 
pdfdir='${docdir}'
1080
 
psdir='${docdir}'
1081
 
libdir='${exec_prefix}/lib'
1082
 
localedir='${datarootdir}/locale'
1083
 
mandir='${datarootdir}/man'
1084
 
 
1085
 
ac_prev=
1086
 
ac_dashdash=
1087
 
for ac_option
1088
 
do
1089
 
  # If the previous option needs an argument, assign it.
1090
 
  if test -n "$ac_prev"; then
1091
 
    eval $ac_prev=\$ac_option
1092
 
    ac_prev=
1093
 
    continue
1094
 
  fi
1095
 
 
1096
 
  case $ac_option in
1097
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1098
 
  *=)   ac_optarg= ;;
1099
 
  *)    ac_optarg=yes ;;
1100
 
  esac
1101
 
 
1102
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1103
 
 
1104
 
  case $ac_dashdash$ac_option in
1105
 
  --)
1106
 
    ac_dashdash=yes ;;
1107
 
 
1108
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1109
 
    ac_prev=bindir ;;
1110
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1111
 
    bindir=$ac_optarg ;;
1112
 
 
1113
 
  -build | --build | --buil | --bui | --bu)
1114
 
    ac_prev=build_alias ;;
1115
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1116
 
    build_alias=$ac_optarg ;;
1117
 
 
1118
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1119
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1120
 
    ac_prev=cache_file ;;
1121
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1122
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1123
 
    cache_file=$ac_optarg ;;
1124
 
 
1125
 
  --config-cache | -C)
1126
 
    cache_file=config.cache ;;
1127
 
 
1128
 
  -datadir | --datadir | --datadi | --datad)
1129
 
    ac_prev=datadir ;;
1130
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1131
 
    datadir=$ac_optarg ;;
1132
 
 
1133
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1134
 
  | --dataroo | --dataro | --datar)
1135
 
    ac_prev=datarootdir ;;
1136
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1137
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1138
 
    datarootdir=$ac_optarg ;;
1139
 
 
1140
 
  -disable-* | --disable-*)
1141
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1142
 
    # Reject names that are not valid shell variable names.
1143
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1145
 
    ac_useropt_orig=$ac_useropt
1146
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
 
    case $ac_user_opts in
1148
 
      *"
1149
 
"enable_$ac_useropt"
1150
 
"*) ;;
1151
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1152
 
         ac_unrecognized_sep=', ';;
1153
 
    esac
1154
 
    eval enable_$ac_useropt=no ;;
1155
 
 
1156
 
  -docdir | --docdir | --docdi | --doc | --do)
1157
 
    ac_prev=docdir ;;
1158
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1159
 
    docdir=$ac_optarg ;;
1160
 
 
1161
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1162
 
    ac_prev=dvidir ;;
1163
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1164
 
    dvidir=$ac_optarg ;;
1165
 
 
1166
 
  -enable-* | --enable-*)
1167
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1168
 
    # Reject names that are not valid shell variable names.
1169
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1171
 
    ac_useropt_orig=$ac_useropt
1172
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173
 
    case $ac_user_opts in
1174
 
      *"
1175
 
"enable_$ac_useropt"
1176
 
"*) ;;
1177
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1178
 
         ac_unrecognized_sep=', ';;
1179
 
    esac
1180
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1181
 
 
1182
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184
 
  | --exec | --exe | --ex)
1185
 
    ac_prev=exec_prefix ;;
1186
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188
 
  | --exec=* | --exe=* | --ex=*)
1189
 
    exec_prefix=$ac_optarg ;;
1190
 
 
1191
 
  -gas | --gas | --ga | --g)
1192
 
    # Obsolete; use --with-gas.
1193
 
    with_gas=yes ;;
1194
 
 
1195
 
  -help | --help | --hel | --he | -h)
1196
 
    ac_init_help=long ;;
1197
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198
 
    ac_init_help=recursive ;;
1199
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200
 
    ac_init_help=short ;;
1201
 
 
1202
 
  -host | --host | --hos | --ho)
1203
 
    ac_prev=host_alias ;;
1204
 
  -host=* | --host=* | --hos=* | --ho=*)
1205
 
    host_alias=$ac_optarg ;;
1206
 
 
1207
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208
 
    ac_prev=htmldir ;;
1209
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210
 
  | --ht=*)
1211
 
    htmldir=$ac_optarg ;;
1212
 
 
1213
 
  -includedir | --includedir | --includedi | --included | --include \
1214
 
  | --includ | --inclu | --incl | --inc)
1215
 
    ac_prev=includedir ;;
1216
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1218
 
    includedir=$ac_optarg ;;
1219
 
 
1220
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1221
 
    ac_prev=infodir ;;
1222
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223
 
    infodir=$ac_optarg ;;
1224
 
 
1225
 
  -libdir | --libdir | --libdi | --libd)
1226
 
    ac_prev=libdir ;;
1227
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228
 
    libdir=$ac_optarg ;;
1229
 
 
1230
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231
 
  | --libexe | --libex | --libe)
1232
 
    ac_prev=libexecdir ;;
1233
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234
 
  | --libexe=* | --libex=* | --libe=*)
1235
 
    libexecdir=$ac_optarg ;;
1236
 
 
1237
 
  -localedir | --localedir | --localedi | --localed | --locale)
1238
 
    ac_prev=localedir ;;
1239
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240
 
    localedir=$ac_optarg ;;
1241
 
 
1242
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1243
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1244
 
    ac_prev=localstatedir ;;
1245
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247
 
    localstatedir=$ac_optarg ;;
1248
 
 
1249
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250
 
    ac_prev=mandir ;;
1251
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252
 
    mandir=$ac_optarg ;;
1253
 
 
1254
 
  -nfp | --nfp | --nf)
1255
 
    # Obsolete; use --without-fp.
1256
 
    with_fp=no ;;
1257
 
 
1258
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259
 
  | --no-cr | --no-c | -n)
1260
 
    no_create=yes ;;
1261
 
 
1262
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1264
 
    no_recursion=yes ;;
1265
 
 
1266
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268
 
  | --oldin | --oldi | --old | --ol | --o)
1269
 
    ac_prev=oldincludedir ;;
1270
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273
 
    oldincludedir=$ac_optarg ;;
1274
 
 
1275
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276
 
    ac_prev=prefix ;;
1277
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278
 
    prefix=$ac_optarg ;;
1279
 
 
1280
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281
 
  | --program-pre | --program-pr | --program-p)
1282
 
    ac_prev=program_prefix ;;
1283
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285
 
    program_prefix=$ac_optarg ;;
1286
 
 
1287
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288
 
  | --program-suf | --program-su | --program-s)
1289
 
    ac_prev=program_suffix ;;
1290
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292
 
    program_suffix=$ac_optarg ;;
1293
 
 
1294
 
  -program-transform-name | --program-transform-name \
1295
 
  | --program-transform-nam | --program-transform-na \
1296
 
  | --program-transform-n | --program-transform- \
1297
 
  | --program-transform | --program-transfor \
1298
 
  | --program-transfo | --program-transf \
1299
 
  | --program-trans | --program-tran \
1300
 
  | --progr-tra | --program-tr | --program-t)
1301
 
    ac_prev=program_transform_name ;;
1302
 
  -program-transform-name=* | --program-transform-name=* \
1303
 
  | --program-transform-nam=* | --program-transform-na=* \
1304
 
  | --program-transform-n=* | --program-transform-=* \
1305
 
  | --program-transform=* | --program-transfor=* \
1306
 
  | --program-transfo=* | --program-transf=* \
1307
 
  | --program-trans=* | --program-tran=* \
1308
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1309
 
    program_transform_name=$ac_optarg ;;
1310
 
 
1311
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312
 
    ac_prev=pdfdir ;;
1313
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314
 
    pdfdir=$ac_optarg ;;
1315
 
 
1316
 
  -psdir | --psdir | --psdi | --psd | --ps)
1317
 
    ac_prev=psdir ;;
1318
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1319
 
    psdir=$ac_optarg ;;
1320
 
 
1321
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322
 
  | -silent | --silent | --silen | --sile | --sil)
1323
 
    silent=yes ;;
1324
 
 
1325
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326
 
    ac_prev=sbindir ;;
1327
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328
 
  | --sbi=* | --sb=*)
1329
 
    sbindir=$ac_optarg ;;
1330
 
 
1331
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333
 
  | --sharedst | --shareds | --shared | --share | --shar \
1334
 
  | --sha | --sh)
1335
 
    ac_prev=sharedstatedir ;;
1336
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339
 
  | --sha=* | --sh=*)
1340
 
    sharedstatedir=$ac_optarg ;;
1341
 
 
1342
 
  -site | --site | --sit)
1343
 
    ac_prev=site ;;
1344
 
  -site=* | --site=* | --sit=*)
1345
 
    site=$ac_optarg ;;
1346
 
 
1347
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348
 
    ac_prev=srcdir ;;
1349
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350
 
    srcdir=$ac_optarg ;;
1351
 
 
1352
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1354
 
    ac_prev=sysconfdir ;;
1355
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357
 
    sysconfdir=$ac_optarg ;;
1358
 
 
1359
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1360
 
    ac_prev=target_alias ;;
1361
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362
 
    target_alias=$ac_optarg ;;
1363
 
 
1364
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1365
 
    verbose=yes ;;
1366
 
 
1367
 
  -version | --version | --versio | --versi | --vers | -V)
1368
 
    ac_init_version=: ;;
1369
 
 
1370
 
  -with-* | --with-*)
1371
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372
 
    # Reject names that are not valid shell variable names.
1373
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374
 
      as_fn_error $? "invalid package name: $ac_useropt"
1375
 
    ac_useropt_orig=$ac_useropt
1376
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1377
 
    case $ac_user_opts in
1378
 
      *"
1379
 
"with_$ac_useropt"
1380
 
"*) ;;
1381
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1382
 
         ac_unrecognized_sep=', ';;
1383
 
    esac
1384
 
    eval with_$ac_useropt=\$ac_optarg ;;
1385
 
 
1386
 
  -without-* | --without-*)
1387
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1388
 
    # Reject names that are not valid shell variable names.
1389
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390
 
      as_fn_error $? "invalid package name: $ac_useropt"
1391
 
    ac_useropt_orig=$ac_useropt
1392
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393
 
    case $ac_user_opts in
1394
 
      *"
1395
 
"with_$ac_useropt"
1396
 
"*) ;;
1397
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1398
 
         ac_unrecognized_sep=', ';;
1399
 
    esac
1400
 
    eval with_$ac_useropt=no ;;
1401
 
 
1402
 
  --x)
1403
 
    # Obsolete; use --with-x.
1404
 
    with_x=yes ;;
1405
 
 
1406
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1407
 
  | --x-incl | --x-inc | --x-in | --x-i)
1408
 
    ac_prev=x_includes ;;
1409
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1410
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1411
 
    x_includes=$ac_optarg ;;
1412
 
 
1413
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1414
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1415
 
    ac_prev=x_libraries ;;
1416
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1417
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1418
 
    x_libraries=$ac_optarg ;;
1419
 
 
1420
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1421
 
Try \`$0 --help' for more information"
1422
 
    ;;
1423
 
 
1424
 
  *=*)
1425
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1426
 
    # Reject names that are not valid shell variable names.
1427
 
    case $ac_envvar in #(
1428
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1429
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1430
 
    esac
1431
 
    eval $ac_envvar=\$ac_optarg
1432
 
    export $ac_envvar ;;
1433
 
 
1434
 
  *)
1435
 
    # FIXME: should be removed in autoconf 3.0.
1436
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1437
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1438
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1439
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1440
 
    ;;
1441
 
 
1442
 
  esac
1443
 
done
1444
 
 
1445
 
if test -n "$ac_prev"; then
1446
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1447
 
  as_fn_error $? "missing argument to $ac_option"
1448
 
fi
1449
 
 
1450
 
if test -n "$ac_unrecognized_opts"; then
1451
 
  case $enable_option_checking in
1452
 
    no) ;;
1453
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1454
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1455
 
  esac
1456
 
fi
1457
 
 
1458
 
# Check all directory arguments for consistency.
1459
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1460
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1461
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1462
 
                libdir localedir mandir
1463
 
do
1464
 
  eval ac_val=\$$ac_var
1465
 
  # Remove trailing slashes.
1466
 
  case $ac_val in
1467
 
    */ )
1468
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1469
 
      eval $ac_var=\$ac_val;;
1470
 
  esac
1471
 
  # Be sure to have absolute directory names.
1472
 
  case $ac_val in
1473
 
    [\\/$]* | ?:[\\/]* )  continue;;
1474
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1475
 
  esac
1476
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1477
 
done
1478
 
 
1479
 
# There might be people who depend on the old broken behavior: `$host'
1480
 
# used to hold the argument of --host etc.
1481
 
# FIXME: To remove some day.
1482
 
build=$build_alias
1483
 
host=$host_alias
1484
 
target=$target_alias
1485
 
 
1486
 
# FIXME: To remove some day.
1487
 
if test "x$host_alias" != x; then
1488
 
  if test "x$build_alias" = x; then
1489
 
    cross_compiling=maybe
1490
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1491
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1492
 
  elif test "x$build_alias" != "x$host_alias"; then
1493
 
    cross_compiling=yes
1494
 
  fi
1495
 
fi
1496
 
 
1497
 
ac_tool_prefix=
1498
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1499
 
 
1500
 
test "$silent" = yes && exec 6>/dev/null
1501
 
 
1502
 
 
1503
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504
 
ac_ls_di=`ls -di .` &&
1505
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506
 
  as_fn_error $? "working directory cannot be determined"
1507
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508
 
  as_fn_error $? "pwd does not report name of working directory"
1509
 
 
1510
 
 
1511
 
# Find the source files, if location was not specified.
1512
 
if test -z "$srcdir"; then
1513
 
  ac_srcdir_defaulted=yes
1514
 
  # Try the directory containing this script, then the parent directory.
1515
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1516
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1517
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1518
 
         X"$as_myself" : 'X\(//\)$' \| \
1519
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1520
 
$as_echo X"$as_myself" |
1521
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1522
 
            s//\1/
1523
 
            q
1524
 
          }
1525
 
          /^X\(\/\/\)[^/].*/{
1526
 
            s//\1/
1527
 
            q
1528
 
          }
1529
 
          /^X\(\/\/\)$/{
1530
 
            s//\1/
1531
 
            q
1532
 
          }
1533
 
          /^X\(\/\).*/{
1534
 
            s//\1/
1535
 
            q
1536
 
          }
1537
 
          s/.*/./; q'`
1538
 
  srcdir=$ac_confdir
1539
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1540
 
    srcdir=..
1541
 
  fi
1542
 
else
1543
 
  ac_srcdir_defaulted=no
1544
 
fi
1545
 
if test ! -r "$srcdir/$ac_unique_file"; then
1546
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1547
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1548
 
fi
1549
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1550
 
ac_abs_confdir=`(
1551
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1552
 
        pwd)`
1553
 
# When building in place, set srcdir=.
1554
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1555
 
  srcdir=.
1556
 
fi
1557
 
# Remove unnecessary trailing slashes from srcdir.
1558
 
# Double slashes in file names in object file debugging info
1559
 
# mess up M-x gdb in Emacs.
1560
 
case $srcdir in
1561
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1562
 
esac
1563
 
for ac_var in $ac_precious_vars; do
1564
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1566
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1568
 
done
1569
 
 
1570
 
#
1571
 
# Report the --help message.
1572
 
#
1573
 
if test "$ac_init_help" = "long"; then
1574
 
  # Omit some internal or obsolete options to make the list less imposing.
1575
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1576
 
  cat <<_ACEOF
1577
 
\`configure' configures XChat-GNOME IRC Chat 0.26.1 to adapt to many kinds of systems.
1578
 
 
1579
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1580
 
 
1581
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1583
 
 
1584
 
Defaults for the options are specified in brackets.
1585
 
 
1586
 
Configuration:
1587
 
  -h, --help              display this help and exit
1588
 
      --help=short        display options specific to this package
1589
 
      --help=recursive    display the short help of all the included packages
1590
 
  -V, --version           display version information and exit
1591
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1592
 
      --cache-file=FILE   cache test results in FILE [disabled]
1593
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1594
 
  -n, --no-create         do not create output files
1595
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1596
 
 
1597
 
Installation directories:
1598
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1599
 
                          [$ac_default_prefix]
1600
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1601
 
                          [PREFIX]
1602
 
 
1603
 
By default, \`make install' will install all the files in
1604
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1605
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606
 
for instance \`--prefix=\$HOME'.
1607
 
 
1608
 
For better control, use the options below.
1609
 
 
1610
 
Fine tuning of the installation directories:
1611
 
  --bindir=DIR            user executables [EPREFIX/bin]
1612
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1613
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1614
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1615
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1616
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1617
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1618
 
  --includedir=DIR        C header files [PREFIX/include]
1619
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1620
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1621
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1622
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1623
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1624
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1625
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/xchat-gnome]
1626
 
  --htmldir=DIR           html documentation [DOCDIR]
1627
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1628
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1629
 
  --psdir=DIR             ps documentation [DOCDIR]
1630
 
_ACEOF
1631
 
 
1632
 
  cat <<\_ACEOF
1633
 
 
1634
 
Program names:
1635
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1636
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1637
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1638
 
 
1639
 
System types:
1640
 
  --build=BUILD     configure for building on BUILD [guessed]
1641
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1642
 
_ACEOF
1643
 
fi
1644
 
 
1645
 
if test -n "$ac_init_help"; then
1646
 
  case $ac_init_help in
1647
 
     short | recursive ) echo "Configuration of XChat-GNOME IRC Chat 0.26.1:";;
1648
 
   esac
1649
 
  cat <<\_ACEOF
1650
 
 
1651
 
Optional Features:
1652
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1653
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1654
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1655
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1656
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1657
 
  --disable-maintainer-mode  disable make rules and dependencies not useful
1658
 
                          (and sometimes confusing) to the casual installer
1659
 
  --disable-nls           do not use Native Language Support
1660
 
  --disable-dependency-tracking  speeds up one-time build
1661
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1662
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1663
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1664
 
  --enable-fast-install[=PKGS]
1665
 
                          optimize for fast installation [default=yes]
1666
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1667
 
  --enable-debug          turn on debugging
1668
 
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1669
 
                          Turn on compiler warnings
1670
 
  --enable-iso-c          Try to warn if code is not ISO C
1671
 
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1672
 
  --disable-dbus          Disable D-Bus support
1673
 
  --disable-notification  whether to disable libnotify support
1674
 
  --disable-canberra      whether to disable libcanberra support
1675
 
  --disable-schemas-install
1676
 
                          Disable the schemas installation
1677
 
  --disable-perl          Disable perl support
1678
 
  --disable-python        Disable python support
1679
 
  --disable-tcl           Disable tcl support
1680
 
  --disable-mmx           disable MMX assembly routines
1681
 
 
1682
 
Optional Packages:
1683
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1684
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1685
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1686
 
                          both]
1687
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1688
 
  --with-help-dir=DIR     path to help docs
1689
 
  --with-omf-dir=DIR      path to OMF files
1690
 
  --with-help-formats=FORMATS
1691
 
                          list of formats
1692
 
  --with-gconf-source=sourceaddress
1693
 
                          Config database for installing schema files.
1694
 
  --with-gconf-schema-file-dir=dir
1695
 
                          Directory for installing schema files.
1696
 
  --with-plugins=plugin1,plugin2,...
1697
 
                          build the specified plugins.  Available:
1698
 
                          autoaway, dbus, net-monitor, notification,
1699
 
                          notify-osd, perl, python, tcl, url_scraper,
1700
 
                          sound-notification
1701
 
 
1702
 
Some influential environment variables:
1703
 
  CC          C compiler command
1704
 
  CFLAGS      C compiler flags
1705
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1706
 
              nonstandard directory <lib dir>
1707
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1708
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1709
 
              you have headers in a nonstandard directory <include dir>
1710
 
  CPP         C preprocessor
1711
 
  CCAS        assembler compiler command (defaults to CC)
1712
 
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1713
 
  PKG_CONFIG  path to pkg-config utility
1714
 
  PKG_CONFIG_PATH
1715
 
              directories to add to pkg-config's search path
1716
 
  PKG_CONFIG_LIBDIR
1717
 
              path overriding pkg-config's built-in search path
1718
 
  DEPENDENCIES_CFLAGS
1719
 
              C compiler flags for DEPENDENCIES, overriding pkg-config
1720
 
  DEPENDENCIES_LIBS
1721
 
              linker flags for DEPENDENCIES, overriding pkg-config
1722
 
  EGG_SMCLIENT_CFLAGS
1723
 
              C compiler flags for EGG_SMCLIENT, overriding pkg-config
1724
 
  EGG_SMCLIENT_LIBS
1725
 
              linker flags for EGG_SMCLIENT, overriding pkg-config
1726
 
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1727
 
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1728
 
  LIBNOTIFY_CFLAGS
1729
 
              C compiler flags for LIBNOTIFY, overriding pkg-config
1730
 
  LIBNOTIFY_LIBS
1731
 
              linker flags for LIBNOTIFY, overriding pkg-config
1732
 
  LIBCANBERRAGTK_CFLAGS
1733
 
              C compiler flags for LIBCANBERRAGTK, overriding pkg-config
1734
 
  LIBCANBERRAGTK_LIBS
1735
 
              linker flags for LIBCANBERRAGTK, overriding pkg-config
1736
 
  OPENSSL_CFLAGS
1737
 
              C compiler flags for OPENSSL, overriding pkg-config
1738
 
  OPENSSL_LIBS
1739
 
              linker flags for OPENSSL, overriding pkg-config
1740
 
 
1741
 
Use these variables to override the choices made by `configure' or to help
1742
 
it to find libraries and programs with nonstandard names/locations.
1743
 
 
1744
 
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>.
1745
 
_ACEOF
1746
 
ac_status=$?
1747
 
fi
1748
 
 
1749
 
if test "$ac_init_help" = "recursive"; then
1750
 
  # If there are subdirs, report their specific --help.
1751
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1752
 
    test -d "$ac_dir" ||
1753
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1754
 
      continue
1755
 
    ac_builddir=.
1756
 
 
1757
 
case "$ac_dir" in
1758
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759
 
*)
1760
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1761
 
  # A ".." for each directory in $ac_dir_suffix.
1762
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1763
 
  case $ac_top_builddir_sub in
1764
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1765
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1766
 
  esac ;;
1767
 
esac
1768
 
ac_abs_top_builddir=$ac_pwd
1769
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1770
 
# for backward compatibility:
1771
 
ac_top_builddir=$ac_top_build_prefix
1772
 
 
1773
 
case $srcdir in
1774
 
  .)  # We are building in place.
1775
 
    ac_srcdir=.
1776
 
    ac_top_srcdir=$ac_top_builddir_sub
1777
 
    ac_abs_top_srcdir=$ac_pwd ;;
1778
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1779
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1780
 
    ac_top_srcdir=$srcdir
1781
 
    ac_abs_top_srcdir=$srcdir ;;
1782
 
  *) # Relative name.
1783
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1784
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1785
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1786
 
esac
1787
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1788
 
 
1789
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1790
 
    # Check for guested configure.
1791
 
    if test -f "$ac_srcdir/configure.gnu"; then
1792
 
      echo &&
1793
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1794
 
    elif test -f "$ac_srcdir/configure"; then
1795
 
      echo &&
1796
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1797
 
    else
1798
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1799
 
    fi || ac_status=$?
1800
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1801
 
  done
1802
 
fi
1803
 
 
1804
 
test -n "$ac_init_help" && exit $ac_status
1805
 
if $ac_init_version; then
1806
 
  cat <<\_ACEOF
1807
 
XChat-GNOME IRC Chat configure 0.26.1
1808
 
generated by GNU Autoconf 2.67
1809
 
 
1810
 
Copyright (C) 2010 Free Software Foundation, Inc.
1811
 
This configure script is free software; the Free Software Foundation
1812
 
gives unlimited permission to copy, distribute and modify it.
1813
 
_ACEOF
1814
 
  exit
1815
 
fi
1816
 
 
1817
 
## ------------------------ ##
1818
 
## Autoconf initialization. ##
1819
 
## ------------------------ ##
1820
 
 
1821
 
# ac_fn_c_try_compile LINENO
1822
 
# --------------------------
1823
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1824
 
ac_fn_c_try_compile ()
1825
 
{
1826
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
 
  rm -f conftest.$ac_objext
1828
 
  if { { ac_try="$ac_compile"
1829
 
case "(($ac_try" in
1830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831
 
  *) ac_try_echo=$ac_try;;
1832
 
esac
1833
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834
 
$as_echo "$ac_try_echo"; } >&5
1835
 
  (eval "$ac_compile") 2>conftest.err
1836
 
  ac_status=$?
1837
 
  if test -s conftest.err; then
1838
 
    grep -v '^ *+' conftest.err >conftest.er1
1839
 
    cat conftest.er1 >&5
1840
 
    mv -f conftest.er1 conftest.err
1841
 
  fi
1842
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843
 
  test $ac_status = 0; } && {
1844
 
         test -z "$ac_c_werror_flag" ||
1845
 
         test ! -s conftest.err
1846
 
       } && test -s conftest.$ac_objext; then :
1847
 
  ac_retval=0
1848
 
else
1849
 
  $as_echo "$as_me: failed program was:" >&5
1850
 
sed 's/^/| /' conftest.$ac_ext >&5
1851
 
 
1852
 
        ac_retval=1
1853
 
fi
1854
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855
 
  as_fn_set_status $ac_retval
1856
 
 
1857
 
} # ac_fn_c_try_compile
1858
 
 
1859
 
# ac_fn_c_try_link LINENO
1860
 
# -----------------------
1861
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1862
 
ac_fn_c_try_link ()
1863
 
{
1864
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1866
 
  if { { ac_try="$ac_link"
1867
 
case "(($ac_try" in
1868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869
 
  *) ac_try_echo=$ac_try;;
1870
 
esac
1871
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872
 
$as_echo "$ac_try_echo"; } >&5
1873
 
  (eval "$ac_link") 2>conftest.err
1874
 
  ac_status=$?
1875
 
  if test -s conftest.err; then
1876
 
    grep -v '^ *+' conftest.err >conftest.er1
1877
 
    cat conftest.er1 >&5
1878
 
    mv -f conftest.er1 conftest.err
1879
 
  fi
1880
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881
 
  test $ac_status = 0; } && {
1882
 
         test -z "$ac_c_werror_flag" ||
1883
 
         test ! -s conftest.err
1884
 
       } && test -s conftest$ac_exeext && {
1885
 
         test "$cross_compiling" = yes ||
1886
 
         $as_test_x conftest$ac_exeext
1887
 
       }; then :
1888
 
  ac_retval=0
1889
 
else
1890
 
  $as_echo "$as_me: failed program was:" >&5
1891
 
sed 's/^/| /' conftest.$ac_ext >&5
1892
 
 
1893
 
        ac_retval=1
1894
 
fi
1895
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1896
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1897
 
  # interfere with the next link command; also delete a directory that is
1898
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1899
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901
 
  as_fn_set_status $ac_retval
1902
 
 
1903
 
} # ac_fn_c_try_link
1904
 
 
1905
 
# ac_fn_c_check_func LINENO FUNC VAR
1906
 
# ----------------------------------
1907
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1908
 
ac_fn_c_check_func ()
1909
 
{
1910
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912
 
$as_echo_n "checking for $2... " >&6; }
1913
 
if eval "test \"\${$3+set}\"" = set; then :
1914
 
  $as_echo_n "(cached) " >&6
1915
 
else
1916
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917
 
/* end confdefs.h.  */
1918
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1919
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1920
 
#define $2 innocuous_$2
1921
 
 
1922
 
/* System header to define __stub macros and hopefully few prototypes,
1923
 
    which can conflict with char $2 (); below.
1924
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1925
 
    <limits.h> exists even on freestanding compilers.  */
1926
 
 
1927
 
#ifdef __STDC__
1928
 
# include <limits.h>
1929
 
#else
1930
 
# include <assert.h>
1931
 
#endif
1932
 
 
1933
 
#undef $2
1934
 
 
1935
 
/* Override any GCC internal prototype to avoid an error.
1936
 
   Use char because int might match the return type of a GCC
1937
 
   builtin and then its argument prototype would still apply.  */
1938
 
#ifdef __cplusplus
1939
 
extern "C"
1940
 
#endif
1941
 
char $2 ();
1942
 
/* The GNU C library defines this for functions which it implements
1943
 
    to always fail with ENOSYS.  Some functions are actually named
1944
 
    something starting with __ and the normal name is an alias.  */
1945
 
#if defined __stub_$2 || defined __stub___$2
1946
 
choke me
1947
 
#endif
1948
 
 
1949
 
int
1950
 
main ()
1951
 
{
1952
 
return $2 ();
1953
 
  ;
1954
 
  return 0;
1955
 
}
1956
 
_ACEOF
1957
 
if ac_fn_c_try_link "$LINENO"; then :
1958
 
  eval "$3=yes"
1959
 
else
1960
 
  eval "$3=no"
1961
 
fi
1962
 
rm -f core conftest.err conftest.$ac_objext \
1963
 
    conftest$ac_exeext conftest.$ac_ext
1964
 
fi
1965
 
eval ac_res=\$$3
1966
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967
 
$as_echo "$ac_res" >&6; }
1968
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1969
 
 
1970
 
} # ac_fn_c_check_func
1971
 
 
1972
 
# ac_fn_c_try_cpp LINENO
1973
 
# ----------------------
1974
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1975
 
ac_fn_c_try_cpp ()
1976
 
{
1977
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1979
 
case "(($ac_try" in
1980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1981
 
  *) ac_try_echo=$ac_try;;
1982
 
esac
1983
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1984
 
$as_echo "$ac_try_echo"; } >&5
1985
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1986
 
  ac_status=$?
1987
 
  if test -s conftest.err; then
1988
 
    grep -v '^ *+' conftest.err >conftest.er1
1989
 
    cat conftest.er1 >&5
1990
 
    mv -f conftest.er1 conftest.err
1991
 
  fi
1992
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993
 
  test $ac_status = 0; } > conftest.i && {
1994
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1995
 
         test ! -s conftest.err
1996
 
       }; then :
1997
 
  ac_retval=0
1998
 
else
1999
 
  $as_echo "$as_me: failed program was:" >&5
2000
 
sed 's/^/| /' conftest.$ac_ext >&5
2001
 
 
2002
 
    ac_retval=1
2003
 
fi
2004
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005
 
  as_fn_set_status $ac_retval
2006
 
 
2007
 
} # ac_fn_c_try_cpp
2008
 
 
2009
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2010
 
# -------------------------------------------------------
2011
 
# Tests whether HEADER exists and can be compiled using the include files in
2012
 
# INCLUDES, setting the cache variable VAR accordingly.
2013
 
ac_fn_c_check_header_compile ()
2014
 
{
2015
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2016
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017
 
$as_echo_n "checking for $2... " >&6; }
2018
 
if eval "test \"\${$3+set}\"" = set; then :
2019
 
  $as_echo_n "(cached) " >&6
2020
 
else
2021
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022
 
/* end confdefs.h.  */
2023
 
$4
2024
 
#include <$2>
2025
 
_ACEOF
2026
 
if ac_fn_c_try_compile "$LINENO"; then :
2027
 
  eval "$3=yes"
2028
 
else
2029
 
  eval "$3=no"
2030
 
fi
2031
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032
 
fi
2033
 
eval ac_res=\$$3
2034
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035
 
$as_echo "$ac_res" >&6; }
2036
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2037
 
 
2038
 
} # ac_fn_c_check_header_compile
2039
 
 
2040
 
# ac_fn_c_try_run LINENO
2041
 
# ----------------------
2042
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2043
 
# that executables *can* be run.
2044
 
ac_fn_c_try_run ()
2045
 
{
2046
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047
 
  if { { ac_try="$ac_link"
2048
 
case "(($ac_try" in
2049
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050
 
  *) ac_try_echo=$ac_try;;
2051
 
esac
2052
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053
 
$as_echo "$ac_try_echo"; } >&5
2054
 
  (eval "$ac_link") 2>&5
2055
 
  ac_status=$?
2056
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2058
 
  { { case "(($ac_try" in
2059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060
 
  *) ac_try_echo=$ac_try;;
2061
 
esac
2062
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063
 
$as_echo "$ac_try_echo"; } >&5
2064
 
  (eval "$ac_try") 2>&5
2065
 
  ac_status=$?
2066
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067
 
  test $ac_status = 0; }; }; then :
2068
 
  ac_retval=0
2069
 
else
2070
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
2071
 
       $as_echo "$as_me: failed program was:" >&5
2072
 
sed 's/^/| /' conftest.$ac_ext >&5
2073
 
 
2074
 
       ac_retval=$ac_status
2075
 
fi
2076
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2077
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078
 
  as_fn_set_status $ac_retval
2079
 
 
2080
 
} # ac_fn_c_try_run
2081
 
 
2082
 
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2083
 
# -------------------------------------------
2084
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
2085
 
# variable VAR accordingly.
2086
 
ac_fn_c_check_type ()
2087
 
{
2088
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090
 
$as_echo_n "checking for $2... " >&6; }
2091
 
if eval "test \"\${$3+set}\"" = set; then :
2092
 
  $as_echo_n "(cached) " >&6
2093
 
else
2094
 
  eval "$3=no"
2095
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096
 
/* end confdefs.h.  */
2097
 
$4
2098
 
int
2099
 
main ()
2100
 
{
2101
 
if (sizeof ($2))
2102
 
         return 0;
2103
 
  ;
2104
 
  return 0;
2105
 
}
2106
 
_ACEOF
2107
 
if ac_fn_c_try_compile "$LINENO"; then :
2108
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109
 
/* end confdefs.h.  */
2110
 
$4
2111
 
int
2112
 
main ()
2113
 
{
2114
 
if (sizeof (($2)))
2115
 
            return 0;
2116
 
  ;
2117
 
  return 0;
2118
 
}
2119
 
_ACEOF
2120
 
if ac_fn_c_try_compile "$LINENO"; then :
2121
 
 
2122
 
else
2123
 
  eval "$3=yes"
2124
 
fi
2125
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126
 
fi
2127
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128
 
fi
2129
 
eval ac_res=\$$3
2130
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131
 
$as_echo "$ac_res" >&6; }
2132
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2133
 
 
2134
 
} # ac_fn_c_check_type
2135
 
 
2136
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2137
 
# -------------------------------------------------------
2138
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2139
 
# the include files in INCLUDES and setting the cache variable VAR
2140
 
# accordingly.
2141
 
ac_fn_c_check_header_mongrel ()
2142
 
{
2143
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144
 
  if eval "test \"\${$3+set}\"" = set; then :
2145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2146
 
$as_echo_n "checking for $2... " >&6; }
2147
 
if eval "test \"\${$3+set}\"" = set; then :
2148
 
  $as_echo_n "(cached) " >&6
2149
 
fi
2150
 
eval ac_res=\$$3
2151
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152
 
$as_echo "$ac_res" >&6; }
2153
 
else
2154
 
  # Is the header compilable?
2155
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2156
 
$as_echo_n "checking $2 usability... " >&6; }
2157
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158
 
/* end confdefs.h.  */
2159
 
$4
2160
 
#include <$2>
2161
 
_ACEOF
2162
 
if ac_fn_c_try_compile "$LINENO"; then :
2163
 
  ac_header_compiler=yes
2164
 
else
2165
 
  ac_header_compiler=no
2166
 
fi
2167
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2169
 
$as_echo "$ac_header_compiler" >&6; }
2170
 
 
2171
 
# Is the header present?
2172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2173
 
$as_echo_n "checking $2 presence... " >&6; }
2174
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175
 
/* end confdefs.h.  */
2176
 
#include <$2>
2177
 
_ACEOF
2178
 
if ac_fn_c_try_cpp "$LINENO"; then :
2179
 
  ac_header_preproc=yes
2180
 
else
2181
 
  ac_header_preproc=no
2182
 
fi
2183
 
rm -f conftest.err conftest.i conftest.$ac_ext
2184
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2185
 
$as_echo "$ac_header_preproc" >&6; }
2186
 
 
2187
 
# So?  What about this header?
2188
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2189
 
  yes:no: )
2190
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2191
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2192
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2193
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2194
 
    ;;
2195
 
  no:yes:* )
2196
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2197
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2198
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2199
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2200
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2201
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2202
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2203
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2204
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2205
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2206
 
( $as_echo "## -------------------------------------------------------------------------- ##
2207
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome ##
2208
 
## -------------------------------------------------------------------------- ##"
2209
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2210
 
    ;;
2211
 
esac
2212
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2213
 
$as_echo_n "checking for $2... " >&6; }
2214
 
if eval "test \"\${$3+set}\"" = set; then :
2215
 
  $as_echo_n "(cached) " >&6
2216
 
else
2217
 
  eval "$3=\$ac_header_compiler"
2218
 
fi
2219
 
eval ac_res=\$$3
2220
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221
 
$as_echo "$ac_res" >&6; }
2222
 
fi
2223
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2224
 
 
2225
 
} # ac_fn_c_check_header_mongrel
2226
 
cat >config.log <<_ACEOF
2227
 
This file contains any messages produced by compilers while
2228
 
running configure, to aid debugging if configure makes a mistake.
2229
 
 
2230
 
It was created by XChat-GNOME IRC Chat $as_me 0.26.1, which was
2231
 
generated by GNU Autoconf 2.67.  Invocation command line was
2232
 
 
2233
 
  $ $0 $@
2234
 
 
2235
 
_ACEOF
2236
 
exec 5>>config.log
2237
 
{
2238
 
cat <<_ASUNAME
2239
 
## --------- ##
2240
 
## Platform. ##
2241
 
## --------- ##
2242
 
 
2243
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2244
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2245
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2246
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2247
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2248
 
 
2249
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2250
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2251
 
 
2252
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2253
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2254
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2255
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2256
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2257
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2258
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2259
 
 
2260
 
_ASUNAME
2261
 
 
2262
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263
 
for as_dir in $PATH
2264
 
do
2265
 
  IFS=$as_save_IFS
2266
 
  test -z "$as_dir" && as_dir=.
2267
 
    $as_echo "PATH: $as_dir"
2268
 
  done
2269
 
IFS=$as_save_IFS
2270
 
 
2271
 
} >&5
2272
 
 
2273
 
cat >&5 <<_ACEOF
2274
 
 
2275
 
 
2276
 
## ----------- ##
2277
 
## Core tests. ##
2278
 
## ----------- ##
2279
 
 
2280
 
_ACEOF
2281
 
 
2282
 
 
2283
 
# Keep a trace of the command line.
2284
 
# Strip out --no-create and --no-recursion so they do not pile up.
2285
 
# Strip out --silent because we don't want to record it for future runs.
2286
 
# Also quote any args containing shell meta-characters.
2287
 
# Make two passes to allow for proper duplicate-argument suppression.
2288
 
ac_configure_args=
2289
 
ac_configure_args0=
2290
 
ac_configure_args1=
2291
 
ac_must_keep_next=false
2292
 
for ac_pass in 1 2
2293
 
do
2294
 
  for ac_arg
2295
 
  do
2296
 
    case $ac_arg in
2297
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2298
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2299
 
    | -silent | --silent | --silen | --sile | --sil)
2300
 
      continue ;;
2301
 
    *\'*)
2302
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2303
 
    esac
2304
 
    case $ac_pass in
2305
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2306
 
    2)
2307
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2308
 
      if test $ac_must_keep_next = true; then
2309
 
        ac_must_keep_next=false # Got value, back to normal.
2310
 
      else
2311
 
        case $ac_arg in
2312
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2313
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2314
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2315
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2316
 
            case "$ac_configure_args0 " in
2317
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2318
 
            esac
2319
 
            ;;
2320
 
          -* ) ac_must_keep_next=true ;;
2321
 
        esac
2322
 
      fi
2323
 
      as_fn_append ac_configure_args " '$ac_arg'"
2324
 
      ;;
2325
 
    esac
2326
 
  done
2327
 
done
2328
 
{ ac_configure_args0=; unset ac_configure_args0;}
2329
 
{ ac_configure_args1=; unset ac_configure_args1;}
2330
 
 
2331
 
# When interrupted or exit'd, cleanup temporary files, and complete
2332
 
# config.log.  We remove comments because anyway the quotes in there
2333
 
# would cause problems or look ugly.
2334
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2335
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2336
 
trap 'exit_status=$?
2337
 
  # Save into config.log some information that might help in debugging.
2338
 
  {
2339
 
    echo
2340
 
 
2341
 
    $as_echo "## ---------------- ##
2342
 
## Cache variables. ##
2343
 
## ---------------- ##"
2344
 
    echo
2345
 
    # The following way of writing the cache mishandles newlines in values,
2346
 
(
2347
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2348
 
    eval ac_val=\$$ac_var
2349
 
    case $ac_val in #(
2350
 
    *${as_nl}*)
2351
 
      case $ac_var in #(
2352
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2353
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2354
 
      esac
2355
 
      case $ac_var in #(
2356
 
      _ | IFS | as_nl) ;; #(
2357
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2358
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2359
 
      esac ;;
2360
 
    esac
2361
 
  done
2362
 
  (set) 2>&1 |
2363
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2364
 
    *${as_nl}ac_space=\ *)
2365
 
      sed -n \
2366
 
        "s/'\''/'\''\\\\'\'''\''/g;
2367
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2368
 
      ;; #(
2369
 
    *)
2370
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2371
 
      ;;
2372
 
    esac |
2373
 
    sort
2374
 
)
2375
 
    echo
2376
 
 
2377
 
    $as_echo "## ----------------- ##
2378
 
## Output variables. ##
2379
 
## ----------------- ##"
2380
 
    echo
2381
 
    for ac_var in $ac_subst_vars
2382
 
    do
2383
 
      eval ac_val=\$$ac_var
2384
 
      case $ac_val in
2385
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2386
 
      esac
2387
 
      $as_echo "$ac_var='\''$ac_val'\''"
2388
 
    done | sort
2389
 
    echo
2390
 
 
2391
 
    if test -n "$ac_subst_files"; then
2392
 
      $as_echo "## ------------------- ##
2393
 
## File substitutions. ##
2394
 
## ------------------- ##"
2395
 
      echo
2396
 
      for ac_var in $ac_subst_files
2397
 
      do
2398
 
        eval ac_val=\$$ac_var
2399
 
        case $ac_val in
2400
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2401
 
        esac
2402
 
        $as_echo "$ac_var='\''$ac_val'\''"
2403
 
      done | sort
2404
 
      echo
2405
 
    fi
2406
 
 
2407
 
    if test -s confdefs.h; then
2408
 
      $as_echo "## ----------- ##
2409
 
## confdefs.h. ##
2410
 
## ----------- ##"
2411
 
      echo
2412
 
      cat confdefs.h
2413
 
      echo
2414
 
    fi
2415
 
    test "$ac_signal" != 0 &&
2416
 
      $as_echo "$as_me: caught signal $ac_signal"
2417
 
    $as_echo "$as_me: exit $exit_status"
2418
 
  } >&5
2419
 
  rm -f core *.core core.conftest.* &&
2420
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2421
 
    exit $exit_status
2422
 
' 0
2423
 
for ac_signal in 1 2 13 15; do
2424
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2425
 
done
2426
 
ac_signal=0
2427
 
 
2428
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2429
 
rm -f -r conftest* confdefs.h
2430
 
 
2431
 
$as_echo "/* confdefs.h */" > confdefs.h
2432
 
 
2433
 
# Predefined preprocessor variables.
2434
 
 
2435
 
cat >>confdefs.h <<_ACEOF
2436
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2437
 
_ACEOF
2438
 
 
2439
 
cat >>confdefs.h <<_ACEOF
2440
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2441
 
_ACEOF
2442
 
 
2443
 
cat >>confdefs.h <<_ACEOF
2444
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2445
 
_ACEOF
2446
 
 
2447
 
cat >>confdefs.h <<_ACEOF
2448
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2449
 
_ACEOF
2450
 
 
2451
 
cat >>confdefs.h <<_ACEOF
2452
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2453
 
_ACEOF
2454
 
 
2455
 
cat >>confdefs.h <<_ACEOF
2456
 
#define PACKAGE_URL "$PACKAGE_URL"
2457
 
_ACEOF
2458
 
 
2459
 
 
2460
 
# Let the site file select an alternate cache file if it wants to.
2461
 
# Prefer an explicitly selected file to automatically selected ones.
2462
 
ac_site_file1=NONE
2463
 
ac_site_file2=NONE
2464
 
if test -n "$CONFIG_SITE"; then
2465
 
  # We do not want a PATH search for config.site.
2466
 
  case $CONFIG_SITE in #((
2467
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2468
 
    */*) ac_site_file1=$CONFIG_SITE;;
2469
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2470
 
  esac
2471
 
elif test "x$prefix" != xNONE; then
2472
 
  ac_site_file1=$prefix/share/config.site
2473
 
  ac_site_file2=$prefix/etc/config.site
2474
 
else
2475
 
  ac_site_file1=$ac_default_prefix/share/config.site
2476
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2477
 
fi
2478
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2479
 
do
2480
 
  test "x$ac_site_file" = xNONE && continue
2481
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2482
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2483
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2484
 
    sed 's/^/| /' "$ac_site_file" >&5
2485
 
    . "$ac_site_file" \
2486
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2487
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2488
 
as_fn_error $? "failed to load site script $ac_site_file
2489
 
See \`config.log' for more details" "$LINENO" 5 ; }
2490
 
  fi
2491
 
done
2492
 
 
2493
 
if test -r "$cache_file"; then
2494
 
  # Some versions of bash will fail to source /dev/null (special files
2495
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2496
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2497
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2498
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2499
 
    case $cache_file in
2500
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2501
 
      *)                      . "./$cache_file";;
2502
 
    esac
2503
 
  fi
2504
 
else
2505
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2506
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2507
 
  >$cache_file
2508
 
fi
2509
 
 
2510
 
# Check that the precious variables saved in the cache have kept the same
2511
 
# value.
2512
 
ac_cache_corrupted=false
2513
 
for ac_var in $ac_precious_vars; do
2514
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2515
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2516
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2517
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2518
 
  case $ac_old_set,$ac_new_set in
2519
 
    set,)
2520
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2521
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2522
 
      ac_cache_corrupted=: ;;
2523
 
    ,set)
2524
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2525
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2526
 
      ac_cache_corrupted=: ;;
2527
 
    ,);;
2528
 
    *)
2529
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2530
 
        # differences in whitespace do not lead to failure.
2531
 
        ac_old_val_w=`echo x $ac_old_val`
2532
 
        ac_new_val_w=`echo x $ac_new_val`
2533
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2534
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2535
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2536
 
          ac_cache_corrupted=:
2537
 
        else
2538
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2539
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2540
 
          eval $ac_var=\$ac_old_val
2541
 
        fi
2542
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2543
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2544
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2545
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2546
 
      fi;;
2547
 
  esac
2548
 
  # Pass precious variables to config.status.
2549
 
  if test "$ac_new_set" = set; then
2550
 
    case $ac_new_val in
2551
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2552
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2553
 
    esac
2554
 
    case " $ac_configure_args " in
2555
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2556
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2557
 
    esac
2558
 
  fi
2559
 
done
2560
 
if $ac_cache_corrupted; then
2561
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2562
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2563
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2564
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2565
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2566
 
fi
2567
 
## -------------------- ##
2568
 
## Main body of script. ##
2569
 
## -------------------- ##
2570
 
 
2571
 
ac_ext=c
2572
 
ac_cpp='$CPP $CPPFLAGS'
2573
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2574
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2576
 
 
2577
 
 
2578
 
 
2579
 
 
2580
 
 
2581
 
 
2582
 
ac_config_headers="$ac_config_headers config.h"
2583
 
 
2584
 
 
2585
 
 
2586
 
am__api_version='1.11'
2587
 
 
2588
 
ac_aux_dir=
2589
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2590
 
  if test -f "$ac_dir/install-sh"; then
2591
 
    ac_aux_dir=$ac_dir
2592
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2593
 
    break
2594
 
  elif test -f "$ac_dir/install.sh"; then
2595
 
    ac_aux_dir=$ac_dir
2596
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2597
 
    break
2598
 
  elif test -f "$ac_dir/shtool"; then
2599
 
    ac_aux_dir=$ac_dir
2600
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2601
 
    break
2602
 
  fi
2603
 
done
2604
 
if test -z "$ac_aux_dir"; then
2605
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2606
 
fi
2607
 
 
2608
 
# These three variables are undocumented and unsupported,
2609
 
# and are intended to be withdrawn in a future Autoconf release.
2610
 
# They can cause serious problems if a builder's source tree is in a directory
2611
 
# whose full name contains unusual characters.
2612
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2613
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2614
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2615
 
 
2616
 
 
2617
 
# Find a good install program.  We prefer a C program (faster),
2618
 
# so one script is as good as another.  But avoid the broken or
2619
 
# incompatible versions:
2620
 
# SysV /etc/install, /usr/sbin/install
2621
 
# SunOS /usr/etc/install
2622
 
# IRIX /sbin/install
2623
 
# AIX /bin/install
2624
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2625
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2626
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2627
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2628
 
# OS/2's system install, which has a completely different semantic
2629
 
# ./install, which can be erroneously created by make from ./install.sh.
2630
 
# Reject install programs that cannot install multiple files.
2631
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2632
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2633
 
if test -z "$INSTALL"; then
2634
 
if test "${ac_cv_path_install+set}" = set; then :
2635
 
  $as_echo_n "(cached) " >&6
2636
 
else
2637
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638
 
for as_dir in $PATH
2639
 
do
2640
 
  IFS=$as_save_IFS
2641
 
  test -z "$as_dir" && as_dir=.
2642
 
    # Account for people who put trailing slashes in PATH elements.
2643
 
case $as_dir/ in #((
2644
 
  ./ | .// | /[cC]/* | \
2645
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2646
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2647
 
  /usr/ucb/* ) ;;
2648
 
  *)
2649
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2650
 
    # Don't use installbsd from OSF since it installs stuff as root
2651
 
    # by default.
2652
 
    for ac_prog in ginstall scoinst install; do
2653
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2654
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2655
 
          if test $ac_prog = install &&
2656
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2657
 
            # AIX install.  It has an incompatible calling convention.
2658
 
            :
2659
 
          elif test $ac_prog = install &&
2660
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2661
 
            # program-specific install script used by HP pwplus--don't use.
2662
 
            :
2663
 
          else
2664
 
            rm -rf conftest.one conftest.two conftest.dir
2665
 
            echo one > conftest.one
2666
 
            echo two > conftest.two
2667
 
            mkdir conftest.dir
2668
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2669
 
              test -s conftest.one && test -s conftest.two &&
2670
 
              test -s conftest.dir/conftest.one &&
2671
 
              test -s conftest.dir/conftest.two
2672
 
            then
2673
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2674
 
              break 3
2675
 
            fi
2676
 
          fi
2677
 
        fi
2678
 
      done
2679
 
    done
2680
 
    ;;
2681
 
esac
2682
 
 
2683
 
  done
2684
 
IFS=$as_save_IFS
2685
 
 
2686
 
rm -rf conftest.one conftest.two conftest.dir
2687
 
 
2688
 
fi
2689
 
  if test "${ac_cv_path_install+set}" = set; then
2690
 
    INSTALL=$ac_cv_path_install
2691
 
  else
2692
 
    # As a last resort, use the slow shell script.  Don't cache a
2693
 
    # value for INSTALL within a source directory, because that will
2694
 
    # break other packages using the cache if that directory is
2695
 
    # removed, or if the value is a relative name.
2696
 
    INSTALL=$ac_install_sh
2697
 
  fi
2698
 
fi
2699
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2700
 
$as_echo "$INSTALL" >&6; }
2701
 
 
2702
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2703
 
# It thinks the first close brace ends the variable substitution.
2704
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2705
 
 
2706
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2707
 
 
2708
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2709
 
 
2710
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2711
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2712
 
# Just in case
2713
 
sleep 1
2714
 
echo timestamp > conftest.file
2715
 
# Reject unsafe characters in $srcdir or the absolute working directory
2716
 
# name.  Accept space and tab only in the latter.
2717
 
am_lf='
2718
 
'
2719
 
case `pwd` in
2720
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2721
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2722
 
esac
2723
 
case $srcdir in
2724
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2725
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2726
 
esac
2727
 
 
2728
 
# Do `set' in a subshell so we don't clobber the current shell's
2729
 
# arguments.  Must try -L first in case configure is actually a
2730
 
# symlink; some systems play weird games with the mod time of symlinks
2731
 
# (eg FreeBSD returns the mod time of the symlink's containing
2732
 
# directory).
2733
 
if (
2734
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2735
 
   if test "$*" = "X"; then
2736
 
      # -L didn't work.
2737
 
      set X `ls -t "$srcdir/configure" conftest.file`
2738
 
   fi
2739
 
   rm -f conftest.file
2740
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2741
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2742
 
 
2743
 
      # If neither matched, then we have a broken ls.  This can happen
2744
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2745
 
      # broken ls alias from the environment.  This has actually
2746
 
      # happened.  Such a system could not be considered "sane".
2747
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2748
 
alias in your environment" "$LINENO" 5
2749
 
   fi
2750
 
 
2751
 
   test "$2" = conftest.file
2752
 
   )
2753
 
then
2754
 
   # Ok.
2755
 
   :
2756
 
else
2757
 
   as_fn_error $? "newly created file is older than distributed files!
2758
 
Check your system clock" "$LINENO" 5
2759
 
fi
2760
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761
 
$as_echo "yes" >&6; }
2762
 
test "$program_prefix" != NONE &&
2763
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2764
 
# Use a double $ so make ignores it.
2765
 
test "$program_suffix" != NONE &&
2766
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2767
 
# Double any \ or $.
2768
 
# By default was `s,x,x', remove it if useless.
2769
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2770
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2771
 
 
2772
 
# expand $ac_aux_dir to an absolute path
2773
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2774
 
 
2775
 
if test x"${MISSING+set}" != xset; then
2776
 
  case $am_aux_dir in
2777
 
  *\ * | *\     *)
2778
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2779
 
  *)
2780
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2781
 
  esac
2782
 
fi
2783
 
# Use eval to expand $SHELL
2784
 
if eval "$MISSING --run true"; then
2785
 
  am_missing_run="$MISSING --run "
2786
 
else
2787
 
  am_missing_run=
2788
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2789
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2790
 
fi
2791
 
 
2792
 
if test x"${install_sh}" != xset; then
2793
 
  case $am_aux_dir in
2794
 
  *\ * | *\     *)
2795
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2796
 
  *)
2797
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2798
 
  esac
2799
 
fi
2800
 
 
2801
 
# Installed binaries are usually stripped using `strip' when the user
2802
 
# run `make install-strip'.  However `strip' might not be the right
2803
 
# tool to use in cross-compilation environments, therefore Automake
2804
 
# will honor the `STRIP' environment variable to overrule this program.
2805
 
if test "$cross_compiling" != no; then
2806
 
  if test -n "$ac_tool_prefix"; then
2807
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2808
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2809
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810
 
$as_echo_n "checking for $ac_word... " >&6; }
2811
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2812
 
  $as_echo_n "(cached) " >&6
2813
 
else
2814
 
  if test -n "$STRIP"; then
2815
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2816
 
else
2817
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818
 
for as_dir in $PATH
2819
 
do
2820
 
  IFS=$as_save_IFS
2821
 
  test -z "$as_dir" && as_dir=.
2822
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2823
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2825
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826
 
    break 2
2827
 
  fi
2828
 
done
2829
 
  done
2830
 
IFS=$as_save_IFS
2831
 
 
2832
 
fi
2833
 
fi
2834
 
STRIP=$ac_cv_prog_STRIP
2835
 
if test -n "$STRIP"; then
2836
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2837
 
$as_echo "$STRIP" >&6; }
2838
 
else
2839
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840
 
$as_echo "no" >&6; }
2841
 
fi
2842
 
 
2843
 
 
2844
 
fi
2845
 
if test -z "$ac_cv_prog_STRIP"; then
2846
 
  ac_ct_STRIP=$STRIP
2847
 
  # Extract the first word of "strip", so it can be a program name with args.
2848
 
set dummy strip; ac_word=$2
2849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850
 
$as_echo_n "checking for $ac_word... " >&6; }
2851
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2852
 
  $as_echo_n "(cached) " >&6
2853
 
else
2854
 
  if test -n "$ac_ct_STRIP"; then
2855
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2856
 
else
2857
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858
 
for as_dir in $PATH
2859
 
do
2860
 
  IFS=$as_save_IFS
2861
 
  test -z "$as_dir" && as_dir=.
2862
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2863
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864
 
    ac_cv_prog_ac_ct_STRIP="strip"
2865
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866
 
    break 2
2867
 
  fi
2868
 
done
2869
 
  done
2870
 
IFS=$as_save_IFS
2871
 
 
2872
 
fi
2873
 
fi
2874
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2875
 
if test -n "$ac_ct_STRIP"; then
2876
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2877
 
$as_echo "$ac_ct_STRIP" >&6; }
2878
 
else
2879
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880
 
$as_echo "no" >&6; }
2881
 
fi
2882
 
 
2883
 
  if test "x$ac_ct_STRIP" = x; then
2884
 
    STRIP=":"
2885
 
  else
2886
 
    case $cross_compiling:$ac_tool_warned in
2887
 
yes:)
2888
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890
 
ac_tool_warned=yes ;;
2891
 
esac
2892
 
    STRIP=$ac_ct_STRIP
2893
 
  fi
2894
 
else
2895
 
  STRIP="$ac_cv_prog_STRIP"
2896
 
fi
2897
 
 
2898
 
fi
2899
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2900
 
 
2901
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2902
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2903
 
if test -z "$MKDIR_P"; then
2904
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2905
 
  $as_echo_n "(cached) " >&6
2906
 
else
2907
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2909
 
do
2910
 
  IFS=$as_save_IFS
2911
 
  test -z "$as_dir" && as_dir=.
2912
 
    for ac_prog in mkdir gmkdir; do
2913
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2914
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2915
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2916
 
             'mkdir (GNU coreutils) '* | \
2917
 
             'mkdir (coreutils) '* | \
2918
 
             'mkdir (fileutils) '4.1*)
2919
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2920
 
               break 3;;
2921
 
           esac
2922
 
         done
2923
 
       done
2924
 
  done
2925
 
IFS=$as_save_IFS
2926
 
 
2927
 
fi
2928
 
 
2929
 
  test -d ./--version && rmdir ./--version
2930
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2931
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2932
 
  else
2933
 
    # As a last resort, use the slow shell script.  Don't cache a
2934
 
    # value for MKDIR_P within a source directory, because that will
2935
 
    # break other packages using the cache if that directory is
2936
 
    # removed, or if the value is a relative name.
2937
 
    MKDIR_P="$ac_install_sh -d"
2938
 
  fi
2939
 
fi
2940
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2941
 
$as_echo "$MKDIR_P" >&6; }
2942
 
 
2943
 
mkdir_p="$MKDIR_P"
2944
 
case $mkdir_p in
2945
 
  [\\/$]* | ?:[\\/]*) ;;
2946
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2947
 
esac
2948
 
 
2949
 
for ac_prog in gawk mawk nawk awk
2950
 
do
2951
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2952
 
set dummy $ac_prog; ac_word=$2
2953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954
 
$as_echo_n "checking for $ac_word... " >&6; }
2955
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2956
 
  $as_echo_n "(cached) " >&6
2957
 
else
2958
 
  if test -n "$AWK"; then
2959
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2960
 
else
2961
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962
 
for as_dir in $PATH
2963
 
do
2964
 
  IFS=$as_save_IFS
2965
 
  test -z "$as_dir" && as_dir=.
2966
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2967
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968
 
    ac_cv_prog_AWK="$ac_prog"
2969
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970
 
    break 2
2971
 
  fi
2972
 
done
2973
 
  done
2974
 
IFS=$as_save_IFS
2975
 
 
2976
 
fi
2977
 
fi
2978
 
AWK=$ac_cv_prog_AWK
2979
 
if test -n "$AWK"; then
2980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2981
 
$as_echo "$AWK" >&6; }
2982
 
else
2983
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984
 
$as_echo "no" >&6; }
2985
 
fi
2986
 
 
2987
 
 
2988
 
  test -n "$AWK" && break
2989
 
done
2990
 
 
2991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2992
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2993
 
set x ${MAKE-make}
2994
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2995
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2996
 
  $as_echo_n "(cached) " >&6
2997
 
else
2998
 
  cat >conftest.make <<\_ACEOF
2999
 
SHELL = /bin/sh
3000
 
all:
3001
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3002
 
_ACEOF
3003
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3004
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3005
 
  *@@@%%%=?*=@@@%%%*)
3006
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3007
 
  *)
3008
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3009
 
esac
3010
 
rm -f conftest.make
3011
 
fi
3012
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3013
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3014
 
$as_echo "yes" >&6; }
3015
 
  SET_MAKE=
3016
 
else
3017
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018
 
$as_echo "no" >&6; }
3019
 
  SET_MAKE="MAKE=${MAKE-make}"
3020
 
fi
3021
 
 
3022
 
rm -rf .tst 2>/dev/null
3023
 
mkdir .tst 2>/dev/null
3024
 
if test -d .tst; then
3025
 
  am__leading_dot=.
3026
 
else
3027
 
  am__leading_dot=_
3028
 
fi
3029
 
rmdir .tst 2>/dev/null
3030
 
 
3031
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3032
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3033
 
  # is not polluted with repeated "-I."
3034
 
  am__isrc=' -I$(srcdir)'
3035
 
  # test to see if srcdir already configured
3036
 
  if test -f $srcdir/config.status; then
3037
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3038
 
  fi
3039
 
fi
3040
 
 
3041
 
# test whether we have cygpath
3042
 
if test -z "$CYGPATH_W"; then
3043
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
3044
 
    CYGPATH_W='cygpath -w'
3045
 
  else
3046
 
    CYGPATH_W=echo
3047
 
  fi
3048
 
fi
3049
 
 
3050
 
 
3051
 
# Define the identity of the package.
3052
 
 PACKAGE='xchat-gnome'
3053
 
 VERSION='0.26.1'
3054
 
 
3055
 
 
3056
 
cat >>confdefs.h <<_ACEOF
3057
 
#define PACKAGE "$PACKAGE"
3058
 
_ACEOF
3059
 
 
3060
 
 
3061
 
cat >>confdefs.h <<_ACEOF
3062
 
#define VERSION "$VERSION"
3063
 
_ACEOF
3064
 
 
3065
 
# Some tools Automake needs.
3066
 
 
3067
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3068
 
 
3069
 
 
3070
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3071
 
 
3072
 
 
3073
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3074
 
 
3075
 
 
3076
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3077
 
 
3078
 
 
3079
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3080
 
 
3081
 
# We need awk for the "check" target.  The system "awk" is bad on
3082
 
# some platforms.
3083
 
# Always define AMTAR for backward compatibility.
3084
 
 
3085
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
3086
 
 
3087
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3088
 
 
3089
 
 
3090
 
 
3091
 
 
3092
 
 
3093
 
# Check whether --enable-silent-rules was given.
3094
 
if test "${enable_silent_rules+set}" = set; then :
3095
 
  enableval=$enable_silent_rules;
3096
 
fi
3097
 
 
3098
 
case $enable_silent_rules in
3099
 
yes) AM_DEFAULT_VERBOSITY=0;;
3100
 
no)  AM_DEFAULT_VERBOSITY=1;;
3101
 
*)   AM_DEFAULT_VERBOSITY=0;;
3102
 
esac
3103
 
AM_BACKSLASH='\'
3104
 
 
3105
 
 
3106
 
if test "$enable_maintainer_mode" = "yes"; then
3107
 
 
3108
 
$as_echo "#define MAINTAINER_MODE 1" >>confdefs.h
3109
 
 
3110
 
        enable_debug=yes
3111
 
fi
3112
 
 
3113
 
if test -z "$enable_maintainer_mode"; then
3114
 
  enable_maintainer_mode=yes
3115
 
fi
3116
 
 
3117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
3118
 
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
3119
 
    # Check whether --enable-maintainer-mode was given.
3120
 
if test "${enable_maintainer_mode+set}" = set; then :
3121
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3122
 
else
3123
 
  USE_MAINTAINER_MODE=yes
3124
 
fi
3125
 
 
3126
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3127
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3128
 
   if test $USE_MAINTAINER_MODE = yes; then
3129
 
  MAINTAINER_MODE_TRUE=
3130
 
  MAINTAINER_MODE_FALSE='#'
3131
 
else
3132
 
  MAINTAINER_MODE_TRUE='#'
3133
 
  MAINTAINER_MODE_FALSE=
3134
 
fi
3135
 
 
3136
 
  MAINT=$MAINTAINER_MODE_TRUE
3137
 
 
3138
 
 
3139
 
 
3140
 
 
3141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3142
 
$as_echo_n "checking whether NLS is requested... " >&6; }
3143
 
    # Check whether --enable-nls was given.
3144
 
if test "${enable_nls+set}" = set; then :
3145
 
  enableval=$enable_nls; USE_NLS=$enableval
3146
 
else
3147
 
  USE_NLS=yes
3148
 
fi
3149
 
 
3150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3151
 
$as_echo "$USE_NLS" >&6; }
3152
 
 
3153
 
 
3154
 
DEPDIR="${am__leading_dot}deps"
3155
 
 
3156
 
ac_config_commands="$ac_config_commands depfiles"
3157
 
 
3158
 
 
3159
 
am_make=${MAKE-make}
3160
 
cat > confinc << 'END'
3161
 
am__doit:
3162
 
        @echo this is the am__doit target
3163
 
.PHONY: am__doit
3164
 
END
3165
 
# If we don't find an include directive, just comment out the code.
3166
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3167
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3168
 
am__include="#"
3169
 
am__quote=
3170
 
_am_result=none
3171
 
# First try GNU make style include.
3172
 
echo "include confinc" > confmf
3173
 
# Ignore all kinds of additional output from `make'.
3174
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3175
 
*the\ am__doit\ target*)
3176
 
  am__include=include
3177
 
  am__quote=
3178
 
  _am_result=GNU
3179
 
  ;;
3180
 
esac
3181
 
# Now try BSD make style include.
3182
 
if test "$am__include" = "#"; then
3183
 
   echo '.include "confinc"' > confmf
3184
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3185
 
   *the\ am__doit\ target*)
3186
 
     am__include=.include
3187
 
     am__quote="\""
3188
 
     _am_result=BSD
3189
 
     ;;
3190
 
   esac
3191
 
fi
3192
 
 
3193
 
 
3194
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3195
 
$as_echo "$_am_result" >&6; }
3196
 
rm -f confinc confmf
3197
 
 
3198
 
# Check whether --enable-dependency-tracking was given.
3199
 
if test "${enable_dependency_tracking+set}" = set; then :
3200
 
  enableval=$enable_dependency_tracking;
3201
 
fi
3202
 
 
3203
 
if test "x$enable_dependency_tracking" != xno; then
3204
 
  am_depcomp="$ac_aux_dir/depcomp"
3205
 
  AMDEPBACKSLASH='\'
3206
 
fi
3207
 
 if test "x$enable_dependency_tracking" != xno; then
3208
 
  AMDEP_TRUE=
3209
 
  AMDEP_FALSE='#'
3210
 
else
3211
 
  AMDEP_TRUE='#'
3212
 
  AMDEP_FALSE=
3213
 
fi
3214
 
 
3215
 
 
3216
 
ac_ext=c
3217
 
ac_cpp='$CPP $CPPFLAGS'
3218
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221
 
if test -n "$ac_tool_prefix"; then
3222
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3223
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3224
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225
 
$as_echo_n "checking for $ac_word... " >&6; }
3226
 
if test "${ac_cv_prog_CC+set}" = set; then :
3227
 
  $as_echo_n "(cached) " >&6
3228
 
else
3229
 
  if test -n "$CC"; then
3230
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3231
 
else
3232
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233
 
for as_dir in $PATH
3234
 
do
3235
 
  IFS=$as_save_IFS
3236
 
  test -z "$as_dir" && as_dir=.
3237
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3238
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3240
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241
 
    break 2
3242
 
  fi
3243
 
done
3244
 
  done
3245
 
IFS=$as_save_IFS
3246
 
 
3247
 
fi
3248
 
fi
3249
 
CC=$ac_cv_prog_CC
3250
 
if test -n "$CC"; then
3251
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3252
 
$as_echo "$CC" >&6; }
3253
 
else
3254
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255
 
$as_echo "no" >&6; }
3256
 
fi
3257
 
 
3258
 
 
3259
 
fi
3260
 
if test -z "$ac_cv_prog_CC"; then
3261
 
  ac_ct_CC=$CC
3262
 
  # Extract the first word of "gcc", so it can be a program name with args.
3263
 
set dummy gcc; ac_word=$2
3264
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265
 
$as_echo_n "checking for $ac_word... " >&6; }
3266
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3267
 
  $as_echo_n "(cached) " >&6
3268
 
else
3269
 
  if test -n "$ac_ct_CC"; then
3270
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3271
 
else
3272
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273
 
for as_dir in $PATH
3274
 
do
3275
 
  IFS=$as_save_IFS
3276
 
  test -z "$as_dir" && as_dir=.
3277
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3278
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279
 
    ac_cv_prog_ac_ct_CC="gcc"
3280
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281
 
    break 2
3282
 
  fi
3283
 
done
3284
 
  done
3285
 
IFS=$as_save_IFS
3286
 
 
3287
 
fi
3288
 
fi
3289
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290
 
if test -n "$ac_ct_CC"; then
3291
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3292
 
$as_echo "$ac_ct_CC" >&6; }
3293
 
else
3294
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295
 
$as_echo "no" >&6; }
3296
 
fi
3297
 
 
3298
 
  if test "x$ac_ct_CC" = x; then
3299
 
    CC=""
3300
 
  else
3301
 
    case $cross_compiling:$ac_tool_warned in
3302
 
yes:)
3303
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305
 
ac_tool_warned=yes ;;
3306
 
esac
3307
 
    CC=$ac_ct_CC
3308
 
  fi
3309
 
else
3310
 
  CC="$ac_cv_prog_CC"
3311
 
fi
3312
 
 
3313
 
if test -z "$CC"; then
3314
 
          if test -n "$ac_tool_prefix"; then
3315
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3316
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318
 
$as_echo_n "checking for $ac_word... " >&6; }
3319
 
if test "${ac_cv_prog_CC+set}" = set; then :
3320
 
  $as_echo_n "(cached) " >&6
3321
 
else
3322
 
  if test -n "$CC"; then
3323
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3324
 
else
3325
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3326
 
for as_dir in $PATH
3327
 
do
3328
 
  IFS=$as_save_IFS
3329
 
  test -z "$as_dir" && as_dir=.
3330
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3331
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3333
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3334
 
    break 2
3335
 
  fi
3336
 
done
3337
 
  done
3338
 
IFS=$as_save_IFS
3339
 
 
3340
 
fi
3341
 
fi
3342
 
CC=$ac_cv_prog_CC
3343
 
if test -n "$CC"; then
3344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3345
 
$as_echo "$CC" >&6; }
3346
 
else
3347
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348
 
$as_echo "no" >&6; }
3349
 
fi
3350
 
 
3351
 
 
3352
 
  fi
3353
 
fi
3354
 
if test -z "$CC"; then
3355
 
  # Extract the first word of "cc", so it can be a program name with args.
3356
 
set dummy cc; ac_word=$2
3357
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358
 
$as_echo_n "checking for $ac_word... " >&6; }
3359
 
if test "${ac_cv_prog_CC+set}" = set; then :
3360
 
  $as_echo_n "(cached) " >&6
3361
 
else
3362
 
  if test -n "$CC"; then
3363
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3364
 
else
3365
 
  ac_prog_rejected=no
3366
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367
 
for as_dir in $PATH
3368
 
do
3369
 
  IFS=$as_save_IFS
3370
 
  test -z "$as_dir" && as_dir=.
3371
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3372
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3374
 
       ac_prog_rejected=yes
3375
 
       continue
3376
 
     fi
3377
 
    ac_cv_prog_CC="cc"
3378
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379
 
    break 2
3380
 
  fi
3381
 
done
3382
 
  done
3383
 
IFS=$as_save_IFS
3384
 
 
3385
 
if test $ac_prog_rejected = yes; then
3386
 
  # We found a bogon in the path, so make sure we never use it.
3387
 
  set dummy $ac_cv_prog_CC
3388
 
  shift
3389
 
  if test $# != 0; then
3390
 
    # We chose a different compiler from the bogus one.
3391
 
    # However, it has the same basename, so the bogon will be chosen
3392
 
    # first if we set CC to just the basename; use the full file name.
3393
 
    shift
3394
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3395
 
  fi
3396
 
fi
3397
 
fi
3398
 
fi
3399
 
CC=$ac_cv_prog_CC
3400
 
if test -n "$CC"; then
3401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3402
 
$as_echo "$CC" >&6; }
3403
 
else
3404
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405
 
$as_echo "no" >&6; }
3406
 
fi
3407
 
 
3408
 
 
3409
 
fi
3410
 
if test -z "$CC"; then
3411
 
  if test -n "$ac_tool_prefix"; then
3412
 
  for ac_prog in cl.exe
3413
 
  do
3414
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3415
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417
 
$as_echo_n "checking for $ac_word... " >&6; }
3418
 
if test "${ac_cv_prog_CC+set}" = set; then :
3419
 
  $as_echo_n "(cached) " >&6
3420
 
else
3421
 
  if test -n "$CC"; then
3422
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3423
 
else
3424
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425
 
for as_dir in $PATH
3426
 
do
3427
 
  IFS=$as_save_IFS
3428
 
  test -z "$as_dir" && as_dir=.
3429
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3430
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3432
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433
 
    break 2
3434
 
  fi
3435
 
done
3436
 
  done
3437
 
IFS=$as_save_IFS
3438
 
 
3439
 
fi
3440
 
fi
3441
 
CC=$ac_cv_prog_CC
3442
 
if test -n "$CC"; then
3443
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444
 
$as_echo "$CC" >&6; }
3445
 
else
3446
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447
 
$as_echo "no" >&6; }
3448
 
fi
3449
 
 
3450
 
 
3451
 
    test -n "$CC" && break
3452
 
  done
3453
 
fi
3454
 
if test -z "$CC"; then
3455
 
  ac_ct_CC=$CC
3456
 
  for ac_prog in cl.exe
3457
 
do
3458
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3459
 
set dummy $ac_prog; ac_word=$2
3460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461
 
$as_echo_n "checking for $ac_word... " >&6; }
3462
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3463
 
  $as_echo_n "(cached) " >&6
3464
 
else
3465
 
  if test -n "$ac_ct_CC"; then
3466
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3467
 
else
3468
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469
 
for as_dir in $PATH
3470
 
do
3471
 
  IFS=$as_save_IFS
3472
 
  test -z "$as_dir" && as_dir=.
3473
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3474
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3476
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477
 
    break 2
3478
 
  fi
3479
 
done
3480
 
  done
3481
 
IFS=$as_save_IFS
3482
 
 
3483
 
fi
3484
 
fi
3485
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3486
 
if test -n "$ac_ct_CC"; then
3487
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3488
 
$as_echo "$ac_ct_CC" >&6; }
3489
 
else
3490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491
 
$as_echo "no" >&6; }
3492
 
fi
3493
 
 
3494
 
 
3495
 
  test -n "$ac_ct_CC" && break
3496
 
done
3497
 
 
3498
 
  if test "x$ac_ct_CC" = x; then
3499
 
    CC=""
3500
 
  else
3501
 
    case $cross_compiling:$ac_tool_warned in
3502
 
yes:)
3503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505
 
ac_tool_warned=yes ;;
3506
 
esac
3507
 
    CC=$ac_ct_CC
3508
 
  fi
3509
 
fi
3510
 
 
3511
 
fi
3512
 
 
3513
 
 
3514
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3517
 
See \`config.log' for more details" "$LINENO" 5 ; }
3518
 
 
3519
 
# Provide some information about the compiler.
3520
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3521
 
set X $ac_compile
3522
 
ac_compiler=$2
3523
 
for ac_option in --version -v -V -qversion; do
3524
 
  { { ac_try="$ac_compiler $ac_option >&5"
3525
 
case "(($ac_try" in
3526
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527
 
  *) ac_try_echo=$ac_try;;
3528
 
esac
3529
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530
 
$as_echo "$ac_try_echo"; } >&5
3531
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3532
 
  ac_status=$?
3533
 
  if test -s conftest.err; then
3534
 
    sed '10a\
3535
 
... rest of stderr output deleted ...
3536
 
         10q' conftest.err >conftest.er1
3537
 
    cat conftest.er1 >&5
3538
 
  fi
3539
 
  rm -f conftest.er1 conftest.err
3540
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541
 
  test $ac_status = 0; }
3542
 
done
3543
 
 
3544
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545
 
/* end confdefs.h.  */
3546
 
 
3547
 
int
3548
 
main ()
3549
 
{
3550
 
 
3551
 
  ;
3552
 
  return 0;
3553
 
}
3554
 
_ACEOF
3555
 
ac_clean_files_save=$ac_clean_files
3556
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3557
 
# Try to create an executable without -o first, disregard a.out.
3558
 
# It will help us diagnose broken compilers, and finding out an intuition
3559
 
# of exeext.
3560
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3561
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3562
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3563
 
 
3564
 
# The possible output files:
3565
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3566
 
 
3567
 
ac_rmfiles=
3568
 
for ac_file in $ac_files
3569
 
do
3570
 
  case $ac_file in
3571
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3572
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3573
 
  esac
3574
 
done
3575
 
rm -f $ac_rmfiles
3576
 
 
3577
 
if { { ac_try="$ac_link_default"
3578
 
case "(($ac_try" in
3579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580
 
  *) ac_try_echo=$ac_try;;
3581
 
esac
3582
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583
 
$as_echo "$ac_try_echo"; } >&5
3584
 
  (eval "$ac_link_default") 2>&5
3585
 
  ac_status=$?
3586
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587
 
  test $ac_status = 0; }; then :
3588
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3589
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3590
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3591
 
# so that the user can short-circuit this test for compilers unknown to
3592
 
# Autoconf.
3593
 
for ac_file in $ac_files ''
3594
 
do
3595
 
  test -f "$ac_file" || continue
3596
 
  case $ac_file in
3597
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3598
 
        ;;
3599
 
    [ab].out )
3600
 
        # We found the default executable, but exeext='' is most
3601
 
        # certainly right.
3602
 
        break;;
3603
 
    *.* )
3604
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3605
 
        then :; else
3606
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3607
 
        fi
3608
 
        # We set ac_cv_exeext here because the later test for it is not
3609
 
        # safe: cross compilers may not add the suffix if given an `-o'
3610
 
        # argument, so we may need to know it at that point already.
3611
 
        # Even if this section looks crufty: it has the advantage of
3612
 
        # actually working.
3613
 
        break;;
3614
 
    * )
3615
 
        break;;
3616
 
  esac
3617
 
done
3618
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3619
 
 
3620
 
else
3621
 
  ac_file=''
3622
 
fi
3623
 
if test -z "$ac_file"; then :
3624
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625
 
$as_echo "no" >&6; }
3626
 
$as_echo "$as_me: failed program was:" >&5
3627
 
sed 's/^/| /' conftest.$ac_ext >&5
3628
 
 
3629
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631
 
as_fn_error 77 "C compiler cannot create executables
3632
 
See \`config.log' for more details" "$LINENO" 5 ; }
3633
 
else
3634
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3635
 
$as_echo "yes" >&6; }
3636
 
fi
3637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3638
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3639
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3640
 
$as_echo "$ac_file" >&6; }
3641
 
ac_exeext=$ac_cv_exeext
3642
 
 
3643
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3644
 
ac_clean_files=$ac_clean_files_save
3645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3646
 
$as_echo_n "checking for suffix of executables... " >&6; }
3647
 
if { { ac_try="$ac_link"
3648
 
case "(($ac_try" in
3649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650
 
  *) ac_try_echo=$ac_try;;
3651
 
esac
3652
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653
 
$as_echo "$ac_try_echo"; } >&5
3654
 
  (eval "$ac_link") 2>&5
3655
 
  ac_status=$?
3656
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657
 
  test $ac_status = 0; }; then :
3658
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3659
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3660
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3661
 
# `rm'.
3662
 
for ac_file in conftest.exe conftest conftest.*; do
3663
 
  test -f "$ac_file" || continue
3664
 
  case $ac_file in
3665
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3666
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3667
 
          break;;
3668
 
    * ) break;;
3669
 
  esac
3670
 
done
3671
 
else
3672
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3675
 
See \`config.log' for more details" "$LINENO" 5 ; }
3676
 
fi
3677
 
rm -f conftest conftest$ac_cv_exeext
3678
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3679
 
$as_echo "$ac_cv_exeext" >&6; }
3680
 
 
3681
 
rm -f conftest.$ac_ext
3682
 
EXEEXT=$ac_cv_exeext
3683
 
ac_exeext=$EXEEXT
3684
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685
 
/* end confdefs.h.  */
3686
 
#include <stdio.h>
3687
 
int
3688
 
main ()
3689
 
{
3690
 
FILE *f = fopen ("conftest.out", "w");
3691
 
 return ferror (f) || fclose (f) != 0;
3692
 
 
3693
 
  ;
3694
 
  return 0;
3695
 
}
3696
 
_ACEOF
3697
 
ac_clean_files="$ac_clean_files conftest.out"
3698
 
# Check that the compiler produces executables we can run.  If not, either
3699
 
# the compiler is broken, or we cross compile.
3700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3701
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3702
 
if test "$cross_compiling" != yes; then
3703
 
  { { ac_try="$ac_link"
3704
 
case "(($ac_try" in
3705
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706
 
  *) ac_try_echo=$ac_try;;
3707
 
esac
3708
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3709
 
$as_echo "$ac_try_echo"; } >&5
3710
 
  (eval "$ac_link") 2>&5
3711
 
  ac_status=$?
3712
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3713
 
  test $ac_status = 0; }
3714
 
  if { ac_try='./conftest$ac_cv_exeext'
3715
 
  { { case "(($ac_try" in
3716
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717
 
  *) ac_try_echo=$ac_try;;
3718
 
esac
3719
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3720
 
$as_echo "$ac_try_echo"; } >&5
3721
 
  (eval "$ac_try") 2>&5
3722
 
  ac_status=$?
3723
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724
 
  test $ac_status = 0; }; }; then
3725
 
    cross_compiling=no
3726
 
  else
3727
 
    if test "$cross_compiling" = maybe; then
3728
 
        cross_compiling=yes
3729
 
    else
3730
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732
 
as_fn_error $? "cannot run C compiled programs.
3733
 
If you meant to cross compile, use \`--host'.
3734
 
See \`config.log' for more details" "$LINENO" 5 ; }
3735
 
    fi
3736
 
  fi
3737
 
fi
3738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3739
 
$as_echo "$cross_compiling" >&6; }
3740
 
 
3741
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3742
 
ac_clean_files=$ac_clean_files_save
3743
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3744
 
$as_echo_n "checking for suffix of object files... " >&6; }
3745
 
if test "${ac_cv_objext+set}" = set; then :
3746
 
  $as_echo_n "(cached) " >&6
3747
 
else
3748
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749
 
/* end confdefs.h.  */
3750
 
 
3751
 
int
3752
 
main ()
3753
 
{
3754
 
 
3755
 
  ;
3756
 
  return 0;
3757
 
}
3758
 
_ACEOF
3759
 
rm -f conftest.o conftest.obj
3760
 
if { { ac_try="$ac_compile"
3761
 
case "(($ac_try" in
3762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763
 
  *) ac_try_echo=$ac_try;;
3764
 
esac
3765
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3766
 
$as_echo "$ac_try_echo"; } >&5
3767
 
  (eval "$ac_compile") 2>&5
3768
 
  ac_status=$?
3769
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3770
 
  test $ac_status = 0; }; then :
3771
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3772
 
  test -f "$ac_file" || continue;
3773
 
  case $ac_file in
3774
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3775
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3776
 
       break;;
3777
 
  esac
3778
 
done
3779
 
else
3780
 
  $as_echo "$as_me: failed program was:" >&5
3781
 
sed 's/^/| /' conftest.$ac_ext >&5
3782
 
 
3783
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3786
 
See \`config.log' for more details" "$LINENO" 5 ; }
3787
 
fi
3788
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3789
 
fi
3790
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3791
 
$as_echo "$ac_cv_objext" >&6; }
3792
 
OBJEXT=$ac_cv_objext
3793
 
ac_objext=$OBJEXT
3794
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3795
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3796
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3797
 
  $as_echo_n "(cached) " >&6
3798
 
else
3799
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800
 
/* end confdefs.h.  */
3801
 
 
3802
 
int
3803
 
main ()
3804
 
{
3805
 
#ifndef __GNUC__
3806
 
       choke me
3807
 
#endif
3808
 
 
3809
 
  ;
3810
 
  return 0;
3811
 
}
3812
 
_ACEOF
3813
 
if ac_fn_c_try_compile "$LINENO"; then :
3814
 
  ac_compiler_gnu=yes
3815
 
else
3816
 
  ac_compiler_gnu=no
3817
 
fi
3818
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3820
 
 
3821
 
fi
3822
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3823
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3824
 
if test $ac_compiler_gnu = yes; then
3825
 
  GCC=yes
3826
 
else
3827
 
  GCC=
3828
 
fi
3829
 
ac_test_CFLAGS=${CFLAGS+set}
3830
 
ac_save_CFLAGS=$CFLAGS
3831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3832
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3833
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3834
 
  $as_echo_n "(cached) " >&6
3835
 
else
3836
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3837
 
   ac_c_werror_flag=yes
3838
 
   ac_cv_prog_cc_g=no
3839
 
   CFLAGS="-g"
3840
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841
 
/* end confdefs.h.  */
3842
 
 
3843
 
int
3844
 
main ()
3845
 
{
3846
 
 
3847
 
  ;
3848
 
  return 0;
3849
 
}
3850
 
_ACEOF
3851
 
if ac_fn_c_try_compile "$LINENO"; then :
3852
 
  ac_cv_prog_cc_g=yes
3853
 
else
3854
 
  CFLAGS=""
3855
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856
 
/* end confdefs.h.  */
3857
 
 
3858
 
int
3859
 
main ()
3860
 
{
3861
 
 
3862
 
  ;
3863
 
  return 0;
3864
 
}
3865
 
_ACEOF
3866
 
if ac_fn_c_try_compile "$LINENO"; then :
3867
 
 
3868
 
else
3869
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3870
 
         CFLAGS="-g"
3871
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872
 
/* end confdefs.h.  */
3873
 
 
3874
 
int
3875
 
main ()
3876
 
{
3877
 
 
3878
 
  ;
3879
 
  return 0;
3880
 
}
3881
 
_ACEOF
3882
 
if ac_fn_c_try_compile "$LINENO"; then :
3883
 
  ac_cv_prog_cc_g=yes
3884
 
fi
3885
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886
 
fi
3887
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888
 
fi
3889
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3891
 
fi
3892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3893
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3894
 
if test "$ac_test_CFLAGS" = set; then
3895
 
  CFLAGS=$ac_save_CFLAGS
3896
 
elif test $ac_cv_prog_cc_g = yes; then
3897
 
  if test "$GCC" = yes; then
3898
 
    CFLAGS="-g -O2"
3899
 
  else
3900
 
    CFLAGS="-g"
3901
 
  fi
3902
 
else
3903
 
  if test "$GCC" = yes; then
3904
 
    CFLAGS="-O2"
3905
 
  else
3906
 
    CFLAGS=
3907
 
  fi
3908
 
fi
3909
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3910
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3911
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3912
 
  $as_echo_n "(cached) " >&6
3913
 
else
3914
 
  ac_cv_prog_cc_c89=no
3915
 
ac_save_CC=$CC
3916
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917
 
/* end confdefs.h.  */
3918
 
#include <stdarg.h>
3919
 
#include <stdio.h>
3920
 
#include <sys/types.h>
3921
 
#include <sys/stat.h>
3922
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3923
 
struct buf { int x; };
3924
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3925
 
static char *e (p, i)
3926
 
     char **p;
3927
 
     int i;
3928
 
{
3929
 
  return p[i];
3930
 
}
3931
 
static char *f (char * (*g) (char **, int), char **p, ...)
3932
 
{
3933
 
  char *s;
3934
 
  va_list v;
3935
 
  va_start (v,p);
3936
 
  s = g (p, va_arg (v,int));
3937
 
  va_end (v);
3938
 
  return s;
3939
 
}
3940
 
 
3941
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3942
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3943
 
   These don't provoke an error unfortunately, instead are silently treated
3944
 
   as 'x'.  The following induces an error, until -std is added to get
3945
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3946
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3947
 
   that's true only with -std.  */
3948
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3949
 
 
3950
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3951
 
   inside strings and character constants.  */
3952
 
#define FOO(x) 'x'
3953
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3954
 
 
3955
 
int test (int i, double x);
3956
 
struct s1 {int (*f) (int a);};
3957
 
struct s2 {int (*f) (double a);};
3958
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3959
 
int argc;
3960
 
char **argv;
3961
 
int
3962
 
main ()
3963
 
{
3964
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3965
 
  ;
3966
 
  return 0;
3967
 
}
3968
 
_ACEOF
3969
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3970
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3971
 
do
3972
 
  CC="$ac_save_CC $ac_arg"
3973
 
  if ac_fn_c_try_compile "$LINENO"; then :
3974
 
  ac_cv_prog_cc_c89=$ac_arg
3975
 
fi
3976
 
rm -f core conftest.err conftest.$ac_objext
3977
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3978
 
done
3979
 
rm -f conftest.$ac_ext
3980
 
CC=$ac_save_CC
3981
 
 
3982
 
fi
3983
 
# AC_CACHE_VAL
3984
 
case "x$ac_cv_prog_cc_c89" in
3985
 
  x)
3986
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3987
 
$as_echo "none needed" >&6; } ;;
3988
 
  xno)
3989
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3990
 
$as_echo "unsupported" >&6; } ;;
3991
 
  *)
3992
 
    CC="$CC $ac_cv_prog_cc_c89"
3993
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3994
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3995
 
esac
3996
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3997
 
 
3998
 
fi
3999
 
 
4000
 
ac_ext=c
4001
 
ac_cpp='$CPP $CPPFLAGS'
4002
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4003
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4004
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4005
 
 
4006
 
depcc="$CC"   am_compiler_list=
4007
 
 
4008
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4009
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4010
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4011
 
  $as_echo_n "(cached) " >&6
4012
 
else
4013
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4014
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4015
 
  # making bogus files that we don't know about and never remove.  For
4016
 
  # instance it was reported that on HP-UX the gcc test will end up
4017
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4018
 
  # in D'.
4019
 
  mkdir conftest.dir
4020
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4021
 
  # using a relative directory.
4022
 
  cp "$am_depcomp" conftest.dir
4023
 
  cd conftest.dir
4024
 
  # We will build objects and dependencies in a subdirectory because
4025
 
  # it helps to detect inapplicable dependency modes.  For instance
4026
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4027
 
  # side effect of compilation, but ICC will put the dependencies in
4028
 
  # the current directory while Tru64 will put them in the object
4029
 
  # directory.
4030
 
  mkdir sub
4031
 
 
4032
 
  am_cv_CC_dependencies_compiler_type=none
4033
 
  if test "$am_compiler_list" = ""; then
4034
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4035
 
  fi
4036
 
  am__universal=false
4037
 
  case " $depcc " in #(
4038
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4039
 
     esac
4040
 
 
4041
 
  for depmode in $am_compiler_list; do
4042
 
    # Setup a source with many dependencies, because some compilers
4043
 
    # like to wrap large dependency lists on column 80 (with \), and
4044
 
    # we should not choose a depcomp mode which is confused by this.
4045
 
    #
4046
 
    # We need to recreate these files for each test, as the compiler may
4047
 
    # overwrite some of them when testing with obscure command lines.
4048
 
    # This happens at least with the AIX C compiler.
4049
 
    : > sub/conftest.c
4050
 
    for i in 1 2 3 4 5 6; do
4051
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4052
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4053
 
      # Solaris 8's {/usr,}/bin/sh.
4054
 
      touch sub/conftst$i.h
4055
 
    done
4056
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4057
 
 
4058
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4059
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4060
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4061
 
    # versions had trouble with output in subdirs
4062
 
    am__obj=sub/conftest.${OBJEXT-o}
4063
 
    am__minus_obj="-o $am__obj"
4064
 
    case $depmode in
4065
 
    gcc)
4066
 
      # This depmode causes a compiler race in universal mode.
4067
 
      test "$am__universal" = false || continue
4068
 
      ;;
4069
 
    nosideeffect)
4070
 
      # after this tag, mechanisms are not by side-effect, so they'll
4071
 
      # only be used when explicitly requested
4072
 
      if test "x$enable_dependency_tracking" = xyes; then
4073
 
        continue
4074
 
      else
4075
 
        break
4076
 
      fi
4077
 
      ;;
4078
 
    msvisualcpp | msvcmsys)
4079
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4080
 
      # not run yet.  These depmodes are late enough in the game, and
4081
 
      # so weak that their functioning should not be impacted.
4082
 
      am__obj=conftest.${OBJEXT-o}
4083
 
      am__minus_obj=
4084
 
      ;;
4085
 
    none) break ;;
4086
 
    esac
4087
 
    if depmode=$depmode \
4088
 
       source=sub/conftest.c object=$am__obj \
4089
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4090
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4091
 
         >/dev/null 2>conftest.err &&
4092
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4093
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4094
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4095
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4096
 
      # icc doesn't choke on unknown options, it will just issue warnings
4097
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4098
 
      # that says an option was ignored or not supported.
4099
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4100
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4101
 
      # The diagnosis changed in icc 8.0:
4102
 
      #   icc: Command line remark: option '-MP' not supported
4103
 
      if (grep 'ignoring option' conftest.err ||
4104
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4105
 
        am_cv_CC_dependencies_compiler_type=$depmode
4106
 
        break
4107
 
      fi
4108
 
    fi
4109
 
  done
4110
 
 
4111
 
  cd ..
4112
 
  rm -rf conftest.dir
4113
 
else
4114
 
  am_cv_CC_dependencies_compiler_type=none
4115
 
fi
4116
 
 
4117
 
fi
4118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4119
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4120
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4121
 
 
4122
 
 if
4123
 
  test "x$enable_dependency_tracking" != xno \
4124
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4125
 
  am__fastdepCC_TRUE=
4126
 
  am__fastdepCC_FALSE='#'
4127
 
else
4128
 
  am__fastdepCC_TRUE='#'
4129
 
  am__fastdepCC_FALSE=
4130
 
fi
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
case "$am__api_version" in
4137
 
    1.01234)
4138
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4139
 
    ;;
4140
 
    *)
4141
 
    ;;
4142
 
esac
4143
 
 
4144
 
if test -n "0.35.0"; then
4145
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4146
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4147
 
 
4148
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4149
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4150
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4151
 
 
4152
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4153
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4154
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4155
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4156
 
fi
4157
 
 
4158
 
# Extract the first word of "intltool-update", so it can be a program name with args.
4159
 
set dummy intltool-update; ac_word=$2
4160
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161
 
$as_echo_n "checking for $ac_word... " >&6; }
4162
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
4163
 
  $as_echo_n "(cached) " >&6
4164
 
else
4165
 
  case $INTLTOOL_UPDATE in
4166
 
  [\\/]* | ?:[\\/]*)
4167
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4168
 
  ;;
4169
 
  *)
4170
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171
 
for as_dir in $PATH
4172
 
do
4173
 
  IFS=$as_save_IFS
4174
 
  test -z "$as_dir" && as_dir=.
4175
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4176
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4178
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179
 
    break 2
4180
 
  fi
4181
 
done
4182
 
  done
4183
 
IFS=$as_save_IFS
4184
 
 
4185
 
  ;;
4186
 
esac
4187
 
fi
4188
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4189
 
if test -n "$INTLTOOL_UPDATE"; then
4190
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4191
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
4192
 
else
4193
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194
 
$as_echo "no" >&6; }
4195
 
fi
4196
 
 
4197
 
 
4198
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
4199
 
set dummy intltool-merge; ac_word=$2
4200
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201
 
$as_echo_n "checking for $ac_word... " >&6; }
4202
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4203
 
  $as_echo_n "(cached) " >&6
4204
 
else
4205
 
  case $INTLTOOL_MERGE in
4206
 
  [\\/]* | ?:[\\/]*)
4207
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4208
 
  ;;
4209
 
  *)
4210
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211
 
for as_dir in $PATH
4212
 
do
4213
 
  IFS=$as_save_IFS
4214
 
  test -z "$as_dir" && as_dir=.
4215
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4216
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4218
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219
 
    break 2
4220
 
  fi
4221
 
done
4222
 
  done
4223
 
IFS=$as_save_IFS
4224
 
 
4225
 
  ;;
4226
 
esac
4227
 
fi
4228
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4229
 
if test -n "$INTLTOOL_MERGE"; then
4230
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4231
 
$as_echo "$INTLTOOL_MERGE" >&6; }
4232
 
else
4233
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234
 
$as_echo "no" >&6; }
4235
 
fi
4236
 
 
4237
 
 
4238
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
4239
 
set dummy intltool-extract; ac_word=$2
4240
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241
 
$as_echo_n "checking for $ac_word... " >&6; }
4242
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4243
 
  $as_echo_n "(cached) " >&6
4244
 
else
4245
 
  case $INTLTOOL_EXTRACT in
4246
 
  [\\/]* | ?:[\\/]*)
4247
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4248
 
  ;;
4249
 
  *)
4250
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251
 
for as_dir in $PATH
4252
 
do
4253
 
  IFS=$as_save_IFS
4254
 
  test -z "$as_dir" && as_dir=.
4255
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4256
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4258
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259
 
    break 2
4260
 
  fi
4261
 
done
4262
 
  done
4263
 
IFS=$as_save_IFS
4264
 
 
4265
 
  ;;
4266
 
esac
4267
 
fi
4268
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4269
 
if test -n "$INTLTOOL_EXTRACT"; then
4270
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4271
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4272
 
else
4273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274
 
$as_echo "no" >&6; }
4275
 
fi
4276
 
 
4277
 
 
4278
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4279
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4280
 
fi
4281
 
 
4282
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4283
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4284
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4285
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4286
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4287
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4288
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4289
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4290
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4291
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4292
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4293
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4294
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4295
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4296
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4297
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4298
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4299
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4300
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4301
 
 
4302
 
 
4303
 
 
4304
 
 
4305
 
 
4306
 
 
4307
 
 
4308
 
 
4309
 
 
4310
 
 
4311
 
 
4312
 
 
4313
 
 
4314
 
 
4315
 
 
4316
 
 
4317
 
 
4318
 
 
4319
 
 
4320
 
 
4321
 
 
4322
 
 
4323
 
 
4324
 
 
4325
 
 
4326
 
 
4327
 
 
4328
 
 
4329
 
 
4330
 
 
4331
 
 
4332
 
 
4333
 
 
4334
 
 
4335
 
 
4336
 
 
4337
 
 
4338
 
 
4339
 
 
4340
 
 
4341
 
 
4342
 
 
4343
 
 
4344
 
 
4345
 
 
4346
 
 
4347
 
 
4348
 
 
4349
 
 
4350
 
 
4351
 
 
4352
 
 
4353
 
 
4354
 
 
4355
 
 
4356
 
 
4357
 
 
4358
 
 
4359
 
 
4360
 
 
4361
 
 
4362
 
 
4363
 
 
4364
 
 
4365
 
 
4366
 
 
4367
 
 
4368
 
 
4369
 
 
4370
 
 
4371
 
 
4372
 
 
4373
 
 
4374
 
 
4375
 
 
4376
 
 
4377
 
 
4378
 
 
4379
 
 
4380
 
 
4381
 
 
4382
 
 
4383
 
 
4384
 
 
4385
 
 
4386
 
 
4387
 
 
4388
 
 
4389
 
 
4390
 
 
4391
 
 
4392
 
 
4393
 
 
4394
 
 
4395
 
 
4396
 
 
4397
 
 
4398
 
# Check the gettext tools to make sure they are GNU
4399
 
# Extract the first word of "xgettext", so it can be a program name with args.
4400
 
set dummy xgettext; ac_word=$2
4401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402
 
$as_echo_n "checking for $ac_word... " >&6; }
4403
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4404
 
  $as_echo_n "(cached) " >&6
4405
 
else
4406
 
  case $XGETTEXT in
4407
 
  [\\/]* | ?:[\\/]*)
4408
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4409
 
  ;;
4410
 
  *)
4411
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412
 
for as_dir in $PATH
4413
 
do
4414
 
  IFS=$as_save_IFS
4415
 
  test -z "$as_dir" && as_dir=.
4416
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4417
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4419
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420
 
    break 2
4421
 
  fi
4422
 
done
4423
 
  done
4424
 
IFS=$as_save_IFS
4425
 
 
4426
 
  ;;
4427
 
esac
4428
 
fi
4429
 
XGETTEXT=$ac_cv_path_XGETTEXT
4430
 
if test -n "$XGETTEXT"; then
4431
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4432
 
$as_echo "$XGETTEXT" >&6; }
4433
 
else
4434
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435
 
$as_echo "no" >&6; }
4436
 
fi
4437
 
 
4438
 
 
4439
 
# Extract the first word of "msgmerge", so it can be a program name with args.
4440
 
set dummy msgmerge; ac_word=$2
4441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442
 
$as_echo_n "checking for $ac_word... " >&6; }
4443
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4444
 
  $as_echo_n "(cached) " >&6
4445
 
else
4446
 
  case $MSGMERGE in
4447
 
  [\\/]* | ?:[\\/]*)
4448
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4449
 
  ;;
4450
 
  *)
4451
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452
 
for as_dir in $PATH
4453
 
do
4454
 
  IFS=$as_save_IFS
4455
 
  test -z "$as_dir" && as_dir=.
4456
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4457
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4459
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460
 
    break 2
4461
 
  fi
4462
 
done
4463
 
  done
4464
 
IFS=$as_save_IFS
4465
 
 
4466
 
  ;;
4467
 
esac
4468
 
fi
4469
 
MSGMERGE=$ac_cv_path_MSGMERGE
4470
 
if test -n "$MSGMERGE"; then
4471
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4472
 
$as_echo "$MSGMERGE" >&6; }
4473
 
else
4474
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475
 
$as_echo "no" >&6; }
4476
 
fi
4477
 
 
4478
 
 
4479
 
# Extract the first word of "msgfmt", so it can be a program name with args.
4480
 
set dummy msgfmt; ac_word=$2
4481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482
 
$as_echo_n "checking for $ac_word... " >&6; }
4483
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4484
 
  $as_echo_n "(cached) " >&6
4485
 
else
4486
 
  case $MSGFMT in
4487
 
  [\\/]* | ?:[\\/]*)
4488
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4489
 
  ;;
4490
 
  *)
4491
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492
 
for as_dir in $PATH
4493
 
do
4494
 
  IFS=$as_save_IFS
4495
 
  test -z "$as_dir" && as_dir=.
4496
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4497
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4499
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500
 
    break 2
4501
 
  fi
4502
 
done
4503
 
  done
4504
 
IFS=$as_save_IFS
4505
 
 
4506
 
  ;;
4507
 
esac
4508
 
fi
4509
 
MSGFMT=$ac_cv_path_MSGFMT
4510
 
if test -n "$MSGFMT"; then
4511
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4512
 
$as_echo "$MSGFMT" >&6; }
4513
 
else
4514
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515
 
$as_echo "no" >&6; }
4516
 
fi
4517
 
 
4518
 
 
4519
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4520
 
set dummy gmsgfmt; ac_word=$2
4521
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522
 
$as_echo_n "checking for $ac_word... " >&6; }
4523
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4524
 
  $as_echo_n "(cached) " >&6
4525
 
else
4526
 
  case $GMSGFMT in
4527
 
  [\\/]* | ?:[\\/]*)
4528
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4529
 
  ;;
4530
 
  *)
4531
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532
 
for as_dir in $PATH
4533
 
do
4534
 
  IFS=$as_save_IFS
4535
 
  test -z "$as_dir" && as_dir=.
4536
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4537
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4539
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540
 
    break 2
4541
 
  fi
4542
 
done
4543
 
  done
4544
 
IFS=$as_save_IFS
4545
 
 
4546
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4547
 
  ;;
4548
 
esac
4549
 
fi
4550
 
GMSGFMT=$ac_cv_path_GMSGFMT
4551
 
if test -n "$GMSGFMT"; then
4552
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4553
 
$as_echo "$GMSGFMT" >&6; }
4554
 
else
4555
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556
 
$as_echo "no" >&6; }
4557
 
fi
4558
 
 
4559
 
 
4560
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4561
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4562
 
fi
4563
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4564
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4565
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4566
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4567
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4568
 
fi
4569
 
 
4570
 
# Extract the first word of "perl", so it can be a program name with args.
4571
 
set dummy perl; ac_word=$2
4572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573
 
$as_echo_n "checking for $ac_word... " >&6; }
4574
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4575
 
  $as_echo_n "(cached) " >&6
4576
 
else
4577
 
  case $INTLTOOL_PERL in
4578
 
  [\\/]* | ?:[\\/]*)
4579
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4580
 
  ;;
4581
 
  *)
4582
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583
 
for as_dir in $PATH
4584
 
do
4585
 
  IFS=$as_save_IFS
4586
 
  test -z "$as_dir" && as_dir=.
4587
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4588
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4590
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591
 
    break 2
4592
 
  fi
4593
 
done
4594
 
  done
4595
 
IFS=$as_save_IFS
4596
 
 
4597
 
  ;;
4598
 
esac
4599
 
fi
4600
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4601
 
if test -n "$INTLTOOL_PERL"; then
4602
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4603
 
$as_echo "$INTLTOOL_PERL" >&6; }
4604
 
else
4605
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606
 
$as_echo "no" >&6; }
4607
 
fi
4608
 
 
4609
 
 
4610
 
if test -z "$INTLTOOL_PERL"; then
4611
 
   as_fn_error $? "perl not found" "$LINENO" 5
4612
 
fi
4613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4614
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4615
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4616
 
if test $? -ne 0; then
4617
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4618
 
else
4619
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4620
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4621
 
$as_echo "$IT_PERL_VERSION" >&6; }
4622
 
fi
4623
 
if test "x" != "xno-xml"; then
4624
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4625
 
$as_echo_n "checking for XML::Parser... " >&6; }
4626
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4627
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4628
 
$as_echo "ok" >&6; }
4629
 
   else
4630
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4631
 
   fi
4632
 
fi
4633
 
 
4634
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4635
 
 
4636
 
 
4637
 
# Set DATADIRNAME correctly if it is not set yet
4638
 
# (copied from glib-gettext.m4)
4639
 
if test -z "$DATADIRNAME"; then
4640
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641
 
/* end confdefs.h.  */
4642
 
 
4643
 
int
4644
 
main ()
4645
 
{
4646
 
extern int _nl_msg_cat_cntr;
4647
 
                       return _nl_msg_cat_cntr
4648
 
  ;
4649
 
  return 0;
4650
 
}
4651
 
_ACEOF
4652
 
if ac_fn_c_try_link "$LINENO"; then :
4653
 
  DATADIRNAME=share
4654
 
else
4655
 
  case $host in
4656
 
    *-*-solaris*)
4657
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4658
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4659
 
  DATADIRNAME=share
4660
 
else
4661
 
  DATADIRNAME=lib
4662
 
fi
4663
 
 
4664
 
    ;;
4665
 
    *)
4666
 
    DATADIRNAME=lib
4667
 
    ;;
4668
 
    esac
4669
 
fi
4670
 
rm -f core conftest.err conftest.$ac_objext \
4671
 
    conftest$ac_exeext conftest.$ac_ext
4672
 
fi
4673
 
 
4674
 
 
4675
 
 
4676
 
 
4677
 
 
4678
 
 
4679
 
GLIB_REQUIRED=2.18.0
4680
 
GTK_REQUIRED=2.14.0
4681
 
LIBGLADE_REQUIRED=2.3.2
4682
 
GCONF_REQUIRED=2.8.0
4683
 
DBUS_REQUIRED=0.60
4684
 
DBUS_GLIB_REQUIRED=0.60
4685
 
LIBSEXY_REQUIRED=0.1.11
4686
 
LIBNOTIFY_REQUIRED=0.3.2
4687
 
LIBCANBERRAGTK_REQUIRED=0.3
4688
 
SM_REQUIRED=1.0.0
4689
 
 
4690
 
ac_ext=c
4691
 
ac_cpp='$CPP $CPPFLAGS'
4692
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4693
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4694
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4695
 
if test -n "$ac_tool_prefix"; then
4696
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4697
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699
 
$as_echo_n "checking for $ac_word... " >&6; }
4700
 
if test "${ac_cv_prog_CC+set}" = set; then :
4701
 
  $as_echo_n "(cached) " >&6
4702
 
else
4703
 
  if test -n "$CC"; then
4704
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4705
 
else
4706
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707
 
for as_dir in $PATH
4708
 
do
4709
 
  IFS=$as_save_IFS
4710
 
  test -z "$as_dir" && as_dir=.
4711
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4712
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4714
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715
 
    break 2
4716
 
  fi
4717
 
done
4718
 
  done
4719
 
IFS=$as_save_IFS
4720
 
 
4721
 
fi
4722
 
fi
4723
 
CC=$ac_cv_prog_CC
4724
 
if test -n "$CC"; then
4725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4726
 
$as_echo "$CC" >&6; }
4727
 
else
4728
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729
 
$as_echo "no" >&6; }
4730
 
fi
4731
 
 
4732
 
 
4733
 
fi
4734
 
if test -z "$ac_cv_prog_CC"; then
4735
 
  ac_ct_CC=$CC
4736
 
  # Extract the first word of "gcc", so it can be a program name with args.
4737
 
set dummy gcc; ac_word=$2
4738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739
 
$as_echo_n "checking for $ac_word... " >&6; }
4740
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4741
 
  $as_echo_n "(cached) " >&6
4742
 
else
4743
 
  if test -n "$ac_ct_CC"; then
4744
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4745
 
else
4746
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747
 
for as_dir in $PATH
4748
 
do
4749
 
  IFS=$as_save_IFS
4750
 
  test -z "$as_dir" && as_dir=.
4751
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4752
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753
 
    ac_cv_prog_ac_ct_CC="gcc"
4754
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755
 
    break 2
4756
 
  fi
4757
 
done
4758
 
  done
4759
 
IFS=$as_save_IFS
4760
 
 
4761
 
fi
4762
 
fi
4763
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4764
 
if test -n "$ac_ct_CC"; then
4765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4766
 
$as_echo "$ac_ct_CC" >&6; }
4767
 
else
4768
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769
 
$as_echo "no" >&6; }
4770
 
fi
4771
 
 
4772
 
  if test "x$ac_ct_CC" = x; then
4773
 
    CC=""
4774
 
  else
4775
 
    case $cross_compiling:$ac_tool_warned in
4776
 
yes:)
4777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4778
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4779
 
ac_tool_warned=yes ;;
4780
 
esac
4781
 
    CC=$ac_ct_CC
4782
 
  fi
4783
 
else
4784
 
  CC="$ac_cv_prog_CC"
4785
 
fi
4786
 
 
4787
 
if test -z "$CC"; then
4788
 
          if test -n "$ac_tool_prefix"; then
4789
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4790
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4791
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792
 
$as_echo_n "checking for $ac_word... " >&6; }
4793
 
if test "${ac_cv_prog_CC+set}" = set; then :
4794
 
  $as_echo_n "(cached) " >&6
4795
 
else
4796
 
  if test -n "$CC"; then
4797
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4798
 
else
4799
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800
 
for as_dir in $PATH
4801
 
do
4802
 
  IFS=$as_save_IFS
4803
 
  test -z "$as_dir" && as_dir=.
4804
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4805
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4807
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808
 
    break 2
4809
 
  fi
4810
 
done
4811
 
  done
4812
 
IFS=$as_save_IFS
4813
 
 
4814
 
fi
4815
 
fi
4816
 
CC=$ac_cv_prog_CC
4817
 
if test -n "$CC"; then
4818
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4819
 
$as_echo "$CC" >&6; }
4820
 
else
4821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822
 
$as_echo "no" >&6; }
4823
 
fi
4824
 
 
4825
 
 
4826
 
  fi
4827
 
fi
4828
 
if test -z "$CC"; then
4829
 
  # Extract the first word of "cc", so it can be a program name with args.
4830
 
set dummy cc; ac_word=$2
4831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832
 
$as_echo_n "checking for $ac_word... " >&6; }
4833
 
if test "${ac_cv_prog_CC+set}" = set; then :
4834
 
  $as_echo_n "(cached) " >&6
4835
 
else
4836
 
  if test -n "$CC"; then
4837
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4838
 
else
4839
 
  ac_prog_rejected=no
4840
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841
 
for as_dir in $PATH
4842
 
do
4843
 
  IFS=$as_save_IFS
4844
 
  test -z "$as_dir" && as_dir=.
4845
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4846
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4847
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4848
 
       ac_prog_rejected=yes
4849
 
       continue
4850
 
     fi
4851
 
    ac_cv_prog_CC="cc"
4852
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853
 
    break 2
4854
 
  fi
4855
 
done
4856
 
  done
4857
 
IFS=$as_save_IFS
4858
 
 
4859
 
if test $ac_prog_rejected = yes; then
4860
 
  # We found a bogon in the path, so make sure we never use it.
4861
 
  set dummy $ac_cv_prog_CC
4862
 
  shift
4863
 
  if test $# != 0; then
4864
 
    # We chose a different compiler from the bogus one.
4865
 
    # However, it has the same basename, so the bogon will be chosen
4866
 
    # first if we set CC to just the basename; use the full file name.
4867
 
    shift
4868
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4869
 
  fi
4870
 
fi
4871
 
fi
4872
 
fi
4873
 
CC=$ac_cv_prog_CC
4874
 
if test -n "$CC"; then
4875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4876
 
$as_echo "$CC" >&6; }
4877
 
else
4878
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879
 
$as_echo "no" >&6; }
4880
 
fi
4881
 
 
4882
 
 
4883
 
fi
4884
 
if test -z "$CC"; then
4885
 
  if test -n "$ac_tool_prefix"; then
4886
 
  for ac_prog in cl.exe
4887
 
  do
4888
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4889
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891
 
$as_echo_n "checking for $ac_word... " >&6; }
4892
 
if test "${ac_cv_prog_CC+set}" = set; then :
4893
 
  $as_echo_n "(cached) " >&6
4894
 
else
4895
 
  if test -n "$CC"; then
4896
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4897
 
else
4898
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899
 
for as_dir in $PATH
4900
 
do
4901
 
  IFS=$as_save_IFS
4902
 
  test -z "$as_dir" && as_dir=.
4903
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4904
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4906
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907
 
    break 2
4908
 
  fi
4909
 
done
4910
 
  done
4911
 
IFS=$as_save_IFS
4912
 
 
4913
 
fi
4914
 
fi
4915
 
CC=$ac_cv_prog_CC
4916
 
if test -n "$CC"; then
4917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4918
 
$as_echo "$CC" >&6; }
4919
 
else
4920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921
 
$as_echo "no" >&6; }
4922
 
fi
4923
 
 
4924
 
 
4925
 
    test -n "$CC" && break
4926
 
  done
4927
 
fi
4928
 
if test -z "$CC"; then
4929
 
  ac_ct_CC=$CC
4930
 
  for ac_prog in cl.exe
4931
 
do
4932
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4933
 
set dummy $ac_prog; ac_word=$2
4934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935
 
$as_echo_n "checking for $ac_word... " >&6; }
4936
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4937
 
  $as_echo_n "(cached) " >&6
4938
 
else
4939
 
  if test -n "$ac_ct_CC"; then
4940
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4941
 
else
4942
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943
 
for as_dir in $PATH
4944
 
do
4945
 
  IFS=$as_save_IFS
4946
 
  test -z "$as_dir" && as_dir=.
4947
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4948
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4950
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951
 
    break 2
4952
 
  fi
4953
 
done
4954
 
  done
4955
 
IFS=$as_save_IFS
4956
 
 
4957
 
fi
4958
 
fi
4959
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4960
 
if test -n "$ac_ct_CC"; then
4961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4962
 
$as_echo "$ac_ct_CC" >&6; }
4963
 
else
4964
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965
 
$as_echo "no" >&6; }
4966
 
fi
4967
 
 
4968
 
 
4969
 
  test -n "$ac_ct_CC" && break
4970
 
done
4971
 
 
4972
 
  if test "x$ac_ct_CC" = x; then
4973
 
    CC=""
4974
 
  else
4975
 
    case $cross_compiling:$ac_tool_warned in
4976
 
yes:)
4977
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979
 
ac_tool_warned=yes ;;
4980
 
esac
4981
 
    CC=$ac_ct_CC
4982
 
  fi
4983
 
fi
4984
 
 
4985
 
fi
4986
 
 
4987
 
 
4988
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4989
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4990
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4991
 
See \`config.log' for more details" "$LINENO" 5 ; }
4992
 
 
4993
 
# Provide some information about the compiler.
4994
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4995
 
set X $ac_compile
4996
 
ac_compiler=$2
4997
 
for ac_option in --version -v -V -qversion; do
4998
 
  { { ac_try="$ac_compiler $ac_option >&5"
4999
 
case "(($ac_try" in
5000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
 
  *) ac_try_echo=$ac_try;;
5002
 
esac
5003
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5004
 
$as_echo "$ac_try_echo"; } >&5
5005
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5006
 
  ac_status=$?
5007
 
  if test -s conftest.err; then
5008
 
    sed '10a\
5009
 
... rest of stderr output deleted ...
5010
 
         10q' conftest.err >conftest.er1
5011
 
    cat conftest.er1 >&5
5012
 
  fi
5013
 
  rm -f conftest.er1 conftest.err
5014
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5015
 
  test $ac_status = 0; }
5016
 
done
5017
 
 
5018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5019
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5020
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5021
 
  $as_echo_n "(cached) " >&6
5022
 
else
5023
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024
 
/* end confdefs.h.  */
5025
 
 
5026
 
int
5027
 
main ()
5028
 
{
5029
 
#ifndef __GNUC__
5030
 
       choke me
5031
 
#endif
5032
 
 
5033
 
  ;
5034
 
  return 0;
5035
 
}
5036
 
_ACEOF
5037
 
if ac_fn_c_try_compile "$LINENO"; then :
5038
 
  ac_compiler_gnu=yes
5039
 
else
5040
 
  ac_compiler_gnu=no
5041
 
fi
5042
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5044
 
 
5045
 
fi
5046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5047
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5048
 
if test $ac_compiler_gnu = yes; then
5049
 
  GCC=yes
5050
 
else
5051
 
  GCC=
5052
 
fi
5053
 
ac_test_CFLAGS=${CFLAGS+set}
5054
 
ac_save_CFLAGS=$CFLAGS
5055
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5056
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5057
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
5058
 
  $as_echo_n "(cached) " >&6
5059
 
else
5060
 
  ac_save_c_werror_flag=$ac_c_werror_flag
5061
 
   ac_c_werror_flag=yes
5062
 
   ac_cv_prog_cc_g=no
5063
 
   CFLAGS="-g"
5064
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065
 
/* end confdefs.h.  */
5066
 
 
5067
 
int
5068
 
main ()
5069
 
{
5070
 
 
5071
 
  ;
5072
 
  return 0;
5073
 
}
5074
 
_ACEOF
5075
 
if ac_fn_c_try_compile "$LINENO"; then :
5076
 
  ac_cv_prog_cc_g=yes
5077
 
else
5078
 
  CFLAGS=""
5079
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080
 
/* end confdefs.h.  */
5081
 
 
5082
 
int
5083
 
main ()
5084
 
{
5085
 
 
5086
 
  ;
5087
 
  return 0;
5088
 
}
5089
 
_ACEOF
5090
 
if ac_fn_c_try_compile "$LINENO"; then :
5091
 
 
5092
 
else
5093
 
  ac_c_werror_flag=$ac_save_c_werror_flag
5094
 
         CFLAGS="-g"
5095
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096
 
/* end confdefs.h.  */
5097
 
 
5098
 
int
5099
 
main ()
5100
 
{
5101
 
 
5102
 
  ;
5103
 
  return 0;
5104
 
}
5105
 
_ACEOF
5106
 
if ac_fn_c_try_compile "$LINENO"; then :
5107
 
  ac_cv_prog_cc_g=yes
5108
 
fi
5109
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110
 
fi
5111
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5112
 
fi
5113
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5115
 
fi
5116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5117
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
5118
 
if test "$ac_test_CFLAGS" = set; then
5119
 
  CFLAGS=$ac_save_CFLAGS
5120
 
elif test $ac_cv_prog_cc_g = yes; then
5121
 
  if test "$GCC" = yes; then
5122
 
    CFLAGS="-g -O2"
5123
 
  else
5124
 
    CFLAGS="-g"
5125
 
  fi
5126
 
else
5127
 
  if test "$GCC" = yes; then
5128
 
    CFLAGS="-O2"
5129
 
  else
5130
 
    CFLAGS=
5131
 
  fi
5132
 
fi
5133
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5134
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5135
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5136
 
  $as_echo_n "(cached) " >&6
5137
 
else
5138
 
  ac_cv_prog_cc_c89=no
5139
 
ac_save_CC=$CC
5140
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141
 
/* end confdefs.h.  */
5142
 
#include <stdarg.h>
5143
 
#include <stdio.h>
5144
 
#include <sys/types.h>
5145
 
#include <sys/stat.h>
5146
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5147
 
struct buf { int x; };
5148
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5149
 
static char *e (p, i)
5150
 
     char **p;
5151
 
     int i;
5152
 
{
5153
 
  return p[i];
5154
 
}
5155
 
static char *f (char * (*g) (char **, int), char **p, ...)
5156
 
{
5157
 
  char *s;
5158
 
  va_list v;
5159
 
  va_start (v,p);
5160
 
  s = g (p, va_arg (v,int));
5161
 
  va_end (v);
5162
 
  return s;
5163
 
}
5164
 
 
5165
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5166
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5167
 
   These don't provoke an error unfortunately, instead are silently treated
5168
 
   as 'x'.  The following induces an error, until -std is added to get
5169
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5170
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5171
 
   that's true only with -std.  */
5172
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5173
 
 
5174
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5175
 
   inside strings and character constants.  */
5176
 
#define FOO(x) 'x'
5177
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5178
 
 
5179
 
int test (int i, double x);
5180
 
struct s1 {int (*f) (int a);};
5181
 
struct s2 {int (*f) (double a);};
5182
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5183
 
int argc;
5184
 
char **argv;
5185
 
int
5186
 
main ()
5187
 
{
5188
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5189
 
  ;
5190
 
  return 0;
5191
 
}
5192
 
_ACEOF
5193
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5194
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5195
 
do
5196
 
  CC="$ac_save_CC $ac_arg"
5197
 
  if ac_fn_c_try_compile "$LINENO"; then :
5198
 
  ac_cv_prog_cc_c89=$ac_arg
5199
 
fi
5200
 
rm -f core conftest.err conftest.$ac_objext
5201
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5202
 
done
5203
 
rm -f conftest.$ac_ext
5204
 
CC=$ac_save_CC
5205
 
 
5206
 
fi
5207
 
# AC_CACHE_VAL
5208
 
case "x$ac_cv_prog_cc_c89" in
5209
 
  x)
5210
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5211
 
$as_echo "none needed" >&6; } ;;
5212
 
  xno)
5213
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5214
 
$as_echo "unsupported" >&6; } ;;
5215
 
  *)
5216
 
    CC="$CC $ac_cv_prog_cc_c89"
5217
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5218
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5219
 
esac
5220
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
5221
 
 
5222
 
fi
5223
 
 
5224
 
ac_ext=c
5225
 
ac_cpp='$CPP $CPPFLAGS'
5226
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5229
 
 
5230
 
depcc="$CC"   am_compiler_list=
5231
 
 
5232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5233
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5234
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5235
 
  $as_echo_n "(cached) " >&6
5236
 
else
5237
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5238
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5239
 
  # making bogus files that we don't know about and never remove.  For
5240
 
  # instance it was reported that on HP-UX the gcc test will end up
5241
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5242
 
  # in D'.
5243
 
  mkdir conftest.dir
5244
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5245
 
  # using a relative directory.
5246
 
  cp "$am_depcomp" conftest.dir
5247
 
  cd conftest.dir
5248
 
  # We will build objects and dependencies in a subdirectory because
5249
 
  # it helps to detect inapplicable dependency modes.  For instance
5250
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5251
 
  # side effect of compilation, but ICC will put the dependencies in
5252
 
  # the current directory while Tru64 will put them in the object
5253
 
  # directory.
5254
 
  mkdir sub
5255
 
 
5256
 
  am_cv_CC_dependencies_compiler_type=none
5257
 
  if test "$am_compiler_list" = ""; then
5258
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5259
 
  fi
5260
 
  am__universal=false
5261
 
  case " $depcc " in #(
5262
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5263
 
     esac
5264
 
 
5265
 
  for depmode in $am_compiler_list; do
5266
 
    # Setup a source with many dependencies, because some compilers
5267
 
    # like to wrap large dependency lists on column 80 (with \), and
5268
 
    # we should not choose a depcomp mode which is confused by this.
5269
 
    #
5270
 
    # We need to recreate these files for each test, as the compiler may
5271
 
    # overwrite some of them when testing with obscure command lines.
5272
 
    # This happens at least with the AIX C compiler.
5273
 
    : > sub/conftest.c
5274
 
    for i in 1 2 3 4 5 6; do
5275
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5276
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5277
 
      # Solaris 8's {/usr,}/bin/sh.
5278
 
      touch sub/conftst$i.h
5279
 
    done
5280
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5281
 
 
5282
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5283
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5284
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5285
 
    # versions had trouble with output in subdirs
5286
 
    am__obj=sub/conftest.${OBJEXT-o}
5287
 
    am__minus_obj="-o $am__obj"
5288
 
    case $depmode in
5289
 
    gcc)
5290
 
      # This depmode causes a compiler race in universal mode.
5291
 
      test "$am__universal" = false || continue
5292
 
      ;;
5293
 
    nosideeffect)
5294
 
      # after this tag, mechanisms are not by side-effect, so they'll
5295
 
      # only be used when explicitly requested
5296
 
      if test "x$enable_dependency_tracking" = xyes; then
5297
 
        continue
5298
 
      else
5299
 
        break
5300
 
      fi
5301
 
      ;;
5302
 
    msvisualcpp | msvcmsys)
5303
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5304
 
      # not run yet.  These depmodes are late enough in the game, and
5305
 
      # so weak that their functioning should not be impacted.
5306
 
      am__obj=conftest.${OBJEXT-o}
5307
 
      am__minus_obj=
5308
 
      ;;
5309
 
    none) break ;;
5310
 
    esac
5311
 
    if depmode=$depmode \
5312
 
       source=sub/conftest.c object=$am__obj \
5313
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5314
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5315
 
         >/dev/null 2>conftest.err &&
5316
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5317
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5318
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5319
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5320
 
      # icc doesn't choke on unknown options, it will just issue warnings
5321
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5322
 
      # that says an option was ignored or not supported.
5323
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5324
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5325
 
      # The diagnosis changed in icc 8.0:
5326
 
      #   icc: Command line remark: option '-MP' not supported
5327
 
      if (grep 'ignoring option' conftest.err ||
5328
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5329
 
        am_cv_CC_dependencies_compiler_type=$depmode
5330
 
        break
5331
 
      fi
5332
 
    fi
5333
 
  done
5334
 
 
5335
 
  cd ..
5336
 
  rm -rf conftest.dir
5337
 
else
5338
 
  am_cv_CC_dependencies_compiler_type=none
5339
 
fi
5340
 
 
5341
 
fi
5342
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5343
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5344
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5345
 
 
5346
 
 if
5347
 
  test "x$enable_dependency_tracking" != xno \
5348
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5349
 
  am__fastdepCC_TRUE=
5350
 
  am__fastdepCC_FALSE='#'
5351
 
else
5352
 
  am__fastdepCC_TRUE='#'
5353
 
  am__fastdepCC_FALSE=
5354
 
fi
5355
 
 
5356
 
 
5357
 
if test "x$CC" != xcc; then
5358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5359
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5360
 
else
5361
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5362
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5363
 
fi
5364
 
set dummy $CC; ac_cc=`$as_echo "$2" |
5365
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5366
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
5367
 
  $as_echo_n "(cached) " >&6
5368
 
else
5369
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370
 
/* end confdefs.h.  */
5371
 
 
5372
 
int
5373
 
main ()
5374
 
{
5375
 
 
5376
 
  ;
5377
 
  return 0;
5378
 
}
5379
 
_ACEOF
5380
 
# Make sure it works both with $CC and with simple cc.
5381
 
# We do the test twice because some compilers refuse to overwrite an
5382
 
# existing .o file with -o, though they will create one.
5383
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5384
 
rm -f conftest2.*
5385
 
if { { case "(($ac_try" in
5386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387
 
  *) ac_try_echo=$ac_try;;
5388
 
esac
5389
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5390
 
$as_echo "$ac_try_echo"; } >&5
5391
 
  (eval "$ac_try") 2>&5
5392
 
  ac_status=$?
5393
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5394
 
  test $ac_status = 0; } &&
5395
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
5396
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5397
 
  *) ac_try_echo=$ac_try;;
5398
 
esac
5399
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5400
 
$as_echo "$ac_try_echo"; } >&5
5401
 
  (eval "$ac_try") 2>&5
5402
 
  ac_status=$?
5403
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5404
 
  test $ac_status = 0; };
5405
 
then
5406
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5407
 
  if test "x$CC" != xcc; then
5408
 
    # Test first that cc exists at all.
5409
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
5410
 
  { { case "(($ac_try" in
5411
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412
 
  *) ac_try_echo=$ac_try;;
5413
 
esac
5414
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5415
 
$as_echo "$ac_try_echo"; } >&5
5416
 
  (eval "$ac_try") 2>&5
5417
 
  ac_status=$?
5418
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5419
 
  test $ac_status = 0; }; }; then
5420
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5421
 
      rm -f conftest2.*
5422
 
      if { { case "(($ac_try" in
5423
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5424
 
  *) ac_try_echo=$ac_try;;
5425
 
esac
5426
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5427
 
$as_echo "$ac_try_echo"; } >&5
5428
 
  (eval "$ac_try") 2>&5
5429
 
  ac_status=$?
5430
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5431
 
  test $ac_status = 0; } &&
5432
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
5433
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5434
 
  *) ac_try_echo=$ac_try;;
5435
 
esac
5436
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5437
 
$as_echo "$ac_try_echo"; } >&5
5438
 
  (eval "$ac_try") 2>&5
5439
 
  ac_status=$?
5440
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5441
 
  test $ac_status = 0; };
5442
 
      then
5443
 
        # cc works too.
5444
 
        :
5445
 
      else
5446
 
        # cc exists but doesn't like -o.
5447
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
5448
 
      fi
5449
 
    fi
5450
 
  fi
5451
 
else
5452
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5453
 
fi
5454
 
rm -f core conftest*
5455
 
 
5456
 
fi
5457
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5459
 
$as_echo "yes" >&6; }
5460
 
else
5461
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462
 
$as_echo "no" >&6; }
5463
 
 
5464
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5465
 
 
5466
 
fi
5467
 
 
5468
 
# FIXME: we rely on the cache variable name because
5469
 
# there is no other way.
5470
 
set dummy $CC
5471
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5472
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5473
 
if test "$am_t" != yes; then
5474
 
   # Losing compiler, so override with the script.
5475
 
   # FIXME: It is wrong to rewrite CC.
5476
 
   # But if we don't then we get into trouble of one sort or another.
5477
 
   # A longer-term fix would be to have automake use am__CC in this case,
5478
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5479
 
   CC="$am_aux_dir/compile $CC"
5480
 
fi
5481
 
 
5482
 
 
5483
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5484
 
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5485
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
5486
 
  $as_echo_n "(cached) " >&6
5487
 
else
5488
 
  ac_cv_prog_cc_c99=no
5489
 
ac_save_CC=$CC
5490
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491
 
/* end confdefs.h.  */
5492
 
#include <stdarg.h>
5493
 
#include <stdbool.h>
5494
 
#include <stdlib.h>
5495
 
#include <wchar.h>
5496
 
#include <stdio.h>
5497
 
 
5498
 
// Check varargs macros.  These examples are taken from C99 6.10.3.5.
5499
 
#define debug(...) fprintf (stderr, __VA_ARGS__)
5500
 
#define showlist(...) puts (#__VA_ARGS__)
5501
 
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5502
 
static void
5503
 
test_varargs_macros (void)
5504
 
{
5505
 
  int x = 1234;
5506
 
  int y = 5678;
5507
 
  debug ("Flag");
5508
 
  debug ("X = %d\n", x);
5509
 
  showlist (The first, second, and third items.);
5510
 
  report (x>y, "x is %d but y is %d", x, y);
5511
 
}
5512
 
 
5513
 
// Check long long types.
5514
 
#define BIG64 18446744073709551615ull
5515
 
#define BIG32 4294967295ul
5516
 
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5517
 
#if !BIG_OK
5518
 
  your preprocessor is broken;
5519
 
#endif
5520
 
#if BIG_OK
5521
 
#else
5522
 
  your preprocessor is broken;
5523
 
#endif
5524
 
static long long int bignum = -9223372036854775807LL;
5525
 
static unsigned long long int ubignum = BIG64;
5526
 
 
5527
 
struct incomplete_array
5528
 
{
5529
 
  int datasize;
5530
 
  double data[];
5531
 
};
5532
 
 
5533
 
struct named_init {
5534
 
  int number;
5535
 
  const wchar_t *name;
5536
 
  double average;
5537
 
};
5538
 
 
5539
 
typedef const char *ccp;
5540
 
 
5541
 
static inline int
5542
 
test_restrict (ccp restrict text)
5543
 
{
5544
 
  // See if C++-style comments work.
5545
 
  // Iterate through items via the restricted pointer.
5546
 
  // Also check for declarations in for loops.
5547
 
  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5548
 
    continue;
5549
 
  return 0;
5550
 
}
5551
 
 
5552
 
// Check varargs and va_copy.
5553
 
static void
5554
 
test_varargs (const char *format, ...)
5555
 
{
5556
 
  va_list args;
5557
 
  va_start (args, format);
5558
 
  va_list args_copy;
5559
 
  va_copy (args_copy, args);
5560
 
 
5561
 
  const char *str;
5562
 
  int number;
5563
 
  float fnumber;
5564
 
 
5565
 
  while (*format)
5566
 
    {
5567
 
      switch (*format++)
5568
 
        {
5569
 
        case 's': // string
5570
 
          str = va_arg (args_copy, const char *);
5571
 
          break;
5572
 
        case 'd': // int
5573
 
          number = va_arg (args_copy, int);
5574
 
          break;
5575
 
        case 'f': // float
5576
 
          fnumber = va_arg (args_copy, double);
5577
 
          break;
5578
 
        default:
5579
 
          break;
5580
 
        }
5581
 
    }
5582
 
  va_end (args_copy);
5583
 
  va_end (args);
5584
 
}
5585
 
 
5586
 
int
5587
 
main ()
5588
 
{
5589
 
 
5590
 
  // Check bool.
5591
 
  _Bool success = false;
5592
 
 
5593
 
  // Check restrict.
5594
 
  if (test_restrict ("String literal") == 0)
5595
 
    success = true;
5596
 
  char *restrict newvar = "Another string";
5597
 
 
5598
 
  // Check varargs.
5599
 
  test_varargs ("s, d' f .", "string", 65, 34.234);
5600
 
  test_varargs_macros ();
5601
 
 
5602
 
  // Check flexible array members.
5603
 
  struct incomplete_array *ia =
5604
 
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5605
 
  ia->datasize = 10;
5606
 
  for (int i = 0; i < ia->datasize; ++i)
5607
 
    ia->data[i] = i * 1.234;
5608
 
 
5609
 
  // Check named initializers.
5610
 
  struct named_init ni = {
5611
 
    .number = 34,
5612
 
    .name = L"Test wide string",
5613
 
    .average = 543.34343,
5614
 
  };
5615
 
 
5616
 
  ni.number = 58;
5617
 
 
5618
 
  int dynamic_array[ni.number];
5619
 
  dynamic_array[ni.number - 1] = 543;
5620
 
 
5621
 
  // work around unused variable warnings
5622
 
  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5623
 
          || dynamic_array[ni.number - 1] != 543);
5624
 
 
5625
 
  ;
5626
 
  return 0;
5627
 
}
5628
 
_ACEOF
5629
 
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5630
 
do
5631
 
  CC="$ac_save_CC $ac_arg"
5632
 
  if ac_fn_c_try_compile "$LINENO"; then :
5633
 
  ac_cv_prog_cc_c99=$ac_arg
5634
 
fi
5635
 
rm -f core conftest.err conftest.$ac_objext
5636
 
  test "x$ac_cv_prog_cc_c99" != "xno" && break
5637
 
done
5638
 
rm -f conftest.$ac_ext
5639
 
CC=$ac_save_CC
5640
 
 
5641
 
fi
5642
 
# AC_CACHE_VAL
5643
 
case "x$ac_cv_prog_cc_c99" in
5644
 
  x)
5645
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5646
 
$as_echo "none needed" >&6; } ;;
5647
 
  xno)
5648
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5649
 
$as_echo "unsupported" >&6; } ;;
5650
 
  *)
5651
 
    CC="$CC $ac_cv_prog_cc_c99"
5652
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5653
 
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5654
 
esac
5655
 
if test "x$ac_cv_prog_cc_c99" != xno; then :
5656
 
 
5657
 
fi
5658
 
 
5659
 
 
5660
 
ac_ext=c
5661
 
ac_cpp='$CPP $CPPFLAGS'
5662
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5663
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5664
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5665
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5666
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5667
 
# On Suns, sometimes $CPP names a directory.
5668
 
if test -n "$CPP" && test -d "$CPP"; then
5669
 
  CPP=
5670
 
fi
5671
 
if test -z "$CPP"; then
5672
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
5673
 
  $as_echo_n "(cached) " >&6
5674
 
else
5675
 
      # Double quotes because CPP needs to be expanded
5676
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5677
 
    do
5678
 
      ac_preproc_ok=false
5679
 
for ac_c_preproc_warn_flag in '' yes
5680
 
do
5681
 
  # Use a header file that comes with gcc, so configuring glibc
5682
 
  # with a fresh cross-compiler works.
5683
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5684
 
  # <limits.h> exists even on freestanding compilers.
5685
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5686
 
  # not just through cpp. "Syntax error" is here to catch this case.
5687
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688
 
/* end confdefs.h.  */
5689
 
#ifdef __STDC__
5690
 
# include <limits.h>
5691
 
#else
5692
 
# include <assert.h>
5693
 
#endif
5694
 
                     Syntax error
5695
 
_ACEOF
5696
 
if ac_fn_c_try_cpp "$LINENO"; then :
5697
 
 
5698
 
else
5699
 
  # Broken: fails on valid input.
5700
 
continue
5701
 
fi
5702
 
rm -f conftest.err conftest.i conftest.$ac_ext
5703
 
 
5704
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5705
 
  # can be detected and how.
5706
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707
 
/* end confdefs.h.  */
5708
 
#include <ac_nonexistent.h>
5709
 
_ACEOF
5710
 
if ac_fn_c_try_cpp "$LINENO"; then :
5711
 
  # Broken: success on invalid input.
5712
 
continue
5713
 
else
5714
 
  # Passes both tests.
5715
 
ac_preproc_ok=:
5716
 
break
5717
 
fi
5718
 
rm -f conftest.err conftest.i conftest.$ac_ext
5719
 
 
5720
 
done
5721
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5722
 
rm -f conftest.i conftest.err conftest.$ac_ext
5723
 
if $ac_preproc_ok; then :
5724
 
  break
5725
 
fi
5726
 
 
5727
 
    done
5728
 
    ac_cv_prog_CPP=$CPP
5729
 
 
5730
 
fi
5731
 
  CPP=$ac_cv_prog_CPP
5732
 
else
5733
 
  ac_cv_prog_CPP=$CPP
5734
 
fi
5735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5736
 
$as_echo "$CPP" >&6; }
5737
 
ac_preproc_ok=false
5738
 
for ac_c_preproc_warn_flag in '' yes
5739
 
do
5740
 
  # Use a header file that comes with gcc, so configuring glibc
5741
 
  # with a fresh cross-compiler works.
5742
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5743
 
  # <limits.h> exists even on freestanding compilers.
5744
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5745
 
  # not just through cpp. "Syntax error" is here to catch this case.
5746
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747
 
/* end confdefs.h.  */
5748
 
#ifdef __STDC__
5749
 
# include <limits.h>
5750
 
#else
5751
 
# include <assert.h>
5752
 
#endif
5753
 
                     Syntax error
5754
 
_ACEOF
5755
 
if ac_fn_c_try_cpp "$LINENO"; then :
5756
 
 
5757
 
else
5758
 
  # Broken: fails on valid input.
5759
 
continue
5760
 
fi
5761
 
rm -f conftest.err conftest.i conftest.$ac_ext
5762
 
 
5763
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5764
 
  # can be detected and how.
5765
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5766
 
/* end confdefs.h.  */
5767
 
#include <ac_nonexistent.h>
5768
 
_ACEOF
5769
 
if ac_fn_c_try_cpp "$LINENO"; then :
5770
 
  # Broken: success on invalid input.
5771
 
continue
5772
 
else
5773
 
  # Passes both tests.
5774
 
ac_preproc_ok=:
5775
 
break
5776
 
fi
5777
 
rm -f conftest.err conftest.i conftest.$ac_ext
5778
 
 
5779
 
done
5780
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5781
 
rm -f conftest.i conftest.err conftest.$ac_ext
5782
 
if $ac_preproc_ok; then :
5783
 
 
5784
 
else
5785
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5786
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5787
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5788
 
See \`config.log' for more details" "$LINENO" 5 ; }
5789
 
fi
5790
 
 
5791
 
ac_ext=c
5792
 
ac_cpp='$CPP $CPPFLAGS'
5793
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5794
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5795
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5796
 
 
5797
 
# By default we simply use the C compiler to build assembly code.
5798
 
 
5799
 
test "${CCAS+set}" = set || CCAS=$CC
5800
 
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5801
 
 
5802
 
 
5803
 
 
5804
 
depcc="$CCAS"   am_compiler_list=
5805
 
 
5806
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5807
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5808
 
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
5809
 
  $as_echo_n "(cached) " >&6
5810
 
else
5811
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5812
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5813
 
  # making bogus files that we don't know about and never remove.  For
5814
 
  # instance it was reported that on HP-UX the gcc test will end up
5815
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5816
 
  # in D'.
5817
 
  mkdir conftest.dir
5818
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5819
 
  # using a relative directory.
5820
 
  cp "$am_depcomp" conftest.dir
5821
 
  cd conftest.dir
5822
 
  # We will build objects and dependencies in a subdirectory because
5823
 
  # it helps to detect inapplicable dependency modes.  For instance
5824
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5825
 
  # side effect of compilation, but ICC will put the dependencies in
5826
 
  # the current directory while Tru64 will put them in the object
5827
 
  # directory.
5828
 
  mkdir sub
5829
 
 
5830
 
  am_cv_CCAS_dependencies_compiler_type=none
5831
 
  if test "$am_compiler_list" = ""; then
5832
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5833
 
  fi
5834
 
  am__universal=false
5835
 
 
5836
 
 
5837
 
  for depmode in $am_compiler_list; do
5838
 
    # Setup a source with many dependencies, because some compilers
5839
 
    # like to wrap large dependency lists on column 80 (with \), and
5840
 
    # we should not choose a depcomp mode which is confused by this.
5841
 
    #
5842
 
    # We need to recreate these files for each test, as the compiler may
5843
 
    # overwrite some of them when testing with obscure command lines.
5844
 
    # This happens at least with the AIX C compiler.
5845
 
    : > sub/conftest.c
5846
 
    for i in 1 2 3 4 5 6; do
5847
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5848
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5849
 
      # Solaris 8's {/usr,}/bin/sh.
5850
 
      touch sub/conftst$i.h
5851
 
    done
5852
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5853
 
 
5854
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5855
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5856
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5857
 
    # versions had trouble with output in subdirs
5858
 
    am__obj=sub/conftest.${OBJEXT-o}
5859
 
    am__minus_obj="-o $am__obj"
5860
 
    case $depmode in
5861
 
    gcc)
5862
 
      # This depmode causes a compiler race in universal mode.
5863
 
      test "$am__universal" = false || continue
5864
 
      ;;
5865
 
    nosideeffect)
5866
 
      # after this tag, mechanisms are not by side-effect, so they'll
5867
 
      # only be used when explicitly requested
5868
 
      if test "x$enable_dependency_tracking" = xyes; then
5869
 
        continue
5870
 
      else
5871
 
        break
5872
 
      fi
5873
 
      ;;
5874
 
    msvisualcpp | msvcmsys)
5875
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5876
 
      # not run yet.  These depmodes are late enough in the game, and
5877
 
      # so weak that their functioning should not be impacted.
5878
 
      am__obj=conftest.${OBJEXT-o}
5879
 
      am__minus_obj=
5880
 
      ;;
5881
 
    none) break ;;
5882
 
    esac
5883
 
    if depmode=$depmode \
5884
 
       source=sub/conftest.c object=$am__obj \
5885
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5886
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5887
 
         >/dev/null 2>conftest.err &&
5888
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5889
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5890
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5891
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5892
 
      # icc doesn't choke on unknown options, it will just issue warnings
5893
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5894
 
      # that says an option was ignored or not supported.
5895
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5896
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5897
 
      # The diagnosis changed in icc 8.0:
5898
 
      #   icc: Command line remark: option '-MP' not supported
5899
 
      if (grep 'ignoring option' conftest.err ||
5900
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5901
 
        am_cv_CCAS_dependencies_compiler_type=$depmode
5902
 
        break
5903
 
      fi
5904
 
    fi
5905
 
  done
5906
 
 
5907
 
  cd ..
5908
 
  rm -rf conftest.dir
5909
 
else
5910
 
  am_cv_CCAS_dependencies_compiler_type=none
5911
 
fi
5912
 
 
5913
 
fi
5914
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5915
 
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5916
 
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
5917
 
 
5918
 
 if
5919
 
  test "x$enable_dependency_tracking" != xno \
5920
 
  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
5921
 
  am__fastdepCCAS_TRUE=
5922
 
  am__fastdepCCAS_FALSE='#'
5923
 
else
5924
 
  am__fastdepCCAS_TRUE='#'
5925
 
  am__fastdepCCAS_FALSE=
5926
 
fi
5927
 
 
5928
 
 
5929
 
case `pwd` in
5930
 
  *\ * | *\     *)
5931
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5932
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5933
 
esac
5934
 
 
5935
 
 
5936
 
 
5937
 
macro_version='2.2.6b'
5938
 
macro_revision='1.3017'
5939
 
 
5940
 
 
5941
 
 
5942
 
 
5943
 
 
5944
 
 
5945
 
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
ltmain="$ac_aux_dir/ltmain.sh"
5953
 
 
5954
 
# Make sure we can run config.sub.
5955
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5956
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5957
 
 
5958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5959
 
$as_echo_n "checking build system type... " >&6; }
5960
 
if test "${ac_cv_build+set}" = set; then :
5961
 
  $as_echo_n "(cached) " >&6
5962
 
else
5963
 
  ac_build_alias=$build_alias
5964
 
test "x$ac_build_alias" = x &&
5965
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5966
 
test "x$ac_build_alias" = x &&
5967
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5968
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5969
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5970
 
 
5971
 
fi
5972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5973
 
$as_echo "$ac_cv_build" >&6; }
5974
 
case $ac_cv_build in
5975
 
*-*-*) ;;
5976
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5977
 
esac
5978
 
build=$ac_cv_build
5979
 
ac_save_IFS=$IFS; IFS='-'
5980
 
set x $ac_cv_build
5981
 
shift
5982
 
build_cpu=$1
5983
 
build_vendor=$2
5984
 
shift; shift
5985
 
# Remember, the first character of IFS is used to create $*,
5986
 
# except with old shells:
5987
 
build_os=$*
5988
 
IFS=$ac_save_IFS
5989
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5990
 
 
5991
 
 
5992
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5993
 
$as_echo_n "checking host system type... " >&6; }
5994
 
if test "${ac_cv_host+set}" = set; then :
5995
 
  $as_echo_n "(cached) " >&6
5996
 
else
5997
 
  if test "x$host_alias" = x; then
5998
 
  ac_cv_host=$ac_cv_build
5999
 
else
6000
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6001
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6002
 
fi
6003
 
 
6004
 
fi
6005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6006
 
$as_echo "$ac_cv_host" >&6; }
6007
 
case $ac_cv_host in
6008
 
*-*-*) ;;
6009
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
6010
 
esac
6011
 
host=$ac_cv_host
6012
 
ac_save_IFS=$IFS; IFS='-'
6013
 
set x $ac_cv_host
6014
 
shift
6015
 
host_cpu=$1
6016
 
host_vendor=$2
6017
 
shift; shift
6018
 
# Remember, the first character of IFS is used to create $*,
6019
 
# except with old shells:
6020
 
host_os=$*
6021
 
IFS=$ac_save_IFS
6022
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6023
 
 
6024
 
 
6025
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6026
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6027
 
if test "${ac_cv_path_SED+set}" = set; then :
6028
 
  $as_echo_n "(cached) " >&6
6029
 
else
6030
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6031
 
     for ac_i in 1 2 3 4 5 6 7; do
6032
 
       ac_script="$ac_script$as_nl$ac_script"
6033
 
     done
6034
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6035
 
     { ac_script=; unset ac_script;}
6036
 
     if test -z "$SED"; then
6037
 
  ac_path_SED_found=false
6038
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6039
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040
 
for as_dir in $PATH
6041
 
do
6042
 
  IFS=$as_save_IFS
6043
 
  test -z "$as_dir" && as_dir=.
6044
 
    for ac_prog in sed gsed; do
6045
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6046
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6047
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6048
 
# Check for GNU ac_path_SED and select it if it is found.
6049
 
  # Check for GNU $ac_path_SED
6050
 
case `"$ac_path_SED" --version 2>&1` in
6051
 
*GNU*)
6052
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6053
 
*)
6054
 
  ac_count=0
6055
 
  $as_echo_n 0123456789 >"conftest.in"
6056
 
  while :
6057
 
  do
6058
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6059
 
    mv "conftest.tmp" "conftest.in"
6060
 
    cp "conftest.in" "conftest.nl"
6061
 
    $as_echo '' >> "conftest.nl"
6062
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6063
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6064
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6065
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6066
 
      # Best one so far, save it but keep looking for a better one
6067
 
      ac_cv_path_SED="$ac_path_SED"
6068
 
      ac_path_SED_max=$ac_count
6069
 
    fi
6070
 
    # 10*(2^10) chars as input seems more than enough
6071
 
    test $ac_count -gt 10 && break
6072
 
  done
6073
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6074
 
esac
6075
 
 
6076
 
      $ac_path_SED_found && break 3
6077
 
    done
6078
 
  done
6079
 
  done
6080
 
IFS=$as_save_IFS
6081
 
  if test -z "$ac_cv_path_SED"; then
6082
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6083
 
  fi
6084
 
else
6085
 
  ac_cv_path_SED=$SED
6086
 
fi
6087
 
 
6088
 
fi
6089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6090
 
$as_echo "$ac_cv_path_SED" >&6; }
6091
 
 SED="$ac_cv_path_SED"
6092
 
  rm -f conftest.sed
6093
 
 
6094
 
test -z "$SED" && SED=sed
6095
 
Xsed="$SED -e 1s/^X//"
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6108
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6109
 
if test "${ac_cv_path_GREP+set}" = set; then :
6110
 
  $as_echo_n "(cached) " >&6
6111
 
else
6112
 
  if test -z "$GREP"; then
6113
 
  ac_path_GREP_found=false
6114
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6115
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6117
 
do
6118
 
  IFS=$as_save_IFS
6119
 
  test -z "$as_dir" && as_dir=.
6120
 
    for ac_prog in grep ggrep; do
6121
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6122
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6123
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6124
 
# Check for GNU ac_path_GREP and select it if it is found.
6125
 
  # Check for GNU $ac_path_GREP
6126
 
case `"$ac_path_GREP" --version 2>&1` in
6127
 
*GNU*)
6128
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6129
 
*)
6130
 
  ac_count=0
6131
 
  $as_echo_n 0123456789 >"conftest.in"
6132
 
  while :
6133
 
  do
6134
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6135
 
    mv "conftest.tmp" "conftest.in"
6136
 
    cp "conftest.in" "conftest.nl"
6137
 
    $as_echo 'GREP' >> "conftest.nl"
6138
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6139
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6140
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6141
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6142
 
      # Best one so far, save it but keep looking for a better one
6143
 
      ac_cv_path_GREP="$ac_path_GREP"
6144
 
      ac_path_GREP_max=$ac_count
6145
 
    fi
6146
 
    # 10*(2^10) chars as input seems more than enough
6147
 
    test $ac_count -gt 10 && break
6148
 
  done
6149
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6150
 
esac
6151
 
 
6152
 
      $ac_path_GREP_found && break 3
6153
 
    done
6154
 
  done
6155
 
  done
6156
 
IFS=$as_save_IFS
6157
 
  if test -z "$ac_cv_path_GREP"; then
6158
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6159
 
  fi
6160
 
else
6161
 
  ac_cv_path_GREP=$GREP
6162
 
fi
6163
 
 
6164
 
fi
6165
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6166
 
$as_echo "$ac_cv_path_GREP" >&6; }
6167
 
 GREP="$ac_cv_path_GREP"
6168
 
 
6169
 
 
6170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6171
 
$as_echo_n "checking for egrep... " >&6; }
6172
 
if test "${ac_cv_path_EGREP+set}" = set; then :
6173
 
  $as_echo_n "(cached) " >&6
6174
 
else
6175
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6176
 
   then ac_cv_path_EGREP="$GREP -E"
6177
 
   else
6178
 
     if test -z "$EGREP"; then
6179
 
  ac_path_EGREP_found=false
6180
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6181
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6183
 
do
6184
 
  IFS=$as_save_IFS
6185
 
  test -z "$as_dir" && as_dir=.
6186
 
    for ac_prog in egrep; do
6187
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6188
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6189
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6190
 
# Check for GNU ac_path_EGREP and select it if it is found.
6191
 
  # Check for GNU $ac_path_EGREP
6192
 
case `"$ac_path_EGREP" --version 2>&1` in
6193
 
*GNU*)
6194
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6195
 
*)
6196
 
  ac_count=0
6197
 
  $as_echo_n 0123456789 >"conftest.in"
6198
 
  while :
6199
 
  do
6200
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6201
 
    mv "conftest.tmp" "conftest.in"
6202
 
    cp "conftest.in" "conftest.nl"
6203
 
    $as_echo 'EGREP' >> "conftest.nl"
6204
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6205
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6206
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6207
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6208
 
      # Best one so far, save it but keep looking for a better one
6209
 
      ac_cv_path_EGREP="$ac_path_EGREP"
6210
 
      ac_path_EGREP_max=$ac_count
6211
 
    fi
6212
 
    # 10*(2^10) chars as input seems more than enough
6213
 
    test $ac_count -gt 10 && break
6214
 
  done
6215
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6216
 
esac
6217
 
 
6218
 
      $ac_path_EGREP_found && break 3
6219
 
    done
6220
 
  done
6221
 
  done
6222
 
IFS=$as_save_IFS
6223
 
  if test -z "$ac_cv_path_EGREP"; then
6224
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6225
 
  fi
6226
 
else
6227
 
  ac_cv_path_EGREP=$EGREP
6228
 
fi
6229
 
 
6230
 
   fi
6231
 
fi
6232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6233
 
$as_echo "$ac_cv_path_EGREP" >&6; }
6234
 
 EGREP="$ac_cv_path_EGREP"
6235
 
 
6236
 
 
6237
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6238
 
$as_echo_n "checking for fgrep... " >&6; }
6239
 
if test "${ac_cv_path_FGREP+set}" = set; then :
6240
 
  $as_echo_n "(cached) " >&6
6241
 
else
6242
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6243
 
   then ac_cv_path_FGREP="$GREP -F"
6244
 
   else
6245
 
     if test -z "$FGREP"; then
6246
 
  ac_path_FGREP_found=false
6247
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6248
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6250
 
do
6251
 
  IFS=$as_save_IFS
6252
 
  test -z "$as_dir" && as_dir=.
6253
 
    for ac_prog in fgrep; do
6254
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6255
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6256
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6257
 
# Check for GNU ac_path_FGREP and select it if it is found.
6258
 
  # Check for GNU $ac_path_FGREP
6259
 
case `"$ac_path_FGREP" --version 2>&1` in
6260
 
*GNU*)
6261
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6262
 
*)
6263
 
  ac_count=0
6264
 
  $as_echo_n 0123456789 >"conftest.in"
6265
 
  while :
6266
 
  do
6267
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6268
 
    mv "conftest.tmp" "conftest.in"
6269
 
    cp "conftest.in" "conftest.nl"
6270
 
    $as_echo 'FGREP' >> "conftest.nl"
6271
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6272
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6273
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6274
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6275
 
      # Best one so far, save it but keep looking for a better one
6276
 
      ac_cv_path_FGREP="$ac_path_FGREP"
6277
 
      ac_path_FGREP_max=$ac_count
6278
 
    fi
6279
 
    # 10*(2^10) chars as input seems more than enough
6280
 
    test $ac_count -gt 10 && break
6281
 
  done
6282
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6283
 
esac
6284
 
 
6285
 
      $ac_path_FGREP_found && break 3
6286
 
    done
6287
 
  done
6288
 
  done
6289
 
IFS=$as_save_IFS
6290
 
  if test -z "$ac_cv_path_FGREP"; then
6291
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6292
 
  fi
6293
 
else
6294
 
  ac_cv_path_FGREP=$FGREP
6295
 
fi
6296
 
 
6297
 
   fi
6298
 
fi
6299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6300
 
$as_echo "$ac_cv_path_FGREP" >&6; }
6301
 
 FGREP="$ac_cv_path_FGREP"
6302
 
 
6303
 
 
6304
 
test -z "$GREP" && GREP=grep
6305
 
 
6306
 
 
6307
 
 
6308
 
 
6309
 
 
6310
 
 
6311
 
 
6312
 
 
6313
 
 
6314
 
 
6315
 
 
6316
 
 
6317
 
 
6318
 
 
6319
 
 
6320
 
 
6321
 
 
6322
 
 
6323
 
 
6324
 
# Check whether --with-gnu-ld was given.
6325
 
if test "${with_gnu_ld+set}" = set; then :
6326
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6327
 
else
6328
 
  with_gnu_ld=no
6329
 
fi
6330
 
 
6331
 
ac_prog=ld
6332
 
if test "$GCC" = yes; then
6333
 
  # Check if gcc -print-prog-name=ld gives a path.
6334
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6335
 
$as_echo_n "checking for ld used by $CC... " >&6; }
6336
 
  case $host in
6337
 
  *-*-mingw*)
6338
 
    # gcc leaves a trailing carriage return which upsets mingw
6339
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6340
 
  *)
6341
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6342
 
  esac
6343
 
  case $ac_prog in
6344
 
    # Accept absolute paths.
6345
 
    [\\/]* | ?:[\\/]*)
6346
 
      re_direlt='/[^/][^/]*/\.\./'
6347
 
      # Canonicalize the pathname of ld
6348
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6349
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6350
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6351
 
      done
6352
 
      test -z "$LD" && LD="$ac_prog"
6353
 
      ;;
6354
 
  "")
6355
 
    # If it fails, then pretend we aren't using GCC.
6356
 
    ac_prog=ld
6357
 
    ;;
6358
 
  *)
6359
 
    # If it is relative, then search for the first ld in PATH.
6360
 
    with_gnu_ld=unknown
6361
 
    ;;
6362
 
  esac
6363
 
elif test "$with_gnu_ld" = yes; then
6364
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6365
 
$as_echo_n "checking for GNU ld... " >&6; }
6366
 
else
6367
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6368
 
$as_echo_n "checking for non-GNU ld... " >&6; }
6369
 
fi
6370
 
if test "${lt_cv_path_LD+set}" = set; then :
6371
 
  $as_echo_n "(cached) " >&6
6372
 
else
6373
 
  if test -z "$LD"; then
6374
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6375
 
  for ac_dir in $PATH; do
6376
 
    IFS="$lt_save_ifs"
6377
 
    test -z "$ac_dir" && ac_dir=.
6378
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6379
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
6380
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
6381
 
      # but apparently some variants of GNU ld only accept -v.
6382
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
6383
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6384
 
      *GNU* | *'with BFD'*)
6385
 
        test "$with_gnu_ld" != no && break
6386
 
        ;;
6387
 
      *)
6388
 
        test "$with_gnu_ld" != yes && break
6389
 
        ;;
6390
 
      esac
6391
 
    fi
6392
 
  done
6393
 
  IFS="$lt_save_ifs"
6394
 
else
6395
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6396
 
fi
6397
 
fi
6398
 
 
6399
 
LD="$lt_cv_path_LD"
6400
 
if test -n "$LD"; then
6401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6402
 
$as_echo "$LD" >&6; }
6403
 
else
6404
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405
 
$as_echo "no" >&6; }
6406
 
fi
6407
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6409
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6410
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6411
 
  $as_echo_n "(cached) " >&6
6412
 
else
6413
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6414
 
case `$LD -v 2>&1 </dev/null` in
6415
 
*GNU* | *'with BFD'*)
6416
 
  lt_cv_prog_gnu_ld=yes
6417
 
  ;;
6418
 
*)
6419
 
  lt_cv_prog_gnu_ld=no
6420
 
  ;;
6421
 
esac
6422
 
fi
6423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6424
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6425
 
with_gnu_ld=$lt_cv_prog_gnu_ld
6426
 
 
6427
 
 
6428
 
 
6429
 
 
6430
 
 
6431
 
 
6432
 
 
6433
 
 
6434
 
 
6435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6436
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6437
 
if test "${lt_cv_path_NM+set}" = set; then :
6438
 
  $as_echo_n "(cached) " >&6
6439
 
else
6440
 
  if test -n "$NM"; then
6441
 
  # Let the user override the test.
6442
 
  lt_cv_path_NM="$NM"
6443
 
else
6444
 
  lt_nm_to_check="${ac_tool_prefix}nm"
6445
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6446
 
    lt_nm_to_check="$lt_nm_to_check nm"
6447
 
  fi
6448
 
  for lt_tmp_nm in $lt_nm_to_check; do
6449
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6450
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6451
 
      IFS="$lt_save_ifs"
6452
 
      test -z "$ac_dir" && ac_dir=.
6453
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
6454
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6455
 
        # Check to see if the nm accepts a BSD-compat flag.
6456
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6457
 
        #   nm: unknown option "B" ignored
6458
 
        # Tru64's nm complains that /dev/null is an invalid object file
6459
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6460
 
        */dev/null* | *'Invalid file or object type'*)
6461
 
          lt_cv_path_NM="$tmp_nm -B"
6462
 
          break
6463
 
          ;;
6464
 
        *)
6465
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6466
 
          */dev/null*)
6467
 
            lt_cv_path_NM="$tmp_nm -p"
6468
 
            break
6469
 
            ;;
6470
 
          *)
6471
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6472
 
            continue # so that we can try to find one that supports BSD flags
6473
 
            ;;
6474
 
          esac
6475
 
          ;;
6476
 
        esac
6477
 
      fi
6478
 
    done
6479
 
    IFS="$lt_save_ifs"
6480
 
  done
6481
 
  : ${lt_cv_path_NM=no}
6482
 
fi
6483
 
fi
6484
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6485
 
$as_echo "$lt_cv_path_NM" >&6; }
6486
 
if test "$lt_cv_path_NM" != "no"; then
6487
 
  NM="$lt_cv_path_NM"
6488
 
else
6489
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
6490
 
  if test -n "$ac_tool_prefix"; then
6491
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6492
 
  do
6493
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6494
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6495
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496
 
$as_echo_n "checking for $ac_word... " >&6; }
6497
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6498
 
  $as_echo_n "(cached) " >&6
6499
 
else
6500
 
  if test -n "$DUMPBIN"; then
6501
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6502
 
else
6503
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504
 
for as_dir in $PATH
6505
 
do
6506
 
  IFS=$as_save_IFS
6507
 
  test -z "$as_dir" && as_dir=.
6508
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6509
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6511
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512
 
    break 2
6513
 
  fi
6514
 
done
6515
 
  done
6516
 
IFS=$as_save_IFS
6517
 
 
6518
 
fi
6519
 
fi
6520
 
DUMPBIN=$ac_cv_prog_DUMPBIN
6521
 
if test -n "$DUMPBIN"; then
6522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6523
 
$as_echo "$DUMPBIN" >&6; }
6524
 
else
6525
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526
 
$as_echo "no" >&6; }
6527
 
fi
6528
 
 
6529
 
 
6530
 
    test -n "$DUMPBIN" && break
6531
 
  done
6532
 
fi
6533
 
if test -z "$DUMPBIN"; then
6534
 
  ac_ct_DUMPBIN=$DUMPBIN
6535
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6536
 
do
6537
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6538
 
set dummy $ac_prog; ac_word=$2
6539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540
 
$as_echo_n "checking for $ac_word... " >&6; }
6541
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6542
 
  $as_echo_n "(cached) " >&6
6543
 
else
6544
 
  if test -n "$ac_ct_DUMPBIN"; then
6545
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6546
 
else
6547
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548
 
for as_dir in $PATH
6549
 
do
6550
 
  IFS=$as_save_IFS
6551
 
  test -z "$as_dir" && as_dir=.
6552
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6555
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556
 
    break 2
6557
 
  fi
6558
 
done
6559
 
  done
6560
 
IFS=$as_save_IFS
6561
 
 
6562
 
fi
6563
 
fi
6564
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6565
 
if test -n "$ac_ct_DUMPBIN"; then
6566
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6567
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
6568
 
else
6569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570
 
$as_echo "no" >&6; }
6571
 
fi
6572
 
 
6573
 
 
6574
 
  test -n "$ac_ct_DUMPBIN" && break
6575
 
done
6576
 
 
6577
 
  if test "x$ac_ct_DUMPBIN" = x; then
6578
 
    DUMPBIN=":"
6579
 
  else
6580
 
    case $cross_compiling:$ac_tool_warned in
6581
 
yes:)
6582
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584
 
ac_tool_warned=yes ;;
6585
 
esac
6586
 
    DUMPBIN=$ac_ct_DUMPBIN
6587
 
  fi
6588
 
fi
6589
 
 
6590
 
 
6591
 
  if test "$DUMPBIN" != ":"; then
6592
 
    NM="$DUMPBIN"
6593
 
  fi
6594
 
fi
6595
 
test -z "$NM" && NM=nm
6596
 
 
6597
 
 
6598
 
 
6599
 
 
6600
 
 
6601
 
 
6602
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6603
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6604
 
if test "${lt_cv_nm_interface+set}" = set; then :
6605
 
  $as_echo_n "(cached) " >&6
6606
 
else
6607
 
  lt_cv_nm_interface="BSD nm"
6608
 
  echo "int some_variable = 0;" > conftest.$ac_ext
6609
 
  (eval echo "\"\$as_me:6609: $ac_compile\"" >&5)
6610
 
  (eval "$ac_compile" 2>conftest.err)
6611
 
  cat conftest.err >&5
6612
 
  (eval echo "\"\$as_me:6612: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6613
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6614
 
  cat conftest.err >&5
6615
 
  (eval echo "\"\$as_me:6615: output\"" >&5)
6616
 
  cat conftest.out >&5
6617
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6618
 
    lt_cv_nm_interface="MS dumpbin"
6619
 
  fi
6620
 
  rm -f conftest*
6621
 
fi
6622
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6623
 
$as_echo "$lt_cv_nm_interface" >&6; }
6624
 
 
6625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6626
 
$as_echo_n "checking whether ln -s works... " >&6; }
6627
 
LN_S=$as_ln_s
6628
 
if test "$LN_S" = "ln -s"; then
6629
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6630
 
$as_echo "yes" >&6; }
6631
 
else
6632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6633
 
$as_echo "no, using $LN_S" >&6; }
6634
 
fi
6635
 
 
6636
 
# find the maximum length of command line arguments
6637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6638
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6639
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6640
 
  $as_echo_n "(cached) " >&6
6641
 
else
6642
 
    i=0
6643
 
  teststring="ABCD"
6644
 
 
6645
 
  case $build_os in
6646
 
  msdosdjgpp*)
6647
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6648
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6649
 
    # during glob expansion).  Even if it were fixed, the result of this
6650
 
    # check would be larger than it should be.
6651
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6652
 
    ;;
6653
 
 
6654
 
  gnu*)
6655
 
    # Under GNU Hurd, this test is not required because there is
6656
 
    # no limit to the length of command line arguments.
6657
 
    # Libtool will interpret -1 as no limit whatsoever
6658
 
    lt_cv_sys_max_cmd_len=-1;
6659
 
    ;;
6660
 
 
6661
 
  cygwin* | mingw* | cegcc*)
6662
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6663
 
    # about 5 minutes as the teststring grows exponentially.
6664
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6665
 
    # you end up with a "frozen" computer, even though with patience
6666
 
    # the test eventually succeeds (with a max line length of 256k).
6667
 
    # Instead, let's just punt: use the minimum linelength reported by
6668
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6669
 
    lt_cv_sys_max_cmd_len=8192;
6670
 
    ;;
6671
 
 
6672
 
  amigaos*)
6673
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6674
 
    # So we just punt and use a minimum line length of 8192.
6675
 
    lt_cv_sys_max_cmd_len=8192;
6676
 
    ;;
6677
 
 
6678
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6679
 
    # This has been around since 386BSD, at least.  Likely further.
6680
 
    if test -x /sbin/sysctl; then
6681
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6682
 
    elif test -x /usr/sbin/sysctl; then
6683
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6684
 
    else
6685
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6686
 
    fi
6687
 
    # And add a safety zone
6688
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6689
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6690
 
    ;;
6691
 
 
6692
 
  interix*)
6693
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6694
 
    lt_cv_sys_max_cmd_len=196608
6695
 
    ;;
6696
 
 
6697
 
  osf*)
6698
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6699
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6700
 
    # nice to cause kernel panics so lets avoid the loop below.
6701
 
    # First set a reasonable default.
6702
 
    lt_cv_sys_max_cmd_len=16384
6703
 
    #
6704
 
    if test -x /sbin/sysconfig; then
6705
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6706
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6707
 
      esac
6708
 
    fi
6709
 
    ;;
6710
 
  sco3.2v5*)
6711
 
    lt_cv_sys_max_cmd_len=102400
6712
 
    ;;
6713
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6714
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6715
 
    if test -n "$kargmax"; then
6716
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6717
 
    else
6718
 
      lt_cv_sys_max_cmd_len=32768
6719
 
    fi
6720
 
    ;;
6721
 
  *)
6722
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6723
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6724
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6725
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6726
 
    else
6727
 
      # Make teststring a little bigger before we do anything with it.
6728
 
      # a 1K string should be a reasonable start.
6729
 
      for i in 1 2 3 4 5 6 7 8 ; do
6730
 
        teststring=$teststring$teststring
6731
 
      done
6732
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6733
 
      # If test is not a shell built-in, we'll probably end up computing a
6734
 
      # maximum length that is only half of the actual maximum length, but
6735
 
      # we can't tell.
6736
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6737
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6738
 
              test $i != 17 # 1/2 MB should be enough
6739
 
      do
6740
 
        i=`expr $i + 1`
6741
 
        teststring=$teststring$teststring
6742
 
      done
6743
 
      # Only check the string length outside the loop.
6744
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6745
 
      teststring=
6746
 
      # Add a significant safety factor because C++ compilers can tack on
6747
 
      # massive amounts of additional arguments before passing them to the
6748
 
      # linker.  It appears as though 1/2 is a usable value.
6749
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6750
 
    fi
6751
 
    ;;
6752
 
  esac
6753
 
 
6754
 
fi
6755
 
 
6756
 
if test -n $lt_cv_sys_max_cmd_len ; then
6757
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6758
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6759
 
else
6760
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6761
 
$as_echo "none" >&6; }
6762
 
fi
6763
 
max_cmd_len=$lt_cv_sys_max_cmd_len
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
 
 
6769
 
 
6770
 
: ${CP="cp -f"}
6771
 
: ${MV="mv -f"}
6772
 
: ${RM="rm -f"}
6773
 
 
6774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6775
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6776
 
# Try some XSI features
6777
 
xsi_shell=no
6778
 
( _lt_dummy="a/b/c"
6779
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6780
 
      = c,a/b,, \
6781
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
6782
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6783
 
  && xsi_shell=yes
6784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6785
 
$as_echo "$xsi_shell" >&6; }
6786
 
 
6787
 
 
6788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6789
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6790
 
lt_shell_append=no
6791
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6792
 
    >/dev/null 2>&1 \
6793
 
  && lt_shell_append=yes
6794
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6795
 
$as_echo "$lt_shell_append" >&6; }
6796
 
 
6797
 
 
6798
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6799
 
  lt_unset=unset
6800
 
else
6801
 
  lt_unset=false
6802
 
fi
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
# test EBCDIC or ASCII
6809
 
case `echo X|tr X '\101'` in
6810
 
 A) # ASCII based system
6811
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6812
 
  lt_SP2NL='tr \040 \012'
6813
 
  lt_NL2SP='tr \015\012 \040\040'
6814
 
  ;;
6815
 
 *) # EBCDIC based system
6816
 
  lt_SP2NL='tr \100 \n'
6817
 
  lt_NL2SP='tr \r\n \100\100'
6818
 
  ;;
6819
 
esac
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
 
 
6829
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6830
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6831
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6832
 
  $as_echo_n "(cached) " >&6
6833
 
else
6834
 
  lt_cv_ld_reload_flag='-r'
6835
 
fi
6836
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6837
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6838
 
reload_flag=$lt_cv_ld_reload_flag
6839
 
case $reload_flag in
6840
 
"" | " "*) ;;
6841
 
*) reload_flag=" $reload_flag" ;;
6842
 
esac
6843
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6844
 
case $host_os in
6845
 
  darwin*)
6846
 
    if test "$GCC" = yes; then
6847
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6848
 
    else
6849
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6850
 
    fi
6851
 
    ;;
6852
 
esac
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
if test -n "$ac_tool_prefix"; then
6863
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6864
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6865
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866
 
$as_echo_n "checking for $ac_word... " >&6; }
6867
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6868
 
  $as_echo_n "(cached) " >&6
6869
 
else
6870
 
  if test -n "$OBJDUMP"; then
6871
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6872
 
else
6873
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874
 
for as_dir in $PATH
6875
 
do
6876
 
  IFS=$as_save_IFS
6877
 
  test -z "$as_dir" && as_dir=.
6878
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6879
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6881
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882
 
    break 2
6883
 
  fi
6884
 
done
6885
 
  done
6886
 
IFS=$as_save_IFS
6887
 
 
6888
 
fi
6889
 
fi
6890
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6891
 
if test -n "$OBJDUMP"; then
6892
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6893
 
$as_echo "$OBJDUMP" >&6; }
6894
 
else
6895
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896
 
$as_echo "no" >&6; }
6897
 
fi
6898
 
 
6899
 
 
6900
 
fi
6901
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6902
 
  ac_ct_OBJDUMP=$OBJDUMP
6903
 
  # Extract the first word of "objdump", so it can be a program name with args.
6904
 
set dummy objdump; ac_word=$2
6905
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6906
 
$as_echo_n "checking for $ac_word... " >&6; }
6907
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6908
 
  $as_echo_n "(cached) " >&6
6909
 
else
6910
 
  if test -n "$ac_ct_OBJDUMP"; then
6911
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6912
 
else
6913
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914
 
for as_dir in $PATH
6915
 
do
6916
 
  IFS=$as_save_IFS
6917
 
  test -z "$as_dir" && as_dir=.
6918
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6919
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6920
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6921
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922
 
    break 2
6923
 
  fi
6924
 
done
6925
 
  done
6926
 
IFS=$as_save_IFS
6927
 
 
6928
 
fi
6929
 
fi
6930
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6931
 
if test -n "$ac_ct_OBJDUMP"; then
6932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6933
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
6934
 
else
6935
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6936
 
$as_echo "no" >&6; }
6937
 
fi
6938
 
 
6939
 
  if test "x$ac_ct_OBJDUMP" = x; then
6940
 
    OBJDUMP="false"
6941
 
  else
6942
 
    case $cross_compiling:$ac_tool_warned in
6943
 
yes:)
6944
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6945
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6946
 
ac_tool_warned=yes ;;
6947
 
esac
6948
 
    OBJDUMP=$ac_ct_OBJDUMP
6949
 
  fi
6950
 
else
6951
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6952
 
fi
6953
 
 
6954
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6955
 
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
 
6961
 
 
6962
 
 
6963
 
 
6964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6965
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6966
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6967
 
  $as_echo_n "(cached) " >&6
6968
 
else
6969
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6970
 
lt_cv_file_magic_test_file=
6971
 
lt_cv_deplibs_check_method='unknown'
6972
 
# Need to set the preceding variable on all platforms that support
6973
 
# interlibrary dependencies.
6974
 
# 'none' -- dependencies not supported.
6975
 
# `unknown' -- same as none, but documents that we really don't know.
6976
 
# 'pass_all' -- all dependencies passed with no checks.
6977
 
# 'test_compile' -- check by making test program.
6978
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6979
 
# which responds to the $file_magic_cmd with a given extended regex.
6980
 
# If you have `file' or equivalent on your system and you're not sure
6981
 
# whether `pass_all' will *always* work, you probably want this one.
6982
 
 
6983
 
case $host_os in
6984
 
aix[4-9]*)
6985
 
  lt_cv_deplibs_check_method=pass_all
6986
 
  ;;
6987
 
 
6988
 
beos*)
6989
 
  lt_cv_deplibs_check_method=pass_all
6990
 
  ;;
6991
 
 
6992
 
bsdi[45]*)
6993
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6994
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6995
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6996
 
  ;;
6997
 
 
6998
 
cygwin*)
6999
 
  # func_win32_libid is a shell function defined in ltmain.sh
7000
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7001
 
  lt_cv_file_magic_cmd='func_win32_libid'
7002
 
  ;;
7003
 
 
7004
 
mingw* | pw32*)
7005
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
7006
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7007
 
  # unless we find 'file', for example because we are cross-compiling.
7008
 
  if ( file / ) >/dev/null 2>&1; then
7009
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7010
 
    lt_cv_file_magic_cmd='func_win32_libid'
7011
 
  else
7012
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7013
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
7014
 
  fi
7015
 
  ;;
7016
 
 
7017
 
cegcc)
7018
 
  # use the weaker test based on 'objdump'. See mingw*.
7019
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7020
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
7021
 
  ;;
7022
 
 
7023
 
darwin* | rhapsody*)
7024
 
  lt_cv_deplibs_check_method=pass_all
7025
 
  ;;
7026
 
 
7027
 
freebsd* | dragonfly*)
7028
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7029
 
    case $host_cpu in
7030
 
    i*86 )
7031
 
      # Not sure whether the presence of OpenBSD here was a mistake.
7032
 
      # Let's accept both of them until this is cleared up.
7033
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7034
 
      lt_cv_file_magic_cmd=/usr/bin/file
7035
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7036
 
      ;;
7037
 
    esac
7038
 
  else
7039
 
    lt_cv_deplibs_check_method=pass_all
7040
 
  fi
7041
 
  ;;
7042
 
 
7043
 
gnu*)
7044
 
  lt_cv_deplibs_check_method=pass_all
7045
 
  ;;
7046
 
 
7047
 
hpux10.20* | hpux11*)
7048
 
  lt_cv_file_magic_cmd=/usr/bin/file
7049
 
  case $host_cpu in
7050
 
  ia64*)
7051
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7052
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7053
 
    ;;
7054
 
  hppa*64*)
7055
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7056
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7057
 
    ;;
7058
 
  *)
7059
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7060
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7061
 
    ;;
7062
 
  esac
7063
 
  ;;
7064
 
 
7065
 
interix[3-9]*)
7066
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7067
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7068
 
  ;;
7069
 
 
7070
 
irix5* | irix6* | nonstopux*)
7071
 
  case $LD in
7072
 
  *-32|*"-32 ") libmagic=32-bit;;
7073
 
  *-n32|*"-n32 ") libmagic=N32;;
7074
 
  *-64|*"-64 ") libmagic=64-bit;;
7075
 
  *) libmagic=never-match;;
7076
 
  esac
7077
 
  lt_cv_deplibs_check_method=pass_all
7078
 
  ;;
7079
 
 
7080
 
# This must be Linux ELF.
7081
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7082
 
  lt_cv_deplibs_check_method=pass_all
7083
 
  ;;
7084
 
 
7085
 
netbsd* | netbsdelf*-gnu)
7086
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7087
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7088
 
  else
7089
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7090
 
  fi
7091
 
  ;;
7092
 
 
7093
 
newos6*)
7094
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7095
 
  lt_cv_file_magic_cmd=/usr/bin/file
7096
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7097
 
  ;;
7098
 
 
7099
 
*nto* | *qnx*)
7100
 
  lt_cv_deplibs_check_method=pass_all
7101
 
  ;;
7102
 
 
7103
 
openbsd*)
7104
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7105
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7106
 
  else
7107
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7108
 
  fi
7109
 
  ;;
7110
 
 
7111
 
osf3* | osf4* | osf5*)
7112
 
  lt_cv_deplibs_check_method=pass_all
7113
 
  ;;
7114
 
 
7115
 
rdos*)
7116
 
  lt_cv_deplibs_check_method=pass_all
7117
 
  ;;
7118
 
 
7119
 
solaris*)
7120
 
  lt_cv_deplibs_check_method=pass_all
7121
 
  ;;
7122
 
 
7123
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7124
 
  lt_cv_deplibs_check_method=pass_all
7125
 
  ;;
7126
 
 
7127
 
sysv4 | sysv4.3*)
7128
 
  case $host_vendor in
7129
 
  motorola)
7130
 
    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]'
7131
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7132
 
    ;;
7133
 
  ncr)
7134
 
    lt_cv_deplibs_check_method=pass_all
7135
 
    ;;
7136
 
  sequent)
7137
 
    lt_cv_file_magic_cmd='/bin/file'
7138
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7139
 
    ;;
7140
 
  sni)
7141
 
    lt_cv_file_magic_cmd='/bin/file'
7142
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7143
 
    lt_cv_file_magic_test_file=/lib/libc.so
7144
 
    ;;
7145
 
  siemens)
7146
 
    lt_cv_deplibs_check_method=pass_all
7147
 
    ;;
7148
 
  pc)
7149
 
    lt_cv_deplibs_check_method=pass_all
7150
 
    ;;
7151
 
  esac
7152
 
  ;;
7153
 
 
7154
 
tpf*)
7155
 
  lt_cv_deplibs_check_method=pass_all
7156
 
  ;;
7157
 
esac
7158
 
 
7159
 
fi
7160
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7161
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7162
 
file_magic_cmd=$lt_cv_file_magic_cmd
7163
 
deplibs_check_method=$lt_cv_deplibs_check_method
7164
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
if test -n "$ac_tool_prefix"; then
7178
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7179
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7180
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181
 
$as_echo_n "checking for $ac_word... " >&6; }
7182
 
if test "${ac_cv_prog_AR+set}" = set; then :
7183
 
  $as_echo_n "(cached) " >&6
7184
 
else
7185
 
  if test -n "$AR"; then
7186
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7187
 
else
7188
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7189
 
for as_dir in $PATH
7190
 
do
7191
 
  IFS=$as_save_IFS
7192
 
  test -z "$as_dir" && as_dir=.
7193
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7194
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7196
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197
 
    break 2
7198
 
  fi
7199
 
done
7200
 
  done
7201
 
IFS=$as_save_IFS
7202
 
 
7203
 
fi
7204
 
fi
7205
 
AR=$ac_cv_prog_AR
7206
 
if test -n "$AR"; then
7207
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7208
 
$as_echo "$AR" >&6; }
7209
 
else
7210
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211
 
$as_echo "no" >&6; }
7212
 
fi
7213
 
 
7214
 
 
7215
 
fi
7216
 
if test -z "$ac_cv_prog_AR"; then
7217
 
  ac_ct_AR=$AR
7218
 
  # Extract the first word of "ar", so it can be a program name with args.
7219
 
set dummy ar; ac_word=$2
7220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221
 
$as_echo_n "checking for $ac_word... " >&6; }
7222
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7223
 
  $as_echo_n "(cached) " >&6
7224
 
else
7225
 
  if test -n "$ac_ct_AR"; then
7226
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7227
 
else
7228
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229
 
for as_dir in $PATH
7230
 
do
7231
 
  IFS=$as_save_IFS
7232
 
  test -z "$as_dir" && as_dir=.
7233
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7234
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7235
 
    ac_cv_prog_ac_ct_AR="ar"
7236
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237
 
    break 2
7238
 
  fi
7239
 
done
7240
 
  done
7241
 
IFS=$as_save_IFS
7242
 
 
7243
 
fi
7244
 
fi
7245
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7246
 
if test -n "$ac_ct_AR"; then
7247
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7248
 
$as_echo "$ac_ct_AR" >&6; }
7249
 
else
7250
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251
 
$as_echo "no" >&6; }
7252
 
fi
7253
 
 
7254
 
  if test "x$ac_ct_AR" = x; then
7255
 
    AR="false"
7256
 
  else
7257
 
    case $cross_compiling:$ac_tool_warned in
7258
 
yes:)
7259
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7260
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7261
 
ac_tool_warned=yes ;;
7262
 
esac
7263
 
    AR=$ac_ct_AR
7264
 
  fi
7265
 
else
7266
 
  AR="$ac_cv_prog_AR"
7267
 
fi
7268
 
 
7269
 
test -z "$AR" && AR=ar
7270
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7271
 
 
7272
 
 
7273
 
 
7274
 
 
7275
 
 
7276
 
 
7277
 
 
7278
 
 
7279
 
 
7280
 
 
7281
 
 
7282
 
if test -n "$ac_tool_prefix"; then
7283
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7284
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7285
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286
 
$as_echo_n "checking for $ac_word... " >&6; }
7287
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
7288
 
  $as_echo_n "(cached) " >&6
7289
 
else
7290
 
  if test -n "$STRIP"; then
7291
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7292
 
else
7293
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294
 
for as_dir in $PATH
7295
 
do
7296
 
  IFS=$as_save_IFS
7297
 
  test -z "$as_dir" && as_dir=.
7298
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7299
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7301
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302
 
    break 2
7303
 
  fi
7304
 
done
7305
 
  done
7306
 
IFS=$as_save_IFS
7307
 
 
7308
 
fi
7309
 
fi
7310
 
STRIP=$ac_cv_prog_STRIP
7311
 
if test -n "$STRIP"; then
7312
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7313
 
$as_echo "$STRIP" >&6; }
7314
 
else
7315
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316
 
$as_echo "no" >&6; }
7317
 
fi
7318
 
 
7319
 
 
7320
 
fi
7321
 
if test -z "$ac_cv_prog_STRIP"; then
7322
 
  ac_ct_STRIP=$STRIP
7323
 
  # Extract the first word of "strip", so it can be a program name with args.
7324
 
set dummy strip; ac_word=$2
7325
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326
 
$as_echo_n "checking for $ac_word... " >&6; }
7327
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7328
 
  $as_echo_n "(cached) " >&6
7329
 
else
7330
 
  if test -n "$ac_ct_STRIP"; then
7331
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7332
 
else
7333
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334
 
for as_dir in $PATH
7335
 
do
7336
 
  IFS=$as_save_IFS
7337
 
  test -z "$as_dir" && as_dir=.
7338
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7339
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340
 
    ac_cv_prog_ac_ct_STRIP="strip"
7341
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342
 
    break 2
7343
 
  fi
7344
 
done
7345
 
  done
7346
 
IFS=$as_save_IFS
7347
 
 
7348
 
fi
7349
 
fi
7350
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7351
 
if test -n "$ac_ct_STRIP"; then
7352
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7353
 
$as_echo "$ac_ct_STRIP" >&6; }
7354
 
else
7355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356
 
$as_echo "no" >&6; }
7357
 
fi
7358
 
 
7359
 
  if test "x$ac_ct_STRIP" = x; then
7360
 
    STRIP=":"
7361
 
  else
7362
 
    case $cross_compiling:$ac_tool_warned in
7363
 
yes:)
7364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366
 
ac_tool_warned=yes ;;
7367
 
esac
7368
 
    STRIP=$ac_ct_STRIP
7369
 
  fi
7370
 
else
7371
 
  STRIP="$ac_cv_prog_STRIP"
7372
 
fi
7373
 
 
7374
 
test -z "$STRIP" && STRIP=:
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
if test -n "$ac_tool_prefix"; then
7382
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7383
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7384
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385
 
$as_echo_n "checking for $ac_word... " >&6; }
7386
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7387
 
  $as_echo_n "(cached) " >&6
7388
 
else
7389
 
  if test -n "$RANLIB"; then
7390
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7391
 
else
7392
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393
 
for as_dir in $PATH
7394
 
do
7395
 
  IFS=$as_save_IFS
7396
 
  test -z "$as_dir" && as_dir=.
7397
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7398
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7400
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401
 
    break 2
7402
 
  fi
7403
 
done
7404
 
  done
7405
 
IFS=$as_save_IFS
7406
 
 
7407
 
fi
7408
 
fi
7409
 
RANLIB=$ac_cv_prog_RANLIB
7410
 
if test -n "$RANLIB"; then
7411
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7412
 
$as_echo "$RANLIB" >&6; }
7413
 
else
7414
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415
 
$as_echo "no" >&6; }
7416
 
fi
7417
 
 
7418
 
 
7419
 
fi
7420
 
if test -z "$ac_cv_prog_RANLIB"; then
7421
 
  ac_ct_RANLIB=$RANLIB
7422
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7423
 
set dummy ranlib; ac_word=$2
7424
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425
 
$as_echo_n "checking for $ac_word... " >&6; }
7426
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7427
 
  $as_echo_n "(cached) " >&6
7428
 
else
7429
 
  if test -n "$ac_ct_RANLIB"; then
7430
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7431
 
else
7432
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433
 
for as_dir in $PATH
7434
 
do
7435
 
  IFS=$as_save_IFS
7436
 
  test -z "$as_dir" && as_dir=.
7437
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7438
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7440
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441
 
    break 2
7442
 
  fi
7443
 
done
7444
 
  done
7445
 
IFS=$as_save_IFS
7446
 
 
7447
 
fi
7448
 
fi
7449
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7450
 
if test -n "$ac_ct_RANLIB"; then
7451
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7452
 
$as_echo "$ac_ct_RANLIB" >&6; }
7453
 
else
7454
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455
 
$as_echo "no" >&6; }
7456
 
fi
7457
 
 
7458
 
  if test "x$ac_ct_RANLIB" = x; then
7459
 
    RANLIB=":"
7460
 
  else
7461
 
    case $cross_compiling:$ac_tool_warned in
7462
 
yes:)
7463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7464
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7465
 
ac_tool_warned=yes ;;
7466
 
esac
7467
 
    RANLIB=$ac_ct_RANLIB
7468
 
  fi
7469
 
else
7470
 
  RANLIB="$ac_cv_prog_RANLIB"
7471
 
fi
7472
 
 
7473
 
test -z "$RANLIB" && RANLIB=:
7474
 
 
7475
 
 
7476
 
 
7477
 
 
7478
 
 
7479
 
 
7480
 
# Determine commands to create old-style static archives.
7481
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7482
 
old_postinstall_cmds='chmod 644 $oldlib'
7483
 
old_postuninstall_cmds=
7484
 
 
7485
 
if test -n "$RANLIB"; then
7486
 
  case $host_os in
7487
 
  openbsd*)
7488
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7489
 
    ;;
7490
 
  *)
7491
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7492
 
    ;;
7493
 
  esac
7494
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7495
 
fi
7496
 
 
7497
 
 
7498
 
 
7499
 
 
7500
 
 
7501
 
 
7502
 
 
7503
 
 
7504
 
 
7505
 
 
7506
 
 
7507
 
 
7508
 
 
7509
 
 
7510
 
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
 
 
7517
 
 
7518
 
 
7519
 
 
7520
 
 
7521
 
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
7526
 
 
7527
 
 
7528
 
 
7529
 
 
7530
 
# If no C compiler was specified, use CC.
7531
 
LTCC=${LTCC-"$CC"}
7532
 
 
7533
 
# If no C compiler flags were specified, use CFLAGS.
7534
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7535
 
 
7536
 
# Allow CC to be a program name with arguments.
7537
 
compiler=$CC
7538
 
 
7539
 
 
7540
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
7541
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7542
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7543
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7544
 
  $as_echo_n "(cached) " >&6
7545
 
else
7546
 
 
7547
 
# These are sane defaults that work on at least a few old systems.
7548
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7549
 
 
7550
 
# Character class describing NM global symbol codes.
7551
 
symcode='[BCDEGRST]'
7552
 
 
7553
 
# Regexp to match symbols that can be accessed directly from C.
7554
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7555
 
 
7556
 
# Define system-specific variables.
7557
 
case $host_os in
7558
 
aix*)
7559
 
  symcode='[BCDT]'
7560
 
  ;;
7561
 
cygwin* | mingw* | pw32* | cegcc*)
7562
 
  symcode='[ABCDGISTW]'
7563
 
  ;;
7564
 
hpux*)
7565
 
  if test "$host_cpu" = ia64; then
7566
 
    symcode='[ABCDEGRST]'
7567
 
  fi
7568
 
  ;;
7569
 
irix* | nonstopux*)
7570
 
  symcode='[BCDEGRST]'
7571
 
  ;;
7572
 
osf*)
7573
 
  symcode='[BCDEGQRST]'
7574
 
  ;;
7575
 
solaris*)
7576
 
  symcode='[BDRT]'
7577
 
  ;;
7578
 
sco3.2v5*)
7579
 
  symcode='[DT]'
7580
 
  ;;
7581
 
sysv4.2uw2*)
7582
 
  symcode='[DT]'
7583
 
  ;;
7584
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7585
 
  symcode='[ABDT]'
7586
 
  ;;
7587
 
sysv4)
7588
 
  symcode='[DFNSTU]'
7589
 
  ;;
7590
 
esac
7591
 
 
7592
 
# If we're using GNU nm, then use its standard symbol codes.
7593
 
case `$NM -V 2>&1` in
7594
 
*GNU* | *'with BFD'*)
7595
 
  symcode='[ABCDGIRSTW]' ;;
7596
 
esac
7597
 
 
7598
 
# Transform an extracted symbol line into a proper C declaration.
7599
 
# Some systems (esp. on ia64) link data and code symbols differently,
7600
 
# so use this general approach.
7601
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7602
 
 
7603
 
# Transform an extracted symbol line into symbol name and symbol address
7604
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7605
 
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'"
7606
 
 
7607
 
# Handle CRLF in mingw tool chain
7608
 
opt_cr=
7609
 
case $build_os in
7610
 
mingw*)
7611
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7612
 
  ;;
7613
 
esac
7614
 
 
7615
 
# Try without a prefix underscore, then with it.
7616
 
for ac_symprfx in "" "_"; do
7617
 
 
7618
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7619
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7620
 
 
7621
 
  # Write the raw and C identifiers.
7622
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7623
 
    # Fake it for dumpbin and say T for any non-static function
7624
 
    # and D for any global variable.
7625
 
    # Also find C++ and __fastcall symbols from MSVC++,
7626
 
    # which start with @ or ?.
7627
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7628
 
"     {last_section=section; section=\$ 3};"\
7629
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7630
 
"     \$ 0!~/External *\|/{next};"\
7631
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7632
 
"     {if(hide[section]) next};"\
7633
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7634
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7635
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7636
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7637
 
"     ' prfx=^$ac_symprfx"
7638
 
  else
7639
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7640
 
  fi
7641
 
 
7642
 
  # Check to see that the pipe works correctly.
7643
 
  pipe_works=no
7644
 
 
7645
 
  rm -f conftest*
7646
 
  cat > conftest.$ac_ext <<_LT_EOF
7647
 
#ifdef __cplusplus
7648
 
extern "C" {
7649
 
#endif
7650
 
char nm_test_var;
7651
 
void nm_test_func(void);
7652
 
void nm_test_func(void){}
7653
 
#ifdef __cplusplus
7654
 
}
7655
 
#endif
7656
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7657
 
_LT_EOF
7658
 
 
7659
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660
 
  (eval $ac_compile) 2>&5
7661
 
  ac_status=$?
7662
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663
 
  test $ac_status = 0; }; then
7664
 
    # Now try to grab the symbols.
7665
 
    nlist=conftest.nm
7666
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7667
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7668
 
  ac_status=$?
7669
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7670
 
  test $ac_status = 0; } && test -s "$nlist"; then
7671
 
      # Try sorting and uniquifying the output.
7672
 
      if sort "$nlist" | uniq > "$nlist"T; then
7673
 
        mv -f "$nlist"T "$nlist"
7674
 
      else
7675
 
        rm -f "$nlist"T
7676
 
      fi
7677
 
 
7678
 
      # Make sure that we snagged all the symbols we need.
7679
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7680
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7681
 
          cat <<_LT_EOF > conftest.$ac_ext
7682
 
#ifdef __cplusplus
7683
 
extern "C" {
7684
 
#endif
7685
 
 
7686
 
_LT_EOF
7687
 
          # Now generate the symbol file.
7688
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7689
 
 
7690
 
          cat <<_LT_EOF >> conftest.$ac_ext
7691
 
 
7692
 
/* The mapping between symbol names and symbols.  */
7693
 
const struct {
7694
 
  const char *name;
7695
 
  void       *address;
7696
 
}
7697
 
lt__PROGRAM__LTX_preloaded_symbols[] =
7698
 
{
7699
 
  { "@PROGRAM@", (void *) 0 },
7700
 
_LT_EOF
7701
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7702
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7703
 
  {0, (void *) 0}
7704
 
};
7705
 
 
7706
 
/* This works around a problem in FreeBSD linker */
7707
 
#ifdef FREEBSD_WORKAROUND
7708
 
static const void *lt_preloaded_setup() {
7709
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7710
 
}
7711
 
#endif
7712
 
 
7713
 
#ifdef __cplusplus
7714
 
}
7715
 
#endif
7716
 
_LT_EOF
7717
 
          # Now try linking the two files.
7718
 
          mv conftest.$ac_objext conftstm.$ac_objext
7719
 
          lt_save_LIBS="$LIBS"
7720
 
          lt_save_CFLAGS="$CFLAGS"
7721
 
          LIBS="conftstm.$ac_objext"
7722
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7723
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7724
 
  (eval $ac_link) 2>&5
7725
 
  ac_status=$?
7726
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7727
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7728
 
            pipe_works=yes
7729
 
          fi
7730
 
          LIBS="$lt_save_LIBS"
7731
 
          CFLAGS="$lt_save_CFLAGS"
7732
 
        else
7733
 
          echo "cannot find nm_test_func in $nlist" >&5
7734
 
        fi
7735
 
      else
7736
 
        echo "cannot find nm_test_var in $nlist" >&5
7737
 
      fi
7738
 
    else
7739
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7740
 
    fi
7741
 
  else
7742
 
    echo "$progname: failed program was:" >&5
7743
 
    cat conftest.$ac_ext >&5
7744
 
  fi
7745
 
  rm -rf conftest* conftst*
7746
 
 
7747
 
  # Do not use the global_symbol_pipe unless it works.
7748
 
  if test "$pipe_works" = yes; then
7749
 
    break
7750
 
  else
7751
 
    lt_cv_sys_global_symbol_pipe=
7752
 
  fi
7753
 
done
7754
 
 
7755
 
fi
7756
 
 
7757
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7758
 
  lt_cv_sys_global_symbol_to_cdecl=
7759
 
fi
7760
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7761
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7762
 
$as_echo "failed" >&6; }
7763
 
else
7764
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7765
 
$as_echo "ok" >&6; }
7766
 
fi
7767
 
 
7768
 
 
7769
 
 
7770
 
 
7771
 
 
7772
 
 
7773
 
 
7774
 
 
7775
 
 
7776
 
 
7777
 
 
7778
 
 
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
 
7784
 
 
7785
 
 
7786
 
 
7787
 
 
7788
 
 
7789
 
# Check whether --enable-libtool-lock was given.
7790
 
if test "${enable_libtool_lock+set}" = set; then :
7791
 
  enableval=$enable_libtool_lock;
7792
 
fi
7793
 
 
7794
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7795
 
 
7796
 
# Some flags need to be propagated to the compiler or linker for good
7797
 
# libtool support.
7798
 
case $host in
7799
 
ia64-*-hpux*)
7800
 
  # Find out which ABI we are using.
7801
 
  echo 'int i;' > conftest.$ac_ext
7802
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7803
 
  (eval $ac_compile) 2>&5
7804
 
  ac_status=$?
7805
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7806
 
  test $ac_status = 0; }; then
7807
 
    case `/usr/bin/file conftest.$ac_objext` in
7808
 
      *ELF-32*)
7809
 
        HPUX_IA64_MODE="32"
7810
 
        ;;
7811
 
      *ELF-64*)
7812
 
        HPUX_IA64_MODE="64"
7813
 
        ;;
7814
 
    esac
7815
 
  fi
7816
 
  rm -rf conftest*
7817
 
  ;;
7818
 
*-*-irix6*)
7819
 
  # Find out which ABI we are using.
7820
 
  echo '#line 7820 "configure"' > conftest.$ac_ext
7821
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7822
 
  (eval $ac_compile) 2>&5
7823
 
  ac_status=$?
7824
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7825
 
  test $ac_status = 0; }; then
7826
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7827
 
      case `/usr/bin/file conftest.$ac_objext` in
7828
 
        *32-bit*)
7829
 
          LD="${LD-ld} -melf32bsmip"
7830
 
          ;;
7831
 
        *N32*)
7832
 
          LD="${LD-ld} -melf32bmipn32"
7833
 
          ;;
7834
 
        *64-bit*)
7835
 
          LD="${LD-ld} -melf64bmip"
7836
 
        ;;
7837
 
      esac
7838
 
    else
7839
 
      case `/usr/bin/file conftest.$ac_objext` in
7840
 
        *32-bit*)
7841
 
          LD="${LD-ld} -32"
7842
 
          ;;
7843
 
        *N32*)
7844
 
          LD="${LD-ld} -n32"
7845
 
          ;;
7846
 
        *64-bit*)
7847
 
          LD="${LD-ld} -64"
7848
 
          ;;
7849
 
      esac
7850
 
    fi
7851
 
  fi
7852
 
  rm -rf conftest*
7853
 
  ;;
7854
 
 
7855
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7856
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7857
 
  # Find out which ABI we are using.
7858
 
  echo 'int i;' > conftest.$ac_ext
7859
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7860
 
  (eval $ac_compile) 2>&5
7861
 
  ac_status=$?
7862
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7863
 
  test $ac_status = 0; }; then
7864
 
    case `/usr/bin/file conftest.o` in
7865
 
      *32-bit*)
7866
 
        case $host in
7867
 
          x86_64-*kfreebsd*-gnu)
7868
 
            LD="${LD-ld} -m elf_i386_fbsd"
7869
 
            ;;
7870
 
          x86_64-*linux*)
7871
 
            LD="${LD-ld} -m elf_i386"
7872
 
            ;;
7873
 
          ppc64-*linux*|powerpc64-*linux*)
7874
 
            LD="${LD-ld} -m elf32ppclinux"
7875
 
            ;;
7876
 
          s390x-*linux*)
7877
 
            LD="${LD-ld} -m elf_s390"
7878
 
            ;;
7879
 
          sparc64-*linux*)
7880
 
            LD="${LD-ld} -m elf32_sparc"
7881
 
            ;;
7882
 
        esac
7883
 
        ;;
7884
 
      *64-bit*)
7885
 
        case $host in
7886
 
          x86_64-*kfreebsd*-gnu)
7887
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7888
 
            ;;
7889
 
          x86_64-*linux*)
7890
 
            LD="${LD-ld} -m elf_x86_64"
7891
 
            ;;
7892
 
          ppc*-*linux*|powerpc*-*linux*)
7893
 
            LD="${LD-ld} -m elf64ppc"
7894
 
            ;;
7895
 
          s390*-*linux*|s390*-*tpf*)
7896
 
            LD="${LD-ld} -m elf64_s390"
7897
 
            ;;
7898
 
          sparc*-*linux*)
7899
 
            LD="${LD-ld} -m elf64_sparc"
7900
 
            ;;
7901
 
        esac
7902
 
        ;;
7903
 
    esac
7904
 
  fi
7905
 
  rm -rf conftest*
7906
 
  ;;
7907
 
 
7908
 
*-*-sco3.2v5*)
7909
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7910
 
  SAVE_CFLAGS="$CFLAGS"
7911
 
  CFLAGS="$CFLAGS -belf"
7912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7913
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7914
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7915
 
  $as_echo_n "(cached) " >&6
7916
 
else
7917
 
  ac_ext=c
7918
 
ac_cpp='$CPP $CPPFLAGS'
7919
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7922
 
 
7923
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924
 
/* end confdefs.h.  */
7925
 
 
7926
 
int
7927
 
main ()
7928
 
{
7929
 
 
7930
 
  ;
7931
 
  return 0;
7932
 
}
7933
 
_ACEOF
7934
 
if ac_fn_c_try_link "$LINENO"; then :
7935
 
  lt_cv_cc_needs_belf=yes
7936
 
else
7937
 
  lt_cv_cc_needs_belf=no
7938
 
fi
7939
 
rm -f core conftest.err conftest.$ac_objext \
7940
 
    conftest$ac_exeext conftest.$ac_ext
7941
 
     ac_ext=c
7942
 
ac_cpp='$CPP $CPPFLAGS'
7943
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7944
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7945
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7946
 
 
7947
 
fi
7948
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7949
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7950
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7951
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7952
 
    CFLAGS="$SAVE_CFLAGS"
7953
 
  fi
7954
 
  ;;
7955
 
sparc*-*solaris*)
7956
 
  # Find out which ABI we are using.
7957
 
  echo 'int i;' > conftest.$ac_ext
7958
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7959
 
  (eval $ac_compile) 2>&5
7960
 
  ac_status=$?
7961
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7962
 
  test $ac_status = 0; }; then
7963
 
    case `/usr/bin/file conftest.o` in
7964
 
    *64-bit*)
7965
 
      case $lt_cv_prog_gnu_ld in
7966
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7967
 
      *)
7968
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7969
 
          LD="${LD-ld} -64"
7970
 
        fi
7971
 
        ;;
7972
 
      esac
7973
 
      ;;
7974
 
    esac
7975
 
  fi
7976
 
  rm -rf conftest*
7977
 
  ;;
7978
 
esac
7979
 
 
7980
 
need_locks="$enable_libtool_lock"
7981
 
 
7982
 
 
7983
 
  case $host_os in
7984
 
    rhapsody* | darwin*)
7985
 
    if test -n "$ac_tool_prefix"; then
7986
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7987
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989
 
$as_echo_n "checking for $ac_word... " >&6; }
7990
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7991
 
  $as_echo_n "(cached) " >&6
7992
 
else
7993
 
  if test -n "$DSYMUTIL"; then
7994
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7995
 
else
7996
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997
 
for as_dir in $PATH
7998
 
do
7999
 
  IFS=$as_save_IFS
8000
 
  test -z "$as_dir" && as_dir=.
8001
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8002
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8003
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8004
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005
 
    break 2
8006
 
  fi
8007
 
done
8008
 
  done
8009
 
IFS=$as_save_IFS
8010
 
 
8011
 
fi
8012
 
fi
8013
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8014
 
if test -n "$DSYMUTIL"; then
8015
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8016
 
$as_echo "$DSYMUTIL" >&6; }
8017
 
else
8018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019
 
$as_echo "no" >&6; }
8020
 
fi
8021
 
 
8022
 
 
8023
 
fi
8024
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
8025
 
  ac_ct_DSYMUTIL=$DSYMUTIL
8026
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
8027
 
set dummy dsymutil; ac_word=$2
8028
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029
 
$as_echo_n "checking for $ac_word... " >&6; }
8030
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8031
 
  $as_echo_n "(cached) " >&6
8032
 
else
8033
 
  if test -n "$ac_ct_DSYMUTIL"; then
8034
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8035
 
else
8036
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037
 
for as_dir in $PATH
8038
 
do
8039
 
  IFS=$as_save_IFS
8040
 
  test -z "$as_dir" && as_dir=.
8041
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8042
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8043
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8044
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045
 
    break 2
8046
 
  fi
8047
 
done
8048
 
  done
8049
 
IFS=$as_save_IFS
8050
 
 
8051
 
fi
8052
 
fi
8053
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8054
 
if test -n "$ac_ct_DSYMUTIL"; then
8055
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8056
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8057
 
else
8058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059
 
$as_echo "no" >&6; }
8060
 
fi
8061
 
 
8062
 
  if test "x$ac_ct_DSYMUTIL" = x; then
8063
 
    DSYMUTIL=":"
8064
 
  else
8065
 
    case $cross_compiling:$ac_tool_warned in
8066
 
yes:)
8067
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069
 
ac_tool_warned=yes ;;
8070
 
esac
8071
 
    DSYMUTIL=$ac_ct_DSYMUTIL
8072
 
  fi
8073
 
else
8074
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8075
 
fi
8076
 
 
8077
 
    if test -n "$ac_tool_prefix"; then
8078
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8079
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8080
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081
 
$as_echo_n "checking for $ac_word... " >&6; }
8082
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8083
 
  $as_echo_n "(cached) " >&6
8084
 
else
8085
 
  if test -n "$NMEDIT"; then
8086
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8087
 
else
8088
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089
 
for as_dir in $PATH
8090
 
do
8091
 
  IFS=$as_save_IFS
8092
 
  test -z "$as_dir" && as_dir=.
8093
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8094
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8095
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8096
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8097
 
    break 2
8098
 
  fi
8099
 
done
8100
 
  done
8101
 
IFS=$as_save_IFS
8102
 
 
8103
 
fi
8104
 
fi
8105
 
NMEDIT=$ac_cv_prog_NMEDIT
8106
 
if test -n "$NMEDIT"; then
8107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8108
 
$as_echo "$NMEDIT" >&6; }
8109
 
else
8110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111
 
$as_echo "no" >&6; }
8112
 
fi
8113
 
 
8114
 
 
8115
 
fi
8116
 
if test -z "$ac_cv_prog_NMEDIT"; then
8117
 
  ac_ct_NMEDIT=$NMEDIT
8118
 
  # Extract the first word of "nmedit", so it can be a program name with args.
8119
 
set dummy nmedit; ac_word=$2
8120
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8121
 
$as_echo_n "checking for $ac_word... " >&6; }
8122
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8123
 
  $as_echo_n "(cached) " >&6
8124
 
else
8125
 
  if test -n "$ac_ct_NMEDIT"; then
8126
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8127
 
else
8128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8129
 
for as_dir in $PATH
8130
 
do
8131
 
  IFS=$as_save_IFS
8132
 
  test -z "$as_dir" && as_dir=.
8133
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8135
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8136
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8137
 
    break 2
8138
 
  fi
8139
 
done
8140
 
  done
8141
 
IFS=$as_save_IFS
8142
 
 
8143
 
fi
8144
 
fi
8145
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8146
 
if test -n "$ac_ct_NMEDIT"; then
8147
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8148
 
$as_echo "$ac_ct_NMEDIT" >&6; }
8149
 
else
8150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151
 
$as_echo "no" >&6; }
8152
 
fi
8153
 
 
8154
 
  if test "x$ac_ct_NMEDIT" = x; then
8155
 
    NMEDIT=":"
8156
 
  else
8157
 
    case $cross_compiling:$ac_tool_warned in
8158
 
yes:)
8159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8160
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8161
 
ac_tool_warned=yes ;;
8162
 
esac
8163
 
    NMEDIT=$ac_ct_NMEDIT
8164
 
  fi
8165
 
else
8166
 
  NMEDIT="$ac_cv_prog_NMEDIT"
8167
 
fi
8168
 
 
8169
 
    if test -n "$ac_tool_prefix"; then
8170
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8171
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173
 
$as_echo_n "checking for $ac_word... " >&6; }
8174
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
8175
 
  $as_echo_n "(cached) " >&6
8176
 
else
8177
 
  if test -n "$LIPO"; then
8178
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8179
 
else
8180
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181
 
for as_dir in $PATH
8182
 
do
8183
 
  IFS=$as_save_IFS
8184
 
  test -z "$as_dir" && as_dir=.
8185
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8186
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8188
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189
 
    break 2
8190
 
  fi
8191
 
done
8192
 
  done
8193
 
IFS=$as_save_IFS
8194
 
 
8195
 
fi
8196
 
fi
8197
 
LIPO=$ac_cv_prog_LIPO
8198
 
if test -n "$LIPO"; then
8199
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8200
 
$as_echo "$LIPO" >&6; }
8201
 
else
8202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203
 
$as_echo "no" >&6; }
8204
 
fi
8205
 
 
8206
 
 
8207
 
fi
8208
 
if test -z "$ac_cv_prog_LIPO"; then
8209
 
  ac_ct_LIPO=$LIPO
8210
 
  # Extract the first word of "lipo", so it can be a program name with args.
8211
 
set dummy lipo; ac_word=$2
8212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213
 
$as_echo_n "checking for $ac_word... " >&6; }
8214
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8215
 
  $as_echo_n "(cached) " >&6
8216
 
else
8217
 
  if test -n "$ac_ct_LIPO"; then
8218
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8219
 
else
8220
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221
 
for as_dir in $PATH
8222
 
do
8223
 
  IFS=$as_save_IFS
8224
 
  test -z "$as_dir" && as_dir=.
8225
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8226
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227
 
    ac_cv_prog_ac_ct_LIPO="lipo"
8228
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229
 
    break 2
8230
 
  fi
8231
 
done
8232
 
  done
8233
 
IFS=$as_save_IFS
8234
 
 
8235
 
fi
8236
 
fi
8237
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8238
 
if test -n "$ac_ct_LIPO"; then
8239
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8240
 
$as_echo "$ac_ct_LIPO" >&6; }
8241
 
else
8242
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243
 
$as_echo "no" >&6; }
8244
 
fi
8245
 
 
8246
 
  if test "x$ac_ct_LIPO" = x; then
8247
 
    LIPO=":"
8248
 
  else
8249
 
    case $cross_compiling:$ac_tool_warned in
8250
 
yes:)
8251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253
 
ac_tool_warned=yes ;;
8254
 
esac
8255
 
    LIPO=$ac_ct_LIPO
8256
 
  fi
8257
 
else
8258
 
  LIPO="$ac_cv_prog_LIPO"
8259
 
fi
8260
 
 
8261
 
    if test -n "$ac_tool_prefix"; then
8262
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8263
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
8264
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8265
 
$as_echo_n "checking for $ac_word... " >&6; }
8266
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
8267
 
  $as_echo_n "(cached) " >&6
8268
 
else
8269
 
  if test -n "$OTOOL"; then
8270
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8271
 
else
8272
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8273
 
for as_dir in $PATH
8274
 
do
8275
 
  IFS=$as_save_IFS
8276
 
  test -z "$as_dir" && as_dir=.
8277
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8278
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8280
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8281
 
    break 2
8282
 
  fi
8283
 
done
8284
 
  done
8285
 
IFS=$as_save_IFS
8286
 
 
8287
 
fi
8288
 
fi
8289
 
OTOOL=$ac_cv_prog_OTOOL
8290
 
if test -n "$OTOOL"; then
8291
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8292
 
$as_echo "$OTOOL" >&6; }
8293
 
else
8294
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295
 
$as_echo "no" >&6; }
8296
 
fi
8297
 
 
8298
 
 
8299
 
fi
8300
 
if test -z "$ac_cv_prog_OTOOL"; then
8301
 
  ac_ct_OTOOL=$OTOOL
8302
 
  # Extract the first word of "otool", so it can be a program name with args.
8303
 
set dummy otool; ac_word=$2
8304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8305
 
$as_echo_n "checking for $ac_word... " >&6; }
8306
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8307
 
  $as_echo_n "(cached) " >&6
8308
 
else
8309
 
  if test -n "$ac_ct_OTOOL"; then
8310
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8311
 
else
8312
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8313
 
for as_dir in $PATH
8314
 
do
8315
 
  IFS=$as_save_IFS
8316
 
  test -z "$as_dir" && as_dir=.
8317
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8318
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319
 
    ac_cv_prog_ac_ct_OTOOL="otool"
8320
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321
 
    break 2
8322
 
  fi
8323
 
done
8324
 
  done
8325
 
IFS=$as_save_IFS
8326
 
 
8327
 
fi
8328
 
fi
8329
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8330
 
if test -n "$ac_ct_OTOOL"; then
8331
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8332
 
$as_echo "$ac_ct_OTOOL" >&6; }
8333
 
else
8334
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335
 
$as_echo "no" >&6; }
8336
 
fi
8337
 
 
8338
 
  if test "x$ac_ct_OTOOL" = x; then
8339
 
    OTOOL=":"
8340
 
  else
8341
 
    case $cross_compiling:$ac_tool_warned in
8342
 
yes:)
8343
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8344
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8345
 
ac_tool_warned=yes ;;
8346
 
esac
8347
 
    OTOOL=$ac_ct_OTOOL
8348
 
  fi
8349
 
else
8350
 
  OTOOL="$ac_cv_prog_OTOOL"
8351
 
fi
8352
 
 
8353
 
    if test -n "$ac_tool_prefix"; then
8354
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8355
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8356
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357
 
$as_echo_n "checking for $ac_word... " >&6; }
8358
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8359
 
  $as_echo_n "(cached) " >&6
8360
 
else
8361
 
  if test -n "$OTOOL64"; then
8362
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8363
 
else
8364
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365
 
for as_dir in $PATH
8366
 
do
8367
 
  IFS=$as_save_IFS
8368
 
  test -z "$as_dir" && as_dir=.
8369
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8370
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8373
 
    break 2
8374
 
  fi
8375
 
done
8376
 
  done
8377
 
IFS=$as_save_IFS
8378
 
 
8379
 
fi
8380
 
fi
8381
 
OTOOL64=$ac_cv_prog_OTOOL64
8382
 
if test -n "$OTOOL64"; then
8383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8384
 
$as_echo "$OTOOL64" >&6; }
8385
 
else
8386
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387
 
$as_echo "no" >&6; }
8388
 
fi
8389
 
 
8390
 
 
8391
 
fi
8392
 
if test -z "$ac_cv_prog_OTOOL64"; then
8393
 
  ac_ct_OTOOL64=$OTOOL64
8394
 
  # Extract the first word of "otool64", so it can be a program name with args.
8395
 
set dummy otool64; ac_word=$2
8396
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8397
 
$as_echo_n "checking for $ac_word... " >&6; }
8398
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8399
 
  $as_echo_n "(cached) " >&6
8400
 
else
8401
 
  if test -n "$ac_ct_OTOOL64"; then
8402
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8403
 
else
8404
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8405
 
for as_dir in $PATH
8406
 
do
8407
 
  IFS=$as_save_IFS
8408
 
  test -z "$as_dir" && as_dir=.
8409
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8410
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8412
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413
 
    break 2
8414
 
  fi
8415
 
done
8416
 
  done
8417
 
IFS=$as_save_IFS
8418
 
 
8419
 
fi
8420
 
fi
8421
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8422
 
if test -n "$ac_ct_OTOOL64"; then
8423
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8424
 
$as_echo "$ac_ct_OTOOL64" >&6; }
8425
 
else
8426
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427
 
$as_echo "no" >&6; }
8428
 
fi
8429
 
 
8430
 
  if test "x$ac_ct_OTOOL64" = x; then
8431
 
    OTOOL64=":"
8432
 
  else
8433
 
    case $cross_compiling:$ac_tool_warned in
8434
 
yes:)
8435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8436
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8437
 
ac_tool_warned=yes ;;
8438
 
esac
8439
 
    OTOOL64=$ac_ct_OTOOL64
8440
 
  fi
8441
 
else
8442
 
  OTOOL64="$ac_cv_prog_OTOOL64"
8443
 
fi
8444
 
 
8445
 
 
8446
 
 
8447
 
 
8448
 
 
8449
 
 
8450
 
 
8451
 
 
8452
 
 
8453
 
 
8454
 
 
8455
 
 
8456
 
 
8457
 
 
8458
 
 
8459
 
 
8460
 
 
8461
 
 
8462
 
 
8463
 
 
8464
 
 
8465
 
 
8466
 
 
8467
 
 
8468
 
 
8469
 
 
8470
 
 
8471
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8472
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
8473
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8474
 
  $as_echo_n "(cached) " >&6
8475
 
else
8476
 
  lt_cv_apple_cc_single_mod=no
8477
 
      if test -z "${LT_MULTI_MODULE}"; then
8478
 
        # By default we will add the -single_module flag. You can override
8479
 
        # by either setting the environment variable LT_MULTI_MODULE
8480
 
        # non-empty at configure time, or by adding -multi_module to the
8481
 
        # link flags.
8482
 
        rm -rf libconftest.dylib*
8483
 
        echo "int foo(void){return 1;}" > conftest.c
8484
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8485
 
-dynamiclib -Wl,-single_module conftest.c" >&5
8486
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8487
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8488
 
        _lt_result=$?
8489
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8490
 
          lt_cv_apple_cc_single_mod=yes
8491
 
        else
8492
 
          cat conftest.err >&5
8493
 
        fi
8494
 
        rm -rf libconftest.dylib*
8495
 
        rm -f conftest.*
8496
 
      fi
8497
 
fi
8498
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8499
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8500
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8501
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8502
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8503
 
  $as_echo_n "(cached) " >&6
8504
 
else
8505
 
  lt_cv_ld_exported_symbols_list=no
8506
 
      save_LDFLAGS=$LDFLAGS
8507
 
      echo "_main" > conftest.sym
8508
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8509
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510
 
/* end confdefs.h.  */
8511
 
 
8512
 
int
8513
 
main ()
8514
 
{
8515
 
 
8516
 
  ;
8517
 
  return 0;
8518
 
}
8519
 
_ACEOF
8520
 
if ac_fn_c_try_link "$LINENO"; then :
8521
 
  lt_cv_ld_exported_symbols_list=yes
8522
 
else
8523
 
  lt_cv_ld_exported_symbols_list=no
8524
 
fi
8525
 
rm -f core conftest.err conftest.$ac_objext \
8526
 
    conftest$ac_exeext conftest.$ac_ext
8527
 
        LDFLAGS="$save_LDFLAGS"
8528
 
 
8529
 
fi
8530
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8531
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8532
 
    case $host_os in
8533
 
    rhapsody* | darwin1.[012])
8534
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8535
 
    darwin1.*)
8536
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8537
 
    darwin*) # darwin 5.x on
8538
 
      # if running on 10.5 or later, the deployment target defaults
8539
 
      # to the OS version, if on x86, and 10.4, the deployment
8540
 
      # target defaults to 10.4. Don't you love it?
8541
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8542
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8543
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8544
 
        10.[012]*)
8545
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8546
 
        10.*)
8547
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8548
 
      esac
8549
 
    ;;
8550
 
  esac
8551
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8552
 
      _lt_dar_single_mod='$single_module'
8553
 
    fi
8554
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8555
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8556
 
    else
8557
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8558
 
    fi
8559
 
    if test "$DSYMUTIL" != ":"; then
8560
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8561
 
    else
8562
 
      _lt_dsymutil=
8563
 
    fi
8564
 
    ;;
8565
 
  esac
8566
 
 
8567
 
 
8568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8569
 
$as_echo_n "checking for ANSI C header files... " >&6; }
8570
 
if test "${ac_cv_header_stdc+set}" = set; then :
8571
 
  $as_echo_n "(cached) " >&6
8572
 
else
8573
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574
 
/* end confdefs.h.  */
8575
 
#include <stdlib.h>
8576
 
#include <stdarg.h>
8577
 
#include <string.h>
8578
 
#include <float.h>
8579
 
 
8580
 
int
8581
 
main ()
8582
 
{
8583
 
 
8584
 
  ;
8585
 
  return 0;
8586
 
}
8587
 
_ACEOF
8588
 
if ac_fn_c_try_compile "$LINENO"; then :
8589
 
  ac_cv_header_stdc=yes
8590
 
else
8591
 
  ac_cv_header_stdc=no
8592
 
fi
8593
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8594
 
 
8595
 
if test $ac_cv_header_stdc = yes; then
8596
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8597
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598
 
/* end confdefs.h.  */
8599
 
#include <string.h>
8600
 
 
8601
 
_ACEOF
8602
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8603
 
  $EGREP "memchr" >/dev/null 2>&1; then :
8604
 
 
8605
 
else
8606
 
  ac_cv_header_stdc=no
8607
 
fi
8608
 
rm -f conftest*
8609
 
 
8610
 
fi
8611
 
 
8612
 
if test $ac_cv_header_stdc = yes; then
8613
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8614
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615
 
/* end confdefs.h.  */
8616
 
#include <stdlib.h>
8617
 
 
8618
 
_ACEOF
8619
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8620
 
  $EGREP "free" >/dev/null 2>&1; then :
8621
 
 
8622
 
else
8623
 
  ac_cv_header_stdc=no
8624
 
fi
8625
 
rm -f conftest*
8626
 
 
8627
 
fi
8628
 
 
8629
 
if test $ac_cv_header_stdc = yes; then
8630
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8631
 
  if test "$cross_compiling" = yes; then :
8632
 
  :
8633
 
else
8634
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635
 
/* end confdefs.h.  */
8636
 
#include <ctype.h>
8637
 
#include <stdlib.h>
8638
 
#if ((' ' & 0x0FF) == 0x020)
8639
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8640
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8641
 
#else
8642
 
# define ISLOWER(c) \
8643
 
                   (('a' <= (c) && (c) <= 'i') \
8644
 
                     || ('j' <= (c) && (c) <= 'r') \
8645
 
                     || ('s' <= (c) && (c) <= 'z'))
8646
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8647
 
#endif
8648
 
 
8649
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8650
 
int
8651
 
main ()
8652
 
{
8653
 
  int i;
8654
 
  for (i = 0; i < 256; i++)
8655
 
    if (XOR (islower (i), ISLOWER (i))
8656
 
        || toupper (i) != TOUPPER (i))
8657
 
      return 2;
8658
 
  return 0;
8659
 
}
8660
 
_ACEOF
8661
 
if ac_fn_c_try_run "$LINENO"; then :
8662
 
 
8663
 
else
8664
 
  ac_cv_header_stdc=no
8665
 
fi
8666
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8667
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
8668
 
fi
8669
 
 
8670
 
fi
8671
 
fi
8672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8673
 
$as_echo "$ac_cv_header_stdc" >&6; }
8674
 
if test $ac_cv_header_stdc = yes; then
8675
 
 
8676
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8677
 
 
8678
 
fi
8679
 
 
8680
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8681
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8682
 
                  inttypes.h stdint.h unistd.h
8683
 
do :
8684
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8686
 
"
8687
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8688
 
  cat >>confdefs.h <<_ACEOF
8689
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8690
 
_ACEOF
8691
 
 
8692
 
fi
8693
 
 
8694
 
done
8695
 
 
8696
 
 
8697
 
for ac_header in dlfcn.h
8698
 
do :
8699
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8700
 
"
8701
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8702
 
  cat >>confdefs.h <<_ACEOF
8703
 
#define HAVE_DLFCN_H 1
8704
 
_ACEOF
8705
 
 
8706
 
fi
8707
 
 
8708
 
done
8709
 
 
8710
 
 
8711
 
 
8712
 
# Set options
8713
 
 
8714
 
 
8715
 
 
8716
 
        enable_dlopen=no
8717
 
 
8718
 
 
8719
 
  enable_win32_dll=no
8720
 
 
8721
 
 
8722
 
            # Check whether --enable-shared was given.
8723
 
if test "${enable_shared+set}" = set; then :
8724
 
  enableval=$enable_shared; p=${PACKAGE-default}
8725
 
    case $enableval in
8726
 
    yes) enable_shared=yes ;;
8727
 
    no) enable_shared=no ;;
8728
 
    *)
8729
 
      enable_shared=no
8730
 
      # Look at the argument we got.  We use all the common list separators.
8731
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8732
 
      for pkg in $enableval; do
8733
 
        IFS="$lt_save_ifs"
8734
 
        if test "X$pkg" = "X$p"; then
8735
 
          enable_shared=yes
8736
 
        fi
8737
 
      done
8738
 
      IFS="$lt_save_ifs"
8739
 
      ;;
8740
 
    esac
8741
 
else
8742
 
  enable_shared=yes
8743
 
fi
8744
 
 
8745
 
 
8746
 
 
8747
 
 
8748
 
 
8749
 
 
8750
 
 
8751
 
 
8752
 
 
8753
 
  # Check whether --enable-static was given.
8754
 
if test "${enable_static+set}" = set; then :
8755
 
  enableval=$enable_static; p=${PACKAGE-default}
8756
 
    case $enableval in
8757
 
    yes) enable_static=yes ;;
8758
 
    no) enable_static=no ;;
8759
 
    *)
8760
 
     enable_static=no
8761
 
      # Look at the argument we got.  We use all the common list separators.
8762
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8763
 
      for pkg in $enableval; do
8764
 
        IFS="$lt_save_ifs"
8765
 
        if test "X$pkg" = "X$p"; then
8766
 
          enable_static=yes
8767
 
        fi
8768
 
      done
8769
 
      IFS="$lt_save_ifs"
8770
 
      ;;
8771
 
    esac
8772
 
else
8773
 
  enable_static=yes
8774
 
fi
8775
 
 
8776
 
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
8781
 
 
8782
 
 
8783
 
 
8784
 
 
8785
 
# Check whether --with-pic was given.
8786
 
if test "${with_pic+set}" = set; then :
8787
 
  withval=$with_pic; pic_mode="$withval"
8788
 
else
8789
 
  pic_mode=default
8790
 
fi
8791
 
 
8792
 
 
8793
 
test -z "$pic_mode" && pic_mode=default
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
 
 
8799
 
 
8800
 
 
8801
 
  # Check whether --enable-fast-install was given.
8802
 
if test "${enable_fast_install+set}" = set; then :
8803
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8804
 
    case $enableval in
8805
 
    yes) enable_fast_install=yes ;;
8806
 
    no) enable_fast_install=no ;;
8807
 
    *)
8808
 
      enable_fast_install=no
8809
 
      # Look at the argument we got.  We use all the common list separators.
8810
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8811
 
      for pkg in $enableval; do
8812
 
        IFS="$lt_save_ifs"
8813
 
        if test "X$pkg" = "X$p"; then
8814
 
          enable_fast_install=yes
8815
 
        fi
8816
 
      done
8817
 
      IFS="$lt_save_ifs"
8818
 
      ;;
8819
 
    esac
8820
 
else
8821
 
  enable_fast_install=yes
8822
 
fi
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
 
8828
 
 
8829
 
 
8830
 
 
8831
 
 
8832
 
 
8833
 
 
8834
 
# This can be used to rebuild libtool when needed
8835
 
LIBTOOL_DEPS="$ltmain"
8836
 
 
8837
 
# Always use our own libtool.
8838
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
 
8845
 
 
8846
 
 
8847
 
 
8848
 
 
8849
 
 
8850
 
 
8851
 
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
 
 
8858
 
 
8859
 
 
8860
 
 
8861
 
 
8862
 
 
8863
 
 
8864
 
test -z "$LN_S" && LN_S="ln -s"
8865
 
 
8866
 
 
8867
 
 
8868
 
 
8869
 
 
8870
 
 
8871
 
 
8872
 
 
8873
 
 
8874
 
 
8875
 
 
8876
 
 
8877
 
 
8878
 
 
8879
 
if test -n "${ZSH_VERSION+set}" ; then
8880
 
   setopt NO_GLOB_SUBST
8881
 
fi
8882
 
 
8883
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8884
 
$as_echo_n "checking for objdir... " >&6; }
8885
 
if test "${lt_cv_objdir+set}" = set; then :
8886
 
  $as_echo_n "(cached) " >&6
8887
 
else
8888
 
  rm -f .libs 2>/dev/null
8889
 
mkdir .libs 2>/dev/null
8890
 
if test -d .libs; then
8891
 
  lt_cv_objdir=.libs
8892
 
else
8893
 
  # MS-DOS does not allow filenames that begin with a dot.
8894
 
  lt_cv_objdir=_libs
8895
 
fi
8896
 
rmdir .libs 2>/dev/null
8897
 
fi
8898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8899
 
$as_echo "$lt_cv_objdir" >&6; }
8900
 
objdir=$lt_cv_objdir
8901
 
 
8902
 
 
8903
 
 
8904
 
 
8905
 
 
8906
 
cat >>confdefs.h <<_ACEOF
8907
 
#define LT_OBJDIR "$lt_cv_objdir/"
8908
 
_ACEOF
8909
 
 
8910
 
 
8911
 
 
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
 
 
8919
 
 
8920
 
 
8921
 
 
8922
 
 
8923
 
 
8924
 
 
8925
 
 
8926
 
case $host_os in
8927
 
aix3*)
8928
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8929
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8930
 
  # vanish in a puff of smoke.
8931
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8932
 
    COLLECT_NAMES=
8933
 
    export COLLECT_NAMES
8934
 
  fi
8935
 
  ;;
8936
 
esac
8937
 
 
8938
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8939
 
# metacharacters that are still active within double-quoted strings.
8940
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8941
 
 
8942
 
# Same as above, but do not quote variable references.
8943
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8944
 
 
8945
 
# Sed substitution to delay expansion of an escaped shell variable in a
8946
 
# double_quote_subst'ed string.
8947
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8948
 
 
8949
 
# Sed substitution to delay expansion of an escaped single quote.
8950
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8951
 
 
8952
 
# Sed substitution to avoid accidental globbing in evaled expressions
8953
 
no_glob_subst='s/\*/\\\*/g'
8954
 
 
8955
 
# Global variables:
8956
 
ofile=libtool
8957
 
can_build_shared=yes
8958
 
 
8959
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8960
 
# which needs '.lib').
8961
 
libext=a
8962
 
 
8963
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8964
 
 
8965
 
old_CC="$CC"
8966
 
old_CFLAGS="$CFLAGS"
8967
 
 
8968
 
# Set sane defaults for various variables
8969
 
test -z "$CC" && CC=cc
8970
 
test -z "$LTCC" && LTCC=$CC
8971
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8972
 
test -z "$LD" && LD=ld
8973
 
test -z "$ac_objext" && ac_objext=o
8974
 
 
8975
 
for cc_temp in $compiler""; do
8976
 
  case $cc_temp in
8977
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8978
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8979
 
    \-*) ;;
8980
 
    *) break;;
8981
 
  esac
8982
 
done
8983
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8984
 
 
8985
 
 
8986
 
# Only perform the check for file, if the check method requires it
8987
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8988
 
case $deplibs_check_method in
8989
 
file_magic*)
8990
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8991
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8992
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8993
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8994
 
  $as_echo_n "(cached) " >&6
8995
 
else
8996
 
  case $MAGIC_CMD in
8997
 
[\\/*] |  ?:[\\/]*)
8998
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8999
 
  ;;
9000
 
*)
9001
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9002
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9003
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9004
 
  for ac_dir in $ac_dummy; do
9005
 
    IFS="$lt_save_ifs"
9006
 
    test -z "$ac_dir" && ac_dir=.
9007
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9008
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9009
 
      if test -n "$file_magic_test_file"; then
9010
 
        case $deplibs_check_method in
9011
 
        "file_magic "*)
9012
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9014
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9015
 
            $EGREP "$file_magic_regex" > /dev/null; then
9016
 
            :
9017
 
          else
9018
 
            cat <<_LT_EOF 1>&2
9019
 
 
9020
 
*** Warning: the command libtool uses to detect shared libraries,
9021
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9022
 
*** The result is that libtool may fail to recognize shared libraries
9023
 
*** as such.  This will affect the creation of libtool libraries that
9024
 
*** depend on shared libraries, but programs linked with such libtool
9025
 
*** libraries will work regardless of this problem.  Nevertheless, you
9026
 
*** may want to report the problem to your system manager and/or to
9027
 
*** bug-libtool@gnu.org
9028
 
 
9029
 
_LT_EOF
9030
 
          fi ;;
9031
 
        esac
9032
 
      fi
9033
 
      break
9034
 
    fi
9035
 
  done
9036
 
  IFS="$lt_save_ifs"
9037
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9038
 
  ;;
9039
 
esac
9040
 
fi
9041
 
 
9042
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043
 
if test -n "$MAGIC_CMD"; then
9044
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045
 
$as_echo "$MAGIC_CMD" >&6; }
9046
 
else
9047
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048
 
$as_echo "no" >&6; }
9049
 
fi
9050
 
 
9051
 
 
9052
 
 
9053
 
 
9054
 
 
9055
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9056
 
  if test -n "$ac_tool_prefix"; then
9057
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9058
 
$as_echo_n "checking for file... " >&6; }
9059
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9060
 
  $as_echo_n "(cached) " >&6
9061
 
else
9062
 
  case $MAGIC_CMD in
9063
 
[\\/*] |  ?:[\\/]*)
9064
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9065
 
  ;;
9066
 
*)
9067
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9068
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9069
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9070
 
  for ac_dir in $ac_dummy; do
9071
 
    IFS="$lt_save_ifs"
9072
 
    test -z "$ac_dir" && ac_dir=.
9073
 
    if test -f $ac_dir/file; then
9074
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9075
 
      if test -n "$file_magic_test_file"; then
9076
 
        case $deplibs_check_method in
9077
 
        "file_magic "*)
9078
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9079
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9080
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9081
 
            $EGREP "$file_magic_regex" > /dev/null; then
9082
 
            :
9083
 
          else
9084
 
            cat <<_LT_EOF 1>&2
9085
 
 
9086
 
*** Warning: the command libtool uses to detect shared libraries,
9087
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9088
 
*** The result is that libtool may fail to recognize shared libraries
9089
 
*** as such.  This will affect the creation of libtool libraries that
9090
 
*** depend on shared libraries, but programs linked with such libtool
9091
 
*** libraries will work regardless of this problem.  Nevertheless, you
9092
 
*** may want to report the problem to your system manager and/or to
9093
 
*** bug-libtool@gnu.org
9094
 
 
9095
 
_LT_EOF
9096
 
          fi ;;
9097
 
        esac
9098
 
      fi
9099
 
      break
9100
 
    fi
9101
 
  done
9102
 
  IFS="$lt_save_ifs"
9103
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9104
 
  ;;
9105
 
esac
9106
 
fi
9107
 
 
9108
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9109
 
if test -n "$MAGIC_CMD"; then
9110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9111
 
$as_echo "$MAGIC_CMD" >&6; }
9112
 
else
9113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114
 
$as_echo "no" >&6; }
9115
 
fi
9116
 
 
9117
 
 
9118
 
  else
9119
 
    MAGIC_CMD=:
9120
 
  fi
9121
 
fi
9122
 
 
9123
 
  fi
9124
 
  ;;
9125
 
esac
9126
 
 
9127
 
# Use C for the default configuration in the libtool script
9128
 
 
9129
 
lt_save_CC="$CC"
9130
 
ac_ext=c
9131
 
ac_cpp='$CPP $CPPFLAGS'
9132
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9133
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9134
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9135
 
 
9136
 
 
9137
 
# Source file extension for C test sources.
9138
 
ac_ext=c
9139
 
 
9140
 
# Object file extension for compiled C test sources.
9141
 
objext=o
9142
 
objext=$objext
9143
 
 
9144
 
# Code to be used in simple compile tests
9145
 
lt_simple_compile_test_code="int some_variable = 0;"
9146
 
 
9147
 
# Code to be used in simple link tests
9148
 
lt_simple_link_test_code='int main(){return(0);}'
9149
 
 
9150
 
 
9151
 
 
9152
 
 
9153
 
 
9154
 
 
9155
 
 
9156
 
# If no C compiler was specified, use CC.
9157
 
LTCC=${LTCC-"$CC"}
9158
 
 
9159
 
# If no C compiler flags were specified, use CFLAGS.
9160
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9161
 
 
9162
 
# Allow CC to be a program name with arguments.
9163
 
compiler=$CC
9164
 
 
9165
 
# Save the default compiler, since it gets overwritten when the other
9166
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9167
 
compiler_DEFAULT=$CC
9168
 
 
9169
 
# save warnings/boilerplate of simple test code
9170
 
ac_outfile=conftest.$ac_objext
9171
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9172
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9173
 
_lt_compiler_boilerplate=`cat conftest.err`
9174
 
$RM conftest*
9175
 
 
9176
 
ac_outfile=conftest.$ac_objext
9177
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9178
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9179
 
_lt_linker_boilerplate=`cat conftest.err`
9180
 
$RM -r conftest*
9181
 
 
9182
 
 
9183
 
## CAVEAT EMPTOR:
9184
 
## There is no encapsulation within the following macros, do not change
9185
 
## the running order or otherwise move them around unless you know exactly
9186
 
## what you are doing...
9187
 
if test -n "$compiler"; then
9188
 
 
9189
 
lt_prog_compiler_no_builtin_flag=
9190
 
 
9191
 
if test "$GCC" = yes; then
9192
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9193
 
 
9194
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9195
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9196
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9197
 
  $as_echo_n "(cached) " >&6
9198
 
else
9199
 
  lt_cv_prog_compiler_rtti_exceptions=no
9200
 
   ac_outfile=conftest.$ac_objext
9201
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9202
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9203
 
   # Insert the option either (1) after the last *FLAGS variable, or
9204
 
   # (2) before a word containing "conftest.", or (3) at the end.
9205
 
   # Note that $ac_compile itself does not contain backslashes and begins
9206
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9207
 
   # The option is referenced via a variable to avoid confusing sed.
9208
 
   lt_compile=`echo "$ac_compile" | $SED \
9209
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9210
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9211
 
   -e 's:$: $lt_compiler_flag:'`
9212
 
   (eval echo "\"\$as_me:9212: $lt_compile\"" >&5)
9213
 
   (eval "$lt_compile" 2>conftest.err)
9214
 
   ac_status=$?
9215
 
   cat conftest.err >&5
9216
 
   echo "$as_me:9216: \$? = $ac_status" >&5
9217
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9218
 
     # The compiler can only warn and ignore the option if not recognized
9219
 
     # So say no if there are warnings other than the usual output.
9220
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9221
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9222
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9223
 
       lt_cv_prog_compiler_rtti_exceptions=yes
9224
 
     fi
9225
 
   fi
9226
 
   $RM conftest*
9227
 
 
9228
 
fi
9229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9230
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9231
 
 
9232
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9233
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9234
 
else
9235
 
    :
9236
 
fi
9237
 
 
9238
 
fi
9239
 
 
9240
 
 
9241
 
 
9242
 
 
9243
 
 
9244
 
 
9245
 
  lt_prog_compiler_wl=
9246
 
lt_prog_compiler_pic=
9247
 
lt_prog_compiler_static=
9248
 
 
9249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9250
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9251
 
 
9252
 
  if test "$GCC" = yes; then
9253
 
    lt_prog_compiler_wl='-Wl,'
9254
 
    lt_prog_compiler_static='-static'
9255
 
 
9256
 
    case $host_os in
9257
 
      aix*)
9258
 
      # All AIX code is PIC.
9259
 
      if test "$host_cpu" = ia64; then
9260
 
        # AIX 5 now supports IA64 processor
9261
 
        lt_prog_compiler_static='-Bstatic'
9262
 
      fi
9263
 
      ;;
9264
 
 
9265
 
    amigaos*)
9266
 
      case $host_cpu in
9267
 
      powerpc)
9268
 
            # see comment about AmigaOS4 .so support
9269
 
            lt_prog_compiler_pic='-fPIC'
9270
 
        ;;
9271
 
      m68k)
9272
 
            # FIXME: we need at least 68020 code to build shared libraries, but
9273
 
            # adding the `-m68020' flag to GCC prevents building anything better,
9274
 
            # like `-m68040'.
9275
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9276
 
        ;;
9277
 
      esac
9278
 
      ;;
9279
 
 
9280
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9281
 
      # PIC is the default for these OSes.
9282
 
      ;;
9283
 
 
9284
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9285
 
      # This hack is so that the source file can tell whether it is being
9286
 
      # built for inclusion in a dll (and should export symbols for example).
9287
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9288
 
      # (--disable-auto-import) libraries
9289
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9290
 
      ;;
9291
 
 
9292
 
    darwin* | rhapsody*)
9293
 
      # PIC is the default on this platform
9294
 
      # Common symbols not allowed in MH_DYLIB files
9295
 
      lt_prog_compiler_pic='-fno-common'
9296
 
      ;;
9297
 
 
9298
 
    hpux*)
9299
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9300
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9301
 
      # sets the default TLS model and affects inlining.
9302
 
      case $host_cpu in
9303
 
      hppa*64*)
9304
 
        # +Z the default
9305
 
        ;;
9306
 
      *)
9307
 
        lt_prog_compiler_pic='-fPIC'
9308
 
        ;;
9309
 
      esac
9310
 
      ;;
9311
 
 
9312
 
    interix[3-9]*)
9313
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9314
 
      # Instead, we relocate shared libraries at runtime.
9315
 
      ;;
9316
 
 
9317
 
    msdosdjgpp*)
9318
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9319
 
      # on systems that don't support them.
9320
 
      lt_prog_compiler_can_build_shared=no
9321
 
      enable_shared=no
9322
 
      ;;
9323
 
 
9324
 
    *nto* | *qnx*)
9325
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9326
 
      # it will coredump.
9327
 
      lt_prog_compiler_pic='-fPIC -shared'
9328
 
      ;;
9329
 
 
9330
 
    sysv4*MP*)
9331
 
      if test -d /usr/nec; then
9332
 
        lt_prog_compiler_pic=-Kconform_pic
9333
 
      fi
9334
 
      ;;
9335
 
 
9336
 
    *)
9337
 
      lt_prog_compiler_pic='-fPIC'
9338
 
      ;;
9339
 
    esac
9340
 
  else
9341
 
    # PORTME Check for flag to pass linker flags through the system compiler.
9342
 
    case $host_os in
9343
 
    aix*)
9344
 
      lt_prog_compiler_wl='-Wl,'
9345
 
      if test "$host_cpu" = ia64; then
9346
 
        # AIX 5 now supports IA64 processor
9347
 
        lt_prog_compiler_static='-Bstatic'
9348
 
      else
9349
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9350
 
      fi
9351
 
      ;;
9352
 
 
9353
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9354
 
      # This hack is so that the source file can tell whether it is being
9355
 
      # built for inclusion in a dll (and should export symbols for example).
9356
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9357
 
      ;;
9358
 
 
9359
 
    hpux9* | hpux10* | hpux11*)
9360
 
      lt_prog_compiler_wl='-Wl,'
9361
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9362
 
      # not for PA HP-UX.
9363
 
      case $host_cpu in
9364
 
      hppa*64*|ia64*)
9365
 
        # +Z the default
9366
 
        ;;
9367
 
      *)
9368
 
        lt_prog_compiler_pic='+Z'
9369
 
        ;;
9370
 
      esac
9371
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9372
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9373
 
      ;;
9374
 
 
9375
 
    irix5* | irix6* | nonstopux*)
9376
 
      lt_prog_compiler_wl='-Wl,'
9377
 
      # PIC (with -KPIC) is the default.
9378
 
      lt_prog_compiler_static='-non_shared'
9379
 
      ;;
9380
 
 
9381
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9382
 
      case $cc_basename in
9383
 
      # old Intel for x86_64 which still supported -KPIC.
9384
 
      ecc*)
9385
 
        lt_prog_compiler_wl='-Wl,'
9386
 
        lt_prog_compiler_pic='-KPIC'
9387
 
        lt_prog_compiler_static='-static'
9388
 
        ;;
9389
 
      # icc used to be incompatible with GCC.
9390
 
      # ICC 10 doesn't accept -KPIC any more.
9391
 
      icc* | ifort*)
9392
 
        lt_prog_compiler_wl='-Wl,'
9393
 
        lt_prog_compiler_pic='-fPIC'
9394
 
        lt_prog_compiler_static='-static'
9395
 
        ;;
9396
 
      # Lahey Fortran 8.1.
9397
 
      lf95*)
9398
 
        lt_prog_compiler_wl='-Wl,'
9399
 
        lt_prog_compiler_pic='--shared'
9400
 
        lt_prog_compiler_static='--static'
9401
 
        ;;
9402
 
      pgcc* | pgf77* | pgf90* | pgf95*)
9403
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
9404
 
        # which looks to be a dead project)
9405
 
        lt_prog_compiler_wl='-Wl,'
9406
 
        lt_prog_compiler_pic='-fpic'
9407
 
        lt_prog_compiler_static='-Bstatic'
9408
 
        ;;
9409
 
      ccc*)
9410
 
        lt_prog_compiler_wl='-Wl,'
9411
 
        # All Alpha code is PIC.
9412
 
        lt_prog_compiler_static='-non_shared'
9413
 
        ;;
9414
 
      xl*)
9415
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
9416
 
        lt_prog_compiler_wl='-Wl,'
9417
 
        lt_prog_compiler_pic='-qpic'
9418
 
        lt_prog_compiler_static='-qstaticlink'
9419
 
        ;;
9420
 
      *)
9421
 
        case `$CC -V 2>&1 | sed 5q` in
9422
 
        *Sun\ C*)
9423
 
          # Sun C 5.9
9424
 
          lt_prog_compiler_pic='-KPIC'
9425
 
          lt_prog_compiler_static='-Bstatic'
9426
 
          lt_prog_compiler_wl='-Wl,'
9427
 
          ;;
9428
 
        *Sun\ F*)
9429
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9430
 
          lt_prog_compiler_pic='-KPIC'
9431
 
          lt_prog_compiler_static='-Bstatic'
9432
 
          lt_prog_compiler_wl=''
9433
 
          ;;
9434
 
        esac
9435
 
        ;;
9436
 
      esac
9437
 
      ;;
9438
 
 
9439
 
    newsos6)
9440
 
      lt_prog_compiler_pic='-KPIC'
9441
 
      lt_prog_compiler_static='-Bstatic'
9442
 
      ;;
9443
 
 
9444
 
    *nto* | *qnx*)
9445
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9446
 
      # it will coredump.
9447
 
      lt_prog_compiler_pic='-fPIC -shared'
9448
 
      ;;
9449
 
 
9450
 
    osf3* | osf4* | osf5*)
9451
 
      lt_prog_compiler_wl='-Wl,'
9452
 
      # All OSF/1 code is PIC.
9453
 
      lt_prog_compiler_static='-non_shared'
9454
 
      ;;
9455
 
 
9456
 
    rdos*)
9457
 
      lt_prog_compiler_static='-non_shared'
9458
 
      ;;
9459
 
 
9460
 
    solaris*)
9461
 
      lt_prog_compiler_pic='-KPIC'
9462
 
      lt_prog_compiler_static='-Bstatic'
9463
 
      case $cc_basename in
9464
 
      f77* | f90* | f95*)
9465
 
        lt_prog_compiler_wl='-Qoption ld ';;
9466
 
      *)
9467
 
        lt_prog_compiler_wl='-Wl,';;
9468
 
      esac
9469
 
      ;;
9470
 
 
9471
 
    sunos4*)
9472
 
      lt_prog_compiler_wl='-Qoption ld '
9473
 
      lt_prog_compiler_pic='-PIC'
9474
 
      lt_prog_compiler_static='-Bstatic'
9475
 
      ;;
9476
 
 
9477
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
9478
 
      lt_prog_compiler_wl='-Wl,'
9479
 
      lt_prog_compiler_pic='-KPIC'
9480
 
      lt_prog_compiler_static='-Bstatic'
9481
 
      ;;
9482
 
 
9483
 
    sysv4*MP*)
9484
 
      if test -d /usr/nec ;then
9485
 
        lt_prog_compiler_pic='-Kconform_pic'
9486
 
        lt_prog_compiler_static='-Bstatic'
9487
 
      fi
9488
 
      ;;
9489
 
 
9490
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9491
 
      lt_prog_compiler_wl='-Wl,'
9492
 
      lt_prog_compiler_pic='-KPIC'
9493
 
      lt_prog_compiler_static='-Bstatic'
9494
 
      ;;
9495
 
 
9496
 
    unicos*)
9497
 
      lt_prog_compiler_wl='-Wl,'
9498
 
      lt_prog_compiler_can_build_shared=no
9499
 
      ;;
9500
 
 
9501
 
    uts4*)
9502
 
      lt_prog_compiler_pic='-pic'
9503
 
      lt_prog_compiler_static='-Bstatic'
9504
 
      ;;
9505
 
 
9506
 
    *)
9507
 
      lt_prog_compiler_can_build_shared=no
9508
 
      ;;
9509
 
    esac
9510
 
  fi
9511
 
 
9512
 
case $host_os in
9513
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9514
 
  *djgpp*)
9515
 
    lt_prog_compiler_pic=
9516
 
    ;;
9517
 
  *)
9518
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9519
 
    ;;
9520
 
esac
9521
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9522
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9523
 
 
9524
 
 
9525
 
 
9526
 
 
9527
 
 
9528
 
 
9529
 
#
9530
 
# Check to make sure the PIC flag actually works.
9531
 
#
9532
 
if test -n "$lt_prog_compiler_pic"; then
9533
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9534
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9535
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9536
 
  $as_echo_n "(cached) " >&6
9537
 
else
9538
 
  lt_cv_prog_compiler_pic_works=no
9539
 
   ac_outfile=conftest.$ac_objext
9540
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9541
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9542
 
   # Insert the option either (1) after the last *FLAGS variable, or
9543
 
   # (2) before a word containing "conftest.", or (3) at the end.
9544
 
   # Note that $ac_compile itself does not contain backslashes and begins
9545
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9546
 
   # The option is referenced via a variable to avoid confusing sed.
9547
 
   lt_compile=`echo "$ac_compile" | $SED \
9548
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9549
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9550
 
   -e 's:$: $lt_compiler_flag:'`
9551
 
   (eval echo "\"\$as_me:9551: $lt_compile\"" >&5)
9552
 
   (eval "$lt_compile" 2>conftest.err)
9553
 
   ac_status=$?
9554
 
   cat conftest.err >&5
9555
 
   echo "$as_me:9555: \$? = $ac_status" >&5
9556
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9557
 
     # The compiler can only warn and ignore the option if not recognized
9558
 
     # So say no if there are warnings other than the usual output.
9559
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9560
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9561
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9562
 
       lt_cv_prog_compiler_pic_works=yes
9563
 
     fi
9564
 
   fi
9565
 
   $RM conftest*
9566
 
 
9567
 
fi
9568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9569
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9570
 
 
9571
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9572
 
    case $lt_prog_compiler_pic in
9573
 
     "" | " "*) ;;
9574
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9575
 
     esac
9576
 
else
9577
 
    lt_prog_compiler_pic=
9578
 
     lt_prog_compiler_can_build_shared=no
9579
 
fi
9580
 
 
9581
 
fi
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
#
9589
 
# Check to make sure the static flag actually works.
9590
 
#
9591
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9592
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9593
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9594
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9595
 
  $as_echo_n "(cached) " >&6
9596
 
else
9597
 
  lt_cv_prog_compiler_static_works=no
9598
 
   save_LDFLAGS="$LDFLAGS"
9599
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9600
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9601
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9602
 
     # The linker can only warn and ignore the option if not recognized
9603
 
     # So say no if there are warnings
9604
 
     if test -s conftest.err; then
9605
 
       # Append any errors to the config.log.
9606
 
       cat conftest.err 1>&5
9607
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9608
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9609
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9610
 
         lt_cv_prog_compiler_static_works=yes
9611
 
       fi
9612
 
     else
9613
 
       lt_cv_prog_compiler_static_works=yes
9614
 
     fi
9615
 
   fi
9616
 
   $RM -r conftest*
9617
 
   LDFLAGS="$save_LDFLAGS"
9618
 
 
9619
 
fi
9620
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9621
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9622
 
 
9623
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9624
 
    :
9625
 
else
9626
 
    lt_prog_compiler_static=
9627
 
fi
9628
 
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
 
9634
 
 
9635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9636
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9637
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9638
 
  $as_echo_n "(cached) " >&6
9639
 
else
9640
 
  lt_cv_prog_compiler_c_o=no
9641
 
   $RM -r conftest 2>/dev/null
9642
 
   mkdir conftest
9643
 
   cd conftest
9644
 
   mkdir out
9645
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9646
 
 
9647
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9648
 
   # Insert the option either (1) after the last *FLAGS variable, or
9649
 
   # (2) before a word containing "conftest.", or (3) at the end.
9650
 
   # Note that $ac_compile itself does not contain backslashes and begins
9651
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9652
 
   lt_compile=`echo "$ac_compile" | $SED \
9653
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9654
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9655
 
   -e 's:$: $lt_compiler_flag:'`
9656
 
   (eval echo "\"\$as_me:9656: $lt_compile\"" >&5)
9657
 
   (eval "$lt_compile" 2>out/conftest.err)
9658
 
   ac_status=$?
9659
 
   cat out/conftest.err >&5
9660
 
   echo "$as_me:9660: \$? = $ac_status" >&5
9661
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9662
 
   then
9663
 
     # The compiler can only warn and ignore the option if not recognized
9664
 
     # So say no if there are warnings
9665
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9666
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9667
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9668
 
       lt_cv_prog_compiler_c_o=yes
9669
 
     fi
9670
 
   fi
9671
 
   chmod u+w . 2>&5
9672
 
   $RM conftest*
9673
 
   # SGI C++ compiler will create directory out/ii_files/ for
9674
 
   # template instantiation
9675
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9676
 
   $RM out/* && rmdir out
9677
 
   cd ..
9678
 
   $RM -r conftest
9679
 
   $RM conftest*
9680
 
 
9681
 
fi
9682
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9683
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9691
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9692
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9693
 
  $as_echo_n "(cached) " >&6
9694
 
else
9695
 
  lt_cv_prog_compiler_c_o=no
9696
 
   $RM -r conftest 2>/dev/null
9697
 
   mkdir conftest
9698
 
   cd conftest
9699
 
   mkdir out
9700
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9701
 
 
9702
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9703
 
   # Insert the option either (1) after the last *FLAGS variable, or
9704
 
   # (2) before a word containing "conftest.", or (3) at the end.
9705
 
   # Note that $ac_compile itself does not contain backslashes and begins
9706
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9707
 
   lt_compile=`echo "$ac_compile" | $SED \
9708
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9709
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9710
 
   -e 's:$: $lt_compiler_flag:'`
9711
 
   (eval echo "\"\$as_me:9711: $lt_compile\"" >&5)
9712
 
   (eval "$lt_compile" 2>out/conftest.err)
9713
 
   ac_status=$?
9714
 
   cat out/conftest.err >&5
9715
 
   echo "$as_me:9715: \$? = $ac_status" >&5
9716
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9717
 
   then
9718
 
     # The compiler can only warn and ignore the option if not recognized
9719
 
     # So say no if there are warnings
9720
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9721
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9722
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9723
 
       lt_cv_prog_compiler_c_o=yes
9724
 
     fi
9725
 
   fi
9726
 
   chmod u+w . 2>&5
9727
 
   $RM conftest*
9728
 
   # SGI C++ compiler will create directory out/ii_files/ for
9729
 
   # template instantiation
9730
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9731
 
   $RM out/* && rmdir out
9732
 
   cd ..
9733
 
   $RM -r conftest
9734
 
   $RM conftest*
9735
 
 
9736
 
fi
9737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9738
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9739
 
 
9740
 
 
9741
 
 
9742
 
 
9743
 
hard_links="nottested"
9744
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9745
 
  # do not overwrite the value of need_locks provided by the user
9746
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9747
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9748
 
  hard_links=yes
9749
 
  $RM conftest*
9750
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9751
 
  touch conftest.a
9752
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9753
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9754
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9755
 
$as_echo "$hard_links" >&6; }
9756
 
  if test "$hard_links" = no; then
9757
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9758
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9759
 
    need_locks=warn
9760
 
  fi
9761
 
else
9762
 
  need_locks=no
9763
 
fi
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
 
 
9770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9771
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9772
 
 
9773
 
  runpath_var=
9774
 
  allow_undefined_flag=
9775
 
  always_export_symbols=no
9776
 
  archive_cmds=
9777
 
  archive_expsym_cmds=
9778
 
  compiler_needs_object=no
9779
 
  enable_shared_with_static_runtimes=no
9780
 
  export_dynamic_flag_spec=
9781
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9782
 
  hardcode_automatic=no
9783
 
  hardcode_direct=no
9784
 
  hardcode_direct_absolute=no
9785
 
  hardcode_libdir_flag_spec=
9786
 
  hardcode_libdir_flag_spec_ld=
9787
 
  hardcode_libdir_separator=
9788
 
  hardcode_minus_L=no
9789
 
  hardcode_shlibpath_var=unsupported
9790
 
  inherit_rpath=no
9791
 
  link_all_deplibs=unknown
9792
 
  module_cmds=
9793
 
  module_expsym_cmds=
9794
 
  old_archive_from_new_cmds=
9795
 
  old_archive_from_expsyms_cmds=
9796
 
  thread_safe_flag_spec=
9797
 
  whole_archive_flag_spec=
9798
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9799
 
  # included in the symbol list
9800
 
  include_expsyms=
9801
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9802
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9803
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9804
 
  # as well as any symbol that contains `d'.
9805
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9806
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9807
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9808
 
  # the symbol is explicitly referenced.  Since portable code cannot
9809
 
  # rely on this symbol name, it's probably fine to never include it in
9810
 
  # preloaded symbol tables.
9811
 
  # Exclude shared library initialization/finalization symbols.
9812
 
  extract_expsyms_cmds=
9813
 
 
9814
 
  case $host_os in
9815
 
  cygwin* | mingw* | pw32* | cegcc*)
9816
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9817
 
    # When not using gcc, we currently assume that we are using
9818
 
    # Microsoft Visual C++.
9819
 
    if test "$GCC" != yes; then
9820
 
      with_gnu_ld=no
9821
 
    fi
9822
 
    ;;
9823
 
  interix*)
9824
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9825
 
    with_gnu_ld=yes
9826
 
    ;;
9827
 
  openbsd*)
9828
 
    with_gnu_ld=no
9829
 
    ;;
9830
 
  linux* | k*bsd*-gnu)
9831
 
    link_all_deplibs=no
9832
 
    ;;
9833
 
  esac
9834
 
 
9835
 
  ld_shlibs=yes
9836
 
  if test "$with_gnu_ld" = yes; then
9837
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9838
 
    wlarc='${wl}'
9839
 
 
9840
 
    # Set some defaults for GNU ld with shared library support. These
9841
 
    # are reset later if shared libraries are not supported. Putting them
9842
 
    # here allows them to be overridden if necessary.
9843
 
    runpath_var=LD_RUN_PATH
9844
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9845
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9846
 
    # ancient GNU ld didn't support --whole-archive et. al.
9847
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9848
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9849
 
    else
9850
 
      whole_archive_flag_spec=
9851
 
    fi
9852
 
    supports_anon_versioning=no
9853
 
    case `$LD -v 2>&1` in
9854
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9855
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9856
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9857
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9858
 
      *\ 2.11.*) ;; # other 2.11 versions
9859
 
      *) supports_anon_versioning=yes ;;
9860
 
    esac
9861
 
 
9862
 
    # See if GNU ld supports shared libraries.
9863
 
    case $host_os in
9864
 
    aix[3-9]*)
9865
 
      # On AIX/PPC, the GNU linker is very broken
9866
 
      if test "$host_cpu" != ia64; then
9867
 
        ld_shlibs=no
9868
 
        cat <<_LT_EOF 1>&2
9869
 
 
9870
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9871
 
*** to be unable to reliably create shared libraries on AIX.
9872
 
*** Therefore, libtool is disabling shared libraries support.  If you
9873
 
*** really care for shared libraries, you may want to modify your PATH
9874
 
*** so that a non-GNU linker is found, and then restart.
9875
 
 
9876
 
_LT_EOF
9877
 
      fi
9878
 
      ;;
9879
 
 
9880
 
    amigaos*)
9881
 
      case $host_cpu in
9882
 
      powerpc)
9883
 
            # see comment about AmigaOS4 .so support
9884
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885
 
            archive_expsym_cmds=''
9886
 
        ;;
9887
 
      m68k)
9888
 
            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)'
9889
 
            hardcode_libdir_flag_spec='-L$libdir'
9890
 
            hardcode_minus_L=yes
9891
 
        ;;
9892
 
      esac
9893
 
      ;;
9894
 
 
9895
 
    beos*)
9896
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897
 
        allow_undefined_flag=unsupported
9898
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9899
 
        # support --undefined.  This deserves some investigation.  FIXME
9900
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901
 
      else
9902
 
        ld_shlibs=no
9903
 
      fi
9904
 
      ;;
9905
 
 
9906
 
    cygwin* | mingw* | pw32* | cegcc*)
9907
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9908
 
      # as there is no search path for DLLs.
9909
 
      hardcode_libdir_flag_spec='-L$libdir'
9910
 
      allow_undefined_flag=unsupported
9911
 
      always_export_symbols=no
9912
 
      enable_shared_with_static_runtimes=yes
9913
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9914
 
 
9915
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9916
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9917
 
        # If the export-symbols file already is a .def file (1st line
9918
 
        # is EXPORTS), use it as is; otherwise, prepend...
9919
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9920
 
          cp $export_symbols $output_objdir/$soname.def;
9921
 
        else
9922
 
          echo EXPORTS > $output_objdir/$soname.def;
9923
 
          cat $export_symbols >> $output_objdir/$soname.def;
9924
 
        fi~
9925
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9926
 
      else
9927
 
        ld_shlibs=no
9928
 
      fi
9929
 
      ;;
9930
 
 
9931
 
    interix[3-9]*)
9932
 
      hardcode_direct=no
9933
 
      hardcode_shlibpath_var=no
9934
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9935
 
      export_dynamic_flag_spec='${wl}-E'
9936
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9937
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9938
 
      # default) and relocated if they conflict, which is a slow very memory
9939
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9940
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9941
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9942
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9943
 
      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'
9944
 
      ;;
9945
 
 
9946
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9947
 
      tmp_diet=no
9948
 
      if test "$host_os" = linux-dietlibc; then
9949
 
        case $cc_basename in
9950
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9951
 
        esac
9952
 
      fi
9953
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9954
 
         && test "$tmp_diet" = no
9955
 
      then
9956
 
        tmp_addflag=
9957
 
        tmp_sharedflag='-shared'
9958
 
        case $cc_basename,$host_cpu in
9959
 
        pgcc*)                          # Portland Group C compiler
9960
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9961
 
          tmp_addflag=' $pic_flag'
9962
 
          ;;
9963
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9964
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9965
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9966
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9967
 
          tmp_addflag=' -i_dynamic' ;;
9968
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9969
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9970
 
        ifc* | ifort*)                  # Intel Fortran compiler
9971
 
          tmp_addflag=' -nofor_main' ;;
9972
 
        lf95*)                          # Lahey Fortran 8.1
9973
 
          whole_archive_flag_spec=
9974
 
          tmp_sharedflag='--shared' ;;
9975
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9976
 
          tmp_sharedflag='-qmkshrobj'
9977
 
          tmp_addflag= ;;
9978
 
        esac
9979
 
        case `$CC -V 2>&1 | sed 5q` in
9980
 
        *Sun\ C*)                       # Sun C 5.9
9981
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9982
 
          compiler_needs_object=yes
9983
 
          tmp_sharedflag='-G' ;;
9984
 
        *Sun\ F*)                       # Sun Fortran 8.3
9985
 
          tmp_sharedflag='-G' ;;
9986
 
        esac
9987
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9988
 
 
9989
 
        if test "x$supports_anon_versioning" = xyes; then
9990
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9991
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9992
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9993
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9994
 
        fi
9995
 
 
9996
 
        case $cc_basename in
9997
 
        xlf*)
9998
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9999
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10000
 
          hardcode_libdir_flag_spec=
10001
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10002
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10003
 
          if test "x$supports_anon_versioning" = xyes; then
10004
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10005
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10006
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
10007
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10008
 
          fi
10009
 
          ;;
10010
 
        esac
10011
 
      else
10012
 
        ld_shlibs=no
10013
 
      fi
10014
 
      ;;
10015
 
 
10016
 
    netbsd* | netbsdelf*-gnu)
10017
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10018
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10019
 
        wlarc=
10020
 
      else
10021
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10022
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10023
 
      fi
10024
 
      ;;
10025
 
 
10026
 
    solaris*)
10027
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10028
 
        ld_shlibs=no
10029
 
        cat <<_LT_EOF 1>&2
10030
 
 
10031
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10032
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10033
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10034
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10035
 
*** your PATH or compiler configuration so that the native linker is
10036
 
*** used, and then restart.
10037
 
 
10038
 
_LT_EOF
10039
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10040
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10041
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10042
 
      else
10043
 
        ld_shlibs=no
10044
 
      fi
10045
 
      ;;
10046
 
 
10047
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10048
 
      case `$LD -v 2>&1` in
10049
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10050
 
        ld_shlibs=no
10051
 
        cat <<_LT_EOF 1>&2
10052
 
 
10053
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10054
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
10055
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10056
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10057
 
*** your PATH or compiler configuration so that the native linker is
10058
 
*** used, and then restart.
10059
 
 
10060
 
_LT_EOF
10061
 
        ;;
10062
 
        *)
10063
 
          # For security reasons, it is highly recommended that you always
10064
 
          # use absolute paths for naming shared libraries, and exclude the
10065
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
10066
 
          # requires that you compile everything twice, which is a pain.
10067
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10068
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10070
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10071
 
          else
10072
 
            ld_shlibs=no
10073
 
          fi
10074
 
        ;;
10075
 
      esac
10076
 
      ;;
10077
 
 
10078
 
    sunos4*)
10079
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10080
 
      wlarc=
10081
 
      hardcode_direct=yes
10082
 
      hardcode_shlibpath_var=no
10083
 
      ;;
10084
 
 
10085
 
    *)
10086
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10087
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10088
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10089
 
      else
10090
 
        ld_shlibs=no
10091
 
      fi
10092
 
      ;;
10093
 
    esac
10094
 
 
10095
 
    if test "$ld_shlibs" = no; then
10096
 
      runpath_var=
10097
 
      hardcode_libdir_flag_spec=
10098
 
      export_dynamic_flag_spec=
10099
 
      whole_archive_flag_spec=
10100
 
    fi
10101
 
  else
10102
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10103
 
    case $host_os in
10104
 
    aix3*)
10105
 
      allow_undefined_flag=unsupported
10106
 
      always_export_symbols=yes
10107
 
      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'
10108
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10109
 
      # are no directories specified by -L.
10110
 
      hardcode_minus_L=yes
10111
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10112
 
        # Neither direct hardcoding nor static linking is supported with a
10113
 
        # broken collect2.
10114
 
        hardcode_direct=unsupported
10115
 
      fi
10116
 
      ;;
10117
 
 
10118
 
    aix[4-9]*)
10119
 
      if test "$host_cpu" = ia64; then
10120
 
        # On IA64, the linker does run time linking by default, so we don't
10121
 
        # have to do anything special.
10122
 
        aix_use_runtimelinking=no
10123
 
        exp_sym_flag='-Bexport'
10124
 
        no_entry_flag=""
10125
 
      else
10126
 
        # If we're using GNU nm, then we don't want the "-C" option.
10127
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10128
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10129
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10130
 
        else
10131
 
          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'
10132
 
        fi
10133
 
        aix_use_runtimelinking=no
10134
 
 
10135
 
        # Test if we are trying to use run time linking or normal
10136
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10137
 
        # need to do runtime linking.
10138
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10139
 
          for ld_flag in $LDFLAGS; do
10140
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10141
 
            aix_use_runtimelinking=yes
10142
 
            break
10143
 
          fi
10144
 
          done
10145
 
          ;;
10146
 
        esac
10147
 
 
10148
 
        exp_sym_flag='-bexport'
10149
 
        no_entry_flag='-bnoentry'
10150
 
      fi
10151
 
 
10152
 
      # When large executables or shared objects are built, AIX ld can
10153
 
      # have problems creating the table of contents.  If linking a library
10154
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10155
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10156
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10157
 
 
10158
 
      archive_cmds=''
10159
 
      hardcode_direct=yes
10160
 
      hardcode_direct_absolute=yes
10161
 
      hardcode_libdir_separator=':'
10162
 
      link_all_deplibs=yes
10163
 
      file_list_spec='${wl}-f,'
10164
 
 
10165
 
      if test "$GCC" = yes; then
10166
 
        case $host_os in aix4.[012]|aix4.[012].*)
10167
 
        # We only want to do this on AIX 4.2 and lower, the check
10168
 
        # below for broken collect2 doesn't work under 4.3+
10169
 
          collect2name=`${CC} -print-prog-name=collect2`
10170
 
          if test -f "$collect2name" &&
10171
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10172
 
          then
10173
 
          # We have reworked collect2
10174
 
          :
10175
 
          else
10176
 
          # We have old collect2
10177
 
          hardcode_direct=unsupported
10178
 
          # It fails to find uninstalled libraries when the uninstalled
10179
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10180
 
          # to unsupported forces relinking
10181
 
          hardcode_minus_L=yes
10182
 
          hardcode_libdir_flag_spec='-L$libdir'
10183
 
          hardcode_libdir_separator=
10184
 
          fi
10185
 
          ;;
10186
 
        esac
10187
 
        shared_flag='-shared'
10188
 
        if test "$aix_use_runtimelinking" = yes; then
10189
 
          shared_flag="$shared_flag "'${wl}-G'
10190
 
        fi
10191
 
        link_all_deplibs=no
10192
 
      else
10193
 
        # not using gcc
10194
 
        if test "$host_cpu" = ia64; then
10195
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10196
 
        # chokes on -Wl,-G. The following line is correct:
10197
 
          shared_flag='-G'
10198
 
        else
10199
 
          if test "$aix_use_runtimelinking" = yes; then
10200
 
            shared_flag='${wl}-G'
10201
 
          else
10202
 
            shared_flag='${wl}-bM:SRE'
10203
 
          fi
10204
 
        fi
10205
 
      fi
10206
 
 
10207
 
      export_dynamic_flag_spec='${wl}-bexpall'
10208
 
      # It seems that -bexpall does not export symbols beginning with
10209
 
      # underscore (_), so it is better to generate a list of symbols to export.
10210
 
      always_export_symbols=yes
10211
 
      if test "$aix_use_runtimelinking" = yes; then
10212
 
        # Warning - without using the other runtime loading flags (-brtl),
10213
 
        # -berok will link without error, but may produce a broken library.
10214
 
        allow_undefined_flag='-berok'
10215
 
        # Determine the default libpath from the value encoded in an
10216
 
        # empty executable.
10217
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218
 
/* end confdefs.h.  */
10219
 
 
10220
 
int
10221
 
main ()
10222
 
{
10223
 
 
10224
 
  ;
10225
 
  return 0;
10226
 
}
10227
 
_ACEOF
10228
 
if ac_fn_c_try_link "$LINENO"; then :
10229
 
 
10230
 
lt_aix_libpath_sed='
10231
 
    /Import File Strings/,/^$/ {
10232
 
        /^0/ {
10233
 
            s/^0  *\(.*\)$/\1/
10234
 
            p
10235
 
        }
10236
 
    }'
10237
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238
 
# Check for a 64-bit object if we didn't find anything.
10239
 
if test -z "$aix_libpath"; then
10240
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10241
 
fi
10242
 
fi
10243
 
rm -f core conftest.err conftest.$ac_objext \
10244
 
    conftest$ac_exeext conftest.$ac_ext
10245
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10246
 
 
10247
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10248
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10249
 
      else
10250
 
        if test "$host_cpu" = ia64; then
10251
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10252
 
          allow_undefined_flag="-z nodefs"
10253
 
          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"
10254
 
        else
10255
 
         # Determine the default libpath from the value encoded in an
10256
 
         # empty executable.
10257
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258
 
/* end confdefs.h.  */
10259
 
 
10260
 
int
10261
 
main ()
10262
 
{
10263
 
 
10264
 
  ;
10265
 
  return 0;
10266
 
}
10267
 
_ACEOF
10268
 
if ac_fn_c_try_link "$LINENO"; then :
10269
 
 
10270
 
lt_aix_libpath_sed='
10271
 
    /Import File Strings/,/^$/ {
10272
 
        /^0/ {
10273
 
            s/^0  *\(.*\)$/\1/
10274
 
            p
10275
 
        }
10276
 
    }'
10277
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10278
 
# Check for a 64-bit object if we didn't find anything.
10279
 
if test -z "$aix_libpath"; then
10280
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10281
 
fi
10282
 
fi
10283
 
rm -f core conftest.err conftest.$ac_objext \
10284
 
    conftest$ac_exeext conftest.$ac_ext
10285
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10286
 
 
10287
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10288
 
          # Warning - without using the other run time loading flags,
10289
 
          # -berok will link without error, but may produce a broken library.
10290
 
          no_undefined_flag=' ${wl}-bernotok'
10291
 
          allow_undefined_flag=' ${wl}-berok'
10292
 
          # Exported symbols can be pulled into shared objects from archives
10293
 
          whole_archive_flag_spec='$convenience'
10294
 
          archive_cmds_need_lc=yes
10295
 
          # This is similar to how AIX traditionally builds its shared libraries.
10296
 
          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'
10297
 
        fi
10298
 
      fi
10299
 
      ;;
10300
 
 
10301
 
    amigaos*)
10302
 
      case $host_cpu in
10303
 
      powerpc)
10304
 
            # see comment about AmigaOS4 .so support
10305
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306
 
            archive_expsym_cmds=''
10307
 
        ;;
10308
 
      m68k)
10309
 
            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)'
10310
 
            hardcode_libdir_flag_spec='-L$libdir'
10311
 
            hardcode_minus_L=yes
10312
 
        ;;
10313
 
      esac
10314
 
      ;;
10315
 
 
10316
 
    bsdi[45]*)
10317
 
      export_dynamic_flag_spec=-rdynamic
10318
 
      ;;
10319
 
 
10320
 
    cygwin* | mingw* | pw32* | cegcc*)
10321
 
      # When not using gcc, we currently assume that we are using
10322
 
      # Microsoft Visual C++.
10323
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10324
 
      # no search path for DLLs.
10325
 
      hardcode_libdir_flag_spec=' '
10326
 
      allow_undefined_flag=unsupported
10327
 
      # Tell ltmain to make .lib files, not .a files.
10328
 
      libext=lib
10329
 
      # Tell ltmain to make .dll files, not .so files.
10330
 
      shrext_cmds=".dll"
10331
 
      # FIXME: Setting linknames here is a bad hack.
10332
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10333
 
      # The linker will automatically build a .lib file if we build a DLL.
10334
 
      old_archive_from_new_cmds='true'
10335
 
      # FIXME: Should let the user specify the lib program.
10336
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10338
 
      enable_shared_with_static_runtimes=yes
10339
 
      ;;
10340
 
 
10341
 
    darwin* | rhapsody*)
10342
 
 
10343
 
 
10344
 
  archive_cmds_need_lc=no
10345
 
  hardcode_direct=no
10346
 
  hardcode_automatic=yes
10347
 
  hardcode_shlibpath_var=unsupported
10348
 
  whole_archive_flag_spec=''
10349
 
  link_all_deplibs=yes
10350
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
10351
 
  case $cc_basename in
10352
 
     ifort*) _lt_dar_can_shared=yes ;;
10353
 
     *) _lt_dar_can_shared=$GCC ;;
10354
 
  esac
10355
 
  if test "$_lt_dar_can_shared" = "yes"; then
10356
 
    output_verbose_link_cmd=echo
10357
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10358
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10359
 
    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}"
10360
 
    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}"
10361
 
 
10362
 
  else
10363
 
  ld_shlibs=no
10364
 
  fi
10365
 
 
10366
 
      ;;
10367
 
 
10368
 
    dgux*)
10369
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10370
 
      hardcode_libdir_flag_spec='-L$libdir'
10371
 
      hardcode_shlibpath_var=no
10372
 
      ;;
10373
 
 
10374
 
    freebsd1*)
10375
 
      ld_shlibs=no
10376
 
      ;;
10377
 
 
10378
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10380
 
    # does not break anything, and helps significantly (at the cost of a little
10381
 
    # extra space).
10382
 
    freebsd2.2*)
10383
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384
 
      hardcode_libdir_flag_spec='-R$libdir'
10385
 
      hardcode_direct=yes
10386
 
      hardcode_shlibpath_var=no
10387
 
      ;;
10388
 
 
10389
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10390
 
    freebsd2*)
10391
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392
 
      hardcode_direct=yes
10393
 
      hardcode_minus_L=yes
10394
 
      hardcode_shlibpath_var=no
10395
 
      ;;
10396
 
 
10397
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398
 
    freebsd* | dragonfly*)
10399
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10400
 
      hardcode_libdir_flag_spec='-R$libdir'
10401
 
      hardcode_direct=yes
10402
 
      hardcode_shlibpath_var=no
10403
 
      ;;
10404
 
 
10405
 
    hpux9*)
10406
 
      if test "$GCC" = yes; then
10407
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10408
 
      else
10409
 
        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'
10410
 
      fi
10411
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412
 
      hardcode_libdir_separator=:
10413
 
      hardcode_direct=yes
10414
 
 
10415
 
      # hardcode_minus_L: Not really in the search PATH,
10416
 
      # but as the default location of the library.
10417
 
      hardcode_minus_L=yes
10418
 
      export_dynamic_flag_spec='${wl}-E'
10419
 
      ;;
10420
 
 
10421
 
    hpux10*)
10422
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10423
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10424
 
      else
10425
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10426
 
      fi
10427
 
      if test "$with_gnu_ld" = no; then
10428
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10430
 
        hardcode_libdir_separator=:
10431
 
        hardcode_direct=yes
10432
 
        hardcode_direct_absolute=yes
10433
 
        export_dynamic_flag_spec='${wl}-E'
10434
 
        # hardcode_minus_L: Not really in the search PATH,
10435
 
        # but as the default location of the library.
10436
 
        hardcode_minus_L=yes
10437
 
      fi
10438
 
      ;;
10439
 
 
10440
 
    hpux11*)
10441
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10442
 
        case $host_cpu in
10443
 
        hppa*64*)
10444
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10445
 
          ;;
10446
 
        ia64*)
10447
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10448
 
          ;;
10449
 
        *)
10450
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10451
 
          ;;
10452
 
        esac
10453
 
      else
10454
 
        case $host_cpu in
10455
 
        hppa*64*)
10456
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10457
 
          ;;
10458
 
        ia64*)
10459
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10460
 
          ;;
10461
 
        *)
10462
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10463
 
          ;;
10464
 
        esac
10465
 
      fi
10466
 
      if test "$with_gnu_ld" = no; then
10467
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10468
 
        hardcode_libdir_separator=:
10469
 
 
10470
 
        case $host_cpu in
10471
 
        hppa*64*|ia64*)
10472
 
          hardcode_direct=no
10473
 
          hardcode_shlibpath_var=no
10474
 
          ;;
10475
 
        *)
10476
 
          hardcode_direct=yes
10477
 
          hardcode_direct_absolute=yes
10478
 
          export_dynamic_flag_spec='${wl}-E'
10479
 
 
10480
 
          # hardcode_minus_L: Not really in the search PATH,
10481
 
          # but as the default location of the library.
10482
 
          hardcode_minus_L=yes
10483
 
          ;;
10484
 
        esac
10485
 
      fi
10486
 
      ;;
10487
 
 
10488
 
    irix5* | irix6* | nonstopux*)
10489
 
      if test "$GCC" = yes; then
10490
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10491
 
        # Try to use the -exported_symbol ld option, if it does not
10492
 
        # work, assume that -exports_file does not work either and
10493
 
        # implicitly export all symbols.
10494
 
        save_LDFLAGS="$LDFLAGS"
10495
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10496
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10497
 
/* end confdefs.h.  */
10498
 
int foo(void) {}
10499
 
_ACEOF
10500
 
if ac_fn_c_try_link "$LINENO"; then :
10501
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10502
 
 
10503
 
fi
10504
 
rm -f core conftest.err conftest.$ac_objext \
10505
 
    conftest$ac_exeext conftest.$ac_ext
10506
 
        LDFLAGS="$save_LDFLAGS"
10507
 
      else
10508
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10509
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10510
 
      fi
10511
 
      archive_cmds_need_lc='no'
10512
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10513
 
      hardcode_libdir_separator=:
10514
 
      inherit_rpath=yes
10515
 
      link_all_deplibs=yes
10516
 
      ;;
10517
 
 
10518
 
    netbsd* | netbsdelf*-gnu)
10519
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10520
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10521
 
      else
10522
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10523
 
      fi
10524
 
      hardcode_libdir_flag_spec='-R$libdir'
10525
 
      hardcode_direct=yes
10526
 
      hardcode_shlibpath_var=no
10527
 
      ;;
10528
 
 
10529
 
    newsos6)
10530
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10531
 
      hardcode_direct=yes
10532
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10533
 
      hardcode_libdir_separator=:
10534
 
      hardcode_shlibpath_var=no
10535
 
      ;;
10536
 
 
10537
 
    *nto* | *qnx*)
10538
 
      ;;
10539
 
 
10540
 
    openbsd*)
10541
 
      if test -f /usr/libexec/ld.so; then
10542
 
        hardcode_direct=yes
10543
 
        hardcode_shlibpath_var=no
10544
 
        hardcode_direct_absolute=yes
10545
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10546
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10547
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10548
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10549
 
          export_dynamic_flag_spec='${wl}-E'
10550
 
        else
10551
 
          case $host_os in
10552
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10553
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10554
 
             hardcode_libdir_flag_spec='-R$libdir'
10555
 
             ;;
10556
 
           *)
10557
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10558
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10559
 
             ;;
10560
 
          esac
10561
 
        fi
10562
 
      else
10563
 
        ld_shlibs=no
10564
 
      fi
10565
 
      ;;
10566
 
 
10567
 
    os2*)
10568
 
      hardcode_libdir_flag_spec='-L$libdir'
10569
 
      hardcode_minus_L=yes
10570
 
      allow_undefined_flag=unsupported
10571
 
      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'
10572
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10573
 
      ;;
10574
 
 
10575
 
    osf3*)
10576
 
      if test "$GCC" = yes; then
10577
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10578
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10579
 
      else
10580
 
        allow_undefined_flag=' -expect_unresolved \*'
10581
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10582
 
      fi
10583
 
      archive_cmds_need_lc='no'
10584
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10585
 
      hardcode_libdir_separator=:
10586
 
      ;;
10587
 
 
10588
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10589
 
      if test "$GCC" = yes; then
10590
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10591
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10592
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10593
 
      else
10594
 
        allow_undefined_flag=' -expect_unresolved \*'
10595
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10596
 
        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~
10597
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10598
 
 
10599
 
        # Both c and cxx compiler support -rpath directly
10600
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10601
 
      fi
10602
 
      archive_cmds_need_lc='no'
10603
 
      hardcode_libdir_separator=:
10604
 
      ;;
10605
 
 
10606
 
    solaris*)
10607
 
      no_undefined_flag=' -z defs'
10608
 
      if test "$GCC" = yes; then
10609
 
        wlarc='${wl}'
10610
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10611
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10612
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10613
 
      else
10614
 
        case `$CC -V 2>&1` in
10615
 
        *"Compilers 5.0"*)
10616
 
          wlarc=''
10617
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10618
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10619
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10620
 
          ;;
10621
 
        *)
10622
 
          wlarc='${wl}'
10623
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10624
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10625
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10626
 
          ;;
10627
 
        esac
10628
 
      fi
10629
 
      hardcode_libdir_flag_spec='-R$libdir'
10630
 
      hardcode_shlibpath_var=no
10631
 
      case $host_os in
10632
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10633
 
      *)
10634
 
        # The compiler driver will combine and reorder linker options,
10635
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10636
 
        # but is careful enough not to reorder.
10637
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10638
 
        if test "$GCC" = yes; then
10639
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10640
 
        else
10641
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10642
 
        fi
10643
 
        ;;
10644
 
      esac
10645
 
      link_all_deplibs=yes
10646
 
      ;;
10647
 
 
10648
 
    sunos4*)
10649
 
      if test "x$host_vendor" = xsequent; then
10650
 
        # Use $CC to link under sequent, because it throws in some extra .o
10651
 
        # files that make .init and .fini sections work.
10652
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10653
 
      else
10654
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10655
 
      fi
10656
 
      hardcode_libdir_flag_spec='-L$libdir'
10657
 
      hardcode_direct=yes
10658
 
      hardcode_minus_L=yes
10659
 
      hardcode_shlibpath_var=no
10660
 
      ;;
10661
 
 
10662
 
    sysv4)
10663
 
      case $host_vendor in
10664
 
        sni)
10665
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10666
 
          hardcode_direct=yes # is this really true???
10667
 
        ;;
10668
 
        siemens)
10669
 
          ## LD is ld it makes a PLAMLIB
10670
 
          ## CC just makes a GrossModule.
10671
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10672
 
          reload_cmds='$CC -r -o $output$reload_objs'
10673
 
          hardcode_direct=no
10674
 
        ;;
10675
 
        motorola)
10676
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10677
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10678
 
        ;;
10679
 
      esac
10680
 
      runpath_var='LD_RUN_PATH'
10681
 
      hardcode_shlibpath_var=no
10682
 
      ;;
10683
 
 
10684
 
    sysv4.3*)
10685
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686
 
      hardcode_shlibpath_var=no
10687
 
      export_dynamic_flag_spec='-Bexport'
10688
 
      ;;
10689
 
 
10690
 
    sysv4*MP*)
10691
 
      if test -d /usr/nec; then
10692
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10693
 
        hardcode_shlibpath_var=no
10694
 
        runpath_var=LD_RUN_PATH
10695
 
        hardcode_runpath_var=yes
10696
 
        ld_shlibs=yes
10697
 
      fi
10698
 
      ;;
10699
 
 
10700
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10701
 
      no_undefined_flag='${wl}-z,text'
10702
 
      archive_cmds_need_lc=no
10703
 
      hardcode_shlibpath_var=no
10704
 
      runpath_var='LD_RUN_PATH'
10705
 
 
10706
 
      if test "$GCC" = yes; then
10707
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10708
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10709
 
      else
10710
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10711
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10712
 
      fi
10713
 
      ;;
10714
 
 
10715
 
    sysv5* | sco3.2v5* | sco5v6*)
10716
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10717
 
      # link with -lc, and that would cause any symbols used from libc to
10718
 
      # always be unresolved, which means just about no library would
10719
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10720
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10721
 
      # as -z defs.
10722
 
      no_undefined_flag='${wl}-z,text'
10723
 
      allow_undefined_flag='${wl}-z,nodefs'
10724
 
      archive_cmds_need_lc=no
10725
 
      hardcode_shlibpath_var=no
10726
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10727
 
      hardcode_libdir_separator=':'
10728
 
      link_all_deplibs=yes
10729
 
      export_dynamic_flag_spec='${wl}-Bexport'
10730
 
      runpath_var='LD_RUN_PATH'
10731
 
 
10732
 
      if test "$GCC" = yes; then
10733
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10734
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10735
 
      else
10736
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10737
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10738
 
      fi
10739
 
      ;;
10740
 
 
10741
 
    uts4*)
10742
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743
 
      hardcode_libdir_flag_spec='-L$libdir'
10744
 
      hardcode_shlibpath_var=no
10745
 
      ;;
10746
 
 
10747
 
    *)
10748
 
      ld_shlibs=no
10749
 
      ;;
10750
 
    esac
10751
 
 
10752
 
    if test x$host_vendor = xsni; then
10753
 
      case $host in
10754
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10755
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10756
 
        ;;
10757
 
      esac
10758
 
    fi
10759
 
  fi
10760
 
 
10761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10762
 
$as_echo "$ld_shlibs" >&6; }
10763
 
test "$ld_shlibs" = no && can_build_shared=no
10764
 
 
10765
 
with_gnu_ld=$with_gnu_ld
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
 
 
10777
 
 
10778
 
 
10779
 
 
10780
 
 
10781
 
#
10782
 
# Do we need to explicitly link libc?
10783
 
#
10784
 
case "x$archive_cmds_need_lc" in
10785
 
x|xyes)
10786
 
  # Assume -lc should be added
10787
 
  archive_cmds_need_lc=yes
10788
 
 
10789
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10790
 
    case $archive_cmds in
10791
 
    *'~'*)
10792
 
      # FIXME: we may have to deal with multi-command sequences.
10793
 
      ;;
10794
 
    '$CC '*)
10795
 
      # Test whether the compiler implicitly links with -lc since on some
10796
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10797
 
      # to ld, don't add -lc before -lgcc.
10798
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10799
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10800
 
      $RM conftest*
10801
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10802
 
 
10803
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10804
 
  (eval $ac_compile) 2>&5
10805
 
  ac_status=$?
10806
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10807
 
  test $ac_status = 0; } 2>conftest.err; then
10808
 
        soname=conftest
10809
 
        lib=conftest
10810
 
        libobjs=conftest.$ac_objext
10811
 
        deplibs=
10812
 
        wl=$lt_prog_compiler_wl
10813
 
        pic_flag=$lt_prog_compiler_pic
10814
 
        compiler_flags=-v
10815
 
        linker_flags=-v
10816
 
        verstring=
10817
 
        output_objdir=.
10818
 
        libname=conftest
10819
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10820
 
        allow_undefined_flag=
10821
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10822
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10823
 
  ac_status=$?
10824
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10825
 
  test $ac_status = 0; }
10826
 
        then
10827
 
          archive_cmds_need_lc=no
10828
 
        else
10829
 
          archive_cmds_need_lc=yes
10830
 
        fi
10831
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10832
 
      else
10833
 
        cat conftest.err 1>&5
10834
 
      fi
10835
 
      $RM conftest*
10836
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10837
 
$as_echo "$archive_cmds_need_lc" >&6; }
10838
 
      ;;
10839
 
    esac
10840
 
  fi
10841
 
  ;;
10842
 
esac
10843
 
 
10844
 
 
10845
 
 
10846
 
 
10847
 
 
10848
 
 
10849
 
 
10850
 
 
10851
 
 
10852
 
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
 
10859
 
 
10860
 
 
10861
 
 
10862
 
 
10863
 
 
10864
 
 
10865
 
 
10866
 
 
10867
 
 
10868
 
 
10869
 
 
10870
 
 
10871
 
 
10872
 
 
10873
 
 
10874
 
 
10875
 
 
10876
 
 
10877
 
 
10878
 
 
10879
 
 
10880
 
 
10881
 
 
10882
 
 
10883
 
 
10884
 
 
10885
 
 
10886
 
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
 
 
10892
 
 
10893
 
 
10894
 
 
10895
 
 
10896
 
 
10897
 
 
10898
 
 
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
 
 
10904
 
 
10905
 
 
10906
 
 
10907
 
 
10908
 
 
10909
 
 
10910
 
 
10911
 
 
10912
 
 
10913
 
 
10914
 
 
10915
 
 
10916
 
 
10917
 
 
10918
 
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11001
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11002
 
 
11003
 
if test "$GCC" = yes; then
11004
 
  case $host_os in
11005
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11006
 
    *) lt_awk_arg="/^libraries:/" ;;
11007
 
  esac
11008
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11009
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11010
 
    # if the path contains ";" then we assume it to be the separator
11011
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11012
 
    # assumed that no part of a normal pathname contains ";" but that should
11013
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11014
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11015
 
  else
11016
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11017
 
  fi
11018
 
  # Ok, now we have the path, separated by spaces, we can step through it
11019
 
  # and add multilib dir if necessary.
11020
 
  lt_tmp_lt_search_path_spec=
11021
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11022
 
  for lt_sys_path in $lt_search_path_spec; do
11023
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11024
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11025
 
    else
11026
 
      test -d "$lt_sys_path" && \
11027
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11028
 
    fi
11029
 
  done
11030
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11031
 
BEGIN {RS=" "; FS="/|\n";} {
11032
 
  lt_foo="";
11033
 
  lt_count=0;
11034
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
11035
 
    if ($lt_i != "" && $lt_i != ".") {
11036
 
      if ($lt_i == "..") {
11037
 
        lt_count++;
11038
 
      } else {
11039
 
        if (lt_count == 0) {
11040
 
          lt_foo="/" $lt_i lt_foo;
11041
 
        } else {
11042
 
          lt_count--;
11043
 
        }
11044
 
      }
11045
 
    }
11046
 
  }
11047
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11048
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11049
 
}'`
11050
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11051
 
else
11052
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11053
 
fi
11054
 
library_names_spec=
11055
 
libname_spec='lib$name'
11056
 
soname_spec=
11057
 
shrext_cmds=".so"
11058
 
postinstall_cmds=
11059
 
postuninstall_cmds=
11060
 
finish_cmds=
11061
 
finish_eval=
11062
 
shlibpath_var=
11063
 
shlibpath_overrides_runpath=unknown
11064
 
version_type=none
11065
 
dynamic_linker="$host_os ld.so"
11066
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11067
 
need_lib_prefix=unknown
11068
 
hardcode_into_libs=no
11069
 
 
11070
 
# when you set need_version to no, make sure it does not cause -set_version
11071
 
# flags to be left without arguments
11072
 
need_version=unknown
11073
 
 
11074
 
case $host_os in
11075
 
aix3*)
11076
 
  version_type=linux
11077
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11078
 
  shlibpath_var=LIBPATH
11079
 
 
11080
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11081
 
  soname_spec='${libname}${release}${shared_ext}$major'
11082
 
  ;;
11083
 
 
11084
 
aix[4-9]*)
11085
 
  version_type=linux
11086
 
  need_lib_prefix=no
11087
 
  need_version=no
11088
 
  hardcode_into_libs=yes
11089
 
  if test "$host_cpu" = ia64; then
11090
 
    # AIX 5 supports IA64
11091
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11092
 
    shlibpath_var=LD_LIBRARY_PATH
11093
 
  else
11094
 
    # With GCC up to 2.95.x, collect2 would create an import file
11095
 
    # for dependence libraries.  The import file would start with
11096
 
    # the line `#! .'.  This would cause the generated library to
11097
 
    # depend on `.', always an invalid library.  This was fixed in
11098
 
    # development snapshots of GCC prior to 3.0.
11099
 
    case $host_os in
11100
 
      aix4 | aix4.[01] | aix4.[01].*)
11101
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11102
 
           echo ' yes '
11103
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11104
 
        :
11105
 
      else
11106
 
        can_build_shared=no
11107
 
      fi
11108
 
      ;;
11109
 
    esac
11110
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11111
 
    # soname into executable. Probably we can add versioning support to
11112
 
    # collect2, so additional links can be useful in future.
11113
 
    if test "$aix_use_runtimelinking" = yes; then
11114
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11115
 
      # instead of lib<name>.a to let people know that these are not
11116
 
      # typical AIX shared libraries.
11117
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118
 
    else
11119
 
      # We preserve .a as extension for shared libraries through AIX4.2
11120
 
      # and later when we are not doing run time linking.
11121
 
      library_names_spec='${libname}${release}.a $libname.a'
11122
 
      soname_spec='${libname}${release}${shared_ext}$major'
11123
 
    fi
11124
 
    shlibpath_var=LIBPATH
11125
 
  fi
11126
 
  ;;
11127
 
 
11128
 
amigaos*)
11129
 
  case $host_cpu in
11130
 
  powerpc)
11131
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11132
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11133
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134
 
    ;;
11135
 
  m68k)
11136
 
    library_names_spec='$libname.ixlibrary $libname.a'
11137
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11138
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11139
 
    ;;
11140
 
  esac
11141
 
  ;;
11142
 
 
11143
 
beos*)
11144
 
  library_names_spec='${libname}${shared_ext}'
11145
 
  dynamic_linker="$host_os ld.so"
11146
 
  shlibpath_var=LIBRARY_PATH
11147
 
  ;;
11148
 
 
11149
 
bsdi[45]*)
11150
 
  version_type=linux
11151
 
  need_version=no
11152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153
 
  soname_spec='${libname}${release}${shared_ext}$major'
11154
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11155
 
  shlibpath_var=LD_LIBRARY_PATH
11156
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11157
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11158
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11159
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11160
 
  # libtool to hard-code these into programs
11161
 
  ;;
11162
 
 
11163
 
cygwin* | mingw* | pw32* | cegcc*)
11164
 
  version_type=windows
11165
 
  shrext_cmds=".dll"
11166
 
  need_version=no
11167
 
  need_lib_prefix=no
11168
 
 
11169
 
  case $GCC,$host_os in
11170
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11171
 
    library_names_spec='$libname.dll.a'
11172
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11173
 
    postinstall_cmds='base_file=`basename \${file}`~
11174
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11175
 
      dldir=$destdir/`dirname \$dlpath`~
11176
 
      test -d \$dldir || mkdir -p \$dldir~
11177
 
      $install_prog $dir/$dlname \$dldir/$dlname~
11178
 
      chmod a+x \$dldir/$dlname~
11179
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11180
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11181
 
      fi'
11182
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11183
 
      dlpath=$dir/\$dldll~
11184
 
       $RM \$dlpath'
11185
 
    shlibpath_overrides_runpath=yes
11186
 
 
11187
 
    case $host_os in
11188
 
    cygwin*)
11189
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11190
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11191
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11192
 
      ;;
11193
 
    mingw* | cegcc*)
11194
 
      # MinGW DLLs use traditional 'lib' prefix
11195
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11196
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11197
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11198
 
        # It is most probably a Windows format PATH printed by
11199
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11200
 
        # path with ; separators, and with drive letters. We can handle the
11201
 
        # drive letters (cygwin fileutils understands them), so leave them,
11202
 
        # especially as we might pass files found there to a mingw objdump,
11203
 
        # which wouldn't understand a cygwinified path. Ahh.
11204
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11205
 
      else
11206
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11207
 
      fi
11208
 
      ;;
11209
 
    pw32*)
11210
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11211
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11212
 
      ;;
11213
 
    esac
11214
 
    ;;
11215
 
 
11216
 
  *)
11217
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11218
 
    ;;
11219
 
  esac
11220
 
  dynamic_linker='Win32 ld.exe'
11221
 
  # FIXME: first we should search . and the directory the executable is in
11222
 
  shlibpath_var=PATH
11223
 
  ;;
11224
 
 
11225
 
darwin* | rhapsody*)
11226
 
  dynamic_linker="$host_os dyld"
11227
 
  version_type=darwin
11228
 
  need_lib_prefix=no
11229
 
  need_version=no
11230
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11231
 
  soname_spec='${libname}${release}${major}$shared_ext'
11232
 
  shlibpath_overrides_runpath=yes
11233
 
  shlibpath_var=DYLD_LIBRARY_PATH
11234
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11235
 
 
11236
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11237
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11238
 
  ;;
11239
 
 
11240
 
dgux*)
11241
 
  version_type=linux
11242
 
  need_lib_prefix=no
11243
 
  need_version=no
11244
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11245
 
  soname_spec='${libname}${release}${shared_ext}$major'
11246
 
  shlibpath_var=LD_LIBRARY_PATH
11247
 
  ;;
11248
 
 
11249
 
freebsd1*)
11250
 
  dynamic_linker=no
11251
 
  ;;
11252
 
 
11253
 
freebsd* | dragonfly*)
11254
 
  # DragonFly does not have aout.  When/if they implement a new
11255
 
  # versioning mechanism, adjust this.
11256
 
  if test -x /usr/bin/objformat; then
11257
 
    objformat=`/usr/bin/objformat`
11258
 
  else
11259
 
    case $host_os in
11260
 
    freebsd[123]*) objformat=aout ;;
11261
 
    *) objformat=elf ;;
11262
 
    esac
11263
 
  fi
11264
 
  version_type=freebsd-$objformat
11265
 
  case $version_type in
11266
 
    freebsd-elf*)
11267
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11268
 
      need_version=no
11269
 
      need_lib_prefix=no
11270
 
      ;;
11271
 
    freebsd-*)
11272
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11273
 
      need_version=yes
11274
 
      ;;
11275
 
  esac
11276
 
  shlibpath_var=LD_LIBRARY_PATH
11277
 
  case $host_os in
11278
 
  freebsd2*)
11279
 
    shlibpath_overrides_runpath=yes
11280
 
    ;;
11281
 
  freebsd3.[01]* | freebsdelf3.[01]*)
11282
 
    shlibpath_overrides_runpath=yes
11283
 
    hardcode_into_libs=yes
11284
 
    ;;
11285
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11286
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11287
 
    shlibpath_overrides_runpath=no
11288
 
    hardcode_into_libs=yes
11289
 
    ;;
11290
 
  *) # from 4.6 on, and DragonFly
11291
 
    shlibpath_overrides_runpath=yes
11292
 
    hardcode_into_libs=yes
11293
 
    ;;
11294
 
  esac
11295
 
  ;;
11296
 
 
11297
 
gnu*)
11298
 
  version_type=linux
11299
 
  need_lib_prefix=no
11300
 
  need_version=no
11301
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11302
 
  soname_spec='${libname}${release}${shared_ext}$major'
11303
 
  shlibpath_var=LD_LIBRARY_PATH
11304
 
  hardcode_into_libs=yes
11305
 
  ;;
11306
 
 
11307
 
hpux9* | hpux10* | hpux11*)
11308
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11309
 
  # link against other versions.
11310
 
  version_type=sunos
11311
 
  need_lib_prefix=no
11312
 
  need_version=no
11313
 
  case $host_cpu in
11314
 
  ia64*)
11315
 
    shrext_cmds='.so'
11316
 
    hardcode_into_libs=yes
11317
 
    dynamic_linker="$host_os dld.so"
11318
 
    shlibpath_var=LD_LIBRARY_PATH
11319
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11320
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11321
 
    soname_spec='${libname}${release}${shared_ext}$major'
11322
 
    if test "X$HPUX_IA64_MODE" = X32; then
11323
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11324
 
    else
11325
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11326
 
    fi
11327
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11328
 
    ;;
11329
 
  hppa*64*)
11330
 
    shrext_cmds='.sl'
11331
 
    hardcode_into_libs=yes
11332
 
    dynamic_linker="$host_os dld.sl"
11333
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11334
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11335
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336
 
    soname_spec='${libname}${release}${shared_ext}$major'
11337
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11338
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11339
 
    ;;
11340
 
  *)
11341
 
    shrext_cmds='.sl'
11342
 
    dynamic_linker="$host_os dld.sl"
11343
 
    shlibpath_var=SHLIB_PATH
11344
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11345
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346
 
    soname_spec='${libname}${release}${shared_ext}$major'
11347
 
    ;;
11348
 
  esac
11349
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11350
 
  postinstall_cmds='chmod 555 $lib'
11351
 
  ;;
11352
 
 
11353
 
interix[3-9]*)
11354
 
  version_type=linux
11355
 
  need_lib_prefix=no
11356
 
  need_version=no
11357
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11358
 
  soname_spec='${libname}${release}${shared_ext}$major'
11359
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11360
 
  shlibpath_var=LD_LIBRARY_PATH
11361
 
  shlibpath_overrides_runpath=no
11362
 
  hardcode_into_libs=yes
11363
 
  ;;
11364
 
 
11365
 
irix5* | irix6* | nonstopux*)
11366
 
  case $host_os in
11367
 
    nonstopux*) version_type=nonstopux ;;
11368
 
    *)
11369
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11370
 
                version_type=linux
11371
 
        else
11372
 
                version_type=irix
11373
 
        fi ;;
11374
 
  esac
11375
 
  need_lib_prefix=no
11376
 
  need_version=no
11377
 
  soname_spec='${libname}${release}${shared_ext}$major'
11378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11379
 
  case $host_os in
11380
 
  irix5* | nonstopux*)
11381
 
    libsuff= shlibsuff=
11382
 
    ;;
11383
 
  *)
11384
 
    case $LD in # libtool.m4 will add one of these switches to LD
11385
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11386
 
      libsuff= shlibsuff= libmagic=32-bit;;
11387
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11388
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11389
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11390
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11391
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11392
 
    esac
11393
 
    ;;
11394
 
  esac
11395
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11396
 
  shlibpath_overrides_runpath=no
11397
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11398
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11399
 
  hardcode_into_libs=yes
11400
 
  ;;
11401
 
 
11402
 
# No shared lib support for Linux oldld, aout, or coff.
11403
 
linux*oldld* | linux*aout* | linux*coff*)
11404
 
  dynamic_linker=no
11405
 
  ;;
11406
 
 
11407
 
# This must be Linux ELF.
11408
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11409
 
  version_type=linux
11410
 
  need_lib_prefix=no
11411
 
  need_version=no
11412
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11413
 
  soname_spec='${libname}${release}${shared_ext}$major'
11414
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11415
 
  shlibpath_var=LD_LIBRARY_PATH
11416
 
  shlibpath_overrides_runpath=no
11417
 
  # Some binutils ld are patched to set DT_RUNPATH
11418
 
  save_LDFLAGS=$LDFLAGS
11419
 
  save_libdir=$libdir
11420
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11421
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11422
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423
 
/* end confdefs.h.  */
11424
 
 
11425
 
int
11426
 
main ()
11427
 
{
11428
 
 
11429
 
  ;
11430
 
  return 0;
11431
 
}
11432
 
_ACEOF
11433
 
if ac_fn_c_try_link "$LINENO"; then :
11434
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11435
 
  shlibpath_overrides_runpath=yes
11436
 
fi
11437
 
fi
11438
 
rm -f core conftest.err conftest.$ac_objext \
11439
 
    conftest$ac_exeext conftest.$ac_ext
11440
 
  LDFLAGS=$save_LDFLAGS
11441
 
  libdir=$save_libdir
11442
 
 
11443
 
  # This implies no fast_install, which is unacceptable.
11444
 
  # Some rework will be needed to allow for fast_install
11445
 
  # before this can be enabled.
11446
 
  hardcode_into_libs=yes
11447
 
 
11448
 
  # Append ld.so.conf contents to the search path
11449
 
  if test -f /etc/ld.so.conf; then
11450
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11451
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11452
 
  fi
11453
 
 
11454
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11455
 
  # powerpc, because MkLinux only supported shared libraries with the
11456
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11457
 
  # most powerpc-linux boxes support dynamic linking these days and
11458
 
  # people can always --disable-shared, the test was removed, and we
11459
 
  # assume the GNU/Linux dynamic linker is in use.
11460
 
  dynamic_linker='GNU/Linux ld.so'
11461
 
  ;;
11462
 
 
11463
 
netbsdelf*-gnu)
11464
 
  version_type=linux
11465
 
  need_lib_prefix=no
11466
 
  need_version=no
11467
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11468
 
  soname_spec='${libname}${release}${shared_ext}$major'
11469
 
  shlibpath_var=LD_LIBRARY_PATH
11470
 
  shlibpath_overrides_runpath=no
11471
 
  hardcode_into_libs=yes
11472
 
  dynamic_linker='NetBSD ld.elf_so'
11473
 
  ;;
11474
 
 
11475
 
netbsd*)
11476
 
  version_type=sunos
11477
 
  need_lib_prefix=no
11478
 
  need_version=no
11479
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11480
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11481
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11482
 
    dynamic_linker='NetBSD (a.out) ld.so'
11483
 
  else
11484
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11485
 
    soname_spec='${libname}${release}${shared_ext}$major'
11486
 
    dynamic_linker='NetBSD ld.elf_so'
11487
 
  fi
11488
 
  shlibpath_var=LD_LIBRARY_PATH
11489
 
  shlibpath_overrides_runpath=yes
11490
 
  hardcode_into_libs=yes
11491
 
  ;;
11492
 
 
11493
 
newsos6)
11494
 
  version_type=linux
11495
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496
 
  shlibpath_var=LD_LIBRARY_PATH
11497
 
  shlibpath_overrides_runpath=yes
11498
 
  ;;
11499
 
 
11500
 
*nto* | *qnx*)
11501
 
  version_type=qnx
11502
 
  need_lib_prefix=no
11503
 
  need_version=no
11504
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505
 
  soname_spec='${libname}${release}${shared_ext}$major'
11506
 
  shlibpath_var=LD_LIBRARY_PATH
11507
 
  shlibpath_overrides_runpath=no
11508
 
  hardcode_into_libs=yes
11509
 
  dynamic_linker='ldqnx.so'
11510
 
  ;;
11511
 
 
11512
 
openbsd*)
11513
 
  version_type=sunos
11514
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11515
 
  need_lib_prefix=no
11516
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11517
 
  case $host_os in
11518
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11519
 
    *)                          need_version=no  ;;
11520
 
  esac
11521
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11523
 
  shlibpath_var=LD_LIBRARY_PATH
11524
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11525
 
    case $host_os in
11526
 
      openbsd2.[89] | openbsd2.[89].*)
11527
 
        shlibpath_overrides_runpath=no
11528
 
        ;;
11529
 
      *)
11530
 
        shlibpath_overrides_runpath=yes
11531
 
        ;;
11532
 
      esac
11533
 
  else
11534
 
    shlibpath_overrides_runpath=yes
11535
 
  fi
11536
 
  ;;
11537
 
 
11538
 
os2*)
11539
 
  libname_spec='$name'
11540
 
  shrext_cmds=".dll"
11541
 
  need_lib_prefix=no
11542
 
  library_names_spec='$libname${shared_ext} $libname.a'
11543
 
  dynamic_linker='OS/2 ld.exe'
11544
 
  shlibpath_var=LIBPATH
11545
 
  ;;
11546
 
 
11547
 
osf3* | osf4* | osf5*)
11548
 
  version_type=osf
11549
 
  need_lib_prefix=no
11550
 
  need_version=no
11551
 
  soname_spec='${libname}${release}${shared_ext}$major'
11552
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553
 
  shlibpath_var=LD_LIBRARY_PATH
11554
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11555
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11556
 
  ;;
11557
 
 
11558
 
rdos*)
11559
 
  dynamic_linker=no
11560
 
  ;;
11561
 
 
11562
 
solaris*)
11563
 
  version_type=linux
11564
 
  need_lib_prefix=no
11565
 
  need_version=no
11566
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567
 
  soname_spec='${libname}${release}${shared_ext}$major'
11568
 
  shlibpath_var=LD_LIBRARY_PATH
11569
 
  shlibpath_overrides_runpath=yes
11570
 
  hardcode_into_libs=yes
11571
 
  # ldd complains unless libraries are executable
11572
 
  postinstall_cmds='chmod +x $lib'
11573
 
  ;;
11574
 
 
11575
 
sunos4*)
11576
 
  version_type=sunos
11577
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11579
 
  shlibpath_var=LD_LIBRARY_PATH
11580
 
  shlibpath_overrides_runpath=yes
11581
 
  if test "$with_gnu_ld" = yes; then
11582
 
    need_lib_prefix=no
11583
 
  fi
11584
 
  need_version=yes
11585
 
  ;;
11586
 
 
11587
 
sysv4 | sysv4.3*)
11588
 
  version_type=linux
11589
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590
 
  soname_spec='${libname}${release}${shared_ext}$major'
11591
 
  shlibpath_var=LD_LIBRARY_PATH
11592
 
  case $host_vendor in
11593
 
    sni)
11594
 
      shlibpath_overrides_runpath=no
11595
 
      need_lib_prefix=no
11596
 
      runpath_var=LD_RUN_PATH
11597
 
      ;;
11598
 
    siemens)
11599
 
      need_lib_prefix=no
11600
 
      ;;
11601
 
    motorola)
11602
 
      need_lib_prefix=no
11603
 
      need_version=no
11604
 
      shlibpath_overrides_runpath=no
11605
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11606
 
      ;;
11607
 
  esac
11608
 
  ;;
11609
 
 
11610
 
sysv4*MP*)
11611
 
  if test -d /usr/nec ;then
11612
 
    version_type=linux
11613
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11614
 
    soname_spec='$libname${shared_ext}.$major'
11615
 
    shlibpath_var=LD_LIBRARY_PATH
11616
 
  fi
11617
 
  ;;
11618
 
 
11619
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11620
 
  version_type=freebsd-elf
11621
 
  need_lib_prefix=no
11622
 
  need_version=no
11623
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11624
 
  soname_spec='${libname}${release}${shared_ext}$major'
11625
 
  shlibpath_var=LD_LIBRARY_PATH
11626
 
  shlibpath_overrides_runpath=yes
11627
 
  hardcode_into_libs=yes
11628
 
  if test "$with_gnu_ld" = yes; then
11629
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11630
 
  else
11631
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11632
 
    case $host_os in
11633
 
      sco3.2v5*)
11634
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11635
 
        ;;
11636
 
    esac
11637
 
  fi
11638
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11639
 
  ;;
11640
 
 
11641
 
tpf*)
11642
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11643
 
  version_type=linux
11644
 
  need_lib_prefix=no
11645
 
  need_version=no
11646
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647
 
  shlibpath_var=LD_LIBRARY_PATH
11648
 
  shlibpath_overrides_runpath=no
11649
 
  hardcode_into_libs=yes
11650
 
  ;;
11651
 
 
11652
 
uts4*)
11653
 
  version_type=linux
11654
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11655
 
  soname_spec='${libname}${release}${shared_ext}$major'
11656
 
  shlibpath_var=LD_LIBRARY_PATH
11657
 
  ;;
11658
 
 
11659
 
*)
11660
 
  dynamic_linker=no
11661
 
  ;;
11662
 
esac
11663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11664
 
$as_echo "$dynamic_linker" >&6; }
11665
 
test "$dynamic_linker" = no && can_build_shared=no
11666
 
 
11667
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11668
 
if test "$GCC" = yes; then
11669
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11670
 
fi
11671
 
 
11672
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11673
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11674
 
fi
11675
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11676
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11677
 
fi
11678
 
 
11679
 
 
11680
 
 
11681
 
 
11682
 
 
11683
 
 
11684
 
 
11685
 
 
11686
 
 
11687
 
 
11688
 
 
11689
 
 
11690
 
 
11691
 
 
11692
 
 
11693
 
 
11694
 
 
11695
 
 
11696
 
 
11697
 
 
11698
 
 
11699
 
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
 
11705
 
 
11706
 
 
11707
 
 
11708
 
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
 
 
11716
 
 
11717
 
 
11718
 
 
11719
 
 
11720
 
 
11721
 
 
11722
 
 
11723
 
 
11724
 
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
 
 
11739
 
 
11740
 
 
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
 
11764
 
 
11765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11766
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11767
 
hardcode_action=
11768
 
if test -n "$hardcode_libdir_flag_spec" ||
11769
 
   test -n "$runpath_var" ||
11770
 
   test "X$hardcode_automatic" = "Xyes" ; then
11771
 
 
11772
 
  # We can hardcode non-existent directories.
11773
 
  if test "$hardcode_direct" != no &&
11774
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11775
 
     # have to relink, otherwise we might link with an installed library
11776
 
     # when we should be linking with a yet-to-be-installed one
11777
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11778
 
     test "$hardcode_minus_L" != no; then
11779
 
    # Linking always hardcodes the temporary library directory.
11780
 
    hardcode_action=relink
11781
 
  else
11782
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11783
 
    hardcode_action=immediate
11784
 
  fi
11785
 
else
11786
 
  # We cannot hardcode anything, or else we can only hardcode existing
11787
 
  # directories.
11788
 
  hardcode_action=unsupported
11789
 
fi
11790
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11791
 
$as_echo "$hardcode_action" >&6; }
11792
 
 
11793
 
if test "$hardcode_action" = relink ||
11794
 
   test "$inherit_rpath" = yes; then
11795
 
  # Fast installation is not supported
11796
 
  enable_fast_install=no
11797
 
elif test "$shlibpath_overrides_runpath" = yes ||
11798
 
     test "$enable_shared" = no; then
11799
 
  # Fast installation is not necessary
11800
 
  enable_fast_install=needless
11801
 
fi
11802
 
 
11803
 
 
11804
 
 
11805
 
 
11806
 
 
11807
 
 
11808
 
  if test "x$enable_dlopen" != xyes; then
11809
 
  enable_dlopen=unknown
11810
 
  enable_dlopen_self=unknown
11811
 
  enable_dlopen_self_static=unknown
11812
 
else
11813
 
  lt_cv_dlopen=no
11814
 
  lt_cv_dlopen_libs=
11815
 
 
11816
 
  case $host_os in
11817
 
  beos*)
11818
 
    lt_cv_dlopen="load_add_on"
11819
 
    lt_cv_dlopen_libs=
11820
 
    lt_cv_dlopen_self=yes
11821
 
    ;;
11822
 
 
11823
 
  mingw* | pw32* | cegcc*)
11824
 
    lt_cv_dlopen="LoadLibrary"
11825
 
    lt_cv_dlopen_libs=
11826
 
    ;;
11827
 
 
11828
 
  cygwin*)
11829
 
    lt_cv_dlopen="dlopen"
11830
 
    lt_cv_dlopen_libs=
11831
 
    ;;
11832
 
 
11833
 
  darwin*)
11834
 
  # if libdl is installed we need to link against it
11835
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11836
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11837
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11838
 
  $as_echo_n "(cached) " >&6
11839
 
else
11840
 
  ac_check_lib_save_LIBS=$LIBS
11841
 
LIBS="-ldl  $LIBS"
11842
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843
 
/* end confdefs.h.  */
11844
 
 
11845
 
/* Override any GCC internal prototype to avoid an error.
11846
 
   Use char because int might match the return type of a GCC
11847
 
   builtin and then its argument prototype would still apply.  */
11848
 
#ifdef __cplusplus
11849
 
extern "C"
11850
 
#endif
11851
 
char dlopen ();
11852
 
int
11853
 
main ()
11854
 
{
11855
 
return dlopen ();
11856
 
  ;
11857
 
  return 0;
11858
 
}
11859
 
_ACEOF
11860
 
if ac_fn_c_try_link "$LINENO"; then :
11861
 
  ac_cv_lib_dl_dlopen=yes
11862
 
else
11863
 
  ac_cv_lib_dl_dlopen=no
11864
 
fi
11865
 
rm -f core conftest.err conftest.$ac_objext \
11866
 
    conftest$ac_exeext conftest.$ac_ext
11867
 
LIBS=$ac_check_lib_save_LIBS
11868
 
fi
11869
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11870
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11871
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11872
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11873
 
else
11874
 
 
11875
 
    lt_cv_dlopen="dyld"
11876
 
    lt_cv_dlopen_libs=
11877
 
    lt_cv_dlopen_self=yes
11878
 
 
11879
 
fi
11880
 
 
11881
 
    ;;
11882
 
 
11883
 
  *)
11884
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11885
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
11886
 
  lt_cv_dlopen="shl_load"
11887
 
else
11888
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11889
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11890
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11891
 
  $as_echo_n "(cached) " >&6
11892
 
else
11893
 
  ac_check_lib_save_LIBS=$LIBS
11894
 
LIBS="-ldld  $LIBS"
11895
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896
 
/* end confdefs.h.  */
11897
 
 
11898
 
/* Override any GCC internal prototype to avoid an error.
11899
 
   Use char because int might match the return type of a GCC
11900
 
   builtin and then its argument prototype would still apply.  */
11901
 
#ifdef __cplusplus
11902
 
extern "C"
11903
 
#endif
11904
 
char shl_load ();
11905
 
int
11906
 
main ()
11907
 
{
11908
 
return shl_load ();
11909
 
  ;
11910
 
  return 0;
11911
 
}
11912
 
_ACEOF
11913
 
if ac_fn_c_try_link "$LINENO"; then :
11914
 
  ac_cv_lib_dld_shl_load=yes
11915
 
else
11916
 
  ac_cv_lib_dld_shl_load=no
11917
 
fi
11918
 
rm -f core conftest.err conftest.$ac_objext \
11919
 
    conftest$ac_exeext conftest.$ac_ext
11920
 
LIBS=$ac_check_lib_save_LIBS
11921
 
fi
11922
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11923
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11924
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11925
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11926
 
else
11927
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11928
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
11929
 
  lt_cv_dlopen="dlopen"
11930
 
else
11931
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11932
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11933
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11934
 
  $as_echo_n "(cached) " >&6
11935
 
else
11936
 
  ac_check_lib_save_LIBS=$LIBS
11937
 
LIBS="-ldl  $LIBS"
11938
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939
 
/* end confdefs.h.  */
11940
 
 
11941
 
/* Override any GCC internal prototype to avoid an error.
11942
 
   Use char because int might match the return type of a GCC
11943
 
   builtin and then its argument prototype would still apply.  */
11944
 
#ifdef __cplusplus
11945
 
extern "C"
11946
 
#endif
11947
 
char dlopen ();
11948
 
int
11949
 
main ()
11950
 
{
11951
 
return dlopen ();
11952
 
  ;
11953
 
  return 0;
11954
 
}
11955
 
_ACEOF
11956
 
if ac_fn_c_try_link "$LINENO"; then :
11957
 
  ac_cv_lib_dl_dlopen=yes
11958
 
else
11959
 
  ac_cv_lib_dl_dlopen=no
11960
 
fi
11961
 
rm -f core conftest.err conftest.$ac_objext \
11962
 
    conftest$ac_exeext conftest.$ac_ext
11963
 
LIBS=$ac_check_lib_save_LIBS
11964
 
fi
11965
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11966
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11967
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11968
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11969
 
else
11970
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11971
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11972
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11973
 
  $as_echo_n "(cached) " >&6
11974
 
else
11975
 
  ac_check_lib_save_LIBS=$LIBS
11976
 
LIBS="-lsvld  $LIBS"
11977
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978
 
/* end confdefs.h.  */
11979
 
 
11980
 
/* Override any GCC internal prototype to avoid an error.
11981
 
   Use char because int might match the return type of a GCC
11982
 
   builtin and then its argument prototype would still apply.  */
11983
 
#ifdef __cplusplus
11984
 
extern "C"
11985
 
#endif
11986
 
char dlopen ();
11987
 
int
11988
 
main ()
11989
 
{
11990
 
return dlopen ();
11991
 
  ;
11992
 
  return 0;
11993
 
}
11994
 
_ACEOF
11995
 
if ac_fn_c_try_link "$LINENO"; then :
11996
 
  ac_cv_lib_svld_dlopen=yes
11997
 
else
11998
 
  ac_cv_lib_svld_dlopen=no
11999
 
fi
12000
 
rm -f core conftest.err conftest.$ac_objext \
12001
 
    conftest$ac_exeext conftest.$ac_ext
12002
 
LIBS=$ac_check_lib_save_LIBS
12003
 
fi
12004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12005
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12006
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12007
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12008
 
else
12009
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12010
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12011
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12012
 
  $as_echo_n "(cached) " >&6
12013
 
else
12014
 
  ac_check_lib_save_LIBS=$LIBS
12015
 
LIBS="-ldld  $LIBS"
12016
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017
 
/* end confdefs.h.  */
12018
 
 
12019
 
/* Override any GCC internal prototype to avoid an error.
12020
 
   Use char because int might match the return type of a GCC
12021
 
   builtin and then its argument prototype would still apply.  */
12022
 
#ifdef __cplusplus
12023
 
extern "C"
12024
 
#endif
12025
 
char dld_link ();
12026
 
int
12027
 
main ()
12028
 
{
12029
 
return dld_link ();
12030
 
  ;
12031
 
  return 0;
12032
 
}
12033
 
_ACEOF
12034
 
if ac_fn_c_try_link "$LINENO"; then :
12035
 
  ac_cv_lib_dld_dld_link=yes
12036
 
else
12037
 
  ac_cv_lib_dld_dld_link=no
12038
 
fi
12039
 
rm -f core conftest.err conftest.$ac_objext \
12040
 
    conftest$ac_exeext conftest.$ac_ext
12041
 
LIBS=$ac_check_lib_save_LIBS
12042
 
fi
12043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12044
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12045
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12046
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12047
 
fi
12048
 
 
12049
 
 
12050
 
fi
12051
 
 
12052
 
 
12053
 
fi
12054
 
 
12055
 
 
12056
 
fi
12057
 
 
12058
 
 
12059
 
fi
12060
 
 
12061
 
 
12062
 
fi
12063
 
 
12064
 
    ;;
12065
 
  esac
12066
 
 
12067
 
  if test "x$lt_cv_dlopen" != xno; then
12068
 
    enable_dlopen=yes
12069
 
  else
12070
 
    enable_dlopen=no
12071
 
  fi
12072
 
 
12073
 
  case $lt_cv_dlopen in
12074
 
  dlopen)
12075
 
    save_CPPFLAGS="$CPPFLAGS"
12076
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12077
 
 
12078
 
    save_LDFLAGS="$LDFLAGS"
12079
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12080
 
 
12081
 
    save_LIBS="$LIBS"
12082
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12083
 
 
12084
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12085
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12086
 
if test "${lt_cv_dlopen_self+set}" = set; then :
12087
 
  $as_echo_n "(cached) " >&6
12088
 
else
12089
 
          if test "$cross_compiling" = yes; then :
12090
 
  lt_cv_dlopen_self=cross
12091
 
else
12092
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12093
 
  lt_status=$lt_dlunknown
12094
 
  cat > conftest.$ac_ext <<_LT_EOF
12095
 
#line 12095 "configure"
12096
 
#include "confdefs.h"
12097
 
 
12098
 
#if HAVE_DLFCN_H
12099
 
#include <dlfcn.h>
12100
 
#endif
12101
 
 
12102
 
#include <stdio.h>
12103
 
 
12104
 
#ifdef RTLD_GLOBAL
12105
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12106
 
#else
12107
 
#  ifdef DL_GLOBAL
12108
 
#    define LT_DLGLOBAL         DL_GLOBAL
12109
 
#  else
12110
 
#    define LT_DLGLOBAL         0
12111
 
#  endif
12112
 
#endif
12113
 
 
12114
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12115
 
   find out it does not work in some platform. */
12116
 
#ifndef LT_DLLAZY_OR_NOW
12117
 
#  ifdef RTLD_LAZY
12118
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12119
 
#  else
12120
 
#    ifdef DL_LAZY
12121
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12122
 
#    else
12123
 
#      ifdef RTLD_NOW
12124
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12125
 
#      else
12126
 
#        ifdef DL_NOW
12127
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12128
 
#        else
12129
 
#          define LT_DLLAZY_OR_NOW      0
12130
 
#        endif
12131
 
#      endif
12132
 
#    endif
12133
 
#  endif
12134
 
#endif
12135
 
 
12136
 
void fnord() { int i=42;}
12137
 
int main ()
12138
 
{
12139
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12140
 
  int status = $lt_dlunknown;
12141
 
 
12142
 
  if (self)
12143
 
    {
12144
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12145
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12146
 
      /* dlclose (self); */
12147
 
    }
12148
 
  else
12149
 
    puts (dlerror ());
12150
 
 
12151
 
  return status;
12152
 
}
12153
 
_LT_EOF
12154
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12155
 
  (eval $ac_link) 2>&5
12156
 
  ac_status=$?
12157
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12159
 
    (./conftest; exit; ) >&5 2>/dev/null
12160
 
    lt_status=$?
12161
 
    case x$lt_status in
12162
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12163
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12164
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12165
 
    esac
12166
 
  else :
12167
 
    # compilation failed
12168
 
    lt_cv_dlopen_self=no
12169
 
  fi
12170
 
fi
12171
 
rm -fr conftest*
12172
 
 
12173
 
 
12174
 
fi
12175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12176
 
$as_echo "$lt_cv_dlopen_self" >&6; }
12177
 
 
12178
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12179
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12180
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12181
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12182
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12183
 
  $as_echo_n "(cached) " >&6
12184
 
else
12185
 
          if test "$cross_compiling" = yes; then :
12186
 
  lt_cv_dlopen_self_static=cross
12187
 
else
12188
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12189
 
  lt_status=$lt_dlunknown
12190
 
  cat > conftest.$ac_ext <<_LT_EOF
12191
 
#line 12191 "configure"
12192
 
#include "confdefs.h"
12193
 
 
12194
 
#if HAVE_DLFCN_H
12195
 
#include <dlfcn.h>
12196
 
#endif
12197
 
 
12198
 
#include <stdio.h>
12199
 
 
12200
 
#ifdef RTLD_GLOBAL
12201
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12202
 
#else
12203
 
#  ifdef DL_GLOBAL
12204
 
#    define LT_DLGLOBAL         DL_GLOBAL
12205
 
#  else
12206
 
#    define LT_DLGLOBAL         0
12207
 
#  endif
12208
 
#endif
12209
 
 
12210
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12211
 
   find out it does not work in some platform. */
12212
 
#ifndef LT_DLLAZY_OR_NOW
12213
 
#  ifdef RTLD_LAZY
12214
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12215
 
#  else
12216
 
#    ifdef DL_LAZY
12217
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12218
 
#    else
12219
 
#      ifdef RTLD_NOW
12220
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12221
 
#      else
12222
 
#        ifdef DL_NOW
12223
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12224
 
#        else
12225
 
#          define LT_DLLAZY_OR_NOW      0
12226
 
#        endif
12227
 
#      endif
12228
 
#    endif
12229
 
#  endif
12230
 
#endif
12231
 
 
12232
 
void fnord() { int i=42;}
12233
 
int main ()
12234
 
{
12235
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12236
 
  int status = $lt_dlunknown;
12237
 
 
12238
 
  if (self)
12239
 
    {
12240
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12241
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12242
 
      /* dlclose (self); */
12243
 
    }
12244
 
  else
12245
 
    puts (dlerror ());
12246
 
 
12247
 
  return status;
12248
 
}
12249
 
_LT_EOF
12250
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12251
 
  (eval $ac_link) 2>&5
12252
 
  ac_status=$?
12253
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12254
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12255
 
    (./conftest; exit; ) >&5 2>/dev/null
12256
 
    lt_status=$?
12257
 
    case x$lt_status in
12258
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12259
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12260
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12261
 
    esac
12262
 
  else :
12263
 
    # compilation failed
12264
 
    lt_cv_dlopen_self_static=no
12265
 
  fi
12266
 
fi
12267
 
rm -fr conftest*
12268
 
 
12269
 
 
12270
 
fi
12271
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12272
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12273
 
    fi
12274
 
 
12275
 
    CPPFLAGS="$save_CPPFLAGS"
12276
 
    LDFLAGS="$save_LDFLAGS"
12277
 
    LIBS="$save_LIBS"
12278
 
    ;;
12279
 
  esac
12280
 
 
12281
 
  case $lt_cv_dlopen_self in
12282
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12283
 
  *) enable_dlopen_self=unknown ;;
12284
 
  esac
12285
 
 
12286
 
  case $lt_cv_dlopen_self_static in
12287
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12288
 
  *) enable_dlopen_self_static=unknown ;;
12289
 
  esac
12290
 
fi
12291
 
 
12292
 
 
12293
 
 
12294
 
 
12295
 
 
12296
 
 
12297
 
 
12298
 
 
12299
 
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
 
12305
 
 
12306
 
 
12307
 
 
12308
 
striplib=
12309
 
old_striplib=
12310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12311
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12312
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12313
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12314
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12315
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12316
 
$as_echo "yes" >&6; }
12317
 
else
12318
 
# FIXME - insert some real tests, host_os isn't really good enough
12319
 
  case $host_os in
12320
 
  darwin*)
12321
 
    if test -n "$STRIP" ; then
12322
 
      striplib="$STRIP -x"
12323
 
      old_striplib="$STRIP -S"
12324
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12325
 
$as_echo "yes" >&6; }
12326
 
    else
12327
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328
 
$as_echo "no" >&6; }
12329
 
    fi
12330
 
    ;;
12331
 
  *)
12332
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333
 
$as_echo "no" >&6; }
12334
 
    ;;
12335
 
  esac
12336
 
fi
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
 
  # Report which library types will actually be built
12350
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12351
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12352
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12353
 
$as_echo "$can_build_shared" >&6; }
12354
 
 
12355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12356
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12357
 
  test "$can_build_shared" = "no" && enable_shared=no
12358
 
 
12359
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12360
 
  # are all built from PIC.
12361
 
  case $host_os in
12362
 
  aix3*)
12363
 
    test "$enable_shared" = yes && enable_static=no
12364
 
    if test -n "$RANLIB"; then
12365
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12366
 
      postinstall_cmds='$RANLIB $lib'
12367
 
    fi
12368
 
    ;;
12369
 
 
12370
 
  aix[4-9]*)
12371
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12372
 
      test "$enable_shared" = yes && enable_static=no
12373
 
    fi
12374
 
    ;;
12375
 
  esac
12376
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12377
 
$as_echo "$enable_shared" >&6; }
12378
 
 
12379
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12380
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12381
 
  # Make sure either enable_shared or enable_static is yes.
12382
 
  test "$enable_shared" = yes || enable_static=yes
12383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12384
 
$as_echo "$enable_static" >&6; }
12385
 
 
12386
 
 
12387
 
 
12388
 
 
12389
 
fi
12390
 
ac_ext=c
12391
 
ac_cpp='$CPP $CPPFLAGS'
12392
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12393
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12394
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12395
 
 
12396
 
CC="$lt_save_CC"
12397
 
 
12398
 
 
12399
 
 
12400
 
 
12401
 
 
12402
 
 
12403
 
 
12404
 
 
12405
 
 
12406
 
 
12407
 
 
12408
 
 
12409
 
 
12410
 
        ac_config_commands="$ac_config_commands libtool"
12411
 
 
12412
 
 
12413
 
 
12414
 
 
12415
 
# Only expand once:
12416
 
 
12417
 
 
12418
 
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
12419
 
set dummy glib-genmarshal; ac_word=$2
12420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12421
 
$as_echo_n "checking for $ac_word... " >&6; }
12422
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
12423
 
  $as_echo_n "(cached) " >&6
12424
 
else
12425
 
  case $GLIB_GENMARSHAL in
12426
 
  [\\/]* | ?:[\\/]*)
12427
 
  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
12428
 
  ;;
12429
 
  *)
12430
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12431
 
for as_dir in $PATH
12432
 
do
12433
 
  IFS=$as_save_IFS
12434
 
  test -z "$as_dir" && as_dir=.
12435
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12436
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12437
 
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
12438
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12439
 
    break 2
12440
 
  fi
12441
 
done
12442
 
  done
12443
 
IFS=$as_save_IFS
12444
 
 
12445
 
  ;;
12446
 
esac
12447
 
fi
12448
 
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
12449
 
if test -n "$GLIB_GENMARSHAL"; then
12450
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
12451
 
$as_echo "$GLIB_GENMARSHAL" >&6; }
12452
 
else
12453
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12454
 
$as_echo "no" >&6; }
12455
 
fi
12456
 
 
12457
 
 
12458
 
 
12459
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12460
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12461
 
if test "${ac_cv_c_const+set}" = set; then :
12462
 
  $as_echo_n "(cached) " >&6
12463
 
else
12464
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465
 
/* end confdefs.h.  */
12466
 
 
12467
 
int
12468
 
main ()
12469
 
{
12470
 
/* FIXME: Include the comments suggested by Paul. */
12471
 
#ifndef __cplusplus
12472
 
  /* Ultrix mips cc rejects this.  */
12473
 
  typedef int charset[2];
12474
 
  const charset cs;
12475
 
  /* SunOS 4.1.1 cc rejects this.  */
12476
 
  char const *const *pcpcc;
12477
 
  char **ppc;
12478
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
12479
 
  struct point {int x, y;};
12480
 
  static struct point const zero = {0,0};
12481
 
  /* AIX XL C 1.02.0.0 rejects this.
12482
 
     It does not let you subtract one const X* pointer from another in
12483
 
     an arm of an if-expression whose if-part is not a constant
12484
 
     expression */
12485
 
  const char *g = "string";
12486
 
  pcpcc = &g + (g ? g-g : 0);
12487
 
  /* HPUX 7.0 cc rejects these. */
12488
 
  ++pcpcc;
12489
 
  ppc = (char**) pcpcc;
12490
 
  pcpcc = (char const *const *) ppc;
12491
 
  { /* SCO 3.2v4 cc rejects this.  */
12492
 
    char *t;
12493
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
12494
 
 
12495
 
    *t++ = 0;
12496
 
    if (s) return 0;
12497
 
  }
12498
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12499
 
    int x[] = {25, 17};
12500
 
    const int *foo = &x[0];
12501
 
    ++foo;
12502
 
  }
12503
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12504
 
    typedef const int *iptr;
12505
 
    iptr p = 0;
12506
 
    ++p;
12507
 
  }
12508
 
  { /* AIX XL C 1.02.0.0 rejects this saying
12509
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12510
 
    struct s { int j; const int *ap[3]; };
12511
 
    struct s *b; b->j = 5;
12512
 
  }
12513
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12514
 
    const int foo = 10;
12515
 
    if (!foo) return 0;
12516
 
  }
12517
 
  return !cs[0] && !zero.x;
12518
 
#endif
12519
 
 
12520
 
  ;
12521
 
  return 0;
12522
 
}
12523
 
_ACEOF
12524
 
if ac_fn_c_try_compile "$LINENO"; then :
12525
 
  ac_cv_c_const=yes
12526
 
else
12527
 
  ac_cv_c_const=no
12528
 
fi
12529
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12530
 
fi
12531
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12532
 
$as_echo "$ac_cv_c_const" >&6; }
12533
 
if test $ac_cv_c_const = no; then
12534
 
 
12535
 
$as_echo "#define const /**/" >>confdefs.h
12536
 
 
12537
 
fi
12538
 
 
12539
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12540
 
if test "x$ac_cv_type_size_t" = x""yes; then :
12541
 
 
12542
 
else
12543
 
 
12544
 
cat >>confdefs.h <<_ACEOF
12545
 
#define size_t unsigned int
12546
 
_ACEOF
12547
 
 
12548
 
fi
12549
 
 
12550
 
 
12551
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12552
 
$as_echo_n "checking for ANSI C header files... " >&6; }
12553
 
if test "${ac_cv_header_stdc+set}" = set; then :
12554
 
  $as_echo_n "(cached) " >&6
12555
 
else
12556
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12557
 
/* end confdefs.h.  */
12558
 
#include <stdlib.h>
12559
 
#include <stdarg.h>
12560
 
#include <string.h>
12561
 
#include <float.h>
12562
 
 
12563
 
int
12564
 
main ()
12565
 
{
12566
 
 
12567
 
  ;
12568
 
  return 0;
12569
 
}
12570
 
_ACEOF
12571
 
if ac_fn_c_try_compile "$LINENO"; then :
12572
 
  ac_cv_header_stdc=yes
12573
 
else
12574
 
  ac_cv_header_stdc=no
12575
 
fi
12576
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12577
 
 
12578
 
if test $ac_cv_header_stdc = yes; then
12579
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12580
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581
 
/* end confdefs.h.  */
12582
 
#include <string.h>
12583
 
 
12584
 
_ACEOF
12585
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12586
 
  $EGREP "memchr" >/dev/null 2>&1; then :
12587
 
 
12588
 
else
12589
 
  ac_cv_header_stdc=no
12590
 
fi
12591
 
rm -f conftest*
12592
 
 
12593
 
fi
12594
 
 
12595
 
if test $ac_cv_header_stdc = yes; then
12596
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12597
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598
 
/* end confdefs.h.  */
12599
 
#include <stdlib.h>
12600
 
 
12601
 
_ACEOF
12602
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12603
 
  $EGREP "free" >/dev/null 2>&1; then :
12604
 
 
12605
 
else
12606
 
  ac_cv_header_stdc=no
12607
 
fi
12608
 
rm -f conftest*
12609
 
 
12610
 
fi
12611
 
 
12612
 
if test $ac_cv_header_stdc = yes; then
12613
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12614
 
  if test "$cross_compiling" = yes; then :
12615
 
  :
12616
 
else
12617
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618
 
/* end confdefs.h.  */
12619
 
#include <ctype.h>
12620
 
#include <stdlib.h>
12621
 
#if ((' ' & 0x0FF) == 0x020)
12622
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12623
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12624
 
#else
12625
 
# define ISLOWER(c) \
12626
 
                   (('a' <= (c) && (c) <= 'i') \
12627
 
                     || ('j' <= (c) && (c) <= 'r') \
12628
 
                     || ('s' <= (c) && (c) <= 'z'))
12629
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12630
 
#endif
12631
 
 
12632
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12633
 
int
12634
 
main ()
12635
 
{
12636
 
  int i;
12637
 
  for (i = 0; i < 256; i++)
12638
 
    if (XOR (islower (i), ISLOWER (i))
12639
 
        || toupper (i) != TOUPPER (i))
12640
 
      return 2;
12641
 
  return 0;
12642
 
}
12643
 
_ACEOF
12644
 
if ac_fn_c_try_run "$LINENO"; then :
12645
 
 
12646
 
else
12647
 
  ac_cv_header_stdc=no
12648
 
fi
12649
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12650
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12651
 
fi
12652
 
 
12653
 
fi
12654
 
fi
12655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12656
 
$as_echo "$ac_cv_header_stdc" >&6; }
12657
 
if test $ac_cv_header_stdc = yes; then
12658
 
 
12659
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12660
 
 
12661
 
fi
12662
 
 
12663
 
 
12664
 
for ac_func in snprintf vsnprintf
12665
 
do :
12666
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12667
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12668
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12669
 
  cat >>confdefs.h <<_ACEOF
12670
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12671
 
_ACEOF
12672
 
 
12673
 
fi
12674
 
done
12675
 
 
12676
 
for ac_func in memrchr strtoull atoll
12677
 
do :
12678
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12679
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12680
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12681
 
  cat >>confdefs.h <<_ACEOF
12682
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12683
 
_ACEOF
12684
 
 
12685
 
fi
12686
 
done
12687
 
 
12688
 
 
12689
 
 
12690
 
 
12691
 
 
12692
 
      ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
12693
 
  if test -n "$ac_macro_dir"; then
12694
 
    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
12695
 
  fi
12696
 
 
12697
 
 
12698
 
 
12699
 
 
12700
 
 
12701
 
 
12702
 
        DISABLE_DEPRECATED=""
12703
 
        if test $USE_MAINTAINER_MODE = yes; then
12704
 
                DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
12705
 
                for DOMAIN in $DOMAINS; do
12706
 
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
12707
 
                done
12708
 
        fi
12709
 
 
12710
 
 
12711
 
 
12712
 
 
12713
 
        # Check whether --enable-debug was given.
12714
 
if test "${enable_debug+set}" = set; then :
12715
 
  enableval=$enable_debug;
12716
 
else
12717
 
  enable_debug=no
12718
 
fi
12719
 
 
12720
 
 
12721
 
        if test x$enable_debug = xyes ; then
12722
 
 
12723
 
$as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
12724
 
 
12725
 
        fi
12726
 
 
12727
 
 
12728
 
 
12729
 
    # Check whether --enable-compile-warnings was given.
12730
 
if test "${enable_compile_warnings+set}" = set; then :
12731
 
  enableval=$enable_compile_warnings;
12732
 
else
12733
 
  enable_compile_warnings="maximum"
12734
 
fi
12735
 
 
12736
 
 
12737
 
    warnCFLAGS=
12738
 
    if test "x$GCC" != xyes; then
12739
 
        enable_compile_warnings=no
12740
 
    fi
12741
 
 
12742
 
    warning_flags=
12743
 
    realsave_CFLAGS="$CFLAGS"
12744
 
 
12745
 
    case "$enable_compile_warnings" in
12746
 
    no)
12747
 
        warning_flags=
12748
 
        ;;
12749
 
    minimum)
12750
 
        warning_flags="-Wall"
12751
 
        ;;
12752
 
    yes)
12753
 
        warning_flags="-Wall -Wmissing-prototypes"
12754
 
        ;;
12755
 
    maximum|error)
12756
 
        warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12757
 
        CFLAGS="$warning_flags $CFLAGS"
12758
 
        for option in -Wno-sign-compare; do
12759
 
                SAVE_CFLAGS="$CFLAGS"
12760
 
                CFLAGS="$CFLAGS $option"
12761
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12762
 
$as_echo_n "checking whether gcc understands $option... " >&6; }
12763
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764
 
/* end confdefs.h.  */
12765
 
 
12766
 
int
12767
 
main ()
12768
 
{
12769
 
 
12770
 
  ;
12771
 
  return 0;
12772
 
}
12773
 
_ACEOF
12774
 
if ac_fn_c_try_compile "$LINENO"; then :
12775
 
  has_option=yes
12776
 
else
12777
 
  has_option=no
12778
 
fi
12779
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12780
 
                CFLAGS="$SAVE_CFLAGS"
12781
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12782
 
$as_echo "$has_option" >&6; }
12783
 
                if test $has_option = yes; then
12784
 
                  warning_flags="$warning_flags $option"
12785
 
                fi
12786
 
                unset has_option
12787
 
                unset SAVE_CFLAGS
12788
 
        done
12789
 
        unset option
12790
 
        if test "$enable_compile_warnings" = "error" ; then
12791
 
            warning_flags="$warning_flags -Werror"
12792
 
        fi
12793
 
        ;;
12794
 
    *)
12795
 
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12796
 
        ;;
12797
 
    esac
12798
 
    CFLAGS="$realsave_CFLAGS"
12799
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12800
 
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12801
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12802
 
$as_echo "$warning_flags" >&6; }
12803
 
 
12804
 
    # Check whether --enable-iso-c was given.
12805
 
if test "${enable_iso_c+set}" = set; then :
12806
 
  enableval=$enable_iso_c;
12807
 
else
12808
 
  enable_iso_c=no
12809
 
fi
12810
 
 
12811
 
 
12812
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12813
 
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12814
 
    complCFLAGS=
12815
 
    if test "x$enable_iso_c" != "xno"; then
12816
 
        if test "x$GCC" = "xyes"; then
12817
 
        case " $CFLAGS " in
12818
 
            *\ \        -ansi\ \        *) ;;
12819
 
            *) complCFLAGS="$complCFLAGS -ansi" ;;
12820
 
        esac
12821
 
        case " $CFLAGS " in
12822
 
            *\ \        -pedantic\ \    *) ;;
12823
 
            *) complCFLAGS="$complCFLAGS -pedantic" ;;
12824
 
        esac
12825
 
        fi
12826
 
    fi
12827
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12828
 
$as_echo "$complCFLAGS" >&6; }
12829
 
 
12830
 
    WARN_CFLAGS="$warning_flags $complCFLAGS"
12831
 
 
12832
 
 
12833
 
 
12834
 
 
12835
 
 
12836
 
 
12837
 
 
12838
 
 
12839
 
 
12840
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12841
 
        if test -n "$ac_tool_prefix"; then
12842
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12843
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12845
 
$as_echo_n "checking for $ac_word... " >&6; }
12846
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12847
 
  $as_echo_n "(cached) " >&6
12848
 
else
12849
 
  case $PKG_CONFIG in
12850
 
  [\\/]* | ?:[\\/]*)
12851
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12852
 
  ;;
12853
 
  *)
12854
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12855
 
for as_dir in $PATH
12856
 
do
12857
 
  IFS=$as_save_IFS
12858
 
  test -z "$as_dir" && as_dir=.
12859
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12860
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12861
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12862
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12863
 
    break 2
12864
 
  fi
12865
 
done
12866
 
  done
12867
 
IFS=$as_save_IFS
12868
 
 
12869
 
  ;;
12870
 
esac
12871
 
fi
12872
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12873
 
if test -n "$PKG_CONFIG"; then
12874
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12875
 
$as_echo "$PKG_CONFIG" >&6; }
12876
 
else
12877
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878
 
$as_echo "no" >&6; }
12879
 
fi
12880
 
 
12881
 
 
12882
 
fi
12883
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12884
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12885
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12886
 
set dummy pkg-config; ac_word=$2
12887
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888
 
$as_echo_n "checking for $ac_word... " >&6; }
12889
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12890
 
  $as_echo_n "(cached) " >&6
12891
 
else
12892
 
  case $ac_pt_PKG_CONFIG in
12893
 
  [\\/]* | ?:[\\/]*)
12894
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12895
 
  ;;
12896
 
  *)
12897
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12898
 
for as_dir in $PATH
12899
 
do
12900
 
  IFS=$as_save_IFS
12901
 
  test -z "$as_dir" && as_dir=.
12902
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12903
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12904
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12905
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12906
 
    break 2
12907
 
  fi
12908
 
done
12909
 
  done
12910
 
IFS=$as_save_IFS
12911
 
 
12912
 
  ;;
12913
 
esac
12914
 
fi
12915
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12916
 
if test -n "$ac_pt_PKG_CONFIG"; then
12917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12918
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12919
 
else
12920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921
 
$as_echo "no" >&6; }
12922
 
fi
12923
 
 
12924
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12925
 
    PKG_CONFIG=""
12926
 
  else
12927
 
    case $cross_compiling:$ac_tool_warned in
12928
 
yes:)
12929
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12930
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12931
 
ac_tool_warned=yes ;;
12932
 
esac
12933
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12934
 
  fi
12935
 
else
12936
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12937
 
fi
12938
 
 
12939
 
fi
12940
 
if test -n "$PKG_CONFIG"; then
12941
 
        _pkg_min_version=0.9.0
12942
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12943
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12944
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12945
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12946
 
$as_echo "yes" >&6; }
12947
 
        else
12948
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12949
 
$as_echo "no" >&6; }
12950
 
                PKG_CONFIG=""
12951
 
        fi
12952
 
fi
12953
 
 
12954
 
# Set up gnome-doc-utils
12955
 
 
12956
 
gdu_cv_version_required=0.3.2
12957
 
 
12958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12959
 
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12960
 
if test -n "$PKG_CONFIG" && \
12961
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12962
 
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12963
 
  ac_status=$?
12964
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965
 
  test $ac_status = 0; }; then
12966
 
  gdu_cv_have_gdu=yes
12967
 
else
12968
 
  gdu_cv_have_gdu=no
12969
 
fi
12970
 
 
12971
 
if test "$gdu_cv_have_gdu" = "yes"; then
12972
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12973
 
$as_echo "yes" >&6; }
12974
 
        :
12975
 
else
12976
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12977
 
$as_echo "no" >&6; }
12978
 
        as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12979
 
fi
12980
 
 
12981
 
 
12982
 
 
12983
 
# Check whether --with-help-dir was given.
12984
 
if test "${with_help_dir+set}" = set; then :
12985
 
  withval=$with_help_dir;
12986
 
else
12987
 
  with_help_dir='${datadir}/gnome/help'
12988
 
fi
12989
 
 
12990
 
HELP_DIR="$with_help_dir"
12991
 
 
12992
 
 
12993
 
 
12994
 
# Check whether --with-omf-dir was given.
12995
 
if test "${with_omf_dir+set}" = set; then :
12996
 
  withval=$with_omf_dir;
12997
 
else
12998
 
  with_omf_dir='${datadir}/omf'
12999
 
fi
13000
 
 
13001
 
OMF_DIR="$with_omf_dir"
13002
 
 
13003
 
 
13004
 
 
13005
 
# Check whether --with-help-formats was given.
13006
 
if test "${with_help_formats+set}" = set; then :
13007
 
  withval=$with_help_formats;
13008
 
else
13009
 
  with_help_formats=''
13010
 
fi
13011
 
 
13012
 
DOC_USER_FORMATS="$with_help_formats"
13013
 
 
13014
 
 
13015
 
# Check whether --enable-scrollkeeper was given.
13016
 
if test "${enable_scrollkeeper+set}" = set; then :
13017
 
  enableval=$enable_scrollkeeper;
13018
 
else
13019
 
  enable_scrollkeeper=yes
13020
 
fi
13021
 
 
13022
 
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
13023
 
  ENABLE_SK_TRUE=
13024
 
  ENABLE_SK_FALSE='#'
13025
 
else
13026
 
  ENABLE_SK_TRUE='#'
13027
 
  ENABLE_SK_FALSE=
13028
 
fi
13029
 
 
13030
 
 
13031
 
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
13032
 
 
13033
 
 
13034
 
 if test "$gdu_cv_have_gdu" = "yes"; then
13035
 
  HAVE_GNOME_DOC_UTILS_TRUE=
13036
 
  HAVE_GNOME_DOC_UTILS_FALSE='#'
13037
 
else
13038
 
  HAVE_GNOME_DOC_UTILS_TRUE='#'
13039
 
  HAVE_GNOME_DOC_UTILS_FALSE=
13040
 
fi
13041
 
 
13042
 
 
13043
 
 
13044
 
 
13045
 
# Hard dependencies
13046
 
 
13047
 
pkg_failed=no
13048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPENDENCIES" >&5
13049
 
$as_echo_n "checking for DEPENDENCIES... " >&6; }
13050
 
 
13051
 
if test -n "$DEPENDENCIES_CFLAGS"; then
13052
 
    pkg_cv_DEPENDENCIES_CFLAGS="$DEPENDENCIES_CFLAGS"
13053
 
 elif test -n "$PKG_CONFIG"; then
13054
 
    if test -n "$PKG_CONFIG" && \
13055
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13056
 
                  glib-2.0 >= \$GLIB_REQUIRED \\
13057
 
                  gio-2.0 >= \$GLIB_REQUIRED \\
13058
 
                  gtk+-2.0 >= \$GTK_REQUIRED \\
13059
 
                  libglade-2.0 >= \$LIBGLADE_REQUIRED \\
13060
 
                  gconf-2.0 >= \$GCONF_REQUIRED \\
13061
 
                  libsexy >= \$LIBSEXY_REQUIRED \\
13062
 
                  \""; } >&5
13063
 
  ($PKG_CONFIG --exists --print-errors "\
13064
 
                  glib-2.0 >= $GLIB_REQUIRED \
13065
 
                  gio-2.0 >= $GLIB_REQUIRED \
13066
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13067
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13068
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13069
 
                  libsexy >= $LIBSEXY_REQUIRED \
13070
 
                  ") 2>&5
13071
 
  ac_status=$?
13072
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13073
 
  test $ac_status = 0; }; then
13074
 
  pkg_cv_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "\
13075
 
                  glib-2.0 >= $GLIB_REQUIRED \
13076
 
                  gio-2.0 >= $GLIB_REQUIRED \
13077
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13078
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13079
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13080
 
                  libsexy >= $LIBSEXY_REQUIRED \
13081
 
                  " 2>/dev/null`
13082
 
else
13083
 
  pkg_failed=yes
13084
 
fi
13085
 
 else
13086
 
    pkg_failed=untried
13087
 
fi
13088
 
if test -n "$DEPENDENCIES_LIBS"; then
13089
 
    pkg_cv_DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS"
13090
 
 elif test -n "$PKG_CONFIG"; then
13091
 
    if test -n "$PKG_CONFIG" && \
13092
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13093
 
                  glib-2.0 >= \$GLIB_REQUIRED \\
13094
 
                  gio-2.0 >= \$GLIB_REQUIRED \\
13095
 
                  gtk+-2.0 >= \$GTK_REQUIRED \\
13096
 
                  libglade-2.0 >= \$LIBGLADE_REQUIRED \\
13097
 
                  gconf-2.0 >= \$GCONF_REQUIRED \\
13098
 
                  libsexy >= \$LIBSEXY_REQUIRED \\
13099
 
                  \""; } >&5
13100
 
  ($PKG_CONFIG --exists --print-errors "\
13101
 
                  glib-2.0 >= $GLIB_REQUIRED \
13102
 
                  gio-2.0 >= $GLIB_REQUIRED \
13103
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13104
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13105
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13106
 
                  libsexy >= $LIBSEXY_REQUIRED \
13107
 
                  ") 2>&5
13108
 
  ac_status=$?
13109
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13110
 
  test $ac_status = 0; }; then
13111
 
  pkg_cv_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "\
13112
 
                  glib-2.0 >= $GLIB_REQUIRED \
13113
 
                  gio-2.0 >= $GLIB_REQUIRED \
13114
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13115
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13116
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13117
 
                  libsexy >= $LIBSEXY_REQUIRED \
13118
 
                  " 2>/dev/null`
13119
 
else
13120
 
  pkg_failed=yes
13121
 
fi
13122
 
 else
13123
 
    pkg_failed=untried
13124
 
fi
13125
 
 
13126
 
 
13127
 
 
13128
 
if test $pkg_failed = yes; then
13129
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13130
 
$as_echo "no" >&6; }
13131
 
 
13132
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13133
 
        _pkg_short_errors_supported=yes
13134
 
else
13135
 
        _pkg_short_errors_supported=no
13136
 
fi
13137
 
        if test $_pkg_short_errors_supported = yes; then
13138
 
                DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13139
 
                  glib-2.0 >= $GLIB_REQUIRED \
13140
 
                  gio-2.0 >= $GLIB_REQUIRED \
13141
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13142
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13143
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13144
 
                  libsexy >= $LIBSEXY_REQUIRED \
13145
 
                  " 2>&1`
13146
 
        else
13147
 
                DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13148
 
                  glib-2.0 >= $GLIB_REQUIRED \
13149
 
                  gio-2.0 >= $GLIB_REQUIRED \
13150
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13151
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13152
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13153
 
                  libsexy >= $LIBSEXY_REQUIRED \
13154
 
                  " 2>&1`
13155
 
        fi
13156
 
        # Put the nasty error message in config.log where it belongs
13157
 
        echo "$DEPENDENCIES_PKG_ERRORS" >&5
13158
 
 
13159
 
        as_fn_error $? "Package requirements (\
13160
 
                  glib-2.0 >= $GLIB_REQUIRED \
13161
 
                  gio-2.0 >= $GLIB_REQUIRED \
13162
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13163
 
                  libglade-2.0 >= $LIBGLADE_REQUIRED \
13164
 
                  gconf-2.0 >= $GCONF_REQUIRED \
13165
 
                  libsexy >= $LIBSEXY_REQUIRED \
13166
 
                  ) were not met:
13167
 
 
13168
 
$DEPENDENCIES_PKG_ERRORS
13169
 
 
13170
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13171
 
installed software in a non-standard prefix.
13172
 
 
13173
 
Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
13174
 
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
13175
 
See the pkg-config man page for more details." "$LINENO" 5
13176
 
elif test $pkg_failed = untried; then
13177
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178
 
$as_echo "no" >&6; }
13179
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13180
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13181
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13182
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13183
 
path to pkg-config.
13184
 
 
13185
 
Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
13186
 
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
13187
 
See the pkg-config man page for more details.
13188
 
 
13189
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13190
 
See \`config.log' for more details" "$LINENO" 5 ; }
13191
 
else
13192
 
        DEPENDENCIES_CFLAGS=$pkg_cv_DEPENDENCIES_CFLAGS
13193
 
        DEPENDENCIES_LIBS=$pkg_cv_DEPENDENCIES_LIBS
13194
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13195
 
$as_echo "yes" >&6; }
13196
 
 
13197
 
fi
13198
 
 
13199
 
#EggSMClient replacing GnomeClient in libgnome
13200
 
 
13201
 
pkg_failed=no
13202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG_SMCLIENT" >&5
13203
 
$as_echo_n "checking for EGG_SMCLIENT... " >&6; }
13204
 
 
13205
 
if test -n "$EGG_SMCLIENT_CFLAGS"; then
13206
 
    pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_CFLAGS"
13207
 
 elif test -n "$PKG_CONFIG"; then
13208
 
    if test -n "$PKG_CONFIG" && \
13209
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13210
 
                  gtk+-2.0 >= \$GTK_REQUIRED \\
13211
 
                  sm >= \$SM_REQUIRED \\
13212
 
                  \""; } >&5
13213
 
  ($PKG_CONFIG --exists --print-errors "\
13214
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13215
 
                  sm >= $SM_REQUIRED \
13216
 
                  ") 2>&5
13217
 
  ac_status=$?
13218
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13219
 
  test $ac_status = 0; }; then
13220
 
  pkg_cv_EGG_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "\
13221
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13222
 
                  sm >= $SM_REQUIRED \
13223
 
                  " 2>/dev/null`
13224
 
else
13225
 
  pkg_failed=yes
13226
 
fi
13227
 
 else
13228
 
    pkg_failed=untried
13229
 
fi
13230
 
if test -n "$EGG_SMCLIENT_LIBS"; then
13231
 
    pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
13232
 
 elif test -n "$PKG_CONFIG"; then
13233
 
    if test -n "$PKG_CONFIG" && \
13234
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13235
 
                  gtk+-2.0 >= \$GTK_REQUIRED \\
13236
 
                  sm >= \$SM_REQUIRED \\
13237
 
                  \""; } >&5
13238
 
  ($PKG_CONFIG --exists --print-errors "\
13239
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13240
 
                  sm >= $SM_REQUIRED \
13241
 
                  ") 2>&5
13242
 
  ac_status=$?
13243
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13244
 
  test $ac_status = 0; }; then
13245
 
  pkg_cv_EGG_SMCLIENT_LIBS=`$PKG_CONFIG --libs "\
13246
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13247
 
                  sm >= $SM_REQUIRED \
13248
 
                  " 2>/dev/null`
13249
 
else
13250
 
  pkg_failed=yes
13251
 
fi
13252
 
 else
13253
 
    pkg_failed=untried
13254
 
fi
13255
 
 
13256
 
 
13257
 
 
13258
 
if test $pkg_failed = yes; then
13259
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260
 
$as_echo "no" >&6; }
13261
 
 
13262
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13263
 
        _pkg_short_errors_supported=yes
13264
 
else
13265
 
        _pkg_short_errors_supported=no
13266
 
fi
13267
 
        if test $_pkg_short_errors_supported = yes; then
13268
 
                EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13269
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13270
 
                  sm >= $SM_REQUIRED \
13271
 
                  " 2>&1`
13272
 
        else
13273
 
                EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13274
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13275
 
                  sm >= $SM_REQUIRED \
13276
 
                  " 2>&1`
13277
 
        fi
13278
 
        # Put the nasty error message in config.log where it belongs
13279
 
        echo "$EGG_SMCLIENT_PKG_ERRORS" >&5
13280
 
 
13281
 
        as_fn_error $? "Package requirements (\
13282
 
                  gtk+-2.0 >= $GTK_REQUIRED \
13283
 
                  sm >= $SM_REQUIRED \
13284
 
                  ) were not met:
13285
 
 
13286
 
$EGG_SMCLIENT_PKG_ERRORS
13287
 
 
13288
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13289
 
installed software in a non-standard prefix.
13290
 
 
13291
 
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
13292
 
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
13293
 
See the pkg-config man page for more details." "$LINENO" 5
13294
 
elif test $pkg_failed = untried; then
13295
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296
 
$as_echo "no" >&6; }
13297
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13300
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13301
 
path to pkg-config.
13302
 
 
13303
 
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
13304
 
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
13305
 
See the pkg-config man page for more details.
13306
 
 
13307
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13308
 
See \`config.log' for more details" "$LINENO" 5 ; }
13309
 
else
13310
 
        EGG_SMCLIENT_CFLAGS=$pkg_cv_EGG_SMCLIENT_CFLAGS
13311
 
        EGG_SMCLIENT_LIBS=$pkg_cv_EGG_SMCLIENT_LIBS
13312
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13313
 
$as_echo "yes" >&6; }
13314
 
 
13315
 
fi
13316
 
 
13317
 
 
13318
 
 
13319
 
#D-Bus
13320
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether D-Bus support is requested" >&5
13321
 
$as_echo_n "checking whether D-Bus support is requested... " >&6; }
13322
 
# Check whether --enable-dbus was given.
13323
 
if test "${enable_dbus+set}" = set; then :
13324
 
  enableval=$enable_dbus; enable_dbus=$enableval dbus=$enableval
13325
 
else
13326
 
  enable_dbus=autodetect dbus=yes
13327
 
fi
13328
 
 
13329
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dbus" >&5
13330
 
$as_echo "$enable_dbus" >&6; }
13331
 
 
13332
 
if test "x$enable_dbus" != "xno"; then
13333
 
# D-BUS soft dependency
13334
 
 
13335
 
pkg_failed=no
13336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13337
 
$as_echo_n "checking for DBUS... " >&6; }
13338
 
 
13339
 
if test -n "$DBUS_CFLAGS"; then
13340
 
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13341
 
 elif test -n "$PKG_CONFIG"; then
13342
 
    if test -n "$PKG_CONFIG" && \
13343
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13344
 
                          dbus-1 >= \$DBUS_REQUIRED \\
13345
 
                          dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
13346
 
                          gthread-2.0 \\
13347
 
                          \""; } >&5
13348
 
  ($PKG_CONFIG --exists --print-errors "\
13349
 
                          dbus-1 >= $DBUS_REQUIRED \
13350
 
                          dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13351
 
                          gthread-2.0 \
13352
 
                          ") 2>&5
13353
 
  ac_status=$?
13354
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13355
 
  test $ac_status = 0; }; then
13356
 
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "\
13357
 
                          dbus-1 >= $DBUS_REQUIRED \
13358
 
                          dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13359
 
                          gthread-2.0 \
13360
 
                          " 2>/dev/null`
13361
 
else
13362
 
  pkg_failed=yes
13363
 
fi
13364
 
 else
13365
 
    pkg_failed=untried
13366
 
fi
13367
 
if test -n "$DBUS_LIBS"; then
13368
 
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13369
 
 elif test -n "$PKG_CONFIG"; then
13370
 
    if test -n "$PKG_CONFIG" && \
13371
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13372
 
                          dbus-1 >= \$DBUS_REQUIRED \\
13373
 
                          dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
13374
 
                          gthread-2.0 \\
13375
 
                          \""; } >&5
13376
 
  ($PKG_CONFIG --exists --print-errors "\
13377
 
                          dbus-1 >= $DBUS_REQUIRED \
13378
 
                          dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13379
 
                          gthread-2.0 \
13380
 
                          ") 2>&5
13381
 
  ac_status=$?
13382
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13383
 
  test $ac_status = 0; }; then
13384
 
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "\
13385
 
                          dbus-1 >= $DBUS_REQUIRED \
13386
 
                          dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13387
 
                          gthread-2.0 \
13388
 
                          " 2>/dev/null`
13389
 
else
13390
 
  pkg_failed=yes
13391
 
fi
13392
 
 else
13393
 
    pkg_failed=untried
13394
 
fi
13395
 
 
13396
 
 
13397
 
 
13398
 
if test $pkg_failed = yes; then
13399
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400
 
$as_echo "no" >&6; }
13401
 
 
13402
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13403
 
        _pkg_short_errors_supported=yes
13404
 
else
13405
 
        _pkg_short_errors_supported=no
13406
 
fi
13407
 
        if test $_pkg_short_errors_supported = yes; then
13408
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13409
 
                          dbus-1 >= $DBUS_REQUIRED \
13410
 
                          dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13411
 
                          gthread-2.0 \
13412
 
                          " 2>&1`
13413
 
        else
13414
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13415
 
                          dbus-1 >= $DBUS_REQUIRED \
13416
 
                          dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13417
 
                          gthread-2.0 \
13418
 
                          " 2>&1`
13419
 
        fi
13420
 
        # Put the nasty error message in config.log where it belongs
13421
 
        echo "$DBUS_PKG_ERRORS" >&5
13422
 
 
13423
 
        dbus=no
13424
 
elif test $pkg_failed = untried; then
13425
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13426
 
$as_echo "no" >&6; }
13427
 
        dbus=no
13428
 
else
13429
 
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13430
 
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
13431
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13432
 
$as_echo "yes" >&6; }
13433
 
        dbus=yes
13434
 
fi
13435
 
        if test "x$dbus" = "xno"; then
13436
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library requirements (dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
13437
 
$as_echo "$as_me: WARNING: Library requirements (dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
13438
 
        fi
13439
 
 
13440
 
 
13441
 
        # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
13442
 
set dummy dbus-binding-tool; ac_word=$2
13443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444
 
$as_echo_n "checking for $ac_word... " >&6; }
13445
 
if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
13446
 
  $as_echo_n "(cached) " >&6
13447
 
else
13448
 
  case $DBUS_BINDING_TOOL in
13449
 
  [\\/]* | ?:[\\/]*)
13450
 
  ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
13451
 
  ;;
13452
 
  *)
13453
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13454
 
for as_dir in $PATH
13455
 
do
13456
 
  IFS=$as_save_IFS
13457
 
  test -z "$as_dir" && as_dir=.
13458
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13459
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13460
 
    ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
13461
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13462
 
    break 2
13463
 
  fi
13464
 
done
13465
 
  done
13466
 
IFS=$as_save_IFS
13467
 
 
13468
 
  test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
13469
 
  ;;
13470
 
esac
13471
 
fi
13472
 
DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
13473
 
if test -n "$DBUS_BINDING_TOOL"; then
13474
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
13475
 
$as_echo "$DBUS_BINDING_TOOL" >&6; }
13476
 
else
13477
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478
 
$as_echo "no" >&6; }
13479
 
fi
13480
 
 
13481
 
 
13482
 
        if test "x$DBUS_BINDING_TOOL" = "xno"; then
13483
 
                dbus="no"
13484
 
        fi
13485
 
fi
13486
 
 
13487
 
if test "x$dbus" != "xyes"; then
13488
 
        if test "x$enable_dbus" = "xyes"; then
13489
 
                as_fn_error $? "D-Bus not found" "$LINENO" 5
13490
 
        elif test "x$enable_dbus" = "xautodetect"; then
13491
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: D-Bus not found, disabling dbus support" >&5
13492
 
$as_echo "$as_me: WARNING: D-Bus not found, disabling dbus support" >&2;}
13493
 
        fi
13494
 
else
13495
 
 
13496
 
$as_echo "#define USE_DBUS 1" >>confdefs.h
13497
 
 
13498
 
 
13499
 
  EXP_VAR=DATADIR
13500
 
  FROM_VAR=$datadir
13501
 
 
13502
 
    prefix_save=$prefix
13503
 
  exec_prefix_save=$exec_prefix
13504
 
 
13505
 
    if test "x$prefix" = "xNONE"; then
13506
 
    prefix=$ac_default_prefix
13507
 
  fi
13508
 
    if test "x$exec_prefix" = "xNONE"; then
13509
 
    exec_prefix=$prefix
13510
 
  fi
13511
 
 
13512
 
  full_var="$FROM_VAR"
13513
 
    while true; do
13514
 
    new_full_var="`eval echo $full_var`"
13515
 
    if test "x$new_full_var"="x$full_var"; then break; fi
13516
 
    full_var=$new_full_var
13517
 
  done
13518
 
 
13519
 
    full_var=$new_full_var
13520
 
  DATADIR="$full_var"
13521
 
 
13522
 
 
13523
 
    prefix=$prefix_save
13524
 
  exec_prefix=$exec_prefix_save
13525
 
 
13526
 
 
13527
 
        DBUS_SERVICES_DIR="$DATADIR/dbus-1/services"
13528
 
 
13529
 
 
13530
 
cat >>confdefs.h <<_ACEOF
13531
 
#define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR"
13532
 
_ACEOF
13533
 
 
13534
 
fi
13535
 
 
13536
 
 if test "x$dbus" = "xyes"; then
13537
 
  ENABLE_DBUS_TRUE=
13538
 
  ENABLE_DBUS_FALSE='#'
13539
 
else
13540
 
  ENABLE_DBUS_TRUE='#'
13541
 
  ENABLE_DBUS_FALSE=
13542
 
fi
13543
 
 
13544
 
 
13545
 
# libnotify
13546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to notification sounds using libnotify" >&5
13547
 
$as_echo_n "checking whether to notification sounds using libnotify... " >&6; }
13548
 
# Check whether --enable-notification was given.
13549
 
if test "${enable_notification+set}" = set; then :
13550
 
  enableval=$enable_notification;
13551
 
else
13552
 
  enable_notification=yes
13553
 
fi
13554
 
 
13555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_notification" >&5
13556
 
$as_echo "$enable_notification" >&6; }
13557
 
 
13558
 
if test "$enable_notification" = "yes"; then
13559
 
 
13560
 
pkg_failed=no
13561
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
13562
 
$as_echo_n "checking for LIBNOTIFY... " >&6; }
13563
 
 
13564
 
if test -n "$LIBNOTIFY_CFLAGS"; then
13565
 
    pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
13566
 
 elif test -n "$PKG_CONFIG"; then
13567
 
    if test -n "$PKG_CONFIG" && \
13568
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13569
 
  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13570
 
  ac_status=$?
13571
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13572
 
  test $ac_status = 0; }; then
13573
 
  pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13574
 
else
13575
 
  pkg_failed=yes
13576
 
fi
13577
 
 else
13578
 
    pkg_failed=untried
13579
 
fi
13580
 
if test -n "$LIBNOTIFY_LIBS"; then
13581
 
    pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
13582
 
 elif test -n "$PKG_CONFIG"; then
13583
 
    if test -n "$PKG_CONFIG" && \
13584
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13585
 
  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13586
 
  ac_status=$?
13587
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13588
 
  test $ac_status = 0; }; then
13589
 
  pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13590
 
else
13591
 
  pkg_failed=yes
13592
 
fi
13593
 
 else
13594
 
    pkg_failed=untried
13595
 
fi
13596
 
 
13597
 
 
13598
 
 
13599
 
if test $pkg_failed = yes; then
13600
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13601
 
$as_echo "no" >&6; }
13602
 
 
13603
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13604
 
        _pkg_short_errors_supported=yes
13605
 
else
13606
 
        _pkg_short_errors_supported=no
13607
 
fi
13608
 
        if test $_pkg_short_errors_supported = yes; then
13609
 
                LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1`
13610
 
        else
13611
 
                LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1`
13612
 
        fi
13613
 
        # Put the nasty error message in config.log where it belongs
13614
 
        echo "$LIBNOTIFY_PKG_ERRORS" >&5
13615
 
 
13616
 
        as_fn_error $? "Package requirements (libnotify >= $LIBNOTIFY_REQUIRED) were not met:
13617
 
 
13618
 
$LIBNOTIFY_PKG_ERRORS
13619
 
 
13620
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13621
 
installed software in a non-standard prefix.
13622
 
 
13623
 
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
13624
 
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
13625
 
See the pkg-config man page for more details." "$LINENO" 5
13626
 
elif test $pkg_failed = untried; then
13627
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13628
 
$as_echo "no" >&6; }
13629
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13630
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13631
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13632
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13633
 
path to pkg-config.
13634
 
 
13635
 
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
13636
 
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
13637
 
See the pkg-config man page for more details.
13638
 
 
13639
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13640
 
See \`config.log' for more details" "$LINENO" 5 ; }
13641
 
else
13642
 
        LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
13643
 
        LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
13644
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13645
 
$as_echo "yes" >&6; }
13646
 
 
13647
 
fi
13648
 
 
13649
 
 
13650
 
fi
13651
 
 
13652
 
 if test "x$enable_notification" = "xyes"; then
13653
 
  ENABLE_LIBNOTIFY_TRUE=
13654
 
  ENABLE_LIBNOTIFY_FALSE='#'
13655
 
else
13656
 
  ENABLE_LIBNOTIFY_TRUE='#'
13657
 
  ENABLE_LIBNOTIFY_FALSE=
13658
 
fi
13659
 
 
13660
 
 
13661
 
# libcanberra-gtk
13662
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable notification sounds using libcanberra" >&5
13663
 
$as_echo_n "checking whether to enable notification sounds using libcanberra... " >&6; }
13664
 
# Check whether --enable-canberra was given.
13665
 
if test "${enable_canberra+set}" = set; then :
13666
 
  enableval=$enable_canberra;
13667
 
else
13668
 
  enable_canberra=yes
13669
 
fi
13670
 
 
13671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_canberra" >&5
13672
 
$as_echo "$enable_canberra" >&6; }
13673
 
 
13674
 
if test "$enable_canberra" = "yes"; then
13675
 
 
13676
 
pkg_failed=no
13677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCANBERRAGTK" >&5
13678
 
$as_echo_n "checking for LIBCANBERRAGTK... " >&6; }
13679
 
 
13680
 
if test -n "$LIBCANBERRAGTK_CFLAGS"; then
13681
 
    pkg_cv_LIBCANBERRAGTK_CFLAGS="$LIBCANBERRAGTK_CFLAGS"
13682
 
 elif test -n "$PKG_CONFIG"; then
13683
 
    if test -n "$PKG_CONFIG" && \
13684
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$LIBCANBERRAGTK_REQUIRED\""; } >&5
13685
 
  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED") 2>&5
13686
 
  ac_status=$?
13687
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13688
 
  test $ac_status = 0; }; then
13689
 
  pkg_cv_LIBCANBERRAGTK_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>/dev/null`
13690
 
else
13691
 
  pkg_failed=yes
13692
 
fi
13693
 
 else
13694
 
    pkg_failed=untried
13695
 
fi
13696
 
if test -n "$LIBCANBERRAGTK_LIBS"; then
13697
 
    pkg_cv_LIBCANBERRAGTK_LIBS="$LIBCANBERRAGTK_LIBS"
13698
 
 elif test -n "$PKG_CONFIG"; then
13699
 
    if test -n "$PKG_CONFIG" && \
13700
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$LIBCANBERRAGTK_REQUIRED\""; } >&5
13701
 
  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED") 2>&5
13702
 
  ac_status=$?
13703
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13704
 
  test $ac_status = 0; }; then
13705
 
  pkg_cv_LIBCANBERRAGTK_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>/dev/null`
13706
 
else
13707
 
  pkg_failed=yes
13708
 
fi
13709
 
 else
13710
 
    pkg_failed=untried
13711
 
fi
13712
 
 
13713
 
 
13714
 
 
13715
 
if test $pkg_failed = yes; then
13716
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13717
 
$as_echo "no" >&6; }
13718
 
 
13719
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13720
 
        _pkg_short_errors_supported=yes
13721
 
else
13722
 
        _pkg_short_errors_supported=no
13723
 
fi
13724
 
        if test $_pkg_short_errors_supported = yes; then
13725
 
                LIBCANBERRAGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>&1`
13726
 
        else
13727
 
                LIBCANBERRAGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>&1`
13728
 
        fi
13729
 
        # Put the nasty error message in config.log where it belongs
13730
 
        echo "$LIBCANBERRAGTK_PKG_ERRORS" >&5
13731
 
 
13732
 
        as_fn_error $? "Package requirements (libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED) were not met:
13733
 
 
13734
 
$LIBCANBERRAGTK_PKG_ERRORS
13735
 
 
13736
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13737
 
installed software in a non-standard prefix.
13738
 
 
13739
 
Alternatively, you may set the environment variables LIBCANBERRAGTK_CFLAGS
13740
 
and LIBCANBERRAGTK_LIBS to avoid the need to call pkg-config.
13741
 
See the pkg-config man page for more details." "$LINENO" 5
13742
 
elif test $pkg_failed = untried; then
13743
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13744
 
$as_echo "no" >&6; }
13745
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13746
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13747
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13748
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13749
 
path to pkg-config.
13750
 
 
13751
 
Alternatively, you may set the environment variables LIBCANBERRAGTK_CFLAGS
13752
 
and LIBCANBERRAGTK_LIBS to avoid the need to call pkg-config.
13753
 
See the pkg-config man page for more details.
13754
 
 
13755
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13756
 
See \`config.log' for more details" "$LINENO" 5 ; }
13757
 
else
13758
 
        LIBCANBERRAGTK_CFLAGS=$pkg_cv_LIBCANBERRAGTK_CFLAGS
13759
 
        LIBCANBERRAGTK_LIBS=$pkg_cv_LIBCANBERRAGTK_LIBS
13760
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13761
 
$as_echo "yes" >&6; }
13762
 
 
13763
 
fi
13764
 
 
13765
 
 
13766
 
fi
13767
 
 
13768
 
 if test "x$enable_canberra" = "xyes"; then
13769
 
  ENABLE_LIBCANBERRA_TRUE=
13770
 
  ENABLE_LIBCANBERRA_FALSE='#'
13771
 
else
13772
 
  ENABLE_LIBCANBERRA_TRUE='#'
13773
 
  ENABLE_LIBCANBERRA_FALSE=
13774
 
fi
13775
 
 
13776
 
 
13777
 
# GConf
13778
 
 
13779
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
13780
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
13781
 
  else
13782
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
13783
 
  fi
13784
 
 
13785
 
 
13786
 
# Check whether --with-gconf-source was given.
13787
 
if test "${with_gconf_source+set}" = set; then :
13788
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
13789
 
fi
13790
 
 
13791
 
 
13792
 
 
13793
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
13794
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
13795
 
 
13796
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
13797
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
13798
 
  fi
13799
 
 
13800
 
 
13801
 
# Check whether --with-gconf-schema-file-dir was given.
13802
 
if test "${with_gconf_schema_file_dir+set}" = set; then :
13803
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
13804
 
fi
13805
 
 
13806
 
 
13807
 
 
13808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
13809
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
13810
 
 
13811
 
  # Check whether --enable-schemas-install was given.
13812
 
if test "${enable_schemas_install+set}" = set; then :
13813
 
  enableval=$enable_schemas_install; case ${enableval} in
13814
 
       yes|no) ;;
13815
 
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5  ;;
13816
 
      esac
13817
 
fi
13818
 
 
13819
 
   if test "$enable_schemas_install" != no; then
13820
 
  GCONF_SCHEMAS_INSTALL_TRUE=
13821
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
13822
 
else
13823
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
13824
 
  GCONF_SCHEMAS_INSTALL_FALSE=
13825
 
fi
13826
 
 
13827
 
 
13828
 
# Extract the first word of "gconftool-2", so it can be a program name with args.
13829
 
set dummy gconftool-2; ac_word=$2
13830
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13831
 
$as_echo_n "checking for $ac_word... " >&6; }
13832
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
13833
 
  $as_echo_n "(cached) " >&6
13834
 
else
13835
 
  case $GCONFTOOL in
13836
 
  [\\/]* | ?:[\\/]*)
13837
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
13838
 
  ;;
13839
 
  *)
13840
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13841
 
for as_dir in $PATH
13842
 
do
13843
 
  IFS=$as_save_IFS
13844
 
  test -z "$as_dir" && as_dir=.
13845
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13846
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13847
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
13848
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13849
 
    break 2
13850
 
  fi
13851
 
done
13852
 
  done
13853
 
IFS=$as_save_IFS
13854
 
 
13855
 
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
13856
 
  ;;
13857
 
esac
13858
 
fi
13859
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
13860
 
if test -n "$GCONFTOOL"; then
13861
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
13862
 
$as_echo "$GCONFTOOL" >&6; }
13863
 
else
13864
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865
 
$as_echo "no" >&6; }
13866
 
fi
13867
 
 
13868
 
 
13869
 
 
13870
 
# SOCKS5
13871
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOCKSconnect in -lsocks5" >&5
13872
 
$as_echo_n "checking for SOCKSconnect in -lsocks5... " >&6; }
13873
 
if test "${ac_cv_lib_socks5_SOCKSconnect+set}" = set; then :
13874
 
  $as_echo_n "(cached) " >&6
13875
 
else
13876
 
  ac_check_lib_save_LIBS=$LIBS
13877
 
LIBS="-lsocks5  $LIBS"
13878
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879
 
/* end confdefs.h.  */
13880
 
 
13881
 
/* Override any GCC internal prototype to avoid an error.
13882
 
   Use char because int might match the return type of a GCC
13883
 
   builtin and then its argument prototype would still apply.  */
13884
 
#ifdef __cplusplus
13885
 
extern "C"
13886
 
#endif
13887
 
char SOCKSconnect ();
13888
 
int
13889
 
main ()
13890
 
{
13891
 
return SOCKSconnect ();
13892
 
  ;
13893
 
  return 0;
13894
 
}
13895
 
_ACEOF
13896
 
if ac_fn_c_try_link "$LINENO"; then :
13897
 
  ac_cv_lib_socks5_SOCKSconnect=yes
13898
 
else
13899
 
  ac_cv_lib_socks5_SOCKSconnect=no
13900
 
fi
13901
 
rm -f core conftest.err conftest.$ac_objext \
13902
 
    conftest$ac_exeext conftest.$ac_ext
13903
 
LIBS=$ac_check_lib_save_LIBS
13904
 
fi
13905
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks5_SOCKSconnect" >&5
13906
 
$as_echo "$ac_cv_lib_socks5_SOCKSconnect" >&6; }
13907
 
if test "x$ac_cv_lib_socks5_SOCKSconnect" = x""yes; then :
13908
 
  have_socks=yes
13909
 
else
13910
 
  have_socks=no
13911
 
fi
13912
 
 
13913
 
for ac_header in socks.h
13914
 
do :
13915
 
  ac_fn_c_check_header_mongrel "$LINENO" "socks.h" "ac_cv_header_socks_h" "$ac_includes_default"
13916
 
if test "x$ac_cv_header_socks_h" = x""yes; then :
13917
 
  cat >>confdefs.h <<_ACEOF
13918
 
#define HAVE_SOCKS_H 1
13919
 
_ACEOF
13920
 
 
13921
 
else
13922
 
  have_socks=no
13923
 
fi
13924
 
 
13925
 
done
13926
 
 
13927
 
if test "x$have_socks" = xyes; then
13928
 
 
13929
 
$as_echo "#define SOCKS /**/" >>confdefs.h
13930
 
 
13931
 
        DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS -lsocks5"
13932
 
fi
13933
 
 
13934
 
# Perl
13935
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Perl support is requested" >&5
13936
 
$as_echo_n "checking whether Perl support is requested... " >&6; }
13937
 
# Check whether --enable-perl was given.
13938
 
if test "${enable_perl+set}" = set; then :
13939
 
  enableval=$enable_perl; enable_perl=$enableval have_perl=$enableval
13940
 
else
13941
 
  enable_perl=autodetect have_perl=yes
13942
 
fi
13943
 
 
13944
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perl" >&5
13945
 
$as_echo "$enable_perl" >&6; }
13946
 
 
13947
 
if test "x$have_perl" != "xno"; then
13948
 
        # Extract the first word of "perl perl5", so it can be a program name with args.
13949
 
set dummy perl perl5; ac_word=$2
13950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13951
 
$as_echo_n "checking for $ac_word... " >&6; }
13952
 
if test "${ac_cv_path_PERL+set}" = set; then :
13953
 
  $as_echo_n "(cached) " >&6
13954
 
else
13955
 
  case $PERL in
13956
 
  [\\/]* | ?:[\\/]*)
13957
 
  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
13958
 
  ;;
13959
 
  *)
13960
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13961
 
for as_dir in $PATH
13962
 
do
13963
 
  IFS=$as_save_IFS
13964
 
  test -z "$as_dir" && as_dir=.
13965
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13966
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13967
 
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
13968
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13969
 
    break 2
13970
 
  fi
13971
 
done
13972
 
  done
13973
 
IFS=$as_save_IFS
13974
 
 
13975
 
  ;;
13976
 
esac
13977
 
fi
13978
 
PERL=$ac_cv_path_PERL
13979
 
if test -n "$PERL"; then
13980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
13981
 
$as_echo "$PERL" >&6; }
13982
 
else
13983
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13984
 
$as_echo "no" >&6; }
13985
 
fi
13986
 
 
13987
 
 
13988
 
        if test -z $PERL ; then
13989
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Perl interpreter not found, disabling perl support" >&5
13990
 
$as_echo "$as_me: WARNING: Perl interpreter not found, disabling perl support" >&2;}
13991
 
                have_perl=no
13992
 
        fi
13993
 
fi
13994
 
 
13995
 
if test "x$have_perl" != "xno"; then
13996
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl header files" >&5
13997
 
$as_echo_n "checking for Perl header files... " >&6; }
13998
 
        PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT;  echo "#include <perl.h>" >> $PT;  echo "#include <XSUB.h>" >> $PT ;  echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
13999
 
 
14000
 
        if test "x$PERL_HEADER_TEST" = "x0" ; then
14001
 
                PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
14002
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14003
 
$as_echo "found" >&6; }
14004
 
        else
14005
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Perl headers not found, disabling perl support" >&5
14006
 
$as_echo "$as_me: WARNING: Perl headers not found, disabling perl support" >&2;}
14007
 
                have_perl=no
14008
 
        fi
14009
 
fi
14010
 
 
14011
 
if test "x$have_perl" != "xno"; then
14012
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl library" >&5
14013
 
$as_echo_n "checking for Perl library... " >&6; }
14014
 
        PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
14015
 
 
14016
 
        if test "x$PERL_LIB_TEST" = "x0" ; then
14017
 
                PERL_LDFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
14018
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14019
 
$as_echo "found" >&6; }
14020
 
 
14021
 
 
14022
 
 
14023
 
$as_echo "#define ENABLE_PERL 1" >>confdefs.h
14024
 
 
14025
 
                enable_perl=yes
14026
 
        else
14027
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14028
 
$as_echo "not found" >&6; }
14029
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Perl library not found, disabling perl support" >&5
14030
 
$as_echo "$as_me: WARNING: Perl library not found, disabling perl support" >&2;}
14031
 
        fi
14032
 
 
14033
 
fi
14034
 
 
14035
 
# Python
14036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Python support is requested" >&5
14037
 
$as_echo_n "checking whether Python support is requested... " >&6; }
14038
 
# Check whether --enable-python was given.
14039
 
if test "${enable_python+set}" = set; then :
14040
 
  enableval=$enable_python; enable_python=$enableval have_python=$enableval
14041
 
else
14042
 
  enable_python=autodetect have_python=yes
14043
 
fi
14044
 
 
14045
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python" >&5
14046
 
$as_echo "$enable_python" >&6; }
14047
 
 
14048
 
if test "x$have_python" != "xno"; then
14049
 
 
14050
 
 
14051
 
 
14052
 
 
14053
 
        if test -n "$PYTHON"; then
14054
 
      # If the user set $PYTHON, use it and don't search something else.
14055
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.3" >&5
14056
 
$as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
14057
 
      prog="import sys
14058
 
# split strings by '.' and convert to numeric.  Append some zeros
14059
 
# because we need at least 4 digits for the hex conversion.
14060
 
# map returns an iterator in Python 3.0 and a list in 2.x
14061
 
minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
14062
 
minverhex = 0
14063
 
# xrange is not present in Python 3.0 and range returns an iterator
14064
 
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14065
 
sys.exit(sys.hexversion < minverhex)"
14066
 
  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14067
 
   ($PYTHON -c "$prog") >&5 2>&5
14068
 
   ac_status=$?
14069
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070
 
   (exit $ac_status); }; then :
14071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14072
 
$as_echo "yes" >&6; }
14073
 
else
14074
 
  as_fn_error $? "too old" "$LINENO" 5
14075
 
fi
14076
 
      am_display_PYTHON=$PYTHON
14077
 
    else
14078
 
      # Otherwise, try each interpreter until we find one that satisfies
14079
 
      # VERSION.
14080
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.3" >&5
14081
 
$as_echo_n "checking for a Python interpreter with version >= 2.3... " >&6; }
14082
 
if test "${am_cv_pathless_PYTHON+set}" = set; then :
14083
 
  $as_echo_n "(cached) " >&6
14084
 
else
14085
 
 
14086
 
        for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14087
 
          test "$am_cv_pathless_PYTHON" = none && break
14088
 
          prog="import sys
14089
 
# split strings by '.' and convert to numeric.  Append some zeros
14090
 
# because we need at least 4 digits for the hex conversion.
14091
 
# map returns an iterator in Python 3.0 and a list in 2.x
14092
 
minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
14093
 
minverhex = 0
14094
 
# xrange is not present in Python 3.0 and range returns an iterator
14095
 
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14096
 
sys.exit(sys.hexversion < minverhex)"
14097
 
  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14098
 
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14099
 
   ac_status=$?
14100
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101
 
   (exit $ac_status); }; then :
14102
 
  break
14103
 
fi
14104
 
        done
14105
 
fi
14106
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14107
 
$as_echo "$am_cv_pathless_PYTHON" >&6; }
14108
 
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14109
 
      if test "$am_cv_pathless_PYTHON" = none; then
14110
 
        PYTHON=:
14111
 
      else
14112
 
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14113
 
set dummy $am_cv_pathless_PYTHON; ac_word=$2
14114
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14115
 
$as_echo_n "checking for $ac_word... " >&6; }
14116
 
if test "${ac_cv_path_PYTHON+set}" = set; then :
14117
 
  $as_echo_n "(cached) " >&6
14118
 
else
14119
 
  case $PYTHON in
14120
 
  [\\/]* | ?:[\\/]*)
14121
 
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14122
 
  ;;
14123
 
  *)
14124
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14125
 
for as_dir in $PATH
14126
 
do
14127
 
  IFS=$as_save_IFS
14128
 
  test -z "$as_dir" && as_dir=.
14129
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14130
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14131
 
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14132
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14133
 
    break 2
14134
 
  fi
14135
 
done
14136
 
  done
14137
 
IFS=$as_save_IFS
14138
 
 
14139
 
  ;;
14140
 
esac
14141
 
fi
14142
 
PYTHON=$ac_cv_path_PYTHON
14143
 
if test -n "$PYTHON"; then
14144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14145
 
$as_echo "$PYTHON" >&6; }
14146
 
else
14147
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14148
 
$as_echo "no" >&6; }
14149
 
fi
14150
 
 
14151
 
 
14152
 
      fi
14153
 
      am_display_PYTHON=$am_cv_pathless_PYTHON
14154
 
    fi
14155
 
 
14156
 
 
14157
 
  if test "$PYTHON" = :; then
14158
 
      no
14159
 
  else
14160
 
 
14161
 
 
14162
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14163
 
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14164
 
if test "${am_cv_python_version+set}" = set; then :
14165
 
  $as_echo_n "(cached) " >&6
14166
 
else
14167
 
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14168
 
fi
14169
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14170
 
$as_echo "$am_cv_python_version" >&6; }
14171
 
  PYTHON_VERSION=$am_cv_python_version
14172
 
 
14173
 
 
14174
 
 
14175
 
  PYTHON_PREFIX='${prefix}'
14176
 
 
14177
 
  PYTHON_EXEC_PREFIX='${exec_prefix}'
14178
 
 
14179
 
 
14180
 
 
14181
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14182
 
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14183
 
if test "${am_cv_python_platform+set}" = set; then :
14184
 
  $as_echo_n "(cached) " >&6
14185
 
else
14186
 
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14187
 
fi
14188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14189
 
$as_echo "$am_cv_python_platform" >&6; }
14190
 
  PYTHON_PLATFORM=$am_cv_python_platform
14191
 
 
14192
 
 
14193
 
 
14194
 
 
14195
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14196
 
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14197
 
if test "${am_cv_python_pythondir+set}" = set; then :
14198
 
  $as_echo_n "(cached) " >&6
14199
 
else
14200
 
  if test "x$prefix" = xNONE
14201
 
     then
14202
 
       am_py_prefix=$ac_default_prefix
14203
 
     else
14204
 
       am_py_prefix=$prefix
14205
 
     fi
14206
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
14207
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14208
 
     case $am_cv_python_pythondir in
14209
 
     $am_py_prefix*)
14210
 
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14211
 
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14212
 
       ;;
14213
 
     *)
14214
 
       case $am_py_prefix in
14215
 
         /usr|/System*) ;;
14216
 
         *)
14217
 
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14218
 
          ;;
14219
 
       esac
14220
 
       ;;
14221
 
     esac
14222
 
 
14223
 
fi
14224
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14225
 
$as_echo "$am_cv_python_pythondir" >&6; }
14226
 
  pythondir=$am_cv_python_pythondir
14227
 
 
14228
 
 
14229
 
 
14230
 
  pkgpythondir=\${pythondir}/$PACKAGE
14231
 
 
14232
 
 
14233
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14234
 
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14235
 
if test "${am_cv_python_pyexecdir+set}" = set; then :
14236
 
  $as_echo_n "(cached) " >&6
14237
 
else
14238
 
  if test "x$exec_prefix" = xNONE
14239
 
     then
14240
 
       am_py_exec_prefix=$am_py_prefix
14241
 
     else
14242
 
       am_py_exec_prefix=$exec_prefix
14243
 
     fi
14244
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
14245
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14246
 
     case $am_cv_python_pyexecdir in
14247
 
     $am_py_exec_prefix*)
14248
 
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14249
 
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14250
 
       ;;
14251
 
     *)
14252
 
       case $am_py_exec_prefix in
14253
 
         /usr|/System*) ;;
14254
 
         *)
14255
 
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14256
 
           ;;
14257
 
       esac
14258
 
       ;;
14259
 
     esac
14260
 
 
14261
 
fi
14262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14263
 
$as_echo "$am_cv_python_pyexecdir" >&6; }
14264
 
  pyexecdir=$am_cv_python_pyexecdir
14265
 
 
14266
 
 
14267
 
 
14268
 
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
14269
 
 
14270
 
 
14271
 
 
14272
 
  fi
14273
 
 
14274
 
 
14275
 
 
14276
 
        if test "x$PYTHON" = "x:"; then
14277
 
                have_python=no
14278
 
        fi
14279
 
fi
14280
 
 
14281
 
if test "x$have_python" != "xno"; then
14282
 
 
14283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14284
 
$as_echo_n "checking for headers required to compile python extensions... " >&6; }
14285
 
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
14286
 
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
14287
 
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14288
 
if test "$py_prefix" != "$py_exec_prefix"; then
14289
 
  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14290
 
fi
14291
 
 
14292
 
save_CPPFLAGS="$CPPFLAGS"
14293
 
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14294
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295
 
/* end confdefs.h.  */
14296
 
#include <Python.h>
14297
 
_ACEOF
14298
 
if ac_fn_c_try_cpp "$LINENO"; then :
14299
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14300
 
$as_echo "found" >&6; }
14301
 
 
14302
 
else
14303
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14304
 
$as_echo "not found" >&6; }
14305
 
have_python=no
14306
 
fi
14307
 
rm -f conftest.err conftest.i conftest.$ac_ext
14308
 
CPPFLAGS="$save_CPPFLAGS"
14309
 
 
14310
 
fi
14311
 
 
14312
 
if test "x$have_python" != "xno"; then
14313
 
        PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
14314
 
        PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'`
14315
 
        PYTHON_LIBS="-lpython$PYTHON_VERSION"
14316
 
        PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config"
14317
 
        PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
14318
 
        PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config/Makefile"
14319
 
        PYTHON_LOCALMODLIBS=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
14320
 
        PYTHON_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
14321
 
        PYTHON_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
14322
 
        PYTHON_EXTRA_LIBS="$PYTHON_LOCALMODLIBS $PYTHON_BASEMODLIBS $PYTHON_OTHER_LIBS"
14323
 
 
14324
 
 
14325
 
 
14326
 
 
14327
 
fi
14328
 
 
14329
 
if test "x$have_python" != "xyes"; then
14330
 
        if test "x$enable_python" = "xyes"; then
14331
 
                as_fn_error $? "Python not found" "$LINENO" 5
14332
 
        elif test "x$enable_python" = "xautodetect"; then
14333
 
                enable_python=no
14334
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python not found, disabling python support" >&5
14335
 
$as_echo "$as_me: WARNING: Python not found, disabling python support" >&2;}
14336
 
        fi
14337
 
elif test "x$enable_python" != "xno"; then
14338
 
        enable_python=yes
14339
 
 
14340
 
$as_echo "#define ENABLE_PYTHON 1" >>confdefs.h
14341
 
 
14342
 
fi
14343
 
 
14344
 
# TCL
14345
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TCL support is requested" >&5
14346
 
$as_echo_n "checking whether TCL support is requested... " >&6; }
14347
 
# Check whether --enable-tcl was given.
14348
 
if test "${enable_tcl+set}" = set; then :
14349
 
  enableval=$enable_tcl; enable_tcl=$enableval have_tcl=$enableval
14350
 
else
14351
 
  enable_tcl=autodetect have_tcl=yes
14352
 
fi
14353
 
 
14354
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_tcl" >&5
14355
 
$as_echo "$enable_tcl" >&6; }
14356
 
 
14357
 
if test "x$have_tcl" != "xno"; then
14358
 
        have_tcl=no
14359
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14360
 
$as_echo_n "checking for tclConfig.sh... " >&6; }
14361
 
        for dir in $tcl /lib /usr/lib /usr/lib/tcl8.4 /usr/tcl/lib /usr/local/lib /usr/local/tcl-8.4/lib /usr/local/tcl/lib /opt/lib; do
14362
 
                if test -f $dir/tclConfig.sh; then
14363
 
                        . $dir/tclConfig.sh
14364
 
                        TCL_LIBS="$TCL_LIB_SPEC $TCL_LIBS"
14365
 
                        TCL_CFLAGS="-I${TCL_PREFIX}/include $TCL_INCLUDE_SPEC"
14366
 
 
14367
 
 
14368
 
                        have_tcl=yes
14369
 
                        enable_tcl=yes
14370
 
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir/tclConfig.sh" >&5
14371
 
$as_echo "$dir/tclConfig.sh" >&6; }
14372
 
                        break
14373
 
                fi
14374
 
        done
14375
 
        if test "$enable_tcl" = "autodetect" -a "$have_tcl" = "no"; then
14376
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14377
 
$as_echo "not found" >&6; }
14378
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: tclConfig.sh not found, disabling tcl support.  Try --enable-tcl=/path/to/" >&5
14379
 
$as_echo "$as_me: WARNING: tclConfig.sh not found, disabling tcl support.  Try --enable-tcl=/path/to/" >&2;}
14380
 
        elif test "$have_tcl" == "no"; then
14381
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14382
 
$as_echo "not found" >&6; }
14383
 
                as_fn_error $? "tclConfig.sh not found. Try --enable-tcl=/path/to/" "$LINENO" 5
14384
 
        fi
14385
 
fi
14386
 
 
14387
 
# openssl
14388
 
 
14389
 
pkg_failed=no
14390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
14391
 
$as_echo_n "checking for OPENSSL... " >&6; }
14392
 
 
14393
 
if test -n "$OPENSSL_CFLAGS"; then
14394
 
    pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
14395
 
 elif test -n "$PKG_CONFIG"; then
14396
 
    if test -n "$PKG_CONFIG" && \
14397
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
14398
 
  ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
14399
 
  ac_status=$?
14400
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14401
 
  test $ac_status = 0; }; then
14402
 
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
14403
 
else
14404
 
  pkg_failed=yes
14405
 
fi
14406
 
 else
14407
 
    pkg_failed=untried
14408
 
fi
14409
 
if test -n "$OPENSSL_LIBS"; then
14410
 
    pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
14411
 
 elif test -n "$PKG_CONFIG"; then
14412
 
    if test -n "$PKG_CONFIG" && \
14413
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
14414
 
  ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
14415
 
  ac_status=$?
14416
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14417
 
  test $ac_status = 0; }; then
14418
 
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
14419
 
else
14420
 
  pkg_failed=yes
14421
 
fi
14422
 
 else
14423
 
    pkg_failed=untried
14424
 
fi
14425
 
 
14426
 
 
14427
 
 
14428
 
if test $pkg_failed = yes; then
14429
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14430
 
$as_echo "no" >&6; }
14431
 
 
14432
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14433
 
        _pkg_short_errors_supported=yes
14434
 
else
14435
 
        _pkg_short_errors_supported=no
14436
 
fi
14437
 
        if test $_pkg_short_errors_supported = yes; then
14438
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
14439
 
        else
14440
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl" 2>&1`
14441
 
        fi
14442
 
        # Put the nasty error message in config.log where it belongs
14443
 
        echo "$OPENSSL_PKG_ERRORS" >&5
14444
 
 
14445
 
        openssl=no
14446
 
elif test $pkg_failed = untried; then
14447
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14448
 
$as_echo "no" >&6; }
14449
 
        openssl=no
14450
 
else
14451
 
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
14452
 
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
14453
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14454
 
$as_echo "yes" >&6; }
14455
 
        openssl=yes
14456
 
fi
14457
 
if test "x$openssl" = xyes; then
14458
 
 
14459
 
 
14460
 
 
14461
 
$as_echo "#define USE_OPENSSL /**/" >>confdefs.h
14462
 
 
14463
 
else
14464
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library requirements (openssl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
14465
 
$as_echo "$as_me: WARNING: Library requirements (openssl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
14466
 
fi
14467
 
 if test "x$openssl" = "xyes"; then
14468
 
  USE_OPENSSL_TRUE=
14469
 
  USE_OPENSSL_FALSE='#'
14470
 
else
14471
 
  USE_OPENSSL_TRUE='#'
14472
 
  USE_OPENSSL_FALSE=
14473
 
fi
14474
 
 
14475
 
 
14476
 
# i18n
14477
 
GETTEXT_PACKAGE=xchat-gnome
14478
 
 
14479
 
 
14480
 
cat >>confdefs.h <<_ACEOF
14481
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14482
 
_ACEOF
14483
 
 
14484
 
 
14485
 
   for ac_header in locale.h
14486
 
do :
14487
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14488
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
14489
 
  cat >>confdefs.h <<_ACEOF
14490
 
#define HAVE_LOCALE_H 1
14491
 
_ACEOF
14492
 
 
14493
 
fi
14494
 
 
14495
 
done
14496
 
 
14497
 
    if test $ac_cv_header_locale_h = yes; then
14498
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14499
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14500
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14501
 
  $as_echo_n "(cached) " >&6
14502
 
else
14503
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504
 
/* end confdefs.h.  */
14505
 
#include <locale.h>
14506
 
int
14507
 
main ()
14508
 
{
14509
 
return LC_MESSAGES
14510
 
  ;
14511
 
  return 0;
14512
 
}
14513
 
_ACEOF
14514
 
if ac_fn_c_try_link "$LINENO"; then :
14515
 
  am_cv_val_LC_MESSAGES=yes
14516
 
else
14517
 
  am_cv_val_LC_MESSAGES=no
14518
 
fi
14519
 
rm -f core conftest.err conftest.$ac_objext \
14520
 
    conftest$ac_exeext conftest.$ac_ext
14521
 
fi
14522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14523
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14524
 
    if test $am_cv_val_LC_MESSAGES = yes; then
14525
 
 
14526
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14527
 
 
14528
 
    fi
14529
 
  fi
14530
 
     USE_NLS=yes
14531
 
 
14532
 
 
14533
 
    gt_cv_have_gettext=no
14534
 
 
14535
 
    CATOBJEXT=NONE
14536
 
    XGETTEXT=:
14537
 
    INTLLIBS=
14538
 
 
14539
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14540
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
14541
 
  gt_cv_func_dgettext_libintl="no"
14542
 
      libintl_extra_libs=""
14543
 
 
14544
 
      #
14545
 
      # First check in libc
14546
 
      #
14547
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14548
 
$as_echo_n "checking for ngettext in libc... " >&6; }
14549
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
14550
 
  $as_echo_n "(cached) " >&6
14551
 
else
14552
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553
 
/* end confdefs.h.  */
14554
 
 
14555
 
#include <libintl.h>
14556
 
 
14557
 
int
14558
 
main ()
14559
 
{
14560
 
return !ngettext ("","", 1)
14561
 
  ;
14562
 
  return 0;
14563
 
}
14564
 
_ACEOF
14565
 
if ac_fn_c_try_link "$LINENO"; then :
14566
 
  gt_cv_func_ngettext_libc=yes
14567
 
else
14568
 
  gt_cv_func_ngettext_libc=no
14569
 
fi
14570
 
rm -f core conftest.err conftest.$ac_objext \
14571
 
    conftest$ac_exeext conftest.$ac_ext
14572
 
 
14573
 
fi
14574
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14575
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14576
 
 
14577
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14578
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14579
 
$as_echo_n "checking for dgettext in libc... " >&6; }
14580
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
14581
 
  $as_echo_n "(cached) " >&6
14582
 
else
14583
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584
 
/* end confdefs.h.  */
14585
 
 
14586
 
#include <libintl.h>
14587
 
 
14588
 
int
14589
 
main ()
14590
 
{
14591
 
return !dgettext ("","")
14592
 
  ;
14593
 
  return 0;
14594
 
}
14595
 
_ACEOF
14596
 
if ac_fn_c_try_link "$LINENO"; then :
14597
 
  gt_cv_func_dgettext_libc=yes
14598
 
else
14599
 
  gt_cv_func_dgettext_libc=no
14600
 
fi
14601
 
rm -f core conftest.err conftest.$ac_objext \
14602
 
    conftest$ac_exeext conftest.$ac_ext
14603
 
 
14604
 
fi
14605
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14606
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14607
 
      fi
14608
 
 
14609
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14610
 
        for ac_func in bind_textdomain_codeset
14611
 
do :
14612
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14613
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14614
 
  cat >>confdefs.h <<_ACEOF
14615
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14616
 
_ACEOF
14617
 
 
14618
 
fi
14619
 
done
14620
 
 
14621
 
      fi
14622
 
 
14623
 
      #
14624
 
      # If we don't have everything we want, check in libintl
14625
 
      #
14626
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
14627
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
14628
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14629
 
 
14630
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14631
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14632
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
14633
 
  $as_echo_n "(cached) " >&6
14634
 
else
14635
 
  ac_check_lib_save_LIBS=$LIBS
14636
 
LIBS="-lintl  $LIBS"
14637
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638
 
/* end confdefs.h.  */
14639
 
 
14640
 
/* Override any GCC internal prototype to avoid an error.
14641
 
   Use char because int might match the return type of a GCC
14642
 
   builtin and then its argument prototype would still apply.  */
14643
 
#ifdef __cplusplus
14644
 
extern "C"
14645
 
#endif
14646
 
char bindtextdomain ();
14647
 
int
14648
 
main ()
14649
 
{
14650
 
return bindtextdomain ();
14651
 
  ;
14652
 
  return 0;
14653
 
}
14654
 
_ACEOF
14655
 
if ac_fn_c_try_link "$LINENO"; then :
14656
 
  ac_cv_lib_intl_bindtextdomain=yes
14657
 
else
14658
 
  ac_cv_lib_intl_bindtextdomain=no
14659
 
fi
14660
 
rm -f core conftest.err conftest.$ac_objext \
14661
 
    conftest$ac_exeext conftest.$ac_ext
14662
 
LIBS=$ac_check_lib_save_LIBS
14663
 
fi
14664
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14665
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14666
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
14667
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14668
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14669
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14670
 
  $as_echo_n "(cached) " >&6
14671
 
else
14672
 
  ac_check_lib_save_LIBS=$LIBS
14673
 
LIBS="-lintl  $LIBS"
14674
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675
 
/* end confdefs.h.  */
14676
 
 
14677
 
/* Override any GCC internal prototype to avoid an error.
14678
 
   Use char because int might match the return type of a GCC
14679
 
   builtin and then its argument prototype would still apply.  */
14680
 
#ifdef __cplusplus
14681
 
extern "C"
14682
 
#endif
14683
 
char ngettext ();
14684
 
int
14685
 
main ()
14686
 
{
14687
 
return ngettext ();
14688
 
  ;
14689
 
  return 0;
14690
 
}
14691
 
_ACEOF
14692
 
if ac_fn_c_try_link "$LINENO"; then :
14693
 
  ac_cv_lib_intl_ngettext=yes
14694
 
else
14695
 
  ac_cv_lib_intl_ngettext=no
14696
 
fi
14697
 
rm -f core conftest.err conftest.$ac_objext \
14698
 
    conftest$ac_exeext conftest.$ac_ext
14699
 
LIBS=$ac_check_lib_save_LIBS
14700
 
fi
14701
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14702
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14703
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
14704
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14705
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
14706
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
14707
 
  $as_echo_n "(cached) " >&6
14708
 
else
14709
 
  ac_check_lib_save_LIBS=$LIBS
14710
 
LIBS="-lintl  $LIBS"
14711
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712
 
/* end confdefs.h.  */
14713
 
 
14714
 
/* Override any GCC internal prototype to avoid an error.
14715
 
   Use char because int might match the return type of a GCC
14716
 
   builtin and then its argument prototype would still apply.  */
14717
 
#ifdef __cplusplus
14718
 
extern "C"
14719
 
#endif
14720
 
char dgettext ();
14721
 
int
14722
 
main ()
14723
 
{
14724
 
return dgettext ();
14725
 
  ;
14726
 
  return 0;
14727
 
}
14728
 
_ACEOF
14729
 
if ac_fn_c_try_link "$LINENO"; then :
14730
 
  ac_cv_lib_intl_dgettext=yes
14731
 
else
14732
 
  ac_cv_lib_intl_dgettext=no
14733
 
fi
14734
 
rm -f core conftest.err conftest.$ac_objext \
14735
 
    conftest$ac_exeext conftest.$ac_ext
14736
 
LIBS=$ac_check_lib_save_LIBS
14737
 
fi
14738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14739
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14740
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
14741
 
  gt_cv_func_dgettext_libintl=yes
14742
 
fi
14743
 
 
14744
 
fi
14745
 
 
14746
 
fi
14747
 
 
14748
 
 
14749
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14750
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14751
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14752
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14753
 
$as_echo "" >&6; }
14754
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14755
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14756
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14757
 
  $as_echo_n "(cached) " >&6
14758
 
else
14759
 
  ac_check_lib_save_LIBS=$LIBS
14760
 
LIBS="-lintl -liconv $LIBS"
14761
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762
 
/* end confdefs.h.  */
14763
 
 
14764
 
/* Override any GCC internal prototype to avoid an error.
14765
 
   Use char because int might match the return type of a GCC
14766
 
   builtin and then its argument prototype would still apply.  */
14767
 
#ifdef __cplusplus
14768
 
extern "C"
14769
 
#endif
14770
 
char ngettext ();
14771
 
int
14772
 
main ()
14773
 
{
14774
 
return ngettext ();
14775
 
  ;
14776
 
  return 0;
14777
 
}
14778
 
_ACEOF
14779
 
if ac_fn_c_try_link "$LINENO"; then :
14780
 
  ac_cv_lib_intl_ngettext=yes
14781
 
else
14782
 
  ac_cv_lib_intl_ngettext=no
14783
 
fi
14784
 
rm -f core conftest.err conftest.$ac_objext \
14785
 
    conftest$ac_exeext conftest.$ac_ext
14786
 
LIBS=$ac_check_lib_save_LIBS
14787
 
fi
14788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14789
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14790
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
14791
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14792
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14793
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
14794
 
  $as_echo_n "(cached) " >&6
14795
 
else
14796
 
  ac_check_lib_save_LIBS=$LIBS
14797
 
LIBS="-lintl -liconv $LIBS"
14798
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799
 
/* end confdefs.h.  */
14800
 
 
14801
 
/* Override any GCC internal prototype to avoid an error.
14802
 
   Use char because int might match the return type of a GCC
14803
 
   builtin and then its argument prototype would still apply.  */
14804
 
#ifdef __cplusplus
14805
 
extern "C"
14806
 
#endif
14807
 
char dcgettext ();
14808
 
int
14809
 
main ()
14810
 
{
14811
 
return dcgettext ();
14812
 
  ;
14813
 
  return 0;
14814
 
}
14815
 
_ACEOF
14816
 
if ac_fn_c_try_link "$LINENO"; then :
14817
 
  ac_cv_lib_intl_dcgettext=yes
14818
 
else
14819
 
  ac_cv_lib_intl_dcgettext=no
14820
 
fi
14821
 
rm -f core conftest.err conftest.$ac_objext \
14822
 
    conftest$ac_exeext conftest.$ac_ext
14823
 
LIBS=$ac_check_lib_save_LIBS
14824
 
fi
14825
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14826
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14827
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
14828
 
  gt_cv_func_dgettext_libintl=yes
14829
 
                        libintl_extra_libs=-liconv
14830
 
else
14831
 
  :
14832
 
fi
14833
 
 
14834
 
else
14835
 
  :
14836
 
fi
14837
 
 
14838
 
        fi
14839
 
 
14840
 
        #
14841
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
14842
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
14843
 
        # and both have dgettext and ngettext
14844
 
        #
14845
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14846
 
          glib_save_LIBS="$LIBS"
14847
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
14848
 
          unset ac_cv_func_bind_textdomain_codeset
14849
 
          for ac_func in bind_textdomain_codeset
14850
 
do :
14851
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14852
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14853
 
  cat >>confdefs.h <<_ACEOF
14854
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14855
 
_ACEOF
14856
 
 
14857
 
fi
14858
 
done
14859
 
 
14860
 
          LIBS="$glib_save_LIBS"
14861
 
 
14862
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14863
 
            gt_cv_func_dgettext_libc=no
14864
 
          else
14865
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
14866
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
14867
 
              gt_cv_func_dgettext_libintl=no
14868
 
            fi
14869
 
          fi
14870
 
        fi
14871
 
      fi
14872
 
 
14873
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
14874
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
14875
 
        gt_cv_have_gettext=yes
14876
 
      fi
14877
 
 
14878
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14879
 
        INTLLIBS="-lintl $libintl_extra_libs"
14880
 
      fi
14881
 
 
14882
 
      if test "$gt_cv_have_gettext" = "yes"; then
14883
 
 
14884
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14885
 
 
14886
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
14887
 
set dummy msgfmt; ac_word=$2
14888
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14889
 
$as_echo_n "checking for $ac_word... " >&6; }
14890
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
14891
 
  $as_echo_n "(cached) " >&6
14892
 
else
14893
 
  case "$MSGFMT" in
14894
 
  /*)
14895
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14896
 
  ;;
14897
 
  *)
14898
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14899
 
  for ac_dir in $PATH; do
14900
 
    test -z "$ac_dir" && ac_dir=.
14901
 
    if test -f $ac_dir/$ac_word; then
14902
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14903
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14904
 
        break
14905
 
      fi
14906
 
    fi
14907
 
  done
14908
 
  IFS="$ac_save_ifs"
14909
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14910
 
  ;;
14911
 
esac
14912
 
fi
14913
 
MSGFMT="$ac_cv_path_MSGFMT"
14914
 
if test "$MSGFMT" != "no"; then
14915
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14916
 
$as_echo "$MSGFMT" >&6; }
14917
 
else
14918
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14919
 
$as_echo "no" >&6; }
14920
 
fi
14921
 
        if test "$MSGFMT" != "no"; then
14922
 
          glib_save_LIBS="$LIBS"
14923
 
          LIBS="$LIBS $INTLLIBS"
14924
 
          for ac_func in dcgettext
14925
 
do :
14926
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14927
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
14928
 
  cat >>confdefs.h <<_ACEOF
14929
 
#define HAVE_DCGETTEXT 1
14930
 
_ACEOF
14931
 
 
14932
 
fi
14933
 
done
14934
 
 
14935
 
          MSGFMT_OPTS=
14936
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14937
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14938
 
          cat >conftest.foo <<_ACEOF
14939
 
 
14940
 
msgid ""
14941
 
msgstr ""
14942
 
"Content-Type: text/plain; charset=UTF-8\n"
14943
 
"Project-Id-Version: test 1.0\n"
14944
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14945
 
"Last-Translator: test <foo@bar.xx>\n"
14946
 
"Language-Team: C <LL@li.org>\n"
14947
 
"MIME-Version: 1.0\n"
14948
 
"Content-Transfer-Encoding: 8bit\n"
14949
 
 
14950
 
_ACEOF
14951
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14952
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14953
 
  ac_status=$?
14954
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955
 
  test $ac_status = 0; }; then
14956
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14957
 
$as_echo "yes" >&6; }
14958
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14959
 
$as_echo "no" >&6; }
14960
 
echo "$as_me: failed input was:" >&5
14961
 
sed 's/^/| /' conftest.foo >&5
14962
 
fi
14963
 
 
14964
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
14965
 
set dummy gmsgfmt; ac_word=$2
14966
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14967
 
$as_echo_n "checking for $ac_word... " >&6; }
14968
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
14969
 
  $as_echo_n "(cached) " >&6
14970
 
else
14971
 
  case $GMSGFMT in
14972
 
  [\\/]* | ?:[\\/]*)
14973
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14974
 
  ;;
14975
 
  *)
14976
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14977
 
for as_dir in $PATH
14978
 
do
14979
 
  IFS=$as_save_IFS
14980
 
  test -z "$as_dir" && as_dir=.
14981
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14983
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14984
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14985
 
    break 2
14986
 
  fi
14987
 
done
14988
 
  done
14989
 
IFS=$as_save_IFS
14990
 
 
14991
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14992
 
  ;;
14993
 
esac
14994
 
fi
14995
 
GMSGFMT=$ac_cv_path_GMSGFMT
14996
 
if test -n "$GMSGFMT"; then
14997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14998
 
$as_echo "$GMSGFMT" >&6; }
14999
 
else
15000
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001
 
$as_echo "no" >&6; }
15002
 
fi
15003
 
 
15004
 
 
15005
 
          # Extract the first word of "xgettext", so it can be a program name with args.
15006
 
set dummy xgettext; ac_word=$2
15007
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15008
 
$as_echo_n "checking for $ac_word... " >&6; }
15009
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15010
 
  $as_echo_n "(cached) " >&6
15011
 
else
15012
 
  case "$XGETTEXT" in
15013
 
  /*)
15014
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15015
 
  ;;
15016
 
  *)
15017
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15018
 
  for ac_dir in $PATH; do
15019
 
    test -z "$ac_dir" && ac_dir=.
15020
 
    if test -f $ac_dir/$ac_word; then
15021
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15022
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15023
 
        break
15024
 
      fi
15025
 
    fi
15026
 
  done
15027
 
  IFS="$ac_save_ifs"
15028
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15029
 
  ;;
15030
 
esac
15031
 
fi
15032
 
XGETTEXT="$ac_cv_path_XGETTEXT"
15033
 
if test "$XGETTEXT" != ":"; then
15034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15035
 
$as_echo "$XGETTEXT" >&6; }
15036
 
else
15037
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038
 
$as_echo "no" >&6; }
15039
 
fi
15040
 
 
15041
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042
 
/* end confdefs.h.  */
15043
 
 
15044
 
int
15045
 
main ()
15046
 
{
15047
 
extern int _nl_msg_cat_cntr;
15048
 
                         return _nl_msg_cat_cntr
15049
 
  ;
15050
 
  return 0;
15051
 
}
15052
 
_ACEOF
15053
 
if ac_fn_c_try_link "$LINENO"; then :
15054
 
  CATOBJEXT=.gmo
15055
 
             DATADIRNAME=share
15056
 
else
15057
 
  case $host in
15058
 
            *-*-solaris*)
15059
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15060
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15061
 
  CATOBJEXT=.gmo
15062
 
               DATADIRNAME=share
15063
 
else
15064
 
  CATOBJEXT=.mo
15065
 
               DATADIRNAME=lib
15066
 
fi
15067
 
 
15068
 
            ;;
15069
 
            *)
15070
 
            CATOBJEXT=.mo
15071
 
            DATADIRNAME=lib
15072
 
            ;;
15073
 
            esac
15074
 
fi
15075
 
rm -f core conftest.err conftest.$ac_objext \
15076
 
    conftest$ac_exeext conftest.$ac_ext
15077
 
          LIBS="$glib_save_LIBS"
15078
 
          INSTOBJEXT=.mo
15079
 
        else
15080
 
          gt_cv_have_gettext=no
15081
 
        fi
15082
 
      fi
15083
 
 
15084
 
fi
15085
 
 
15086
 
 
15087
 
 
15088
 
    if test "$gt_cv_have_gettext" = "yes" ; then
15089
 
 
15090
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15091
 
 
15092
 
    fi
15093
 
 
15094
 
        if test "$XGETTEXT" != ":"; then
15095
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15096
 
        : ;
15097
 
      else
15098
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15099
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15100
 
        XGETTEXT=":"
15101
 
      fi
15102
 
    fi
15103
 
 
15104
 
    # We need to process the po/ directory.
15105
 
    POSUB=po
15106
 
 
15107
 
    ac_config_commands="$ac_config_commands default-1"
15108
 
 
15109
 
 
15110
 
                for lang in $ALL_LINGUAS; do
15111
 
      GMOFILES="$GMOFILES $lang.gmo"
15112
 
      POFILES="$POFILES $lang.po"
15113
 
    done
15114
 
 
15115
 
 
15116
 
 
15117
 
 
15118
 
 
15119
 
 
15120
 
 
15121
 
 
15122
 
 
15123
 
 
15124
 
 
15125
 
 
15126
 
 
15127
 
   if test "$gt_cv_have_gettext" = "yes"; then
15128
 
     if test "x$ALL_LINGUAS" = "x"; then
15129
 
       LINGUAS=
15130
 
     else
15131
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15132
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
15133
 
       NEW_LINGUAS=
15134
 
       for presentlang in $ALL_LINGUAS; do
15135
 
         useit=no
15136
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15137
 
           desiredlanguages="$LINGUAS"
15138
 
         else
15139
 
           desiredlanguages="$ALL_LINGUAS"
15140
 
         fi
15141
 
         for desiredlang in $desiredlanguages; do
15142
 
           # Use the presentlang catalog if desiredlang is
15143
 
           #   a. equal to presentlang, or
15144
 
           #   b. a variant of presentlang (because in this case,
15145
 
           #      presentlang can be used as a fallback for messages
15146
 
           #      which are not translated in the desiredlang catalog).
15147
 
           case "$desiredlang" in
15148
 
             "$presentlang"*) useit=yes;;
15149
 
           esac
15150
 
         done
15151
 
         if test $useit = yes; then
15152
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15153
 
         fi
15154
 
       done
15155
 
       LINGUAS=$NEW_LINGUAS
15156
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15157
 
$as_echo "$LINGUAS" >&6; }
15158
 
     fi
15159
 
 
15160
 
          if test -n "$LINGUAS"; then
15161
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15162
 
     fi
15163
 
   fi
15164
 
 
15165
 
            MKINSTALLDIRS=
15166
 
   if test -n "$ac_aux_dir"; then
15167
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15168
 
   fi
15169
 
   if test -z "$MKINSTALLDIRS"; then
15170
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15171
 
   fi
15172
 
 
15173
 
 
15174
 
         test -d po || mkdir po
15175
 
   if test "x$srcdir" != "x."; then
15176
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15177
 
       posrcprefix="$srcdir/"
15178
 
     else
15179
 
       posrcprefix="../$srcdir/"
15180
 
     fi
15181
 
   else
15182
 
     posrcprefix="../"
15183
 
   fi
15184
 
   rm -f po/POTFILES
15185
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15186
 
        < $srcdir/po/POTFILES.in > po/POTFILES
15187
 
 
15188
 
 
15189
 
# ipv6
15190
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lsocket" >&5
15191
 
$as_echo_n "checking for select in -lsocket... " >&6; }
15192
 
if test "${ac_cv_lib_socket_select+set}" = set; then :
15193
 
  $as_echo_n "(cached) " >&6
15194
 
else
15195
 
  ac_check_lib_save_LIBS=$LIBS
15196
 
LIBS="-lsocket  $LIBS"
15197
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198
 
/* end confdefs.h.  */
15199
 
 
15200
 
/* Override any GCC internal prototype to avoid an error.
15201
 
   Use char because int might match the return type of a GCC
15202
 
   builtin and then its argument prototype would still apply.  */
15203
 
#ifdef __cplusplus
15204
 
extern "C"
15205
 
#endif
15206
 
char select ();
15207
 
int
15208
 
main ()
15209
 
{
15210
 
return select ();
15211
 
  ;
15212
 
  return 0;
15213
 
}
15214
 
_ACEOF
15215
 
if ac_fn_c_try_link "$LINENO"; then :
15216
 
  ac_cv_lib_socket_select=yes
15217
 
else
15218
 
  ac_cv_lib_socket_select=no
15219
 
fi
15220
 
rm -f core conftest.err conftest.$ac_objext \
15221
 
    conftest$ac_exeext conftest.$ac_ext
15222
 
LIBS=$ac_check_lib_save_LIBS
15223
 
fi
15224
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_select" >&5
15225
 
$as_echo "$ac_cv_lib_socket_select" >&6; }
15226
 
if test "x$ac_cv_lib_socket_select" = x""yes; then :
15227
 
  cat >>confdefs.h <<_ACEOF
15228
 
#define HAVE_LIBSOCKET 1
15229
 
_ACEOF
15230
 
 
15231
 
  LIBS="-lsocket $LIBS"
15232
 
 
15233
 
fi
15234
 
 
15235
 
 
15236
 
for ac_func in getaddrinfo
15237
 
do :
15238
 
  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
15239
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
15240
 
  cat >>confdefs.h <<_ACEOF
15241
 
#define HAVE_GETADDRINFO 1
15242
 
_ACEOF
15243
 
 have_getaddrinfo=yes
15244
 
fi
15245
 
done
15246
 
 
15247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6 support" >&5
15248
 
$as_echo_n "checking whether to enable IPv6 support... " >&6; }
15249
 
if test "x$have_getaddrinfo" = xyes; then
15250
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15251
 
$as_echo "yes" >&6; }
15252
 
 
15253
 
$as_echo "#define USE_IPV6 /**/" >>confdefs.h
15254
 
 
15255
 
else
15256
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15257
 
$as_echo "no" >&6; }
15258
 
fi
15259
 
 
15260
 
# Xlib & Xshm (for xtext tinting)
15261
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
15262
 
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
15263
 
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
15264
 
  $as_echo_n "(cached) " >&6
15265
 
else
15266
 
  ac_check_lib_save_LIBS=$LIBS
15267
 
LIBS="-lX11  $LIBS"
15268
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269
 
/* end confdefs.h.  */
15270
 
 
15271
 
/* Override any GCC internal prototype to avoid an error.
15272
 
   Use char because int might match the return type of a GCC
15273
 
   builtin and then its argument prototype would still apply.  */
15274
 
#ifdef __cplusplus
15275
 
extern "C"
15276
 
#endif
15277
 
char XOpenDisplay ();
15278
 
int
15279
 
main ()
15280
 
{
15281
 
return XOpenDisplay ();
15282
 
  ;
15283
 
  return 0;
15284
 
}
15285
 
_ACEOF
15286
 
if ac_fn_c_try_link "$LINENO"; then :
15287
 
  ac_cv_lib_X11_XOpenDisplay=yes
15288
 
else
15289
 
  ac_cv_lib_X11_XOpenDisplay=no
15290
 
fi
15291
 
rm -f core conftest.err conftest.$ac_objext \
15292
 
    conftest$ac_exeext conftest.$ac_ext
15293
 
LIBS=$ac_check_lib_save_LIBS
15294
 
fi
15295
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
15296
 
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
15297
 
if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then :
15298
 
  xlib=yes
15299
 
else
15300
 
  xlib=no
15301
 
fi
15302
 
 
15303
 
if test "x$xlib" = xyes; then
15304
 
 
15305
 
$as_echo "#define USE_XLIB 1" >>confdefs.h
15306
 
 
15307
 
fi
15308
 
 
15309
 
# Disable SHM because of bug #565958
15310
 
#
15311
 
# AC_CHECK_LIB(Xext, XShmAttach, shm=yes, shm=no)
15312
 
# AC_CHECK_HEADERS(sys/ipc.h, , shm=no)
15313
 
# AC_CHECK_HEADERS(sys/shm.h, , shm=no)
15314
 
# if test "x$shm" = xyes; then
15315
 
#       DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS -lX11 -lXext"
15316
 
#       AC_DEFINE(USE_SHM, [1], [Whether to use Xshm tinting])
15317
 
# fi
15318
 
 
15319
 
# MMX (for xtext tinting)
15320
 
# Check whether --enable-mmx was given.
15321
 
if test "${enable_mmx+set}" = set; then :
15322
 
  enableval=$enable_mmx; mmx=$enableval
15323
 
else
15324
 
  mmx=yes
15325
 
fi
15326
 
 
15327
 
if test "$mmx" = "yes"; then
15328
 
        case $host_cpu in
15329
 
                i386|i486|i586|i686|i786|k6|k7)
15330
 
                        mmx=yes
15331
 
                        ;;
15332
 
                *)
15333
 
                mmx=no
15334
 
        esac
15335
 
        if test "$system" = "OpenBSD"; then
15336
 
                                                mmx=no
15337
 
        fi
15338
 
        if test "$mmx" = "yes"; then
15339
 
 
15340
 
$as_echo "#define USE_MMX 1" >>confdefs.h
15341
 
 
15342
 
        fi
15343
 
fi
15344
 
 
15345
 
 if test "x$mmx" = "xyes"; then
15346
 
  USE_MMX_TRUE=
15347
 
  USE_MMX_FALSE='#'
15348
 
else
15349
 
  USE_MMX_TRUE='#'
15350
 
  USE_MMX_FALSE=
15351
 
fi
15352
 
 
15353
 
 
15354
 
# plugins
15355
 
ALL_PLUGINS="autoaway notification url_scraper"
15356
 
CANBERRA_PLUGINS="sound-notification"
15357
 
DBUS_PLUGINS="net-monitor"
15358
 
LIBNOTIFY_PLUGINS="notify-osd"
15359
 
PYTHON_PLUGINS="python"
15360
 
PERL_PLUGINS="perl"
15361
 
TCL_PLUGINS="tcl"
15362
 
 
15363
 
DIST_PLUGINS="$ALL_PLUGINS $CANBERRA_PLUGINS $DBUS_PLUGINS $LIBNOTIFY_PLUGINS $PYTHON_PLUGINS $PERL_PLUGINS $TCL_PLUGINS"
15364
 
 
15365
 
# canberra specific plugins
15366
 
if test "x$enable_canberra" = "xyes"; then
15367
 
        ALL_PLUGINS="$ALL_PLUGINS $CANBERRA_PLUGINS"
15368
 
else
15369
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without libcanberra support, plugins $CANBERRA_PLUGINS will not be available" >&5
15370
 
$as_echo "$as_me: WARNING: xchat-gnome compiled without libcanberra support, plugins $CANBERRA_PLUGINS will not be available" >&2;}
15371
 
fi
15372
 
 
15373
 
# dbus-specific plugins
15374
 
if test "x$dbus" = "xyes"; then
15375
 
        ALL_PLUGINS="$ALL_PLUGINS $DBUS_PLUGINS"
15376
 
else
15377
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without dbus support, plugins $DBUS_PLUGINS will not be available" >&5
15378
 
$as_echo "$as_me: WARNING: xchat-gnome compiled without dbus support, plugins $DBUS_PLUGINS will not be available" >&2;}
15379
 
fi
15380
 
 
15381
 
# libnotify-specific plugins
15382
 
if test "x$enable_notification" = "xyes"; then
15383
 
        ALL_PLUGINS="$ALL_PLUGINS $LIBNOTIFY_PLUGINS"
15384
 
else
15385
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without libnotify support, plugins $LIBNOTIFY_PLUGINS will not be available" >&5
15386
 
$as_echo "$as_me: WARNING: xchat-gnome compiled without libnotify support, plugins $LIBNOTIFY_PLUGINS will not be available" >&2;}
15387
 
fi
15388
 
 
15389
 
# perl-specific plugins
15390
 
if test "$enable_perl" = "yes" -a "$have_perl" = "yes"; then
15391
 
        ALL_PLUGINS="$ALL_PLUGINS $PERL_PLUGINS"
15392
 
else
15393
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without perl support, plugins $PERL_PLUGINS will not be available" >&5
15394
 
$as_echo "$as_me: WARNING: xchat-gnome compiled without perl support, plugins $PERL_PLUGINS will not be available" >&2;}
15395
 
fi
15396
 
 
15397
 
# python-specific plugins
15398
 
if test "$enable_python" = "yes" -a "$have_python" = "yes"; then
15399
 
        ALL_PLUGINS="$ALL_PLUGINS $PYTHON_PLUGINS"
15400
 
else
15401
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without python support, plugins $PYTHON_PLUGINS will not be available" >&5
15402
 
$as_echo "$as_me: WARNING: xchat-gnome compiled without python support, plugins $PYTHON_PLUGINS will not be available" >&2;}
15403
 
fi
15404
 
 
15405
 
# tcl-specific plugins
15406
 
if test "$enable_tcl" = "yes" -a "$have_tcl" = "yes"; then
15407
 
        ALL_PLUGINS="$ALL_PLUGINS $TCL_PLUGINS"
15408
 
else
15409
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without tcl support, plugins $TCL_PLUGINS will not be available" >&5
15410
 
$as_echo "$as_me: WARNING: xchat-gnome compiled without tcl support, plugins $TCL_PLUGINS will not be available" >&2;}
15411
 
fi
15412
 
 
15413
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which plugins to build" >&5
15414
 
$as_echo_n "checking which plugins to build... " >&6; }
15415
 
 
15416
 
# Check whether --with-plugins was given.
15417
 
if test "${with_plugins+set}" = set; then :
15418
 
  withval=$with_plugins; plugins=$with_plugins
15419
 
else
15420
 
  plugins="default"
15421
 
fi
15422
 
 
15423
 
if test "x$with_plugins" = xyes; then
15424
 
        plugins="default"
15425
 
fi
15426
 
 
15427
 
PLUGINS=
15428
 
IFS="${IFS=     }"; plugin_save_ifs="$IFS"; IFS=","
15429
 
for plugin in $plugins; do
15430
 
        if echo "$ALL_PLUGINS" | egrep "(^| )$plugin(\$| )" > /dev/null; then
15431
 
                PLUGINS="$PLUGINS $plugin"
15432
 
        elif test "x$plugin" = "xdefault"; then
15433
 
                PLUGINS="$PLUGINS $ALL_PLUGINS"
15434
 
        fi
15435
 
done
15436
 
IFS="$plugin_save_ifs"
15437
 
 
15438
 
 
15439
 
BUILD_PLUGINS=`echo $PLUGINS | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
15440
 
 
15441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLUGINS" >&5
15442
 
$as_echo "$PLUGINS" >&6; }
15443
 
 
15444
 
$as_echo "#define USE_PLUGIN /**/" >>confdefs.h
15445
 
 
15446
 
 
15447
 
$as_echo "#define USE_GMODULE /**/" >>confdefs.h
15448
 
 
15449
 
 
15450
 
# warning flags
15451
 
AM_CPPFLAGS="$AM_CPPFLAGS $DISABLE_DEPRECATED"
15452
 
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS -fgnu89-inline"
15453
 
 
15454
 
 
15455
 
 
15456
 
 
15457
 
 
15458
 
# various and sundry defines and flags
15459
 
 
15460
 
$as_echo "#define _GNU_SOURCE /**/" >>confdefs.h
15461
 
 
15462
 
 
15463
 
 
15464
 
 
15465
 
ac_config_files="$ac_config_files data/icons/hicolor/128x128/apps/Makefile data/icons/hicolor/128x128/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/48x48/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/Makefile data/icons/hicolor/scalable/apps/Makefile data/icons/hicolor/scalable/Makefile data/icons/Makefile data/Makefile data/xchat-gnome.desktop.in help/Makefile Makefile plugins/autoaway/Makefile plugins/Makefile plugins/net-monitor/Makefile plugins/notification/Makefile plugins/notify-osd/Makefile plugins/perl/Makefile plugins/python/Makefile plugins/sound-notification/Makefile plugins/tcl/Makefile plugins/url_scraper/Makefile po/Makefile.in src/common/dbus/Makefile src/common/Makefile src/fe-gnome/Makefile src/libcontrast/Makefile src/libeggsmclient/Makefile src/Makefile"
15466
 
 
15467
 
 
15468
 
cat >confcache <<\_ACEOF
15469
 
# This file is a shell script that caches the results of configure
15470
 
# tests run on this system so they can be shared between configure
15471
 
# scripts and configure runs, see configure's option --config-cache.
15472
 
# It is not useful on other systems.  If it contains results you don't
15473
 
# want to keep, you may remove or edit it.
15474
 
#
15475
 
# config.status only pays attention to the cache file if you give it
15476
 
# the --recheck option to rerun configure.
15477
 
#
15478
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15479
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15480
 
# following values.
15481
 
 
15482
 
_ACEOF
15483
 
 
15484
 
# The following way of writing the cache mishandles newlines in values,
15485
 
# but we know of no workaround that is simple, portable, and efficient.
15486
 
# So, we kill variables containing newlines.
15487
 
# Ultrix sh set writes to stderr and can't be redirected directly,
15488
 
# and sets the high bit in the cache file unless we assign to the vars.
15489
 
(
15490
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15491
 
    eval ac_val=\$$ac_var
15492
 
    case $ac_val in #(
15493
 
    *${as_nl}*)
15494
 
      case $ac_var in #(
15495
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15496
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15497
 
      esac
15498
 
      case $ac_var in #(
15499
 
      _ | IFS | as_nl) ;; #(
15500
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15501
 
      *) { eval $ac_var=; unset $ac_var;} ;;
15502
 
      esac ;;
15503
 
    esac
15504
 
  done
15505
 
 
15506
 
  (set) 2>&1 |
15507
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15508
 
    *${as_nl}ac_space=\ *)
15509
 
      # `set' does not quote correctly, so add quotes: double-quote
15510
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
15511
 
      sed -n \
15512
 
        "s/'/'\\\\''/g;
15513
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15514
 
      ;; #(
15515
 
    *)
15516
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
15517
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15518
 
      ;;
15519
 
    esac |
15520
 
    sort
15521
 
) |
15522
 
  sed '
15523
 
     /^ac_cv_env_/b end
15524
 
     t clear
15525
 
     :clear
15526
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15527
 
     t end
15528
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15529
 
     :end' >>confcache
15530
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15531
 
  if test -w "$cache_file"; then
15532
 
    test "x$cache_file" != "x/dev/null" &&
15533
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15534
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
15535
 
    cat confcache >$cache_file
15536
 
  else
15537
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15538
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15539
 
  fi
15540
 
fi
15541
 
rm -f confcache
15542
 
 
15543
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15544
 
# Let make expand exec_prefix.
15545
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15546
 
 
15547
 
DEFS=-DHAVE_CONFIG_H
15548
 
 
15549
 
ac_libobjs=
15550
 
ac_ltlibobjs=
15551
 
U=
15552
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15553
 
  # 1. Remove the extension, and $U if already installed.
15554
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15555
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15556
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15557
 
  #    will be set to the directory where LIBOBJS objects are built.
15558
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15559
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15560
 
done
15561
 
LIBOBJS=$ac_libobjs
15562
 
 
15563
 
LTLIBOBJS=$ac_ltlibobjs
15564
 
 
15565
 
 
15566
 
 if test -n "$EXEEXT"; then
15567
 
  am__EXEEXT_TRUE=
15568
 
  am__EXEEXT_FALSE='#'
15569
 
else
15570
 
  am__EXEEXT_TRUE='#'
15571
 
  am__EXEEXT_FALSE=
15572
 
fi
15573
 
 
15574
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15575
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15576
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15577
 
fi
15578
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15579
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
15580
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15581
 
fi
15582
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15583
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15584
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15585
 
fi
15586
 
 
15587
 
  ac_config_commands="$ac_config_commands po/stamp-it"
15588
 
 
15589
 
 
15590
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15591
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15592
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15593
 
fi
15594
 
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
15595
 
  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
15596
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15597
 
fi
15598
 
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15599
 
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
15600
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15601
 
fi
15602
 
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15603
 
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15604
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15605
 
fi
15606
 
if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
15607
 
  as_fn_error $? "conditional \"ENABLE_DBUS\" was never defined.
15608
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15609
 
fi
15610
 
if test -z "${ENABLE_LIBNOTIFY_TRUE}" && test -z "${ENABLE_LIBNOTIFY_FALSE}"; then
15611
 
  as_fn_error $? "conditional \"ENABLE_LIBNOTIFY\" was never defined.
15612
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15613
 
fi
15614
 
if test -z "${ENABLE_LIBCANBERRA_TRUE}" && test -z "${ENABLE_LIBCANBERRA_FALSE}"; then
15615
 
  as_fn_error $? "conditional \"ENABLE_LIBCANBERRA\" was never defined.
15616
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15617
 
fi
15618
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15619
 
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15620
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15621
 
fi
15622
 
if test -z "${USE_OPENSSL_TRUE}" && test -z "${USE_OPENSSL_FALSE}"; then
15623
 
  as_fn_error $? "conditional \"USE_OPENSSL\" was never defined.
15624
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15625
 
fi
15626
 
if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
15627
 
  as_fn_error $? "conditional \"USE_MMX\" was never defined.
15628
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15629
 
fi
15630
 
 
15631
 
: ${CONFIG_STATUS=./config.status}
15632
 
ac_write_fail=0
15633
 
ac_clean_files_save=$ac_clean_files
15634
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15636
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15637
 
as_write_fail=0
15638
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15639
 
#! $SHELL
15640
 
# Generated by $as_me.
15641
 
# Run this file to recreate the current configuration.
15642
 
# Compiler output produced by configure, useful for debugging
15643
 
# configure, is in config.log if it exists.
15644
 
 
15645
 
debug=false
15646
 
ac_cs_recheck=false
15647
 
ac_cs_silent=false
15648
 
 
15649
 
SHELL=\${CONFIG_SHELL-$SHELL}
15650
 
export SHELL
15651
 
_ASEOF
15652
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15653
 
## -------------------- ##
15654
 
## M4sh Initialization. ##
15655
 
## -------------------- ##
15656
 
 
15657
 
# Be more Bourne compatible
15658
 
DUALCASE=1; export DUALCASE # for MKS sh
15659
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15660
 
  emulate sh
15661
 
  NULLCMD=:
15662
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15663
 
  # is contrary to our usage.  Disable this feature.
15664
 
  alias -g '${1+"$@"}'='"$@"'
15665
 
  setopt NO_GLOB_SUBST
15666
 
else
15667
 
  case `(set -o) 2>/dev/null` in #(
15668
 
  *posix*) :
15669
 
    set -o posix ;; #(
15670
 
  *) :
15671
 
     ;;
15672
 
esac
15673
 
fi
15674
 
 
15675
 
 
15676
 
as_nl='
15677
 
'
15678
 
export as_nl
15679
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15680
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15681
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15682
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15683
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
15684
 
# but without wasting forks for bash or zsh.
15685
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
15686
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15687
 
  as_echo='print -r --'
15688
 
  as_echo_n='print -rn --'
15689
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15690
 
  as_echo='printf %s\n'
15691
 
  as_echo_n='printf %s'
15692
 
else
15693
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15694
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15695
 
    as_echo_n='/usr/ucb/echo -n'
15696
 
  else
15697
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15698
 
    as_echo_n_body='eval
15699
 
      arg=$1;
15700
 
      case $arg in #(
15701
 
      *"$as_nl"*)
15702
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
15703
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15704
 
      esac;
15705
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15706
 
    '
15707
 
    export as_echo_n_body
15708
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
15709
 
  fi
15710
 
  export as_echo_body
15711
 
  as_echo='sh -c $as_echo_body as_echo'
15712
 
fi
15713
 
 
15714
 
# The user is always right.
15715
 
if test "${PATH_SEPARATOR+set}" != set; then
15716
 
  PATH_SEPARATOR=:
15717
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15718
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15719
 
      PATH_SEPARATOR=';'
15720
 
  }
15721
 
fi
15722
 
 
15723
 
 
15724
 
# IFS
15725
 
# We need space, tab and new line, in precisely that order.  Quoting is
15726
 
# there to prevent editors from complaining about space-tab.
15727
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15728
 
# splitting by setting IFS to empty value.)
15729
 
IFS=" ""        $as_nl"
15730
 
 
15731
 
# Find who we are.  Look in the path if we contain no directory separator.
15732
 
case $0 in #((
15733
 
  *[\\/]* ) as_myself=$0 ;;
15734
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15735
 
for as_dir in $PATH
15736
 
do
15737
 
  IFS=$as_save_IFS
15738
 
  test -z "$as_dir" && as_dir=.
15739
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15740
 
  done
15741
 
IFS=$as_save_IFS
15742
 
 
15743
 
     ;;
15744
 
esac
15745
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
15746
 
# in which case we are not to be found in the path.
15747
 
if test "x$as_myself" = x; then
15748
 
  as_myself=$0
15749
 
fi
15750
 
if test ! -f "$as_myself"; then
15751
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15752
 
  exit 1
15753
 
fi
15754
 
 
15755
 
# Unset variables that we do not need and which cause bugs (e.g. in
15756
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15757
 
# suppresses any "Segmentation fault" message there.  '((' could
15758
 
# trigger a bug in pdksh 5.2.14.
15759
 
for as_var in BASH_ENV ENV MAIL MAILPATH
15760
 
do eval test x\${$as_var+set} = xset \
15761
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15762
 
done
15763
 
PS1='$ '
15764
 
PS2='> '
15765
 
PS4='+ '
15766
 
 
15767
 
# NLS nuisances.
15768
 
LC_ALL=C
15769
 
export LC_ALL
15770
 
LANGUAGE=C
15771
 
export LANGUAGE
15772
 
 
15773
 
# CDPATH.
15774
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15775
 
 
15776
 
 
15777
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15778
 
# ----------------------------------------
15779
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15780
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15781
 
# script with STATUS, using 1 if that was 0.
15782
 
as_fn_error ()
15783
 
{
15784
 
  as_status=$1; test $as_status -eq 0 && as_status=1
15785
 
  if test "$4"; then
15786
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15787
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15788
 
  fi
15789
 
  $as_echo "$as_me: error: $2" >&2
15790
 
  as_fn_exit $as_status
15791
 
} # as_fn_error
15792
 
 
15793
 
 
15794
 
# as_fn_set_status STATUS
15795
 
# -----------------------
15796
 
# Set $? to STATUS, without forking.
15797
 
as_fn_set_status ()
15798
 
{
15799
 
  return $1
15800
 
} # as_fn_set_status
15801
 
 
15802
 
# as_fn_exit STATUS
15803
 
# -----------------
15804
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15805
 
as_fn_exit ()
15806
 
{
15807
 
  set +e
15808
 
  as_fn_set_status $1
15809
 
  exit $1
15810
 
} # as_fn_exit
15811
 
 
15812
 
# as_fn_unset VAR
15813
 
# ---------------
15814
 
# Portably unset VAR.
15815
 
as_fn_unset ()
15816
 
{
15817
 
  { eval $1=; unset $1;}
15818
 
}
15819
 
as_unset=as_fn_unset
15820
 
# as_fn_append VAR VALUE
15821
 
# ----------------------
15822
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
15823
 
# advantage of any shell optimizations that allow amortized linear growth over
15824
 
# repeated appends, instead of the typical quadratic growth present in naive
15825
 
# implementations.
15826
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15827
 
  eval 'as_fn_append ()
15828
 
  {
15829
 
    eval $1+=\$2
15830
 
  }'
15831
 
else
15832
 
  as_fn_append ()
15833
 
  {
15834
 
    eval $1=\$$1\$2
15835
 
  }
15836
 
fi # as_fn_append
15837
 
 
15838
 
# as_fn_arith ARG...
15839
 
# ------------------
15840
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
15841
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15842
 
# must be portable across $(()) and expr.
15843
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15844
 
  eval 'as_fn_arith ()
15845
 
  {
15846
 
    as_val=$(( $* ))
15847
 
  }'
15848
 
else
15849
 
  as_fn_arith ()
15850
 
  {
15851
 
    as_val=`expr "$@" || test $? -eq 1`
15852
 
  }
15853
 
fi # as_fn_arith
15854
 
 
15855
 
 
15856
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15857
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15858
 
  as_expr=expr
15859
 
else
15860
 
  as_expr=false
15861
 
fi
15862
 
 
15863
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15864
 
  as_basename=basename
15865
 
else
15866
 
  as_basename=false
15867
 
fi
15868
 
 
15869
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15870
 
  as_dirname=dirname
15871
 
else
15872
 
  as_dirname=false
15873
 
fi
15874
 
 
15875
 
as_me=`$as_basename -- "$0" ||
15876
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15877
 
         X"$0" : 'X\(//\)$' \| \
15878
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15879
 
$as_echo X/"$0" |
15880
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
15881
 
            s//\1/
15882
 
            q
15883
 
          }
15884
 
          /^X\/\(\/\/\)$/{
15885
 
            s//\1/
15886
 
            q
15887
 
          }
15888
 
          /^X\/\(\/\).*/{
15889
 
            s//\1/
15890
 
            q
15891
 
          }
15892
 
          s/.*/./; q'`
15893
 
 
15894
 
# Avoid depending upon Character Ranges.
15895
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15896
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15897
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15898
 
as_cr_digits='0123456789'
15899
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
15900
 
 
15901
 
ECHO_C= ECHO_N= ECHO_T=
15902
 
case `echo -n x` in #(((((
15903
 
-n*)
15904
 
  case `echo 'xy\c'` in
15905
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15906
 
  xy)  ECHO_C='\c';;
15907
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15908
 
       ECHO_T=' ';;
15909
 
  esac;;
15910
 
*)
15911
 
  ECHO_N='-n';;
15912
 
esac
15913
 
 
15914
 
rm -f conf$$ conf$$.exe conf$$.file
15915
 
if test -d conf$$.dir; then
15916
 
  rm -f conf$$.dir/conf$$.file
15917
 
else
15918
 
  rm -f conf$$.dir
15919
 
  mkdir conf$$.dir 2>/dev/null
15920
 
fi
15921
 
if (echo >conf$$.file) 2>/dev/null; then
15922
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
15923
 
    as_ln_s='ln -s'
15924
 
    # ... but there are two gotchas:
15925
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15926
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15927
 
    # In both cases, we have to default to `cp -p'.
15928
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15929
 
      as_ln_s='cp -p'
15930
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
15931
 
    as_ln_s=ln
15932
 
  else
15933
 
    as_ln_s='cp -p'
15934
 
  fi
15935
 
else
15936
 
  as_ln_s='cp -p'
15937
 
fi
15938
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15939
 
rmdir conf$$.dir 2>/dev/null
15940
 
 
15941
 
 
15942
 
# as_fn_mkdir_p
15943
 
# -------------
15944
 
# Create "$as_dir" as a directory, including parents if necessary.
15945
 
as_fn_mkdir_p ()
15946
 
{
15947
 
 
15948
 
  case $as_dir in #(
15949
 
  -*) as_dir=./$as_dir;;
15950
 
  esac
15951
 
  test -d "$as_dir" || eval $as_mkdir_p || {
15952
 
    as_dirs=
15953
 
    while :; do
15954
 
      case $as_dir in #(
15955
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15956
 
      *) as_qdir=$as_dir;;
15957
 
      esac
15958
 
      as_dirs="'$as_qdir' $as_dirs"
15959
 
      as_dir=`$as_dirname -- "$as_dir" ||
15960
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15961
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15962
 
         X"$as_dir" : 'X\(//\)$' \| \
15963
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15964
 
$as_echo X"$as_dir" |
15965
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15966
 
            s//\1/
15967
 
            q
15968
 
          }
15969
 
          /^X\(\/\/\)[^/].*/{
15970
 
            s//\1/
15971
 
            q
15972
 
          }
15973
 
          /^X\(\/\/\)$/{
15974
 
            s//\1/
15975
 
            q
15976
 
          }
15977
 
          /^X\(\/\).*/{
15978
 
            s//\1/
15979
 
            q
15980
 
          }
15981
 
          s/.*/./; q'`
15982
 
      test -d "$as_dir" && break
15983
 
    done
15984
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15985
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15986
 
 
15987
 
 
15988
 
} # as_fn_mkdir_p
15989
 
if mkdir -p . 2>/dev/null; then
15990
 
  as_mkdir_p='mkdir -p "$as_dir"'
15991
 
else
15992
 
  test -d ./-p && rmdir ./-p
15993
 
  as_mkdir_p=false
15994
 
fi
15995
 
 
15996
 
if test -x / >/dev/null 2>&1; then
15997
 
  as_test_x='test -x'
15998
 
else
15999
 
  if ls -dL / >/dev/null 2>&1; then
16000
 
    as_ls_L_option=L
16001
 
  else
16002
 
    as_ls_L_option=
16003
 
  fi
16004
 
  as_test_x='
16005
 
    eval sh -c '\''
16006
 
      if test -d "$1"; then
16007
 
        test -d "$1/.";
16008
 
      else
16009
 
        case $1 in #(
16010
 
        -*)set "./$1";;
16011
 
        esac;
16012
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16013
 
        ???[sx]*):;;*)false;;esac;fi
16014
 
    '\'' sh
16015
 
  '
16016
 
fi
16017
 
as_executable_p=$as_test_x
16018
 
 
16019
 
# Sed expression to map a string onto a valid CPP name.
16020
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16021
 
 
16022
 
# Sed expression to map a string onto a valid variable name.
16023
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16024
 
 
16025
 
 
16026
 
exec 6>&1
16027
 
## ----------------------------------- ##
16028
 
## Main body of $CONFIG_STATUS script. ##
16029
 
## ----------------------------------- ##
16030
 
_ASEOF
16031
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16032
 
 
16033
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16034
 
# Save the log message, to keep $0 and so on meaningful, and to
16035
 
# report actual input values of CONFIG_FILES etc. instead of their
16036
 
# values after options handling.
16037
 
ac_log="
16038
 
This file was extended by XChat-GNOME IRC Chat $as_me 0.26.1, which was
16039
 
generated by GNU Autoconf 2.67.  Invocation command line was
16040
 
 
16041
 
  CONFIG_FILES    = $CONFIG_FILES
16042
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
16043
 
  CONFIG_LINKS    = $CONFIG_LINKS
16044
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16045
 
  $ $0 $@
16046
 
 
16047
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16048
 
"
16049
 
 
16050
 
_ACEOF
16051
 
 
16052
 
case $ac_config_files in *"
16053
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16054
 
esac
16055
 
 
16056
 
case $ac_config_headers in *"
16057
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16058
 
esac
16059
 
 
16060
 
 
16061
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16062
 
# Files that config.status was made for.
16063
 
config_files="$ac_config_files"
16064
 
config_headers="$ac_config_headers"
16065
 
config_commands="$ac_config_commands"
16066
 
 
16067
 
_ACEOF
16068
 
 
16069
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16070
 
ac_cs_usage="\
16071
 
\`$as_me' instantiates files and other configuration actions
16072
 
from templates according to the current configuration.  Unless the files
16073
 
and actions are specified as TAGs, all are instantiated by default.
16074
 
 
16075
 
Usage: $0 [OPTION]... [TAG]...
16076
 
 
16077
 
  -h, --help       print this help, then exit
16078
 
  -V, --version    print version number and configuration settings, then exit
16079
 
      --config     print configuration, then exit
16080
 
  -q, --quiet, --silent
16081
 
                   do not print progress messages
16082
 
  -d, --debug      don't remove temporary files
16083
 
      --recheck    update $as_me by reconfiguring in the same conditions
16084
 
      --file=FILE[:TEMPLATE]
16085
 
                   instantiate the configuration file FILE
16086
 
      --header=FILE[:TEMPLATE]
16087
 
                   instantiate the configuration header FILE
16088
 
 
16089
 
Configuration files:
16090
 
$config_files
16091
 
 
16092
 
Configuration headers:
16093
 
$config_headers
16094
 
 
16095
 
Configuration commands:
16096
 
$config_commands
16097
 
 
16098
 
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>."
16099
 
 
16100
 
_ACEOF
16101
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16102
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16103
 
ac_cs_version="\\
16104
 
XChat-GNOME IRC Chat config.status 0.26.1
16105
 
configured by $0, generated by GNU Autoconf 2.67,
16106
 
  with options \\"\$ac_cs_config\\"
16107
 
 
16108
 
Copyright (C) 2010 Free Software Foundation, Inc.
16109
 
This config.status script is free software; the Free Software Foundation
16110
 
gives unlimited permission to copy, distribute and modify it."
16111
 
 
16112
 
ac_pwd='$ac_pwd'
16113
 
srcdir='$srcdir'
16114
 
INSTALL='$INSTALL'
16115
 
MKDIR_P='$MKDIR_P'
16116
 
AWK='$AWK'
16117
 
test -n "\$AWK" || AWK=awk
16118
 
_ACEOF
16119
 
 
16120
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16121
 
# The default lists apply if the user does not specify any file.
16122
 
ac_need_defaults=:
16123
 
while test $# != 0
16124
 
do
16125
 
  case $1 in
16126
 
  --*=?*)
16127
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16128
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16129
 
    ac_shift=:
16130
 
    ;;
16131
 
  --*=)
16132
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16133
 
    ac_optarg=
16134
 
    ac_shift=:
16135
 
    ;;
16136
 
  *)
16137
 
    ac_option=$1
16138
 
    ac_optarg=$2
16139
 
    ac_shift=shift
16140
 
    ;;
16141
 
  esac
16142
 
 
16143
 
  case $ac_option in
16144
 
  # Handling of the options.
16145
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16146
 
    ac_cs_recheck=: ;;
16147
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16148
 
    $as_echo "$ac_cs_version"; exit ;;
16149
 
  --config | --confi | --conf | --con | --co | --c )
16150
 
    $as_echo "$ac_cs_config"; exit ;;
16151
 
  --debug | --debu | --deb | --de | --d | -d )
16152
 
    debug=: ;;
16153
 
  --file | --fil | --fi | --f )
16154
 
    $ac_shift
16155
 
    case $ac_optarg in
16156
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157
 
    '') as_fn_error $? "missing file argument" ;;
16158
 
    esac
16159
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16160
 
    ac_need_defaults=false;;
16161
 
  --header | --heade | --head | --hea )
16162
 
    $ac_shift
16163
 
    case $ac_optarg in
16164
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16165
 
    esac
16166
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16167
 
    ac_need_defaults=false;;
16168
 
  --he | --h)
16169
 
    # Conflict between --help and --header
16170
 
    as_fn_error $? "ambiguous option: \`$1'
16171
 
Try \`$0 --help' for more information.";;
16172
 
  --help | --hel | -h )
16173
 
    $as_echo "$ac_cs_usage"; exit ;;
16174
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16175
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16176
 
    ac_cs_silent=: ;;
16177
 
 
16178
 
  # This is an error.
16179
 
  -*) as_fn_error $? "unrecognized option: \`$1'
16180
 
Try \`$0 --help' for more information." ;;
16181
 
 
16182
 
  *) as_fn_append ac_config_targets " $1"
16183
 
     ac_need_defaults=false ;;
16184
 
 
16185
 
  esac
16186
 
  shift
16187
 
done
16188
 
 
16189
 
ac_configure_extra_args=
16190
 
 
16191
 
if $ac_cs_silent; then
16192
 
  exec 6>/dev/null
16193
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16194
 
fi
16195
 
 
16196
 
_ACEOF
16197
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16198
 
if \$ac_cs_recheck; then
16199
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16200
 
  shift
16201
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16202
 
  CONFIG_SHELL='$SHELL'
16203
 
  export CONFIG_SHELL
16204
 
  exec "\$@"
16205
 
fi
16206
 
 
16207
 
_ACEOF
16208
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16209
 
exec 5>>config.log
16210
 
{
16211
 
  echo
16212
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16213
 
## Running $as_me. ##
16214
 
_ASBOX
16215
 
  $as_echo "$ac_log"
16216
 
} >&5
16217
 
 
16218
 
_ACEOF
16219
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16220
 
#
16221
 
# INIT-COMMANDS
16222
 
#
16223
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16224
 
 
16225
 
 
16226
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
16227
 
# if CDPATH is set.
16228
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16229
 
 
16230
 
sed_quote_subst='$sed_quote_subst'
16231
 
double_quote_subst='$double_quote_subst'
16232
 
delay_variable_subst='$delay_variable_subst'
16233
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16234
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16235
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16236
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16237
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16238
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16239
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16240
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16241
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16242
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16243
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16244
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16245
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16246
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16247
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16248
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16249
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16250
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16251
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16252
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16253
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16254
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16255
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16256
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16257
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16258
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16259
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16260
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16261
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16262
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16263
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16264
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16265
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16266
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16267
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16268
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16269
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16270
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16271
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16272
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16273
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16274
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16275
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16276
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16277
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16278
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16279
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16280
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16281
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16282
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16283
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16284
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16285
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16286
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16287
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16288
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16289
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16290
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16291
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16292
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16293
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16294
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16295
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16296
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16297
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16298
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16299
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16300
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16301
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16302
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16303
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16304
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16305
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16306
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16307
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16308
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16309
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16310
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16311
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16312
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16313
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16314
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16315
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16316
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16317
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16318
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16319
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16320
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16321
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16322
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16323
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16324
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16325
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16326
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16327
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16328
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16329
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16330
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16331
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16332
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16333
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16334
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16335
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16336
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16337
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16338
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16339
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16340
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16341
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16342
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16343
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16344
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16345
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16346
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16347
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16348
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16349
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16350
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16351
 
 
16352
 
LTCC='$LTCC'
16353
 
LTCFLAGS='$LTCFLAGS'
16354
 
compiler='$compiler_DEFAULT'
16355
 
 
16356
 
# Quote evaled strings.
16357
 
for var in SED \
16358
 
GREP \
16359
 
EGREP \
16360
 
FGREP \
16361
 
LD \
16362
 
NM \
16363
 
LN_S \
16364
 
lt_SP2NL \
16365
 
lt_NL2SP \
16366
 
reload_flag \
16367
 
OBJDUMP \
16368
 
deplibs_check_method \
16369
 
file_magic_cmd \
16370
 
AR \
16371
 
AR_FLAGS \
16372
 
STRIP \
16373
 
RANLIB \
16374
 
CC \
16375
 
CFLAGS \
16376
 
compiler \
16377
 
lt_cv_sys_global_symbol_pipe \
16378
 
lt_cv_sys_global_symbol_to_cdecl \
16379
 
lt_cv_sys_global_symbol_to_c_name_address \
16380
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16381
 
SHELL \
16382
 
ECHO \
16383
 
lt_prog_compiler_no_builtin_flag \
16384
 
lt_prog_compiler_wl \
16385
 
lt_prog_compiler_pic \
16386
 
lt_prog_compiler_static \
16387
 
lt_cv_prog_compiler_c_o \
16388
 
need_locks \
16389
 
DSYMUTIL \
16390
 
NMEDIT \
16391
 
LIPO \
16392
 
OTOOL \
16393
 
OTOOL64 \
16394
 
shrext_cmds \
16395
 
export_dynamic_flag_spec \
16396
 
whole_archive_flag_spec \
16397
 
compiler_needs_object \
16398
 
with_gnu_ld \
16399
 
allow_undefined_flag \
16400
 
no_undefined_flag \
16401
 
hardcode_libdir_flag_spec \
16402
 
hardcode_libdir_flag_spec_ld \
16403
 
hardcode_libdir_separator \
16404
 
fix_srcfile_path \
16405
 
exclude_expsyms \
16406
 
include_expsyms \
16407
 
file_list_spec \
16408
 
variables_saved_for_relink \
16409
 
libname_spec \
16410
 
library_names_spec \
16411
 
soname_spec \
16412
 
finish_eval \
16413
 
old_striplib \
16414
 
striplib; do
16415
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16416
 
    *[\\\\\\\`\\"\\\$]*)
16417
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16418
 
      ;;
16419
 
    *)
16420
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16421
 
      ;;
16422
 
    esac
16423
 
done
16424
 
 
16425
 
# Double-quote double-evaled strings.
16426
 
for var in reload_cmds \
16427
 
old_postinstall_cmds \
16428
 
old_postuninstall_cmds \
16429
 
old_archive_cmds \
16430
 
extract_expsyms_cmds \
16431
 
old_archive_from_new_cmds \
16432
 
old_archive_from_expsyms_cmds \
16433
 
archive_cmds \
16434
 
archive_expsym_cmds \
16435
 
module_cmds \
16436
 
module_expsym_cmds \
16437
 
export_symbols_cmds \
16438
 
prelink_cmds \
16439
 
postinstall_cmds \
16440
 
postuninstall_cmds \
16441
 
finish_cmds \
16442
 
sys_lib_search_path_spec \
16443
 
sys_lib_dlsearch_path_spec; do
16444
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16445
 
    *[\\\\\\\`\\"\\\$]*)
16446
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16447
 
      ;;
16448
 
    *)
16449
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16450
 
      ;;
16451
 
    esac
16452
 
done
16453
 
 
16454
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
16455
 
case \$lt_ECHO in
16456
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16457
 
  ;;
16458
 
esac
16459
 
 
16460
 
ac_aux_dir='$ac_aux_dir'
16461
 
xsi_shell='$xsi_shell'
16462
 
lt_shell_append='$lt_shell_append'
16463
 
 
16464
 
# See if we are running on zsh, and set the options which allow our
16465
 
# commands through without removal of \ escapes INIT.
16466
 
if test -n "\${ZSH_VERSION+set}" ; then
16467
 
   setopt NO_GLOB_SUBST
16468
 
fi
16469
 
 
16470
 
 
16471
 
    PACKAGE='$PACKAGE'
16472
 
    VERSION='$VERSION'
16473
 
    TIMESTAMP='$TIMESTAMP'
16474
 
    RM='$RM'
16475
 
    ofile='$ofile'
16476
 
 
16477
 
 
16478
 
 
16479
 
 
16480
 
 
16481
 
_ACEOF
16482
 
 
16483
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16484
 
 
16485
 
# Handling of arguments.
16486
 
for ac_config_target in $ac_config_targets
16487
 
do
16488
 
  case $ac_config_target in
16489
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16490
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16491
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16492
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16493
 
    "data/icons/hicolor/128x128/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/apps/Makefile" ;;
16494
 
    "data/icons/hicolor/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/Makefile" ;;
16495
 
    "data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;;
16496
 
    "data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;;
16497
 
    "data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;;
16498
 
    "data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;;
16499
 
    "data/icons/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/apps/Makefile" ;;
16500
 
    "data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;;
16501
 
    "data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;;
16502
 
    "data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;;
16503
 
    "data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;;
16504
 
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16505
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16506
 
    "data/xchat-gnome.desktop.in") CONFIG_FILES="$CONFIG_FILES data/xchat-gnome.desktop.in" ;;
16507
 
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16508
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16509
 
    "plugins/autoaway/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/autoaway/Makefile" ;;
16510
 
    "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
16511
 
    "plugins/net-monitor/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/net-monitor/Makefile" ;;
16512
 
    "plugins/notification/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notification/Makefile" ;;
16513
 
    "plugins/notify-osd/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notify-osd/Makefile" ;;
16514
 
    "plugins/perl/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/perl/Makefile" ;;
16515
 
    "plugins/python/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/python/Makefile" ;;
16516
 
    "plugins/sound-notification/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sound-notification/Makefile" ;;
16517
 
    "plugins/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tcl/Makefile" ;;
16518
 
    "plugins/url_scraper/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/url_scraper/Makefile" ;;
16519
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16520
 
    "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
16521
 
    "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16522
 
    "src/fe-gnome/Makefile") CONFIG_FILES="$CONFIG_FILES src/fe-gnome/Makefile" ;;
16523
 
    "src/libcontrast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcontrast/Makefile" ;;
16524
 
    "src/libeggsmclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/libeggsmclient/Makefile" ;;
16525
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16526
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16527
 
 
16528
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16529
 
  esac
16530
 
done
16531
 
 
16532
 
 
16533
 
# If the user did not use the arguments to specify the items to instantiate,
16534
 
# then the envvar interface is used.  Set only those that are not.
16535
 
# We use the long form for the default assignment because of an extremely
16536
 
# bizarre bug on SunOS 4.1.3.
16537
 
if $ac_need_defaults; then
16538
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16539
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16540
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16541
 
fi
16542
 
 
16543
 
# Have a temporary directory for convenience.  Make it in the build tree
16544
 
# simply because there is no reason against having it here, and in addition,
16545
 
# creating and moving files from /tmp can sometimes cause problems.
16546
 
# Hook for its removal unless debugging.
16547
 
# Note that there is a small window in which the directory will not be cleaned:
16548
 
# after its creation but before its name has been assigned to `$tmp'.
16549
 
$debug ||
16550
 
{
16551
 
  tmp=
16552
 
  trap 'exit_status=$?
16553
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16554
 
' 0
16555
 
  trap 'as_fn_exit 1' 1 2 13 15
16556
 
}
16557
 
# Create a (secure) tmp directory for tmp files.
16558
 
 
16559
 
{
16560
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16561
 
  test -n "$tmp" && test -d "$tmp"
16562
 
}  ||
16563
 
{
16564
 
  tmp=./conf$$-$RANDOM
16565
 
  (umask 077 && mkdir "$tmp")
16566
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16567
 
 
16568
 
# Set up the scripts for CONFIG_FILES section.
16569
 
# No need to generate them if there are no CONFIG_FILES.
16570
 
# This happens for instance with `./config.status config.h'.
16571
 
if test -n "$CONFIG_FILES"; then
16572
 
 
16573
 
 
16574
 
ac_cr=`echo X | tr X '\015'`
16575
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16576
 
# But we know of no other shell where ac_cr would be empty at this
16577
 
# point, so we can use a bashism as a fallback.
16578
 
if test "x$ac_cr" = x; then
16579
 
  eval ac_cr=\$\'\\r\'
16580
 
fi
16581
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16582
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16583
 
  ac_cs_awk_cr='\\r'
16584
 
else
16585
 
  ac_cs_awk_cr=$ac_cr
16586
 
fi
16587
 
 
16588
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16589
 
_ACEOF
16590
 
 
16591
 
 
16592
 
{
16593
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
16594
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16595
 
  echo "_ACEOF"
16596
 
} >conf$$subs.sh ||
16597
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16598
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16599
 
ac_delim='%!_!# '
16600
 
for ac_last_try in false false false false false :; do
16601
 
  . ./conf$$subs.sh ||
16602
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16603
 
 
16604
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16605
 
  if test $ac_delim_n = $ac_delim_num; then
16606
 
    break
16607
 
  elif $ac_last_try; then
16608
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16609
 
  else
16610
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16611
 
  fi
16612
 
done
16613
 
rm -f conf$$subs.sh
16614
 
 
16615
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16616
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16617
 
_ACEOF
16618
 
sed -n '
16619
 
h
16620
 
s/^/S["/; s/!.*/"]=/
16621
 
p
16622
 
g
16623
 
s/^[^!]*!//
16624
 
:repl
16625
 
t repl
16626
 
s/'"$ac_delim"'$//
16627
 
t delim
16628
 
:nl
16629
 
h
16630
 
s/\(.\{148\}\)..*/\1/
16631
 
t more1
16632
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16633
 
p
16634
 
n
16635
 
b repl
16636
 
:more1
16637
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16638
 
p
16639
 
g
16640
 
s/.\{148\}//
16641
 
t nl
16642
 
:delim
16643
 
h
16644
 
s/\(.\{148\}\)..*/\1/
16645
 
t more2
16646
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
16647
 
p
16648
 
b
16649
 
:more2
16650
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16651
 
p
16652
 
g
16653
 
s/.\{148\}//
16654
 
t delim
16655
 
' <conf$$subs.awk | sed '
16656
 
/^[^""]/{
16657
 
  N
16658
 
  s/\n//
16659
 
}
16660
 
' >>$CONFIG_STATUS || ac_write_fail=1
16661
 
rm -f conf$$subs.awk
16662
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16663
 
_ACAWK
16664
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16665
 
  for (key in S) S_is_set[key] = 1
16666
 
  FS = ""
16667
 
 
16668
 
}
16669
 
{
16670
 
  line = $ 0
16671
 
  nfields = split(line, field, "@")
16672
 
  substed = 0
16673
 
  len = length(field[1])
16674
 
  for (i = 2; i < nfields; i++) {
16675
 
    key = field[i]
16676
 
    keylen = length(key)
16677
 
    if (S_is_set[key]) {
16678
 
      value = S[key]
16679
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16680
 
      len += length(value) + length(field[++i])
16681
 
      substed = 1
16682
 
    } else
16683
 
      len += 1 + keylen
16684
 
  }
16685
 
 
16686
 
  print line
16687
 
}
16688
 
 
16689
 
_ACAWK
16690
 
_ACEOF
16691
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16692
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16693
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16694
 
else
16695
 
  cat
16696
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16697
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16698
 
_ACEOF
16699
 
 
16700
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16701
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16702
 
# trailing colons and then remove the whole line if VPATH becomes empty
16703
 
# (actually we leave an empty line to preserve line numbers).
16704
 
if test "x$srcdir" = x.; then
16705
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16706
 
h
16707
 
s///
16708
 
s/^/:/
16709
 
s/[      ]*$/:/
16710
 
s/:\$(srcdir):/:/g
16711
 
s/:\${srcdir}:/:/g
16712
 
s/:@srcdir@:/:/g
16713
 
s/^:*//
16714
 
s/:*$//
16715
 
x
16716
 
s/\(=[   ]*\).*/\1/
16717
 
G
16718
 
s/\n//
16719
 
s/^[^=]*=[       ]*$//
16720
 
}'
16721
 
fi
16722
 
 
16723
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16724
 
fi # test -n "$CONFIG_FILES"
16725
 
 
16726
 
# Set up the scripts for CONFIG_HEADERS section.
16727
 
# No need to generate them if there are no CONFIG_HEADERS.
16728
 
# This happens for instance with `./config.status Makefile'.
16729
 
if test -n "$CONFIG_HEADERS"; then
16730
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
16731
 
BEGIN {
16732
 
_ACEOF
16733
 
 
16734
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
16735
 
# here-document in config.status, that substitutes the proper values into
16736
 
# config.h.in to produce config.h.
16737
 
 
16738
 
# Create a delimiter string that does not exist in confdefs.h, to ease
16739
 
# handling of long lines.
16740
 
ac_delim='%!_!# '
16741
 
for ac_last_try in false false :; do
16742
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16743
 
  if test -z "$ac_t"; then
16744
 
    break
16745
 
  elif $ac_last_try; then
16746
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16747
 
  else
16748
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16749
 
  fi
16750
 
done
16751
 
 
16752
 
# For the awk script, D is an array of macro values keyed by name,
16753
 
# likewise P contains macro parameters if any.  Preserve backslash
16754
 
# newline sequences.
16755
 
 
16756
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16757
 
sed -n '
16758
 
s/.\{148\}/&'"$ac_delim"'/g
16759
 
t rset
16760
 
:rset
16761
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
16762
 
t def
16763
 
d
16764
 
:def
16765
 
s/\\$//
16766
 
t bsnl
16767
 
s/["\\]/\\&/g
16768
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16769
 
D["\1"]=" \3"/p
16770
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16771
 
d
16772
 
:bsnl
16773
 
s/["\\]/\\&/g
16774
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16775
 
D["\1"]=" \3\\\\\\n"\\/p
16776
 
t cont
16777
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16778
 
t cont
16779
 
d
16780
 
:cont
16781
 
n
16782
 
s/.\{148\}/&'"$ac_delim"'/g
16783
 
t clear
16784
 
:clear
16785
 
s/\\$//
16786
 
t bsnlc
16787
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16788
 
d
16789
 
:bsnlc
16790
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16791
 
b cont
16792
 
' <confdefs.h | sed '
16793
 
s/'"$ac_delim"'/"\\\
16794
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16795
 
 
16796
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16797
 
  for (key in D) D_is_set[key] = 1
16798
 
  FS = ""
16799
 
}
16800
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16801
 
  line = \$ 0
16802
 
  split(line, arg, " ")
16803
 
  if (arg[1] == "#") {
16804
 
    defundef = arg[2]
16805
 
    mac1 = arg[3]
16806
 
  } else {
16807
 
    defundef = substr(arg[1], 2)
16808
 
    mac1 = arg[2]
16809
 
  }
16810
 
  split(mac1, mac2, "(") #)
16811
 
  macro = mac2[1]
16812
 
  prefix = substr(line, 1, index(line, defundef) - 1)
16813
 
  if (D_is_set[macro]) {
16814
 
    # Preserve the white space surrounding the "#".
16815
 
    print prefix "define", macro P[macro] D[macro]
16816
 
    next
16817
 
  } else {
16818
 
    # Replace #undef with comments.  This is necessary, for example,
16819
 
    # in the case of _POSIX_SOURCE, which is predefined and required
16820
 
    # on some systems where configure will not decide to define it.
16821
 
    if (defundef == "undef") {
16822
 
      print "/*", prefix defundef, macro, "*/"
16823
 
      next
16824
 
    }
16825
 
  }
16826
 
}
16827
 
{ print }
16828
 
_ACAWK
16829
 
_ACEOF
16830
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16831
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16832
 
fi # test -n "$CONFIG_HEADERS"
16833
 
 
16834
 
 
16835
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16836
 
shift
16837
 
for ac_tag
16838
 
do
16839
 
  case $ac_tag in
16840
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
16841
 
  esac
16842
 
  case $ac_mode$ac_tag in
16843
 
  :[FHL]*:*);;
16844
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16845
 
  :[FH]-) ac_tag=-:-;;
16846
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16847
 
  esac
16848
 
  ac_save_IFS=$IFS
16849
 
  IFS=:
16850
 
  set x $ac_tag
16851
 
  IFS=$ac_save_IFS
16852
 
  shift
16853
 
  ac_file=$1
16854
 
  shift
16855
 
 
16856
 
  case $ac_mode in
16857
 
  :L) ac_source=$1;;
16858
 
  :[FH])
16859
 
    ac_file_inputs=
16860
 
    for ac_f
16861
 
    do
16862
 
      case $ac_f in
16863
 
      -) ac_f="$tmp/stdin";;
16864
 
      *) # Look for the file first in the build tree, then in the source tree
16865
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16866
 
         # because $ac_f cannot contain `:'.
16867
 
         test -f "$ac_f" ||
16868
 
           case $ac_f in
16869
 
           [\\/$]*) false;;
16870
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16871
 
           esac ||
16872
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16873
 
      esac
16874
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16875
 
      as_fn_append ac_file_inputs " '$ac_f'"
16876
 
    done
16877
 
 
16878
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16879
 
    # use $as_me), people would be surprised to read:
16880
 
    #    /* config.h.  Generated by config.status.  */
16881
 
    configure_input='Generated from '`
16882
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16883
 
        `' by configure.'
16884
 
    if test x"$ac_file" != x-; then
16885
 
      configure_input="$ac_file.  $configure_input"
16886
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16887
 
$as_echo "$as_me: creating $ac_file" >&6;}
16888
 
    fi
16889
 
    # Neutralize special characters interpreted by sed in replacement strings.
16890
 
    case $configure_input in #(
16891
 
    *\&* | *\|* | *\\* )
16892
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
16893
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16894
 
    *) ac_sed_conf_input=$configure_input;;
16895
 
    esac
16896
 
 
16897
 
    case $ac_tag in
16898
 
    *:-:* | *:-) cat >"$tmp/stdin" \
16899
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
16900
 
    esac
16901
 
    ;;
16902
 
  esac
16903
 
 
16904
 
  ac_dir=`$as_dirname -- "$ac_file" ||
16905
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16906
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
16907
 
         X"$ac_file" : 'X\(//\)$' \| \
16908
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16909
 
$as_echo X"$ac_file" |
16910
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16911
 
            s//\1/
16912
 
            q
16913
 
          }
16914
 
          /^X\(\/\/\)[^/].*/{
16915
 
            s//\1/
16916
 
            q
16917
 
          }
16918
 
          /^X\(\/\/\)$/{
16919
 
            s//\1/
16920
 
            q
16921
 
          }
16922
 
          /^X\(\/\).*/{
16923
 
            s//\1/
16924
 
            q
16925
 
          }
16926
 
          s/.*/./; q'`
16927
 
  as_dir="$ac_dir"; as_fn_mkdir_p
16928
 
  ac_builddir=.
16929
 
 
16930
 
case "$ac_dir" in
16931
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16932
 
*)
16933
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16934
 
  # A ".." for each directory in $ac_dir_suffix.
16935
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16936
 
  case $ac_top_builddir_sub in
16937
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16938
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16939
 
  esac ;;
16940
 
esac
16941
 
ac_abs_top_builddir=$ac_pwd
16942
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16943
 
# for backward compatibility:
16944
 
ac_top_builddir=$ac_top_build_prefix
16945
 
 
16946
 
case $srcdir in
16947
 
  .)  # We are building in place.
16948
 
    ac_srcdir=.
16949
 
    ac_top_srcdir=$ac_top_builddir_sub
16950
 
    ac_abs_top_srcdir=$ac_pwd ;;
16951
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
16952
 
    ac_srcdir=$srcdir$ac_dir_suffix;
16953
 
    ac_top_srcdir=$srcdir
16954
 
    ac_abs_top_srcdir=$srcdir ;;
16955
 
  *) # Relative name.
16956
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16957
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
16958
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16959
 
esac
16960
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16961
 
 
16962
 
 
16963
 
  case $ac_mode in
16964
 
  :F)
16965
 
  #
16966
 
  # CONFIG_FILE
16967
 
  #
16968
 
 
16969
 
  case $INSTALL in
16970
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16971
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16972
 
  esac
16973
 
  ac_MKDIR_P=$MKDIR_P
16974
 
  case $MKDIR_P in
16975
 
  [\\/$]* | ?:[\\/]* ) ;;
16976
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16977
 
  esac
16978
 
_ACEOF
16979
 
 
16980
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16981
 
# If the template does not know about datarootdir, expand it.
16982
 
# FIXME: This hack should be removed a few years after 2.60.
16983
 
ac_datarootdir_hack=; ac_datarootdir_seen=
16984
 
ac_sed_dataroot='
16985
 
/datarootdir/ {
16986
 
  p
16987
 
  q
16988
 
}
16989
 
/@datadir@/p
16990
 
/@docdir@/p
16991
 
/@infodir@/p
16992
 
/@localedir@/p
16993
 
/@mandir@/p'
16994
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16995
 
*datarootdir*) ac_datarootdir_seen=yes;;
16996
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16998
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16999
 
_ACEOF
17000
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17001
 
  ac_datarootdir_hack='
17002
 
  s&@datadir@&$datadir&g
17003
 
  s&@docdir@&$docdir&g
17004
 
  s&@infodir@&$infodir&g
17005
 
  s&@localedir@&$localedir&g
17006
 
  s&@mandir@&$mandir&g
17007
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
17008
 
esac
17009
 
_ACEOF
17010
 
 
17011
 
# Neutralize VPATH when `$srcdir' = `.'.
17012
 
# Shell code in configure.ac might set extrasub.
17013
 
# FIXME: do we really want to maintain this feature?
17014
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17015
 
ac_sed_extra="$ac_vpsub
17016
 
$extrasub
17017
 
_ACEOF
17018
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17019
 
:t
17020
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17021
 
s|@configure_input@|$ac_sed_conf_input|;t t
17022
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
17023
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17024
 
s&@srcdir@&$ac_srcdir&;t t
17025
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17026
 
s&@top_srcdir@&$ac_top_srcdir&;t t
17027
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17028
 
s&@builddir@&$ac_builddir&;t t
17029
 
s&@abs_builddir@&$ac_abs_builddir&;t t
17030
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17031
 
s&@INSTALL@&$ac_INSTALL&;t t
17032
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17033
 
$ac_datarootdir_hack
17034
 
"
17035
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17036
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17037
 
 
17038
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17039
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17040
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17042
 
which seems to be undefined.  Please make sure it is defined" >&5
17043
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17044
 
which seems to be undefined.  Please make sure it is defined" >&2;}
17045
 
 
17046
 
  rm -f "$tmp/stdin"
17047
 
  case $ac_file in
17048
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17049
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17050
 
  esac \
17051
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17052
 
 ;;
17053
 
  :H)
17054
 
  #
17055
 
  # CONFIG_HEADER
17056
 
  #
17057
 
  if test x"$ac_file" != x-; then
17058
 
    {
17059
 
      $as_echo "/* $configure_input  */" \
17060
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17061
 
    } >"$tmp/config.h" \
17062
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17063
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17064
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17065
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17066
 
    else
17067
 
      rm -f "$ac_file"
17068
 
      mv "$tmp/config.h" "$ac_file" \
17069
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17070
 
    fi
17071
 
  else
17072
 
    $as_echo "/* $configure_input  */" \
17073
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17074
 
      || as_fn_error $? "could not create -" "$LINENO" 5
17075
 
  fi
17076
 
# Compute "$ac_file"'s index in $config_headers.
17077
 
_am_arg="$ac_file"
17078
 
_am_stamp_count=1
17079
 
for _am_header in $config_headers :; do
17080
 
  case $_am_header in
17081
 
    $_am_arg | $_am_arg:* )
17082
 
      break ;;
17083
 
    * )
17084
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17085
 
  esac
17086
 
done
17087
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17088
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17089
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
17090
 
         X"$_am_arg" : 'X\(//\)$' \| \
17091
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17092
 
$as_echo X"$_am_arg" |
17093
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17094
 
            s//\1/
17095
 
            q
17096
 
          }
17097
 
          /^X\(\/\/\)[^/].*/{
17098
 
            s//\1/
17099
 
            q
17100
 
          }
17101
 
          /^X\(\/\/\)$/{
17102
 
            s//\1/
17103
 
            q
17104
 
          }
17105
 
          /^X\(\/\).*/{
17106
 
            s//\1/
17107
 
            q
17108
 
          }
17109
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
17110
 
 ;;
17111
 
 
17112
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17113
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
17114
 
 ;;
17115
 
  esac
17116
 
 
17117
 
 
17118
 
  case $ac_file$ac_mode in
17119
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17120
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17121
 
  # are listed without --file.  Let's play safe and only enable the eval
17122
 
  # if we detect the quoting.
17123
 
  case $CONFIG_FILES in
17124
 
  *\'*) eval set x "$CONFIG_FILES" ;;
17125
 
  *)   set x $CONFIG_FILES ;;
17126
 
  esac
17127
 
  shift
17128
 
  for mf
17129
 
  do
17130
 
    # Strip MF so we end up with the name of the file.
17131
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17132
 
    # Check whether this is an Automake generated Makefile or not.
17133
 
    # We used to match only the files named `Makefile.in', but
17134
 
    # some people rename them; so instead we look at the file content.
17135
 
    # Grep'ing the first line is not enough: some people post-process
17136
 
    # each Makefile.in and add a new line on top of each file to say so.
17137
 
    # Grep'ing the whole file is not good either: AIX grep has a line
17138
 
    # limit of 2048, but all sed's we know have understand at least 4000.
17139
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17140
 
      dirpart=`$as_dirname -- "$mf" ||
17141
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17142
 
         X"$mf" : 'X\(//\)[^/]' \| \
17143
 
         X"$mf" : 'X\(//\)$' \| \
17144
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17145
 
$as_echo X"$mf" |
17146
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17147
 
            s//\1/
17148
 
            q
17149
 
          }
17150
 
          /^X\(\/\/\)[^/].*/{
17151
 
            s//\1/
17152
 
            q
17153
 
          }
17154
 
          /^X\(\/\/\)$/{
17155
 
            s//\1/
17156
 
            q
17157
 
          }
17158
 
          /^X\(\/\).*/{
17159
 
            s//\1/
17160
 
            q
17161
 
          }
17162
 
          s/.*/./; q'`
17163
 
    else
17164
 
      continue
17165
 
    fi
17166
 
    # Extract the definition of DEPDIR, am__include, and am__quote
17167
 
    # from the Makefile without running `make'.
17168
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17169
 
    test -z "$DEPDIR" && continue
17170
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17171
 
    test -z "am__include" && continue
17172
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17173
 
    # When using ansi2knr, U may be empty or an underscore; expand it
17174
 
    U=`sed -n 's/^U = //p' < "$mf"`
17175
 
    # Find all dependency output files, they are included files with
17176
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17177
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
17178
 
    # expansion.
17179
 
    for file in `sed -n "
17180
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17181
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17182
 
      # Make sure the directory exists.
17183
 
      test -f "$dirpart/$file" && continue
17184
 
      fdir=`$as_dirname -- "$file" ||
17185
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17186
 
         X"$file" : 'X\(//\)[^/]' \| \
17187
 
         X"$file" : 'X\(//\)$' \| \
17188
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17189
 
$as_echo X"$file" |
17190
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17191
 
            s//\1/
17192
 
            q
17193
 
          }
17194
 
          /^X\(\/\/\)[^/].*/{
17195
 
            s//\1/
17196
 
            q
17197
 
          }
17198
 
          /^X\(\/\/\)$/{
17199
 
            s//\1/
17200
 
            q
17201
 
          }
17202
 
          /^X\(\/\).*/{
17203
 
            s//\1/
17204
 
            q
17205
 
          }
17206
 
          s/.*/./; q'`
17207
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17208
 
      # echo "creating $dirpart/$file"
17209
 
      echo '# dummy' > "$dirpart/$file"
17210
 
    done
17211
 
  done
17212
 
}
17213
 
 ;;
17214
 
    "libtool":C)
17215
 
 
17216
 
    # See if we are running on zsh, and set the options which allow our
17217
 
    # commands through without removal of \ escapes.
17218
 
    if test -n "${ZSH_VERSION+set}" ; then
17219
 
      setopt NO_GLOB_SUBST
17220
 
    fi
17221
 
 
17222
 
    cfgfile="${ofile}T"
17223
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17224
 
    $RM "$cfgfile"
17225
 
 
17226
 
    cat <<_LT_EOF >> "$cfgfile"
17227
 
#! $SHELL
17228
 
 
17229
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17230
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17231
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17232
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17233
 
#
17234
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17235
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
17236
 
#   Written by Gordon Matzigkeit, 1996
17237
 
#
17238
 
#   This file is part of GNU Libtool.
17239
 
#
17240
 
# GNU Libtool is free software; you can redistribute it and/or
17241
 
# modify it under the terms of the GNU General Public License as
17242
 
# published by the Free Software Foundation; either version 2 of
17243
 
# the License, or (at your option) any later version.
17244
 
#
17245
 
# As a special exception to the GNU General Public License,
17246
 
# if you distribute this file as part of a program or library that
17247
 
# is built using GNU Libtool, you may include this file under the
17248
 
# same distribution terms that you use for the rest of that program.
17249
 
#
17250
 
# GNU Libtool is distributed in the hope that it will be useful,
17251
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17252
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17253
 
# GNU General Public License for more details.
17254
 
#
17255
 
# You should have received a copy of the GNU General Public License
17256
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
17257
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17258
 
# obtained by writing to the Free Software Foundation, Inc.,
17259
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17260
 
 
17261
 
 
17262
 
# The names of the tagged configurations supported by this script.
17263
 
available_tags=""
17264
 
 
17265
 
# ### BEGIN LIBTOOL CONFIG
17266
 
 
17267
 
# Which release of libtool.m4 was used?
17268
 
macro_version=$macro_version
17269
 
macro_revision=$macro_revision
17270
 
 
17271
 
# Whether or not to build shared libraries.
17272
 
build_libtool_libs=$enable_shared
17273
 
 
17274
 
# Whether or not to build static libraries.
17275
 
build_old_libs=$enable_static
17276
 
 
17277
 
# What type of objects to build.
17278
 
pic_mode=$pic_mode
17279
 
 
17280
 
# Whether or not to optimize for fast installation.
17281
 
fast_install=$enable_fast_install
17282
 
 
17283
 
# The host system.
17284
 
host_alias=$host_alias
17285
 
host=$host
17286
 
host_os=$host_os
17287
 
 
17288
 
# The build system.
17289
 
build_alias=$build_alias
17290
 
build=$build
17291
 
build_os=$build_os
17292
 
 
17293
 
# A sed program that does not truncate output.
17294
 
SED=$lt_SED
17295
 
 
17296
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17297
 
Xsed="\$SED -e 1s/^X//"
17298
 
 
17299
 
# A grep program that handles long lines.
17300
 
GREP=$lt_GREP
17301
 
 
17302
 
# An ERE matcher.
17303
 
EGREP=$lt_EGREP
17304
 
 
17305
 
# A literal string matcher.
17306
 
FGREP=$lt_FGREP
17307
 
 
17308
 
# A BSD- or MS-compatible name lister.
17309
 
NM=$lt_NM
17310
 
 
17311
 
# Whether we need soft or hard links.
17312
 
LN_S=$lt_LN_S
17313
 
 
17314
 
# What is the maximum length of a command?
17315
 
max_cmd_len=$max_cmd_len
17316
 
 
17317
 
# Object file suffix (normally "o").
17318
 
objext=$ac_objext
17319
 
 
17320
 
# Executable file suffix (normally "").
17321
 
exeext=$exeext
17322
 
 
17323
 
# whether the shell understands "unset".
17324
 
lt_unset=$lt_unset
17325
 
 
17326
 
# turn spaces into newlines.
17327
 
SP2NL=$lt_lt_SP2NL
17328
 
 
17329
 
# turn newlines into spaces.
17330
 
NL2SP=$lt_lt_NL2SP
17331
 
 
17332
 
# How to create reloadable object files.
17333
 
reload_flag=$lt_reload_flag
17334
 
reload_cmds=$lt_reload_cmds
17335
 
 
17336
 
# An object symbol dumper.
17337
 
OBJDUMP=$lt_OBJDUMP
17338
 
 
17339
 
# Method to check whether dependent libraries are shared objects.
17340
 
deplibs_check_method=$lt_deplibs_check_method
17341
 
 
17342
 
# Command to use when deplibs_check_method == "file_magic".
17343
 
file_magic_cmd=$lt_file_magic_cmd
17344
 
 
17345
 
# The archiver.
17346
 
AR=$lt_AR
17347
 
AR_FLAGS=$lt_AR_FLAGS
17348
 
 
17349
 
# A symbol stripping program.
17350
 
STRIP=$lt_STRIP
17351
 
 
17352
 
# Commands used to install an old-style archive.
17353
 
RANLIB=$lt_RANLIB
17354
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17355
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17356
 
 
17357
 
# A C compiler.
17358
 
LTCC=$lt_CC
17359
 
 
17360
 
# LTCC compiler flags.
17361
 
LTCFLAGS=$lt_CFLAGS
17362
 
 
17363
 
# Take the output of nm and produce a listing of raw symbols and C names.
17364
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17365
 
 
17366
 
# Transform the output of nm in a proper C declaration.
17367
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17368
 
 
17369
 
# Transform the output of nm in a C name address pair.
17370
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17371
 
 
17372
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
17373
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17374
 
 
17375
 
# The name of the directory that contains temporary libtool files.
17376
 
objdir=$objdir
17377
 
 
17378
 
# Shell to use when invoking shell scripts.
17379
 
SHELL=$lt_SHELL
17380
 
 
17381
 
# An echo program that does not interpret backslashes.
17382
 
ECHO=$lt_ECHO
17383
 
 
17384
 
# Used to examine libraries when file_magic_cmd begins with "file".
17385
 
MAGIC_CMD=$MAGIC_CMD
17386
 
 
17387
 
# Must we lock files when doing compilation?
17388
 
need_locks=$lt_need_locks
17389
 
 
17390
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17391
 
DSYMUTIL=$lt_DSYMUTIL
17392
 
 
17393
 
# Tool to change global to local symbols on Mac OS X.
17394
 
NMEDIT=$lt_NMEDIT
17395
 
 
17396
 
# Tool to manipulate fat objects and archives on Mac OS X.
17397
 
LIPO=$lt_LIPO
17398
 
 
17399
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17400
 
OTOOL=$lt_OTOOL
17401
 
 
17402
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17403
 
OTOOL64=$lt_OTOOL64
17404
 
 
17405
 
# Old archive suffix (normally "a").
17406
 
libext=$libext
17407
 
 
17408
 
# Shared library suffix (normally ".so").
17409
 
shrext_cmds=$lt_shrext_cmds
17410
 
 
17411
 
# The commands to extract the exported symbol list from a shared archive.
17412
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17413
 
 
17414
 
# Variables whose values should be saved in libtool wrapper scripts and
17415
 
# restored at link time.
17416
 
variables_saved_for_relink=$lt_variables_saved_for_relink
17417
 
 
17418
 
# Do we need the "lib" prefix for modules?
17419
 
need_lib_prefix=$need_lib_prefix
17420
 
 
17421
 
# Do we need a version for libraries?
17422
 
need_version=$need_version
17423
 
 
17424
 
# Library versioning type.
17425
 
version_type=$version_type
17426
 
 
17427
 
# Shared library runtime path variable.
17428
 
runpath_var=$runpath_var
17429
 
 
17430
 
# Shared library path variable.
17431
 
shlibpath_var=$shlibpath_var
17432
 
 
17433
 
# Is shlibpath searched before the hard-coded library search path?
17434
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17435
 
 
17436
 
# Format of library name prefix.
17437
 
libname_spec=$lt_libname_spec
17438
 
 
17439
 
# List of archive names.  First name is the real one, the rest are links.
17440
 
# The last name is the one that the linker finds with -lNAME
17441
 
library_names_spec=$lt_library_names_spec
17442
 
 
17443
 
# The coded name of the library, if different from the real name.
17444
 
soname_spec=$lt_soname_spec
17445
 
 
17446
 
# Command to use after installation of a shared archive.
17447
 
postinstall_cmds=$lt_postinstall_cmds
17448
 
 
17449
 
# Command to use after uninstallation of a shared archive.
17450
 
postuninstall_cmds=$lt_postuninstall_cmds
17451
 
 
17452
 
# Commands used to finish a libtool library installation in a directory.
17453
 
finish_cmds=$lt_finish_cmds
17454
 
 
17455
 
# As "finish_cmds", except a single script fragment to be evaled but
17456
 
# not shown.
17457
 
finish_eval=$lt_finish_eval
17458
 
 
17459
 
# Whether we should hardcode library paths into libraries.
17460
 
hardcode_into_libs=$hardcode_into_libs
17461
 
 
17462
 
# Compile-time system search path for libraries.
17463
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17464
 
 
17465
 
# Run-time system search path for libraries.
17466
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17467
 
 
17468
 
# Whether dlopen is supported.
17469
 
dlopen_support=$enable_dlopen
17470
 
 
17471
 
# Whether dlopen of programs is supported.
17472
 
dlopen_self=$enable_dlopen_self
17473
 
 
17474
 
# Whether dlopen of statically linked programs is supported.
17475
 
dlopen_self_static=$enable_dlopen_self_static
17476
 
 
17477
 
# Commands to strip libraries.
17478
 
old_striplib=$lt_old_striplib
17479
 
striplib=$lt_striplib
17480
 
 
17481
 
 
17482
 
# The linker used to build libraries.
17483
 
LD=$lt_LD
17484
 
 
17485
 
# Commands used to build an old-style archive.
17486
 
old_archive_cmds=$lt_old_archive_cmds
17487
 
 
17488
 
# A language specific compiler.
17489
 
CC=$lt_compiler
17490
 
 
17491
 
# Is the compiler the GNU compiler?
17492
 
with_gcc=$GCC
17493
 
 
17494
 
# Compiler flag to turn off builtin functions.
17495
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17496
 
 
17497
 
# How to pass a linker flag through the compiler.
17498
 
wl=$lt_lt_prog_compiler_wl
17499
 
 
17500
 
# Additional compiler flags for building library objects.
17501
 
pic_flag=$lt_lt_prog_compiler_pic
17502
 
 
17503
 
# Compiler flag to prevent dynamic linking.
17504
 
link_static_flag=$lt_lt_prog_compiler_static
17505
 
 
17506
 
# Does compiler simultaneously support -c and -o options?
17507
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17508
 
 
17509
 
# Whether or not to add -lc for building shared libraries.
17510
 
build_libtool_need_lc=$archive_cmds_need_lc
17511
 
 
17512
 
# Whether or not to disallow shared libs when runtime libs are static.
17513
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17514
 
 
17515
 
# Compiler flag to allow reflexive dlopens.
17516
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17517
 
 
17518
 
# Compiler flag to generate shared objects directly from archives.
17519
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17520
 
 
17521
 
# Whether the compiler copes with passing no objects directly.
17522
 
compiler_needs_object=$lt_compiler_needs_object
17523
 
 
17524
 
# Create an old-style archive from a shared archive.
17525
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17526
 
 
17527
 
# Create a temporary old-style archive to link instead of a shared archive.
17528
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17529
 
 
17530
 
# Commands used to build a shared archive.
17531
 
archive_cmds=$lt_archive_cmds
17532
 
archive_expsym_cmds=$lt_archive_expsym_cmds
17533
 
 
17534
 
# Commands used to build a loadable module if different from building
17535
 
# a shared archive.
17536
 
module_cmds=$lt_module_cmds
17537
 
module_expsym_cmds=$lt_module_expsym_cmds
17538
 
 
17539
 
# Whether we are building with GNU ld or not.
17540
 
with_gnu_ld=$lt_with_gnu_ld
17541
 
 
17542
 
# Flag that allows shared libraries with undefined symbols to be built.
17543
 
allow_undefined_flag=$lt_allow_undefined_flag
17544
 
 
17545
 
# Flag that enforces no undefined symbols.
17546
 
no_undefined_flag=$lt_no_undefined_flag
17547
 
 
17548
 
# Flag to hardcode \$libdir into a binary during linking.
17549
 
# This must work even if \$libdir does not exist
17550
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17551
 
 
17552
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
17553
 
# during linking.  This must work even if \$libdir does not exist.
17554
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17555
 
 
17556
 
# Whether we need a single "-rpath" flag with a separated argument.
17557
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17558
 
 
17559
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17560
 
# DIR into the resulting binary.
17561
 
hardcode_direct=$hardcode_direct
17562
 
 
17563
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17564
 
# DIR into the resulting binary and the resulting library dependency is
17565
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17566
 
# library is relocated.
17567
 
hardcode_direct_absolute=$hardcode_direct_absolute
17568
 
 
17569
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17570
 
# into the resulting binary.
17571
 
hardcode_minus_L=$hardcode_minus_L
17572
 
 
17573
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17574
 
# into the resulting binary.
17575
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
17576
 
 
17577
 
# Set to "yes" if building a shared library automatically hardcodes DIR
17578
 
# into the library and all subsequent libraries and executables linked
17579
 
# against it.
17580
 
hardcode_automatic=$hardcode_automatic
17581
 
 
17582
 
# Set to yes if linker adds runtime paths of dependent libraries
17583
 
# to runtime path list.
17584
 
inherit_rpath=$inherit_rpath
17585
 
 
17586
 
# Whether libtool must link a program against all its dependency libraries.
17587
 
link_all_deplibs=$link_all_deplibs
17588
 
 
17589
 
# Fix the shell variable \$srcfile for the compiler.
17590
 
fix_srcfile_path=$lt_fix_srcfile_path
17591
 
 
17592
 
# Set to "yes" if exported symbols are required.
17593
 
always_export_symbols=$always_export_symbols
17594
 
 
17595
 
# The commands to list exported symbols.
17596
 
export_symbols_cmds=$lt_export_symbols_cmds
17597
 
 
17598
 
# Symbols that should not be listed in the preloaded symbols.
17599
 
exclude_expsyms=$lt_exclude_expsyms
17600
 
 
17601
 
# Symbols that must always be exported.
17602
 
include_expsyms=$lt_include_expsyms
17603
 
 
17604
 
# Commands necessary for linking programs (against libraries) with templates.
17605
 
prelink_cmds=$lt_prelink_cmds
17606
 
 
17607
 
# Specify filename containing input files.
17608
 
file_list_spec=$lt_file_list_spec
17609
 
 
17610
 
# How to hardcode a shared library path into an executable.
17611
 
hardcode_action=$hardcode_action
17612
 
 
17613
 
# ### END LIBTOOL CONFIG
17614
 
 
17615
 
_LT_EOF
17616
 
 
17617
 
  case $host_os in
17618
 
  aix3*)
17619
 
    cat <<\_LT_EOF >> "$cfgfile"
17620
 
# AIX sometimes has problems with the GCC collect2 program.  For some
17621
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
17622
 
# vanish in a puff of smoke.
17623
 
if test "X${COLLECT_NAMES+set}" != Xset; then
17624
 
  COLLECT_NAMES=
17625
 
  export COLLECT_NAMES
17626
 
fi
17627
 
_LT_EOF
17628
 
    ;;
17629
 
  esac
17630
 
 
17631
 
 
17632
 
ltmain="$ac_aux_dir/ltmain.sh"
17633
 
 
17634
 
 
17635
 
  # We use sed instead of cat because bash on DJGPP gets confused if
17636
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17637
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
17638
 
  # is reportedly fixed, but why not run on old versions too?
17639
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17640
 
    || (rm -f "$cfgfile"; exit 1)
17641
 
 
17642
 
  case $xsi_shell in
17643
 
  yes)
17644
 
    cat << \_LT_EOF >> "$cfgfile"
17645
 
 
17646
 
# func_dirname file append nondir_replacement
17647
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17648
 
# otherwise set result to NONDIR_REPLACEMENT.
17649
 
func_dirname ()
17650
 
{
17651
 
  case ${1} in
17652
 
    */*) func_dirname_result="${1%/*}${2}" ;;
17653
 
    *  ) func_dirname_result="${3}" ;;
17654
 
  esac
17655
 
}
17656
 
 
17657
 
# func_basename file
17658
 
func_basename ()
17659
 
{
17660
 
  func_basename_result="${1##*/}"
17661
 
}
17662
 
 
17663
 
# func_dirname_and_basename file append nondir_replacement
17664
 
# perform func_basename and func_dirname in a single function
17665
 
# call:
17666
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
17667
 
#             add APPEND to the result, otherwise set result
17668
 
#             to NONDIR_REPLACEMENT.
17669
 
#             value returned in "$func_dirname_result"
17670
 
#   basename: Compute filename of FILE.
17671
 
#             value retuned in "$func_basename_result"
17672
 
# Implementation must be kept synchronized with func_dirname
17673
 
# and func_basename. For efficiency, we do not delegate to
17674
 
# those functions but instead duplicate the functionality here.
17675
 
func_dirname_and_basename ()
17676
 
{
17677
 
  case ${1} in
17678
 
    */*) func_dirname_result="${1%/*}${2}" ;;
17679
 
    *  ) func_dirname_result="${3}" ;;
17680
 
  esac
17681
 
  func_basename_result="${1##*/}"
17682
 
}
17683
 
 
17684
 
# func_stripname prefix suffix name
17685
 
# strip PREFIX and SUFFIX off of NAME.
17686
 
# PREFIX and SUFFIX must not contain globbing or regex special
17687
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17688
 
# dot (in which case that matches only a dot).
17689
 
func_stripname ()
17690
 
{
17691
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17692
 
  # positional parameters, so assign one to ordinary parameter first.
17693
 
  func_stripname_result=${3}
17694
 
  func_stripname_result=${func_stripname_result#"${1}"}
17695
 
  func_stripname_result=${func_stripname_result%"${2}"}
17696
 
}
17697
 
 
17698
 
# func_opt_split
17699
 
func_opt_split ()
17700
 
{
17701
 
  func_opt_split_opt=${1%%=*}
17702
 
  func_opt_split_arg=${1#*=}
17703
 
}
17704
 
 
17705
 
# func_lo2o object
17706
 
func_lo2o ()
17707
 
{
17708
 
  case ${1} in
17709
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17710
 
    *)    func_lo2o_result=${1} ;;
17711
 
  esac
17712
 
}
17713
 
 
17714
 
# func_xform libobj-or-source
17715
 
func_xform ()
17716
 
{
17717
 
  func_xform_result=${1%.*}.lo
17718
 
}
17719
 
 
17720
 
# func_arith arithmetic-term...
17721
 
func_arith ()
17722
 
{
17723
 
  func_arith_result=$(( $* ))
17724
 
}
17725
 
 
17726
 
# func_len string
17727
 
# STRING may not start with a hyphen.
17728
 
func_len ()
17729
 
{
17730
 
  func_len_result=${#1}
17731
 
}
17732
 
 
17733
 
_LT_EOF
17734
 
    ;;
17735
 
  *) # Bourne compatible functions.
17736
 
    cat << \_LT_EOF >> "$cfgfile"
17737
 
 
17738
 
# func_dirname file append nondir_replacement
17739
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17740
 
# otherwise set result to NONDIR_REPLACEMENT.
17741
 
func_dirname ()
17742
 
{
17743
 
  # Extract subdirectory from the argument.
17744
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17745
 
  if test "X$func_dirname_result" = "X${1}"; then
17746
 
    func_dirname_result="${3}"
17747
 
  else
17748
 
    func_dirname_result="$func_dirname_result${2}"
17749
 
  fi
17750
 
}
17751
 
 
17752
 
# func_basename file
17753
 
func_basename ()
17754
 
{
17755
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17756
 
}
17757
 
 
17758
 
 
17759
 
# func_stripname prefix suffix name
17760
 
# strip PREFIX and SUFFIX off of NAME.
17761
 
# PREFIX and SUFFIX must not contain globbing or regex special
17762
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17763
 
# dot (in which case that matches only a dot).
17764
 
# func_strip_suffix prefix name
17765
 
func_stripname ()
17766
 
{
17767
 
  case ${2} in
17768
 
    .*) func_stripname_result=`$ECHO "X${3}" \
17769
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17770
 
    *)  func_stripname_result=`$ECHO "X${3}" \
17771
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17772
 
  esac
17773
 
}
17774
 
 
17775
 
# sed scripts:
17776
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17777
 
my_sed_long_arg='1s/^-[^=]*=//'
17778
 
 
17779
 
# func_opt_split
17780
 
func_opt_split ()
17781
 
{
17782
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17783
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17784
 
}
17785
 
 
17786
 
# func_lo2o object
17787
 
func_lo2o ()
17788
 
{
17789
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17790
 
}
17791
 
 
17792
 
# func_xform libobj-or-source
17793
 
func_xform ()
17794
 
{
17795
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17796
 
}
17797
 
 
17798
 
# func_arith arithmetic-term...
17799
 
func_arith ()
17800
 
{
17801
 
  func_arith_result=`expr "$@"`
17802
 
}
17803
 
 
17804
 
# func_len string
17805
 
# STRING may not start with a hyphen.
17806
 
func_len ()
17807
 
{
17808
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17809
 
}
17810
 
 
17811
 
_LT_EOF
17812
 
esac
17813
 
 
17814
 
case $lt_shell_append in
17815
 
  yes)
17816
 
    cat << \_LT_EOF >> "$cfgfile"
17817
 
 
17818
 
# func_append var value
17819
 
# Append VALUE to the end of shell variable VAR.
17820
 
func_append ()
17821
 
{
17822
 
  eval "$1+=\$2"
17823
 
}
17824
 
_LT_EOF
17825
 
    ;;
17826
 
  *)
17827
 
    cat << \_LT_EOF >> "$cfgfile"
17828
 
 
17829
 
# func_append var value
17830
 
# Append VALUE to the end of shell variable VAR.
17831
 
func_append ()
17832
 
{
17833
 
  eval "$1=\$$1\$2"
17834
 
}
17835
 
 
17836
 
_LT_EOF
17837
 
    ;;
17838
 
  esac
17839
 
 
17840
 
 
17841
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17842
 
    || (rm -f "$cfgfile"; exit 1)
17843
 
 
17844
 
  mv -f "$cfgfile" "$ofile" ||
17845
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17846
 
  chmod +x "$ofile"
17847
 
 
17848
 
 ;;
17849
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17850
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17851
 
      esac ;;
17852
 
    "po/stamp-it":C)
17853
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17854
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17855
 
    fi
17856
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17857
 
    >"po/stamp-it.tmp"
17858
 
    sed '/^#/d
17859
 
         s/^[[].*] *//
17860
 
         /^[    ]*$/d
17861
 
        '"s|^|  $ac_top_srcdir/|" \
17862
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17863
 
 
17864
 
    sed '/^POTFILES =/,/[^\\]$/ {
17865
 
                /^POTFILES =/!d
17866
 
                r po/POTFILES
17867
 
          }
17868
 
         ' "po/Makefile.in" >"po/Makefile"
17869
 
    rm -f "po/Makefile.tmp"
17870
 
    mv "po/stamp-it.tmp" "po/stamp-it"
17871
 
   ;;
17872
 
 
17873
 
  esac
17874
 
done # for ac_tag
17875
 
 
17876
 
 
17877
 
as_fn_exit 0
17878
 
_ACEOF
17879
 
ac_clean_files=$ac_clean_files_save
17880
 
 
17881
 
test $ac_write_fail = 0 ||
17882
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17883
 
 
17884
 
 
17885
 
# configure is writing to config.log, and then calls config.status.
17886
 
# config.status does its own redirection, appending to config.log.
17887
 
# Unfortunately, on DOS this fails, as config.log is still kept open
17888
 
# by configure, so config.status won't be able to write to it; its
17889
 
# output is simply discarded.  So we exec the FD to /dev/null,
17890
 
# effectively closing config.log, so it can be properly (re)opened and
17891
 
# appended to by config.status.  When coming back to configure, we
17892
 
# need to make the FD available again.
17893
 
if test "$no_create" != yes; then
17894
 
  ac_cs_success=:
17895
 
  ac_config_status_args=
17896
 
  test "$silent" = yes &&
17897
 
    ac_config_status_args="$ac_config_status_args --quiet"
17898
 
  exec 5>/dev/null
17899
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17900
 
  exec 5>>config.log
17901
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17902
 
  # would make configure fail if this is the last instruction.
17903
 
  $ac_cs_success || as_fn_exit 1
17904
 
fi
17905
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17906
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17907
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17908
 
fi
17909
 
 
17910
 
 
17911
 
echo
17912
 
echo $PACKAGE $VERSION
17913
 
echo
17914
 
 
17915
 
echo prefix............... : $prefix