~ubuntu-branches/ubuntu/utopic/network-manager-applet/utopic-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-11-19 14:46:29 UTC
  • mfrom: (1.2.31)
  • Revision ID: package-import@ubuntu.com-20121119144629-5423hii02a4vrh2n
Tags: 0.9.6.2+git201211052130.2d666bc-0ubuntu1
* upstream snapshot 2012-11-05 21:30:03 (GMT)
  + 2d666bc7aa6f0b731d131319b36f07b0f2bdce16
* debian/patches/git_fix_some_leaks_80ef61b.patch,
  debian/patches/git_indicate_hspa+_lte_tech_dbe3b12.patch,
  debian/patches/git_mac_addr_string_leakage_6dae878.patch: dropped, included
  in upstream tarball.
* debian/patches/lp328572-dxteam-connect-text.patch: refreshed.
* debian/patches/lp330571_dxteam_wired_connect_text.patch: refreshed.
* debian/patches/lp337960_dxteam_notification_icon_names.diff,
  debian/patches/lp337960_dxteam_notification_icon_names_part2-images.diff:
  disabled patches, they don't seem to be used (the icons don't match up with
  what is currently observable on the desktop). Let's see if someone screams.
* debian/patches/applet-wifi-menu-before-vpn.patch: refreshed.
* debian/patches/lp830178_adhoc_ip6_ignore.patch: refreshed.
* debian/patches/lp829673_gconf_hide_applet.patch: refreshed.
* debian/patches/nm-applet-use-indicator.patch: refreshed.
* debian/patches/hide_policy_items_env_var.patch: refreshed.
* debian/patches/applet_adhoc_use_wpa_rsn_part1.patch: refreshed.
* debian/patches/lp341684_device_sensitive_disconnect_notify.patch:
  refreshed.
* debian/patches/lp460144_correctly_update_notification.patch: refreshed.
* debian/patches/make_menu_items_insensitive_based_on_permissions.patch:
  refreshed.
* debian/control:
  - add gobject-introspection to Build-Depends.
  - add gudev-dev to Build-Depends.
  - bump network-manager and libnm-* Build-Depends and Depends to require
    at least 0.9.6.0+git201211131441.e9e2c56-0ubuntu1.
* debian/rules:
  - use autogen.sh with dh_autoreconf instead of calling intltoolize and
    gtkdocize manually.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.68 for nm-applet 0.9.6.2.
4
 
#
5
 
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>.
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
 
as_myself=
95
 
case $0 in #((
96
 
  *[\\/]* ) as_myself=$0 ;;
97
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
 
for as_dir in $PATH
99
 
do
100
 
  IFS=$as_save_IFS
101
 
  test -z "$as_dir" && as_dir=.
102
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
 
  done
104
 
IFS=$as_save_IFS
105
 
 
106
 
     ;;
107
 
esac
108
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
 
# in which case we are not to be found in the path.
110
 
if test "x$as_myself" = x; then
111
 
  as_myself=$0
112
 
fi
113
 
if test ! -f "$as_myself"; then
114
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
 
  exit 1
116
 
fi
117
 
 
118
 
# Unset variables that we do not need and which cause bugs (e.g. in
119
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120
 
# suppresses any "Segmentation fault" message there.  '((' could
121
 
# trigger a bug in pdksh 5.2.14.
122
 
for as_var in BASH_ENV ENV MAIL MAILPATH
123
 
do eval test x\${$as_var+set} = xset \
124
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
 
done
126
 
PS1='$ '
127
 
PS2='> '
128
 
PS4='+ '
129
 
 
130
 
# NLS nuisances.
131
 
LC_ALL=C
132
 
export LC_ALL
133
 
LANGUAGE=C
134
 
export LANGUAGE
135
 
 
136
 
# CDPATH.
137
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
 
 
139
 
if test "x$CONFIG_SHELL" = x; then
140
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
 
  emulate sh
142
 
  NULLCMD=:
143
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
 
  # is contrary to our usage.  Disable this feature.
145
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
 
  setopt NO_GLOB_SUBST
147
 
else
148
 
  case \`(set -o) 2>/dev/null\` in #(
149
 
  *posix*) :
150
 
    set -o posix ;; #(
151
 
  *) :
152
 
     ;;
153
 
esac
154
 
fi
155
 
"
156
 
  as_required="as_fn_return () { (exit \$1); }
157
 
as_fn_success () { as_fn_return 0; }
158
 
as_fn_failure () { as_fn_return 1; }
159
 
as_fn_ret_success () { return 0; }
160
 
as_fn_ret_failure () { return 1; }
161
 
 
162
 
exitcode=0
163
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
 
 
169
 
else
170
 
  exitcode=1; echo positional parameters were not saved.
171
 
fi
172
 
test x\$exitcode = x0 || exit 1"
173
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
 
test \$(( 1 + 1 )) = 2 || exit 1
178
 
 
179
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
 
    PATH=/empty FPATH=/empty; export PATH FPATH
184
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
 
  if (eval "$as_required") 2>/dev/null; then :
187
 
  as_have_required=yes
188
 
else
189
 
  as_have_required=no
190
 
fi
191
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
 
 
193
 
else
194
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
 
as_found=false
196
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
 
do
198
 
  IFS=$as_save_IFS
199
 
  test -z "$as_dir" && as_dir=.
200
 
  as_found=:
201
 
  case $as_dir in #(
202
 
         /*)
203
 
           for as_base in sh bash ksh sh5; do
204
 
             # Try only shells that exist, to save several forks.
205
 
             as_shell=$as_dir/$as_base
206
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$as_shell as_have_required=yes
209
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
 
  break 2
211
 
fi
212
 
fi
213
 
           done;;
214
 
       esac
215
 
  as_found=false
216
 
done
217
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
 
  CONFIG_SHELL=$SHELL as_have_required=yes
220
 
fi; }
221
 
IFS=$as_save_IFS
222
 
 
223
 
 
224
 
      if test "x$CONFIG_SHELL" != x; then :
225
 
  # We cannot yet assume a decent shell, so we have to provide a
226
 
        # neutralization value for shells without unset; and this also
227
 
        # works around shells that cannot unset nonexistent variables.
228
 
        # Preserve -v and -x to the replacement shell.
229
 
        BASH_ENV=/dev/null
230
 
        ENV=/dev/null
231
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
 
        export CONFIG_SHELL
233
 
        case $- in # ((((
234
 
          *v*x* | *x*v* ) as_opts=-vx ;;
235
 
          *v* ) as_opts=-v ;;
236
 
          *x* ) as_opts=-x ;;
237
 
          * ) as_opts= ;;
238
 
        esac
239
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
 
fi
241
 
 
242
 
    if test x$as_have_required = xno; then :
243
 
  $as_echo "$0: This script requires a shell more modern than all"
244
 
  $as_echo "$0: the shells that I found on your system."
245
 
  if test x${ZSH_VERSION+set} = xset ; then
246
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
 
  else
249
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250
 
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager
251
 
$0: about your system, including any error possibly output
252
 
$0: before this message. Then install a modern shell, or
253
 
$0: manually run the script under such a shell if you do
254
 
$0: have one."
255
 
  fi
256
 
  exit 1
257
 
fi
258
 
fi
259
 
fi
260
 
SHELL=${CONFIG_SHELL-/bin/sh}
261
 
export SHELL
262
 
# Unset more variables known to interfere with behavior of common tools.
263
 
CLICOLOR_FORCE= GREP_OPTIONS=
264
 
unset CLICOLOR_FORCE GREP_OPTIONS
265
 
 
266
 
## --------------------- ##
267
 
## M4sh Shell Functions. ##
268
 
## --------------------- ##
269
 
# as_fn_unset VAR
270
 
# ---------------
271
 
# Portably unset VAR.
272
 
as_fn_unset ()
273
 
{
274
 
  { eval $1=; unset $1;}
275
 
}
276
 
as_unset=as_fn_unset
277
 
 
278
 
# as_fn_set_status STATUS
279
 
# -----------------------
280
 
# Set $? to STATUS, without forking.
281
 
as_fn_set_status ()
282
 
{
283
 
  return $1
284
 
} # as_fn_set_status
285
 
 
286
 
# as_fn_exit STATUS
287
 
# -----------------
288
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289
 
as_fn_exit ()
290
 
{
291
 
  set +e
292
 
  as_fn_set_status $1
293
 
  exit $1
294
 
} # as_fn_exit
295
 
 
296
 
# as_fn_mkdir_p
297
 
# -------------
298
 
# Create "$as_dir" as a directory, including parents if necessary.
299
 
as_fn_mkdir_p ()
300
 
{
301
 
 
302
 
  case $as_dir in #(
303
 
  -*) as_dir=./$as_dir;;
304
 
  esac
305
 
  test -d "$as_dir" || eval $as_mkdir_p || {
306
 
    as_dirs=
307
 
    while :; do
308
 
      case $as_dir in #(
309
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310
 
      *) as_qdir=$as_dir;;
311
 
      esac
312
 
      as_dirs="'$as_qdir' $as_dirs"
313
 
      as_dir=`$as_dirname -- "$as_dir" ||
314
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
316
 
         X"$as_dir" : 'X\(//\)$' \| \
317
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
 
$as_echo X"$as_dir" |
319
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
 
            s//\1/
321
 
            q
322
 
          }
323
 
          /^X\(\/\/\)[^/].*/{
324
 
            s//\1/
325
 
            q
326
 
          }
327
 
          /^X\(\/\/\)$/{
328
 
            s//\1/
329
 
            q
330
 
          }
331
 
          /^X\(\/\).*/{
332
 
            s//\1/
333
 
            q
334
 
          }
335
 
          s/.*/./; q'`
336
 
      test -d "$as_dir" && break
337
 
    done
338
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
339
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
 
 
341
 
 
342
 
} # as_fn_mkdir_p
343
 
# as_fn_append VAR VALUE
344
 
# ----------------------
345
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
 
# advantage of any shell optimizations that allow amortized linear growth over
347
 
# repeated appends, instead of the typical quadratic growth present in naive
348
 
# implementations.
349
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
 
  eval 'as_fn_append ()
351
 
  {
352
 
    eval $1+=\$2
353
 
  }'
354
 
else
355
 
  as_fn_append ()
356
 
  {
357
 
    eval $1=\$$1\$2
358
 
  }
359
 
fi # as_fn_append
360
 
 
361
 
# as_fn_arith ARG...
362
 
# ------------------
363
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
 
# must be portable across $(()) and expr.
366
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367
 
  eval 'as_fn_arith ()
368
 
  {
369
 
    as_val=$(( $* ))
370
 
  }'
371
 
else
372
 
  as_fn_arith ()
373
 
  {
374
 
    as_val=`expr "$@" || test $? -eq 1`
375
 
  }
376
 
fi # as_fn_arith
377
 
 
378
 
 
379
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
 
# ----------------------------------------
381
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383
 
# script with STATUS, using 1 if that was 0.
384
 
as_fn_error ()
385
 
{
386
 
  as_status=$1; test $as_status -eq 0 && as_status=1
387
 
  if test "$4"; then
388
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
 
  fi
391
 
  $as_echo "$as_me: error: $2" >&2
392
 
  as_fn_exit $as_status
393
 
} # as_fn_error
394
 
 
395
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397
 
  as_expr=expr
398
 
else
399
 
  as_expr=false
400
 
fi
401
 
 
402
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403
 
  as_basename=basename
404
 
else
405
 
  as_basename=false
406
 
fi
407
 
 
408
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409
 
  as_dirname=dirname
410
 
else
411
 
  as_dirname=false
412
 
fi
413
 
 
414
 
as_me=`$as_basename -- "$0" ||
415
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
 
         X"$0" : 'X\(//\)$' \| \
417
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
 
$as_echo X/"$0" |
419
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
420
 
            s//\1/
421
 
            q
422
 
          }
423
 
          /^X\/\(\/\/\)$/{
424
 
            s//\1/
425
 
            q
426
 
          }
427
 
          /^X\/\(\/\).*/{
428
 
            s//\1/
429
 
            q
430
 
          }
431
 
          s/.*/./; q'`
432
 
 
433
 
# Avoid depending upon Character Ranges.
434
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
 
as_cr_digits='0123456789'
438
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
439
 
 
440
 
 
441
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446
 
  sed -n '
447
 
    p
448
 
    /[$]LINENO/=
449
 
  ' <$as_myself |
450
 
    sed '
451
 
      s/[$]LINENO.*/&-/
452
 
      t lineno
453
 
      b
454
 
      :lineno
455
 
      N
456
 
      :loop
457
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458
 
      t loop
459
 
      s/-\n.*//
460
 
    ' >$as_me.lineno &&
461
 
  chmod +x "$as_me.lineno" ||
462
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
 
 
464
 
  # Don't try to exec as it changes $[0], causing all sort of problems
465
 
  # (the dirname of $[0] is not the place where we might find the
466
 
  # original and so on.  Autoconf is especially sensitive to this).
467
 
  . "./$as_me.lineno"
468
 
  # Exit status is that of the last command.
469
 
  exit
470
 
}
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in #(((((
474
 
-n*)
475
 
  case `echo 'xy\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  xy)  ECHO_C='\c';;
478
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479
 
       ECHO_T=' ';;
480
 
  esac;;
481
 
*)
482
 
  ECHO_N='-n';;
483
 
esac
484
 
 
485
 
rm -f conf$$ conf$$.exe conf$$.file
486
 
if test -d conf$$.dir; then
487
 
  rm -f conf$$.dir/conf$$.file
488
 
else
489
 
  rm -f conf$$.dir
490
 
  mkdir conf$$.dir 2>/dev/null
491
 
fi
492
 
if (echo >conf$$.file) 2>/dev/null; then
493
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
494
 
    as_ln_s='ln -s'
495
 
    # ... but there are two gotchas:
496
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498
 
    # In both cases, we have to default to `cp -p'.
499
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
 
      as_ln_s='cp -p'
501
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
502
 
    as_ln_s=ln
503
 
  else
504
 
    as_ln_s='cp -p'
505
 
  fi
506
 
else
507
 
  as_ln_s='cp -p'
508
 
fi
509
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510
 
rmdir conf$$.dir 2>/dev/null
511
 
 
512
 
if mkdir -p . 2>/dev/null; then
513
 
  as_mkdir_p='mkdir -p "$as_dir"'
514
 
else
515
 
  test -d ./-p && rmdir ./-p
516
 
  as_mkdir_p=false
517
 
fi
518
 
 
519
 
if test -x / >/dev/null 2>&1; then
520
 
  as_test_x='test -x'
521
 
else
522
 
  if ls -dL / >/dev/null 2>&1; then
523
 
    as_ls_L_option=L
524
 
  else
525
 
    as_ls_L_option=
526
 
  fi
527
 
  as_test_x='
528
 
    eval sh -c '\''
529
 
      if test -d "$1"; then
530
 
        test -d "$1/.";
531
 
      else
532
 
        case $1 in #(
533
 
        -*)set "./$1";;
534
 
        esac;
535
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536
 
        ???[sx]*):;;*)false;;esac;fi
537
 
    '\'' sh
538
 
  '
539
 
fi
540
 
as_executable_p=$as_test_x
541
 
 
542
 
# Sed expression to map a string onto a valid CPP name.
543
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
 
 
545
 
# Sed expression to map a string onto a valid variable name.
546
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
 
 
548
 
SHELL=${CONFIG_SHELL-/bin/sh}
549
 
 
550
 
 
551
 
test -n "$DJDIR" || exec 7<&0 </dev/null
552
 
exec 6>&1
553
 
 
554
 
# Name of the host.
555
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556
 
# so uname gets run too.
557
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
 
 
559
 
#
560
 
# Initializations.
561
 
#
562
 
ac_default_prefix=/usr/local
563
 
ac_clean_files=
564
 
ac_config_libobj_dir=.
565
 
LIBOBJS=
566
 
cross_compiling=no
567
 
subdirs=
568
 
MFLAGS=
569
 
MAKEFLAGS=
570
 
 
571
 
# Identity of this package.
572
 
PACKAGE_NAME='nm-applet'
573
 
PACKAGE_TARNAME='network-manager-applet'
574
 
PACKAGE_VERSION='0.9.6.2'
575
 
PACKAGE_STRING='nm-applet 0.9.6.2'
576
 
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager'
577
 
PACKAGE_URL=''
578
 
 
579
 
# Factoring default headers for most tests.
580
 
ac_includes_default="\
581
 
#include <stdio.h>
582
 
#ifdef HAVE_SYS_TYPES_H
583
 
# include <sys/types.h>
584
 
#endif
585
 
#ifdef HAVE_SYS_STAT_H
586
 
# include <sys/stat.h>
587
 
#endif
588
 
#ifdef STDC_HEADERS
589
 
# include <stdlib.h>
590
 
# include <stddef.h>
591
 
#else
592
 
# ifdef HAVE_STDLIB_H
593
 
#  include <stdlib.h>
594
 
# endif
595
 
#endif
596
 
#ifdef HAVE_STRING_H
597
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598
 
#  include <memory.h>
599
 
# endif
600
 
# include <string.h>
601
 
#endif
602
 
#ifdef HAVE_STRINGS_H
603
 
# include <strings.h>
604
 
#endif
605
 
#ifdef HAVE_INTTYPES_H
606
 
# include <inttypes.h>
607
 
#endif
608
 
#ifdef HAVE_STDINT_H
609
 
# include <stdint.h>
610
 
#endif
611
 
#ifdef HAVE_UNISTD_H
612
 
# include <unistd.h>
613
 
#endif"
614
 
 
615
 
ac_subst_vars='am__EXEEXT_FALSE
616
 
am__EXEEXT_TRUE
617
 
LTLIBOBJS
618
 
DISABLE_DEPRECATED
619
 
GSETTINGS_RULES
620
 
GLIB_COMPILE_SCHEMAS
621
 
gsettingsschemadir
622
 
GSETTINGS_DISABLE_SCHEMAS_COMPILE
623
 
GLIB_MAKEFILE
624
 
GLIB_MKENUMS
625
 
GLIB_GENMARSHAL
626
 
GLIB_LIBS
627
 
GLIB_CFLAGS
628
 
HAVE_GBT_FALSE
629
 
HAVE_GBT_TRUE
630
 
GNOME_BLUETOOTH_LIBS
631
 
GNOME_BLUETOOTH_CFLAGS
632
 
DBUS_SYS_DIR
633
 
HAVE_DBUS_126_FALSE
634
 
HAVE_DBUS_126_TRUE
635
 
DBUS_126_LIBS
636
 
DBUS_126_CFLAGS
637
 
GTK_LIBS
638
 
GTK_CFLAGS
639
 
NOTIFY_LIBS
640
 
NOTIFY_CFLAGS
641
 
LIBNOTIFY_07_LIBS
642
 
LIBNOTIFY_07_CFLAGS
643
 
GNOME_KEYRING_LIBS
644
 
GNOME_KEYRING_CFLAGS
645
 
BUILD_MIGRATION_TOOL_FALSE
646
 
BUILD_MIGRATION_TOOL_TRUE
647
 
GCONF_LIBS
648
 
GCONF_CFLAGS
649
 
NMA_LIBS
650
 
NMA_CFLAGS
651
 
GOBJECT_LIBS
652
 
GOBJECT_CFLAGS
653
 
ISO_CODES_LIBS
654
 
ISO_CODES_CFLAGS
655
 
MKINSTALLDIRS
656
 
POSUB
657
 
POFILES
658
 
PO_IN_DATADIR_FALSE
659
 
PO_IN_DATADIR_TRUE
660
 
INTLLIBS
661
 
INSTOBJEXT
662
 
GMOFILES
663
 
CATOBJEXT
664
 
CATALOGS
665
 
MSGFMT_OPTS
666
 
GETTEXT_PACKAGE
667
 
DATADIRNAME
668
 
ALL_LINGUAS
669
 
INTLTOOL_PERL
670
 
GMSGFMT
671
 
MSGFMT
672
 
MSGMERGE
673
 
XGETTEXT
674
 
INTLTOOL_POLICY_RULE
675
 
INTLTOOL_SERVICE_RULE
676
 
INTLTOOL_THEME_RULE
677
 
INTLTOOL_SCHEMAS_RULE
678
 
INTLTOOL_CAVES_RULE
679
 
INTLTOOL_XML_NOMERGE_RULE
680
 
INTLTOOL_XML_RULE
681
 
INTLTOOL_KBD_RULE
682
 
INTLTOOL_XAM_RULE
683
 
INTLTOOL_UI_RULE
684
 
INTLTOOL_SOUNDLIST_RULE
685
 
INTLTOOL_SHEET_RULE
686
 
INTLTOOL_SERVER_RULE
687
 
INTLTOOL_PONG_RULE
688
 
INTLTOOL_OAF_RULE
689
 
INTLTOOL_PROP_RULE
690
 
INTLTOOL_KEYS_RULE
691
 
INTLTOOL_DIRECTORY_RULE
692
 
INTLTOOL_DESKTOP_RULE
693
 
intltool__v_merge_options_0
694
 
intltool__v_merge_options_
695
 
INTLTOOL_V_MERGE_OPTIONS
696
 
INTLTOOL__v_MERGE_0
697
 
INTLTOOL__v_MERGE_
698
 
INTLTOOL_V_MERGE
699
 
INTLTOOL_EXTRACT
700
 
INTLTOOL_MERGE
701
 
INTLTOOL_UPDATE
702
 
USE_NLS
703
 
LIBOBJS
704
 
OTOOL64
705
 
OTOOL
706
 
LIPO
707
 
NMEDIT
708
 
DSYMUTIL
709
 
MANIFEST_TOOL
710
 
RANLIB
711
 
ac_ct_AR
712
 
AR
713
 
DLLTOOL
714
 
OBJDUMP
715
 
LN_S
716
 
NM
717
 
ac_ct_DUMPBIN
718
 
DUMPBIN
719
 
LD
720
 
FGREP
721
 
SED
722
 
host_os
723
 
host_vendor
724
 
host_cpu
725
 
host
726
 
build_os
727
 
build_vendor
728
 
build_cpu
729
 
build
730
 
LIBTOOL
731
 
EGREP
732
 
GREP
733
 
CPP
734
 
PKG_CONFIG_LIBDIR
735
 
PKG_CONFIG_PATH
736
 
PKG_CONFIG
737
 
am__fastdepCC_FALSE
738
 
am__fastdepCC_TRUE
739
 
CCDEPMODE
740
 
am__nodep
741
 
AMDEPBACKSLASH
742
 
AMDEP_FALSE
743
 
AMDEP_TRUE
744
 
am__quote
745
 
am__include
746
 
DEPDIR
747
 
OBJEXT
748
 
EXEEXT
749
 
ac_ct_CC
750
 
CPPFLAGS
751
 
LDFLAGS
752
 
CFLAGS
753
 
CC
754
 
AM_BACKSLASH
755
 
AM_DEFAULT_VERBOSITY
756
 
AM_DEFAULT_V
757
 
AM_V
758
 
MAINT
759
 
MAINTAINER_MODE_FALSE
760
 
MAINTAINER_MODE_TRUE
761
 
am__untar
762
 
am__tar
763
 
AMTAR
764
 
am__leading_dot
765
 
SET_MAKE
766
 
AWK
767
 
mkdir_p
768
 
MKDIR_P
769
 
INSTALL_STRIP_PROGRAM
770
 
STRIP
771
 
install_sh
772
 
MAKEINFO
773
 
AUTOHEADER
774
 
AUTOMAKE
775
 
AUTOCONF
776
 
ACLOCAL
777
 
VERSION
778
 
PACKAGE
779
 
CYGPATH_W
780
 
am__isrc
781
 
INSTALL_DATA
782
 
INSTALL_SCRIPT
783
 
INSTALL_PROGRAM
784
 
target_alias
785
 
host_alias
786
 
build_alias
787
 
LIBS
788
 
ECHO_T
789
 
ECHO_N
790
 
ECHO_C
791
 
DEFS
792
 
mandir
793
 
localedir
794
 
libdir
795
 
psdir
796
 
pdfdir
797
 
dvidir
798
 
htmldir
799
 
infodir
800
 
docdir
801
 
oldincludedir
802
 
includedir
803
 
localstatedir
804
 
sharedstatedir
805
 
sysconfdir
806
 
datadir
807
 
datarootdir
808
 
libexecdir
809
 
sbindir
810
 
bindir
811
 
program_transform_name
812
 
prefix
813
 
exec_prefix
814
 
PACKAGE_URL
815
 
PACKAGE_BUGREPORT
816
 
PACKAGE_STRING
817
 
PACKAGE_VERSION
818
 
PACKAGE_TARNAME
819
 
PACKAGE_NAME
820
 
PATH_SEPARATOR
821
 
SHELL'
822
 
ac_subst_files=''
823
 
ac_user_opts='
824
 
enable_option_checking
825
 
enable_maintainer_mode
826
 
enable_silent_rules
827
 
enable_dependency_tracking
828
 
enable_shared
829
 
enable_static
830
 
with_pic
831
 
enable_fast_install
832
 
with_gnu_ld
833
 
with_sysroot
834
 
enable_libtool_lock
835
 
enable_nls
836
 
enable_iso_codes
837
 
enable_migration
838
 
with_gtkver
839
 
with_dbus_sys
840
 
with_bluetooth
841
 
enable_schemas_compile
842
 
enable_more_warnings
843
 
'
844
 
      ac_precious_vars='build_alias
845
 
host_alias
846
 
target_alias
847
 
CC
848
 
CFLAGS
849
 
LDFLAGS
850
 
LIBS
851
 
CPPFLAGS
852
 
PKG_CONFIG
853
 
PKG_CONFIG_PATH
854
 
PKG_CONFIG_LIBDIR
855
 
CPP
856
 
ISO_CODES_CFLAGS
857
 
ISO_CODES_LIBS
858
 
GOBJECT_CFLAGS
859
 
GOBJECT_LIBS
860
 
NMA_CFLAGS
861
 
NMA_LIBS
862
 
GCONF_CFLAGS
863
 
GCONF_LIBS
864
 
GNOME_KEYRING_CFLAGS
865
 
GNOME_KEYRING_LIBS
866
 
LIBNOTIFY_07_CFLAGS
867
 
LIBNOTIFY_07_LIBS
868
 
NOTIFY_CFLAGS
869
 
NOTIFY_LIBS
870
 
GTK_CFLAGS
871
 
GTK_LIBS
872
 
DBUS_126_CFLAGS
873
 
DBUS_126_LIBS
874
 
GNOME_BLUETOOTH_CFLAGS
875
 
GNOME_BLUETOOTH_LIBS
876
 
GLIB_CFLAGS
877
 
GLIB_LIBS'
878
 
 
879
 
 
880
 
# Initialize some variables set by options.
881
 
ac_init_help=
882
 
ac_init_version=false
883
 
ac_unrecognized_opts=
884
 
ac_unrecognized_sep=
885
 
# The variables have the same names as the options, with
886
 
# dashes changed to underlines.
887
 
cache_file=/dev/null
888
 
exec_prefix=NONE
889
 
no_create=
890
 
no_recursion=
891
 
prefix=NONE
892
 
program_prefix=NONE
893
 
program_suffix=NONE
894
 
program_transform_name=s,x,x,
895
 
silent=
896
 
site=
897
 
srcdir=
898
 
verbose=
899
 
x_includes=NONE
900
 
x_libraries=NONE
901
 
 
902
 
# Installation directory options.
903
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
904
 
# and all the variables that are supposed to be based on exec_prefix
905
 
# by default will actually change.
906
 
# Use braces instead of parens because sh, perl, etc. also accept them.
907
 
# (The list follows the same order as the GNU Coding Standards.)
908
 
bindir='${exec_prefix}/bin'
909
 
sbindir='${exec_prefix}/sbin'
910
 
libexecdir='${exec_prefix}/libexec'
911
 
datarootdir='${prefix}/share'
912
 
datadir='${datarootdir}'
913
 
sysconfdir='${prefix}/etc'
914
 
sharedstatedir='${prefix}/com'
915
 
localstatedir='${prefix}/var'
916
 
includedir='${prefix}/include'
917
 
oldincludedir='/usr/include'
918
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
919
 
infodir='${datarootdir}/info'
920
 
htmldir='${docdir}'
921
 
dvidir='${docdir}'
922
 
pdfdir='${docdir}'
923
 
psdir='${docdir}'
924
 
libdir='${exec_prefix}/lib'
925
 
localedir='${datarootdir}/locale'
926
 
mandir='${datarootdir}/man'
927
 
 
928
 
ac_prev=
929
 
ac_dashdash=
930
 
for ac_option
931
 
do
932
 
  # If the previous option needs an argument, assign it.
933
 
  if test -n "$ac_prev"; then
934
 
    eval $ac_prev=\$ac_option
935
 
    ac_prev=
936
 
    continue
937
 
  fi
938
 
 
939
 
  case $ac_option in
940
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
941
 
  *=)   ac_optarg= ;;
942
 
  *)    ac_optarg=yes ;;
943
 
  esac
944
 
 
945
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
946
 
 
947
 
  case $ac_dashdash$ac_option in
948
 
  --)
949
 
    ac_dashdash=yes ;;
950
 
 
951
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
952
 
    ac_prev=bindir ;;
953
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
954
 
    bindir=$ac_optarg ;;
955
 
 
956
 
  -build | --build | --buil | --bui | --bu)
957
 
    ac_prev=build_alias ;;
958
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
959
 
    build_alias=$ac_optarg ;;
960
 
 
961
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
962
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
963
 
    ac_prev=cache_file ;;
964
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
965
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
966
 
    cache_file=$ac_optarg ;;
967
 
 
968
 
  --config-cache | -C)
969
 
    cache_file=config.cache ;;
970
 
 
971
 
  -datadir | --datadir | --datadi | --datad)
972
 
    ac_prev=datadir ;;
973
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
974
 
    datadir=$ac_optarg ;;
975
 
 
976
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
977
 
  | --dataroo | --dataro | --datar)
978
 
    ac_prev=datarootdir ;;
979
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
980
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
981
 
    datarootdir=$ac_optarg ;;
982
 
 
983
 
  -disable-* | --disable-*)
984
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985
 
    # Reject names that are not valid shell variable names.
986
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
987
 
      as_fn_error $? "invalid feature name: $ac_useropt"
988
 
    ac_useropt_orig=$ac_useropt
989
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990
 
    case $ac_user_opts in
991
 
      *"
992
 
"enable_$ac_useropt"
993
 
"*) ;;
994
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
995
 
         ac_unrecognized_sep=', ';;
996
 
    esac
997
 
    eval enable_$ac_useropt=no ;;
998
 
 
999
 
  -docdir | --docdir | --docdi | --doc | --do)
1000
 
    ac_prev=docdir ;;
1001
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1002
 
    docdir=$ac_optarg ;;
1003
 
 
1004
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1005
 
    ac_prev=dvidir ;;
1006
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1007
 
    dvidir=$ac_optarg ;;
1008
 
 
1009
 
  -enable-* | --enable-*)
1010
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011
 
    # Reject names that are not valid shell variable names.
1012
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1014
 
    ac_useropt_orig=$ac_useropt
1015
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016
 
    case $ac_user_opts in
1017
 
      *"
1018
 
"enable_$ac_useropt"
1019
 
"*) ;;
1020
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1021
 
         ac_unrecognized_sep=', ';;
1022
 
    esac
1023
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1024
 
 
1025
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1026
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1027
 
  | --exec | --exe | --ex)
1028
 
    ac_prev=exec_prefix ;;
1029
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1030
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1031
 
  | --exec=* | --exe=* | --ex=*)
1032
 
    exec_prefix=$ac_optarg ;;
1033
 
 
1034
 
  -gas | --gas | --ga | --g)
1035
 
    # Obsolete; use --with-gas.
1036
 
    with_gas=yes ;;
1037
 
 
1038
 
  -help | --help | --hel | --he | -h)
1039
 
    ac_init_help=long ;;
1040
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1041
 
    ac_init_help=recursive ;;
1042
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1043
 
    ac_init_help=short ;;
1044
 
 
1045
 
  -host | --host | --hos | --ho)
1046
 
    ac_prev=host_alias ;;
1047
 
  -host=* | --host=* | --hos=* | --ho=*)
1048
 
    host_alias=$ac_optarg ;;
1049
 
 
1050
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1051
 
    ac_prev=htmldir ;;
1052
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1053
 
  | --ht=*)
1054
 
    htmldir=$ac_optarg ;;
1055
 
 
1056
 
  -includedir | --includedir | --includedi | --included | --include \
1057
 
  | --includ | --inclu | --incl | --inc)
1058
 
    ac_prev=includedir ;;
1059
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1060
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1061
 
    includedir=$ac_optarg ;;
1062
 
 
1063
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1064
 
    ac_prev=infodir ;;
1065
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1066
 
    infodir=$ac_optarg ;;
1067
 
 
1068
 
  -libdir | --libdir | --libdi | --libd)
1069
 
    ac_prev=libdir ;;
1070
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1071
 
    libdir=$ac_optarg ;;
1072
 
 
1073
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1074
 
  | --libexe | --libex | --libe)
1075
 
    ac_prev=libexecdir ;;
1076
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1077
 
  | --libexe=* | --libex=* | --libe=*)
1078
 
    libexecdir=$ac_optarg ;;
1079
 
 
1080
 
  -localedir | --localedir | --localedi | --localed | --locale)
1081
 
    ac_prev=localedir ;;
1082
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1083
 
    localedir=$ac_optarg ;;
1084
 
 
1085
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1086
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1087
 
    ac_prev=localstatedir ;;
1088
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1089
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1090
 
    localstatedir=$ac_optarg ;;
1091
 
 
1092
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1093
 
    ac_prev=mandir ;;
1094
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1095
 
    mandir=$ac_optarg ;;
1096
 
 
1097
 
  -nfp | --nfp | --nf)
1098
 
    # Obsolete; use --without-fp.
1099
 
    with_fp=no ;;
1100
 
 
1101
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1102
 
  | --no-cr | --no-c | -n)
1103
 
    no_create=yes ;;
1104
 
 
1105
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1106
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1107
 
    no_recursion=yes ;;
1108
 
 
1109
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1110
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1111
 
  | --oldin | --oldi | --old | --ol | --o)
1112
 
    ac_prev=oldincludedir ;;
1113
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1114
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1115
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1116
 
    oldincludedir=$ac_optarg ;;
1117
 
 
1118
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1119
 
    ac_prev=prefix ;;
1120
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1121
 
    prefix=$ac_optarg ;;
1122
 
 
1123
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1124
 
  | --program-pre | --program-pr | --program-p)
1125
 
    ac_prev=program_prefix ;;
1126
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1127
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1128
 
    program_prefix=$ac_optarg ;;
1129
 
 
1130
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1131
 
  | --program-suf | --program-su | --program-s)
1132
 
    ac_prev=program_suffix ;;
1133
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1134
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1135
 
    program_suffix=$ac_optarg ;;
1136
 
 
1137
 
  -program-transform-name | --program-transform-name \
1138
 
  | --program-transform-nam | --program-transform-na \
1139
 
  | --program-transform-n | --program-transform- \
1140
 
  | --program-transform | --program-transfor \
1141
 
  | --program-transfo | --program-transf \
1142
 
  | --program-trans | --program-tran \
1143
 
  | --progr-tra | --program-tr | --program-t)
1144
 
    ac_prev=program_transform_name ;;
1145
 
  -program-transform-name=* | --program-transform-name=* \
1146
 
  | --program-transform-nam=* | --program-transform-na=* \
1147
 
  | --program-transform-n=* | --program-transform-=* \
1148
 
  | --program-transform=* | --program-transfor=* \
1149
 
  | --program-transfo=* | --program-transf=* \
1150
 
  | --program-trans=* | --program-tran=* \
1151
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1152
 
    program_transform_name=$ac_optarg ;;
1153
 
 
1154
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1155
 
    ac_prev=pdfdir ;;
1156
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1157
 
    pdfdir=$ac_optarg ;;
1158
 
 
1159
 
  -psdir | --psdir | --psdi | --psd | --ps)
1160
 
    ac_prev=psdir ;;
1161
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1162
 
    psdir=$ac_optarg ;;
1163
 
 
1164
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1165
 
  | -silent | --silent | --silen | --sile | --sil)
1166
 
    silent=yes ;;
1167
 
 
1168
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1169
 
    ac_prev=sbindir ;;
1170
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1171
 
  | --sbi=* | --sb=*)
1172
 
    sbindir=$ac_optarg ;;
1173
 
 
1174
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1175
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1176
 
  | --sharedst | --shareds | --shared | --share | --shar \
1177
 
  | --sha | --sh)
1178
 
    ac_prev=sharedstatedir ;;
1179
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1180
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1181
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1182
 
  | --sha=* | --sh=*)
1183
 
    sharedstatedir=$ac_optarg ;;
1184
 
 
1185
 
  -site | --site | --sit)
1186
 
    ac_prev=site ;;
1187
 
  -site=* | --site=* | --sit=*)
1188
 
    site=$ac_optarg ;;
1189
 
 
1190
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1191
 
    ac_prev=srcdir ;;
1192
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1193
 
    srcdir=$ac_optarg ;;
1194
 
 
1195
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1196
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1197
 
    ac_prev=sysconfdir ;;
1198
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1199
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1200
 
    sysconfdir=$ac_optarg ;;
1201
 
 
1202
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1203
 
    ac_prev=target_alias ;;
1204
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1205
 
    target_alias=$ac_optarg ;;
1206
 
 
1207
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1208
 
    verbose=yes ;;
1209
 
 
1210
 
  -version | --version | --versio | --versi | --vers | -V)
1211
 
    ac_init_version=: ;;
1212
 
 
1213
 
  -with-* | --with-*)
1214
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215
 
    # Reject names that are not valid shell variable names.
1216
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1217
 
      as_fn_error $? "invalid package name: $ac_useropt"
1218
 
    ac_useropt_orig=$ac_useropt
1219
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220
 
    case $ac_user_opts in
1221
 
      *"
1222
 
"with_$ac_useropt"
1223
 
"*) ;;
1224
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225
 
         ac_unrecognized_sep=', ';;
1226
 
    esac
1227
 
    eval with_$ac_useropt=\$ac_optarg ;;
1228
 
 
1229
 
  -without-* | --without-*)
1230
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231
 
    # Reject names that are not valid shell variable names.
1232
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233
 
      as_fn_error $? "invalid package name: $ac_useropt"
1234
 
    ac_useropt_orig=$ac_useropt
1235
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236
 
    case $ac_user_opts in
1237
 
      *"
1238
 
"with_$ac_useropt"
1239
 
"*) ;;
1240
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241
 
         ac_unrecognized_sep=', ';;
1242
 
    esac
1243
 
    eval with_$ac_useropt=no ;;
1244
 
 
1245
 
  --x)
1246
 
    # Obsolete; use --with-x.
1247
 
    with_x=yes ;;
1248
 
 
1249
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1250
 
  | --x-incl | --x-inc | --x-in | --x-i)
1251
 
    ac_prev=x_includes ;;
1252
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1253
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1254
 
    x_includes=$ac_optarg ;;
1255
 
 
1256
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1257
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1258
 
    ac_prev=x_libraries ;;
1259
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1260
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1261
 
    x_libraries=$ac_optarg ;;
1262
 
 
1263
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1264
 
Try \`$0 --help' for more information"
1265
 
    ;;
1266
 
 
1267
 
  *=*)
1268
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1269
 
    # Reject names that are not valid shell variable names.
1270
 
    case $ac_envvar in #(
1271
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1272
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1273
 
    esac
1274
 
    eval $ac_envvar=\$ac_optarg
1275
 
    export $ac_envvar ;;
1276
 
 
1277
 
  *)
1278
 
    # FIXME: should be removed in autoconf 3.0.
1279
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1281
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1283
 
    ;;
1284
 
 
1285
 
  esac
1286
 
done
1287
 
 
1288
 
if test -n "$ac_prev"; then
1289
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1290
 
  as_fn_error $? "missing argument to $ac_option"
1291
 
fi
1292
 
 
1293
 
if test -n "$ac_unrecognized_opts"; then
1294
 
  case $enable_option_checking in
1295
 
    no) ;;
1296
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1297
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1298
 
  esac
1299
 
fi
1300
 
 
1301
 
# Check all directory arguments for consistency.
1302
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1304
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305
 
                libdir localedir mandir
1306
 
do
1307
 
  eval ac_val=\$$ac_var
1308
 
  # Remove trailing slashes.
1309
 
  case $ac_val in
1310
 
    */ )
1311
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312
 
      eval $ac_var=\$ac_val;;
1313
 
  esac
1314
 
  # Be sure to have absolute directory names.
1315
 
  case $ac_val in
1316
 
    [\\/$]* | ?:[\\/]* )  continue;;
1317
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1318
 
  esac
1319
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1320
 
done
1321
 
 
1322
 
# There might be people who depend on the old broken behavior: `$host'
1323
 
# used to hold the argument of --host etc.
1324
 
# FIXME: To remove some day.
1325
 
build=$build_alias
1326
 
host=$host_alias
1327
 
target=$target_alias
1328
 
 
1329
 
# FIXME: To remove some day.
1330
 
if test "x$host_alias" != x; then
1331
 
  if test "x$build_alias" = x; then
1332
 
    cross_compiling=maybe
1333
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1334
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1335
 
  elif test "x$build_alias" != "x$host_alias"; then
1336
 
    cross_compiling=yes
1337
 
  fi
1338
 
fi
1339
 
 
1340
 
ac_tool_prefix=
1341
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1342
 
 
1343
 
test "$silent" = yes && exec 6>/dev/null
1344
 
 
1345
 
 
1346
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1347
 
ac_ls_di=`ls -di .` &&
1348
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1349
 
  as_fn_error $? "working directory cannot be determined"
1350
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351
 
  as_fn_error $? "pwd does not report name of working directory"
1352
 
 
1353
 
 
1354
 
# Find the source files, if location was not specified.
1355
 
if test -z "$srcdir"; then
1356
 
  ac_srcdir_defaulted=yes
1357
 
  # Try the directory containing this script, then the parent directory.
1358
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1359
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1361
 
         X"$as_myself" : 'X\(//\)$' \| \
1362
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1363
 
$as_echo X"$as_myself" |
1364
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365
 
            s//\1/
1366
 
            q
1367
 
          }
1368
 
          /^X\(\/\/\)[^/].*/{
1369
 
            s//\1/
1370
 
            q
1371
 
          }
1372
 
          /^X\(\/\/\)$/{
1373
 
            s//\1/
1374
 
            q
1375
 
          }
1376
 
          /^X\(\/\).*/{
1377
 
            s//\1/
1378
 
            q
1379
 
          }
1380
 
          s/.*/./; q'`
1381
 
  srcdir=$ac_confdir
1382
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1383
 
    srcdir=..
1384
 
  fi
1385
 
else
1386
 
  ac_srcdir_defaulted=no
1387
 
fi
1388
 
if test ! -r "$srcdir/$ac_unique_file"; then
1389
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1390
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1391
 
fi
1392
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1393
 
ac_abs_confdir=`(
1394
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1395
 
        pwd)`
1396
 
# When building in place, set srcdir=.
1397
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1398
 
  srcdir=.
1399
 
fi
1400
 
# Remove unnecessary trailing slashes from srcdir.
1401
 
# Double slashes in file names in object file debugging info
1402
 
# mess up M-x gdb in Emacs.
1403
 
case $srcdir in
1404
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1405
 
esac
1406
 
for ac_var in $ac_precious_vars; do
1407
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1408
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1409
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1410
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1411
 
done
1412
 
 
1413
 
#
1414
 
# Report the --help message.
1415
 
#
1416
 
if test "$ac_init_help" = "long"; then
1417
 
  # Omit some internal or obsolete options to make the list less imposing.
1418
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1419
 
  cat <<_ACEOF
1420
 
\`configure' configures nm-applet 0.9.6.2 to adapt to many kinds of systems.
1421
 
 
1422
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1423
 
 
1424
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1425
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1426
 
 
1427
 
Defaults for the options are specified in brackets.
1428
 
 
1429
 
Configuration:
1430
 
  -h, --help              display this help and exit
1431
 
      --help=short        display options specific to this package
1432
 
      --help=recursive    display the short help of all the included packages
1433
 
  -V, --version           display version information and exit
1434
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1435
 
      --cache-file=FILE   cache test results in FILE [disabled]
1436
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1437
 
  -n, --no-create         do not create output files
1438
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1439
 
 
1440
 
Installation directories:
1441
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1442
 
                          [$ac_default_prefix]
1443
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1444
 
                          [PREFIX]
1445
 
 
1446
 
By default, \`make install' will install all the files in
1447
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1448
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1449
 
for instance \`--prefix=\$HOME'.
1450
 
 
1451
 
For better control, use the options below.
1452
 
 
1453
 
Fine tuning of the installation directories:
1454
 
  --bindir=DIR            user executables [EPREFIX/bin]
1455
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1456
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1457
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1458
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1459
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1460
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1461
 
  --includedir=DIR        C header files [PREFIX/include]
1462
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1463
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1464
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1465
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1466
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1467
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1468
 
  --docdir=DIR            documentation root
1469
 
                          [DATAROOTDIR/doc/network-manager-applet]
1470
 
  --htmldir=DIR           html documentation [DOCDIR]
1471
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1472
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1473
 
  --psdir=DIR             ps documentation [DOCDIR]
1474
 
_ACEOF
1475
 
 
1476
 
  cat <<\_ACEOF
1477
 
 
1478
 
Program names:
1479
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1480
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1481
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1482
 
 
1483
 
System types:
1484
 
  --build=BUILD     configure for building on BUILD [guessed]
1485
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1486
 
_ACEOF
1487
 
fi
1488
 
 
1489
 
if test -n "$ac_init_help"; then
1490
 
  case $ac_init_help in
1491
 
     short | recursive ) echo "Configuration of nm-applet 0.9.6.2:";;
1492
 
   esac
1493
 
  cat <<\_ACEOF
1494
 
 
1495
 
Optional Features:
1496
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1497
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1498
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1499
 
  --disable-maintainer-mode  disable make rules and dependencies not useful
1500
 
                          (and sometimes confusing) to the casual installer
1501
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1502
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1503
 
  --disable-dependency-tracking  speeds up one-time build
1504
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1505
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1506
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1507
 
  --enable-fast-install[=PKGS]
1508
 
                          optimize for fast installation [default=yes]
1509
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1510
 
  --disable-nls           do not use Native Language Support
1511
 
  --disable-iso-codes     do not check for iso-codes at build-time
1512
 
  --disable-migration     Don't build migration tool for NM <= 0.8 settings
1513
 
  --disable-schemas-compile
1514
 
                          Disable regeneration of gschemas.compiled on install
1515
 
  --enable-more-warnings  Possible values: no/yes/error
1516
 
 
1517
 
Optional Packages:
1518
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1519
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1520
 
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1521
 
                          both]
1522
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1523
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1524
 
                        (or the compiler's sysroot if not specified).
1525
 
  --with-gtkver           The major version of GTK+ to build with
1526
 
  --with-dbus-sys=DIR     where D-BUS system.d directory is
1527
 
  --with-bluetooth|--without-bluetooth
1528
 
                          Enable Bluetooth support
1529
 
 
1530
 
Some influential environment variables:
1531
 
  CC          C compiler command
1532
 
  CFLAGS      C compiler flags
1533
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1534
 
              nonstandard directory <lib dir>
1535
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1536
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1537
 
              you have headers in a nonstandard directory <include dir>
1538
 
  PKG_CONFIG  path to pkg-config utility
1539
 
  PKG_CONFIG_PATH
1540
 
              directories to add to pkg-config's search path
1541
 
  PKG_CONFIG_LIBDIR
1542
 
              path overriding pkg-config's built-in search path
1543
 
  CPP         C preprocessor
1544
 
  ISO_CODES_CFLAGS
1545
 
              C compiler flags for ISO_CODES, overriding pkg-config
1546
 
  ISO_CODES_LIBS
1547
 
              linker flags for ISO_CODES, overriding pkg-config
1548
 
  GOBJECT_CFLAGS
1549
 
              C compiler flags for GOBJECT, overriding pkg-config
1550
 
  GOBJECT_LIBS
1551
 
              linker flags for GOBJECT, overriding pkg-config
1552
 
  NMA_CFLAGS  C compiler flags for NMA, overriding pkg-config
1553
 
  NMA_LIBS    linker flags for NMA, overriding pkg-config
1554
 
  GCONF_CFLAGS
1555
 
              C compiler flags for GCONF, overriding pkg-config
1556
 
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
1557
 
  GNOME_KEYRING_CFLAGS
1558
 
              C compiler flags for GNOME_KEYRING, overriding pkg-config
1559
 
  GNOME_KEYRING_LIBS
1560
 
              linker flags for GNOME_KEYRING, overriding pkg-config
1561
 
  LIBNOTIFY_07_CFLAGS
1562
 
              C compiler flags for LIBNOTIFY_07, overriding pkg-config
1563
 
  LIBNOTIFY_07_LIBS
1564
 
              linker flags for LIBNOTIFY_07, overriding pkg-config
1565
 
  NOTIFY_CFLAGS
1566
 
              C compiler flags for NOTIFY, overriding pkg-config
1567
 
  NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1568
 
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1569
 
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1570
 
  DBUS_126_CFLAGS
1571
 
              C compiler flags for DBUS_126, overriding pkg-config
1572
 
  DBUS_126_LIBS
1573
 
              linker flags for DBUS_126, overriding pkg-config
1574
 
  GNOME_BLUETOOTH_CFLAGS
1575
 
              C compiler flags for GNOME_BLUETOOTH, overriding pkg-config
1576
 
  GNOME_BLUETOOTH_LIBS
1577
 
              linker flags for GNOME_BLUETOOTH, overriding pkg-config
1578
 
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1579
 
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1580
 
 
1581
 
Use these variables to override the choices made by `configure' or to help
1582
 
it to find libraries and programs with nonstandard names/locations.
1583
 
 
1584
 
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>.
1585
 
_ACEOF
1586
 
ac_status=$?
1587
 
fi
1588
 
 
1589
 
if test "$ac_init_help" = "recursive"; then
1590
 
  # If there are subdirs, report their specific --help.
1591
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592
 
    test -d "$ac_dir" ||
1593
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594
 
      continue
1595
 
    ac_builddir=.
1596
 
 
1597
 
case "$ac_dir" in
1598
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599
 
*)
1600
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1601
 
  # A ".." for each directory in $ac_dir_suffix.
1602
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1603
 
  case $ac_top_builddir_sub in
1604
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1606
 
  esac ;;
1607
 
esac
1608
 
ac_abs_top_builddir=$ac_pwd
1609
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1610
 
# for backward compatibility:
1611
 
ac_top_builddir=$ac_top_build_prefix
1612
 
 
1613
 
case $srcdir in
1614
 
  .)  # We are building in place.
1615
 
    ac_srcdir=.
1616
 
    ac_top_srcdir=$ac_top_builddir_sub
1617
 
    ac_abs_top_srcdir=$ac_pwd ;;
1618
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1619
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1620
 
    ac_top_srcdir=$srcdir
1621
 
    ac_abs_top_srcdir=$srcdir ;;
1622
 
  *) # Relative name.
1623
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1625
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1626
 
esac
1627
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1628
 
 
1629
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1630
 
    # Check for guested configure.
1631
 
    if test -f "$ac_srcdir/configure.gnu"; then
1632
 
      echo &&
1633
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634
 
    elif test -f "$ac_srcdir/configure"; then
1635
 
      echo &&
1636
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1637
 
    else
1638
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1639
 
    fi || ac_status=$?
1640
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1641
 
  done
1642
 
fi
1643
 
 
1644
 
test -n "$ac_init_help" && exit $ac_status
1645
 
if $ac_init_version; then
1646
 
  cat <<\_ACEOF
1647
 
nm-applet configure 0.9.6.2
1648
 
generated by GNU Autoconf 2.68
1649
 
 
1650
 
Copyright (C) 2010 Free Software Foundation, Inc.
1651
 
This configure script is free software; the Free Software Foundation
1652
 
gives unlimited permission to copy, distribute and modify it.
1653
 
_ACEOF
1654
 
  exit
1655
 
fi
1656
 
 
1657
 
## ------------------------ ##
1658
 
## Autoconf initialization. ##
1659
 
## ------------------------ ##
1660
 
 
1661
 
# ac_fn_c_try_compile LINENO
1662
 
# --------------------------
1663
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1664
 
ac_fn_c_try_compile ()
1665
 
{
1666
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667
 
  rm -f conftest.$ac_objext
1668
 
  if { { ac_try="$ac_compile"
1669
 
case "(($ac_try" in
1670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671
 
  *) ac_try_echo=$ac_try;;
1672
 
esac
1673
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674
 
$as_echo "$ac_try_echo"; } >&5
1675
 
  (eval "$ac_compile") 2>conftest.err
1676
 
  ac_status=$?
1677
 
  if test -s conftest.err; then
1678
 
    grep -v '^ *+' conftest.err >conftest.er1
1679
 
    cat conftest.er1 >&5
1680
 
    mv -f conftest.er1 conftest.err
1681
 
  fi
1682
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683
 
  test $ac_status = 0; } && {
1684
 
         test -z "$ac_c_werror_flag" ||
1685
 
         test ! -s conftest.err
1686
 
       } && test -s conftest.$ac_objext; then :
1687
 
  ac_retval=0
1688
 
else
1689
 
  $as_echo "$as_me: failed program was:" >&5
1690
 
sed 's/^/| /' conftest.$ac_ext >&5
1691
 
 
1692
 
        ac_retval=1
1693
 
fi
1694
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695
 
  as_fn_set_status $ac_retval
1696
 
 
1697
 
} # ac_fn_c_try_compile
1698
 
 
1699
 
# ac_fn_c_try_cpp LINENO
1700
 
# ----------------------
1701
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702
 
ac_fn_c_try_cpp ()
1703
 
{
1704
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1706
 
case "(($ac_try" in
1707
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708
 
  *) ac_try_echo=$ac_try;;
1709
 
esac
1710
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711
 
$as_echo "$ac_try_echo"; } >&5
1712
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1713
 
  ac_status=$?
1714
 
  if test -s conftest.err; then
1715
 
    grep -v '^ *+' conftest.err >conftest.er1
1716
 
    cat conftest.er1 >&5
1717
 
    mv -f conftest.er1 conftest.err
1718
 
  fi
1719
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
 
  test $ac_status = 0; } > conftest.i && {
1721
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722
 
         test ! -s conftest.err
1723
 
       }; then :
1724
 
  ac_retval=0
1725
 
else
1726
 
  $as_echo "$as_me: failed program was:" >&5
1727
 
sed 's/^/| /' conftest.$ac_ext >&5
1728
 
 
1729
 
    ac_retval=1
1730
 
fi
1731
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732
 
  as_fn_set_status $ac_retval
1733
 
 
1734
 
} # ac_fn_c_try_cpp
1735
 
 
1736
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1737
 
# -------------------------------------------------------
1738
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1739
 
# the include files in INCLUDES and setting the cache variable VAR
1740
 
# accordingly.
1741
 
ac_fn_c_check_header_mongrel ()
1742
 
{
1743
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744
 
  if eval \${$3+:} false; then :
1745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746
 
$as_echo_n "checking for $2... " >&6; }
1747
 
if eval \${$3+:} false; then :
1748
 
  $as_echo_n "(cached) " >&6
1749
 
fi
1750
 
eval ac_res=\$$3
1751
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752
 
$as_echo "$ac_res" >&6; }
1753
 
else
1754
 
  # Is the header compilable?
1755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1756
 
$as_echo_n "checking $2 usability... " >&6; }
1757
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758
 
/* end confdefs.h.  */
1759
 
$4
1760
 
#include <$2>
1761
 
_ACEOF
1762
 
if ac_fn_c_try_compile "$LINENO"; then :
1763
 
  ac_header_compiler=yes
1764
 
else
1765
 
  ac_header_compiler=no
1766
 
fi
1767
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1769
 
$as_echo "$ac_header_compiler" >&6; }
1770
 
 
1771
 
# Is the header present?
1772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1773
 
$as_echo_n "checking $2 presence... " >&6; }
1774
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775
 
/* end confdefs.h.  */
1776
 
#include <$2>
1777
 
_ACEOF
1778
 
if ac_fn_c_try_cpp "$LINENO"; then :
1779
 
  ac_header_preproc=yes
1780
 
else
1781
 
  ac_header_preproc=no
1782
 
fi
1783
 
rm -f conftest.err conftest.i conftest.$ac_ext
1784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1785
 
$as_echo "$ac_header_preproc" >&6; }
1786
 
 
1787
 
# So?  What about this header?
1788
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1789
 
  yes:no: )
1790
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1791
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1792
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1793
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1794
 
    ;;
1795
 
  no:yes:* )
1796
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1797
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1798
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1799
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1800
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1801
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1802
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1803
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1804
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1805
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1806
 
( $as_echo "## ------------------------------------------------------------------------------ ##
1807
 
## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager ##
1808
 
## ------------------------------------------------------------------------------ ##"
1809
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1810
 
    ;;
1811
 
esac
1812
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813
 
$as_echo_n "checking for $2... " >&6; }
1814
 
if eval \${$3+:} false; then :
1815
 
  $as_echo_n "(cached) " >&6
1816
 
else
1817
 
  eval "$3=\$ac_header_compiler"
1818
 
fi
1819
 
eval ac_res=\$$3
1820
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821
 
$as_echo "$ac_res" >&6; }
1822
 
fi
1823
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824
 
 
1825
 
} # ac_fn_c_check_header_mongrel
1826
 
 
1827
 
# ac_fn_c_try_run LINENO
1828
 
# ----------------------
1829
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830
 
# that executables *can* be run.
1831
 
ac_fn_c_try_run ()
1832
 
{
1833
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834
 
  if { { ac_try="$ac_link"
1835
 
case "(($ac_try" in
1836
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837
 
  *) ac_try_echo=$ac_try;;
1838
 
esac
1839
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840
 
$as_echo "$ac_try_echo"; } >&5
1841
 
  (eval "$ac_link") 2>&5
1842
 
  ac_status=$?
1843
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845
 
  { { case "(($ac_try" in
1846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847
 
  *) ac_try_echo=$ac_try;;
1848
 
esac
1849
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850
 
$as_echo "$ac_try_echo"; } >&5
1851
 
  (eval "$ac_try") 2>&5
1852
 
  ac_status=$?
1853
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854
 
  test $ac_status = 0; }; }; then :
1855
 
  ac_retval=0
1856
 
else
1857
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1858
 
       $as_echo "$as_me: failed program was:" >&5
1859
 
sed 's/^/| /' conftest.$ac_ext >&5
1860
 
 
1861
 
       ac_retval=$ac_status
1862
 
fi
1863
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865
 
  as_fn_set_status $ac_retval
1866
 
 
1867
 
} # ac_fn_c_try_run
1868
 
 
1869
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1870
 
# -------------------------------------------------------
1871
 
# Tests whether HEADER exists and can be compiled using the include files in
1872
 
# INCLUDES, setting the cache variable VAR accordingly.
1873
 
ac_fn_c_check_header_compile ()
1874
 
{
1875
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877
 
$as_echo_n "checking for $2... " >&6; }
1878
 
if eval \${$3+:} false; then :
1879
 
  $as_echo_n "(cached) " >&6
1880
 
else
1881
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882
 
/* end confdefs.h.  */
1883
 
$4
1884
 
#include <$2>
1885
 
_ACEOF
1886
 
if ac_fn_c_try_compile "$LINENO"; then :
1887
 
  eval "$3=yes"
1888
 
else
1889
 
  eval "$3=no"
1890
 
fi
1891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892
 
fi
1893
 
eval ac_res=\$$3
1894
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895
 
$as_echo "$ac_res" >&6; }
1896
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897
 
 
1898
 
} # ac_fn_c_check_header_compile
1899
 
 
1900
 
# ac_fn_c_try_link LINENO
1901
 
# -----------------------
1902
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1903
 
ac_fn_c_try_link ()
1904
 
{
1905
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1907
 
  if { { ac_try="$ac_link"
1908
 
case "(($ac_try" in
1909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1910
 
  *) ac_try_echo=$ac_try;;
1911
 
esac
1912
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1913
 
$as_echo "$ac_try_echo"; } >&5
1914
 
  (eval "$ac_link") 2>conftest.err
1915
 
  ac_status=$?
1916
 
  if test -s conftest.err; then
1917
 
    grep -v '^ *+' conftest.err >conftest.er1
1918
 
    cat conftest.er1 >&5
1919
 
    mv -f conftest.er1 conftest.err
1920
 
  fi
1921
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922
 
  test $ac_status = 0; } && {
1923
 
         test -z "$ac_c_werror_flag" ||
1924
 
         test ! -s conftest.err
1925
 
       } && test -s conftest$ac_exeext && {
1926
 
         test "$cross_compiling" = yes ||
1927
 
         $as_test_x conftest$ac_exeext
1928
 
       }; then :
1929
 
  ac_retval=0
1930
 
else
1931
 
  $as_echo "$as_me: failed program was:" >&5
1932
 
sed 's/^/| /' conftest.$ac_ext >&5
1933
 
 
1934
 
        ac_retval=1
1935
 
fi
1936
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1937
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1938
 
  # interfere with the next link command; also delete a directory that is
1939
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1940
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942
 
  as_fn_set_status $ac_retval
1943
 
 
1944
 
} # ac_fn_c_try_link
1945
 
 
1946
 
# ac_fn_c_check_func LINENO FUNC VAR
1947
 
# ----------------------------------
1948
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1949
 
ac_fn_c_check_func ()
1950
 
{
1951
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953
 
$as_echo_n "checking for $2... " >&6; }
1954
 
if eval \${$3+:} false; then :
1955
 
  $as_echo_n "(cached) " >&6
1956
 
else
1957
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958
 
/* end confdefs.h.  */
1959
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1961
 
#define $2 innocuous_$2
1962
 
 
1963
 
/* System header to define __stub macros and hopefully few prototypes,
1964
 
    which can conflict with char $2 (); below.
1965
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966
 
    <limits.h> exists even on freestanding compilers.  */
1967
 
 
1968
 
#ifdef __STDC__
1969
 
# include <limits.h>
1970
 
#else
1971
 
# include <assert.h>
1972
 
#endif
1973
 
 
1974
 
#undef $2
1975
 
 
1976
 
/* Override any GCC internal prototype to avoid an error.
1977
 
   Use char because int might match the return type of a GCC
1978
 
   builtin and then its argument prototype would still apply.  */
1979
 
#ifdef __cplusplus
1980
 
extern "C"
1981
 
#endif
1982
 
char $2 ();
1983
 
/* The GNU C library defines this for functions which it implements
1984
 
    to always fail with ENOSYS.  Some functions are actually named
1985
 
    something starting with __ and the normal name is an alias.  */
1986
 
#if defined __stub_$2 || defined __stub___$2
1987
 
choke me
1988
 
#endif
1989
 
 
1990
 
int
1991
 
main ()
1992
 
{
1993
 
return $2 ();
1994
 
  ;
1995
 
  return 0;
1996
 
}
1997
 
_ACEOF
1998
 
if ac_fn_c_try_link "$LINENO"; then :
1999
 
  eval "$3=yes"
2000
 
else
2001
 
  eval "$3=no"
2002
 
fi
2003
 
rm -f core conftest.err conftest.$ac_objext \
2004
 
    conftest$ac_exeext conftest.$ac_ext
2005
 
fi
2006
 
eval ac_res=\$$3
2007
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008
 
$as_echo "$ac_res" >&6; }
2009
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010
 
 
2011
 
} # ac_fn_c_check_func
2012
 
 
2013
 
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2014
 
# -------------------------------------------
2015
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
2016
 
# variable VAR accordingly.
2017
 
ac_fn_c_check_type ()
2018
 
{
2019
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021
 
$as_echo_n "checking for $2... " >&6; }
2022
 
if eval \${$3+:} false; then :
2023
 
  $as_echo_n "(cached) " >&6
2024
 
else
2025
 
  eval "$3=no"
2026
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027
 
/* end confdefs.h.  */
2028
 
$4
2029
 
int
2030
 
main ()
2031
 
{
2032
 
if (sizeof ($2))
2033
 
         return 0;
2034
 
  ;
2035
 
  return 0;
2036
 
}
2037
 
_ACEOF
2038
 
if ac_fn_c_try_compile "$LINENO"; then :
2039
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040
 
/* end confdefs.h.  */
2041
 
$4
2042
 
int
2043
 
main ()
2044
 
{
2045
 
if (sizeof (($2)))
2046
 
            return 0;
2047
 
  ;
2048
 
  return 0;
2049
 
}
2050
 
_ACEOF
2051
 
if ac_fn_c_try_compile "$LINENO"; then :
2052
 
 
2053
 
else
2054
 
  eval "$3=yes"
2055
 
fi
2056
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057
 
fi
2058
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059
 
fi
2060
 
eval ac_res=\$$3
2061
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062
 
$as_echo "$ac_res" >&6; }
2063
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064
 
 
2065
 
} # ac_fn_c_check_type
2066
 
cat >config.log <<_ACEOF
2067
 
This file contains any messages produced by compilers while
2068
 
running configure, to aid debugging if configure makes a mistake.
2069
 
 
2070
 
It was created by nm-applet $as_me 0.9.6.2, which was
2071
 
generated by GNU Autoconf 2.68.  Invocation command line was
2072
 
 
2073
 
  $ $0 $@
2074
 
 
2075
 
_ACEOF
2076
 
exec 5>>config.log
2077
 
{
2078
 
cat <<_ASUNAME
2079
 
## --------- ##
2080
 
## Platform. ##
2081
 
## --------- ##
2082
 
 
2083
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088
 
 
2089
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2091
 
 
2092
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2093
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2094
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2096
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2097
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2098
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2099
 
 
2100
 
_ASUNAME
2101
 
 
2102
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103
 
for as_dir in $PATH
2104
 
do
2105
 
  IFS=$as_save_IFS
2106
 
  test -z "$as_dir" && as_dir=.
2107
 
    $as_echo "PATH: $as_dir"
2108
 
  done
2109
 
IFS=$as_save_IFS
2110
 
 
2111
 
} >&5
2112
 
 
2113
 
cat >&5 <<_ACEOF
2114
 
 
2115
 
 
2116
 
## ----------- ##
2117
 
## Core tests. ##
2118
 
## ----------- ##
2119
 
 
2120
 
_ACEOF
2121
 
 
2122
 
 
2123
 
# Keep a trace of the command line.
2124
 
# Strip out --no-create and --no-recursion so they do not pile up.
2125
 
# Strip out --silent because we don't want to record it for future runs.
2126
 
# Also quote any args containing shell meta-characters.
2127
 
# Make two passes to allow for proper duplicate-argument suppression.
2128
 
ac_configure_args=
2129
 
ac_configure_args0=
2130
 
ac_configure_args1=
2131
 
ac_must_keep_next=false
2132
 
for ac_pass in 1 2
2133
 
do
2134
 
  for ac_arg
2135
 
  do
2136
 
    case $ac_arg in
2137
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139
 
    | -silent | --silent | --silen | --sile | --sil)
2140
 
      continue ;;
2141
 
    *\'*)
2142
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143
 
    esac
2144
 
    case $ac_pass in
2145
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146
 
    2)
2147
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2148
 
      if test $ac_must_keep_next = true; then
2149
 
        ac_must_keep_next=false # Got value, back to normal.
2150
 
      else
2151
 
        case $ac_arg in
2152
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2153
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2156
 
            case "$ac_configure_args0 " in
2157
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158
 
            esac
2159
 
            ;;
2160
 
          -* ) ac_must_keep_next=true ;;
2161
 
        esac
2162
 
      fi
2163
 
      as_fn_append ac_configure_args " '$ac_arg'"
2164
 
      ;;
2165
 
    esac
2166
 
  done
2167
 
done
2168
 
{ ac_configure_args0=; unset ac_configure_args0;}
2169
 
{ ac_configure_args1=; unset ac_configure_args1;}
2170
 
 
2171
 
# When interrupted or exit'd, cleanup temporary files, and complete
2172
 
# config.log.  We remove comments because anyway the quotes in there
2173
 
# would cause problems or look ugly.
2174
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2175
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176
 
trap 'exit_status=$?
2177
 
  # Save into config.log some information that might help in debugging.
2178
 
  {
2179
 
    echo
2180
 
 
2181
 
    $as_echo "## ---------------- ##
2182
 
## Cache variables. ##
2183
 
## ---------------- ##"
2184
 
    echo
2185
 
    # The following way of writing the cache mishandles newlines in values,
2186
 
(
2187
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2188
 
    eval ac_val=\$$ac_var
2189
 
    case $ac_val in #(
2190
 
    *${as_nl}*)
2191
 
      case $ac_var in #(
2192
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2193
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2194
 
      esac
2195
 
      case $ac_var in #(
2196
 
      _ | IFS | as_nl) ;; #(
2197
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2198
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2199
 
      esac ;;
2200
 
    esac
2201
 
  done
2202
 
  (set) 2>&1 |
2203
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204
 
    *${as_nl}ac_space=\ *)
2205
 
      sed -n \
2206
 
        "s/'\''/'\''\\\\'\'''\''/g;
2207
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208
 
      ;; #(
2209
 
    *)
2210
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211
 
      ;;
2212
 
    esac |
2213
 
    sort
2214
 
)
2215
 
    echo
2216
 
 
2217
 
    $as_echo "## ----------------- ##
2218
 
## Output variables. ##
2219
 
## ----------------- ##"
2220
 
    echo
2221
 
    for ac_var in $ac_subst_vars
2222
 
    do
2223
 
      eval ac_val=\$$ac_var
2224
 
      case $ac_val in
2225
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226
 
      esac
2227
 
      $as_echo "$ac_var='\''$ac_val'\''"
2228
 
    done | sort
2229
 
    echo
2230
 
 
2231
 
    if test -n "$ac_subst_files"; then
2232
 
      $as_echo "## ------------------- ##
2233
 
## File substitutions. ##
2234
 
## ------------------- ##"
2235
 
      echo
2236
 
      for ac_var in $ac_subst_files
2237
 
      do
2238
 
        eval ac_val=\$$ac_var
2239
 
        case $ac_val in
2240
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241
 
        esac
2242
 
        $as_echo "$ac_var='\''$ac_val'\''"
2243
 
      done | sort
2244
 
      echo
2245
 
    fi
2246
 
 
2247
 
    if test -s confdefs.h; then
2248
 
      $as_echo "## ----------- ##
2249
 
## confdefs.h. ##
2250
 
## ----------- ##"
2251
 
      echo
2252
 
      cat confdefs.h
2253
 
      echo
2254
 
    fi
2255
 
    test "$ac_signal" != 0 &&
2256
 
      $as_echo "$as_me: caught signal $ac_signal"
2257
 
    $as_echo "$as_me: exit $exit_status"
2258
 
  } >&5
2259
 
  rm -f core *.core core.conftest.* &&
2260
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2261
 
    exit $exit_status
2262
 
' 0
2263
 
for ac_signal in 1 2 13 15; do
2264
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2265
 
done
2266
 
ac_signal=0
2267
 
 
2268
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2269
 
rm -f -r conftest* confdefs.h
2270
 
 
2271
 
$as_echo "/* confdefs.h */" > confdefs.h
2272
 
 
2273
 
# Predefined preprocessor variables.
2274
 
 
2275
 
cat >>confdefs.h <<_ACEOF
2276
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2277
 
_ACEOF
2278
 
 
2279
 
cat >>confdefs.h <<_ACEOF
2280
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2281
 
_ACEOF
2282
 
 
2283
 
cat >>confdefs.h <<_ACEOF
2284
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2285
 
_ACEOF
2286
 
 
2287
 
cat >>confdefs.h <<_ACEOF
2288
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2289
 
_ACEOF
2290
 
 
2291
 
cat >>confdefs.h <<_ACEOF
2292
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293
 
_ACEOF
2294
 
 
2295
 
cat >>confdefs.h <<_ACEOF
2296
 
#define PACKAGE_URL "$PACKAGE_URL"
2297
 
_ACEOF
2298
 
 
2299
 
 
2300
 
# Let the site file select an alternate cache file if it wants to.
2301
 
# Prefer an explicitly selected file to automatically selected ones.
2302
 
ac_site_file1=NONE
2303
 
ac_site_file2=NONE
2304
 
if test -n "$CONFIG_SITE"; then
2305
 
  # We do not want a PATH search for config.site.
2306
 
  case $CONFIG_SITE in #((
2307
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2308
 
    */*) ac_site_file1=$CONFIG_SITE;;
2309
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2310
 
  esac
2311
 
elif test "x$prefix" != xNONE; then
2312
 
  ac_site_file1=$prefix/share/config.site
2313
 
  ac_site_file2=$prefix/etc/config.site
2314
 
else
2315
 
  ac_site_file1=$ac_default_prefix/share/config.site
2316
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2317
 
fi
2318
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319
 
do
2320
 
  test "x$ac_site_file" = xNONE && continue
2321
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2322
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2323
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2324
 
    sed 's/^/| /' "$ac_site_file" >&5
2325
 
    . "$ac_site_file" \
2326
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328
 
as_fn_error $? "failed to load site script $ac_site_file
2329
 
See \`config.log' for more details" "$LINENO" 5; }
2330
 
  fi
2331
 
done
2332
 
 
2333
 
if test -r "$cache_file"; then
2334
 
  # Some versions of bash will fail to source /dev/null (special files
2335
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2336
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2337
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2338
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2339
 
    case $cache_file in
2340
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2341
 
      *)                      . "./$cache_file";;
2342
 
    esac
2343
 
  fi
2344
 
else
2345
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2346
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2347
 
  >$cache_file
2348
 
fi
2349
 
 
2350
 
# Check that the precious variables saved in the cache have kept the same
2351
 
# value.
2352
 
ac_cache_corrupted=false
2353
 
for ac_var in $ac_precious_vars; do
2354
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2355
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2356
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2357
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2358
 
  case $ac_old_set,$ac_new_set in
2359
 
    set,)
2360
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2361
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2362
 
      ac_cache_corrupted=: ;;
2363
 
    ,set)
2364
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2365
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2366
 
      ac_cache_corrupted=: ;;
2367
 
    ,);;
2368
 
    *)
2369
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2370
 
        # differences in whitespace do not lead to failure.
2371
 
        ac_old_val_w=`echo x $ac_old_val`
2372
 
        ac_new_val_w=`echo x $ac_new_val`
2373
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2374
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2375
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2376
 
          ac_cache_corrupted=:
2377
 
        else
2378
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2379
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2380
 
          eval $ac_var=\$ac_old_val
2381
 
        fi
2382
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2383
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2384
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2385
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2386
 
      fi;;
2387
 
  esac
2388
 
  # Pass precious variables to config.status.
2389
 
  if test "$ac_new_set" = set; then
2390
 
    case $ac_new_val in
2391
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2393
 
    esac
2394
 
    case " $ac_configure_args " in
2395
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2396
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2397
 
    esac
2398
 
  fi
2399
 
done
2400
 
if $ac_cache_corrupted; then
2401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2402
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2404
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406
 
fi
2407
 
## -------------------- ##
2408
 
## Main body of script. ##
2409
 
## -------------------- ##
2410
 
 
2411
 
ac_ext=c
2412
 
ac_cpp='$CPP $CPPFLAGS'
2413
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2414
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2415
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416
 
 
2417
 
 
2418
 
 
2419
 
ac_config_headers="$ac_config_headers config.h"
2420
 
 
2421
 
 
2422
 
 
2423
 
am__api_version='1.11'
2424
 
 
2425
 
ac_aux_dir=
2426
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427
 
  if test -f "$ac_dir/install-sh"; then
2428
 
    ac_aux_dir=$ac_dir
2429
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2430
 
    break
2431
 
  elif test -f "$ac_dir/install.sh"; then
2432
 
    ac_aux_dir=$ac_dir
2433
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2434
 
    break
2435
 
  elif test -f "$ac_dir/shtool"; then
2436
 
    ac_aux_dir=$ac_dir
2437
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2438
 
    break
2439
 
  fi
2440
 
done
2441
 
if test -z "$ac_aux_dir"; then
2442
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2443
 
fi
2444
 
 
2445
 
# These three variables are undocumented and unsupported,
2446
 
# and are intended to be withdrawn in a future Autoconf release.
2447
 
# They can cause serious problems if a builder's source tree is in a directory
2448
 
# whose full name contains unusual characters.
2449
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2450
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2451
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2452
 
 
2453
 
 
2454
 
# Find a good install program.  We prefer a C program (faster),
2455
 
# so one script is as good as another.  But avoid the broken or
2456
 
# incompatible versions:
2457
 
# SysV /etc/install, /usr/sbin/install
2458
 
# SunOS /usr/etc/install
2459
 
# IRIX /sbin/install
2460
 
# AIX /bin/install
2461
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2462
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2463
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2464
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2465
 
# OS/2's system install, which has a completely different semantic
2466
 
# ./install, which can be erroneously created by make from ./install.sh.
2467
 
# Reject install programs that cannot install multiple files.
2468
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2469
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2470
 
if test -z "$INSTALL"; then
2471
 
if ${ac_cv_path_install+:} false; then :
2472
 
  $as_echo_n "(cached) " >&6
2473
 
else
2474
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475
 
for as_dir in $PATH
2476
 
do
2477
 
  IFS=$as_save_IFS
2478
 
  test -z "$as_dir" && as_dir=.
2479
 
    # Account for people who put trailing slashes in PATH elements.
2480
 
case $as_dir/ in #((
2481
 
  ./ | .// | /[cC]/* | \
2482
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2483
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2484
 
  /usr/ucb/* ) ;;
2485
 
  *)
2486
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2487
 
    # Don't use installbsd from OSF since it installs stuff as root
2488
 
    # by default.
2489
 
    for ac_prog in ginstall scoinst install; do
2490
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2491
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2492
 
          if test $ac_prog = install &&
2493
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2494
 
            # AIX install.  It has an incompatible calling convention.
2495
 
            :
2496
 
          elif test $ac_prog = install &&
2497
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2498
 
            # program-specific install script used by HP pwplus--don't use.
2499
 
            :
2500
 
          else
2501
 
            rm -rf conftest.one conftest.two conftest.dir
2502
 
            echo one > conftest.one
2503
 
            echo two > conftest.two
2504
 
            mkdir conftest.dir
2505
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2506
 
              test -s conftest.one && test -s conftest.two &&
2507
 
              test -s conftest.dir/conftest.one &&
2508
 
              test -s conftest.dir/conftest.two
2509
 
            then
2510
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2511
 
              break 3
2512
 
            fi
2513
 
          fi
2514
 
        fi
2515
 
      done
2516
 
    done
2517
 
    ;;
2518
 
esac
2519
 
 
2520
 
  done
2521
 
IFS=$as_save_IFS
2522
 
 
2523
 
rm -rf conftest.one conftest.two conftest.dir
2524
 
 
2525
 
fi
2526
 
  if test "${ac_cv_path_install+set}" = set; then
2527
 
    INSTALL=$ac_cv_path_install
2528
 
  else
2529
 
    # As a last resort, use the slow shell script.  Don't cache a
2530
 
    # value for INSTALL within a source directory, because that will
2531
 
    # break other packages using the cache if that directory is
2532
 
    # removed, or if the value is a relative name.
2533
 
    INSTALL=$ac_install_sh
2534
 
  fi
2535
 
fi
2536
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2537
 
$as_echo "$INSTALL" >&6; }
2538
 
 
2539
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2540
 
# It thinks the first close brace ends the variable substitution.
2541
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2542
 
 
2543
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2544
 
 
2545
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2546
 
 
2547
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2548
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2549
 
# Just in case
2550
 
sleep 1
2551
 
echo timestamp > conftest.file
2552
 
# Reject unsafe characters in $srcdir or the absolute working directory
2553
 
# name.  Accept space and tab only in the latter.
2554
 
am_lf='
2555
 
'
2556
 
case `pwd` in
2557
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2558
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2559
 
esac
2560
 
case $srcdir in
2561
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2562
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2563
 
esac
2564
 
 
2565
 
# Do `set' in a subshell so we don't clobber the current shell's
2566
 
# arguments.  Must try -L first in case configure is actually a
2567
 
# symlink; some systems play weird games with the mod time of symlinks
2568
 
# (eg FreeBSD returns the mod time of the symlink's containing
2569
 
# directory).
2570
 
if (
2571
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2572
 
   if test "$*" = "X"; then
2573
 
      # -L didn't work.
2574
 
      set X `ls -t "$srcdir/configure" conftest.file`
2575
 
   fi
2576
 
   rm -f conftest.file
2577
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2578
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2579
 
 
2580
 
      # If neither matched, then we have a broken ls.  This can happen
2581
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2582
 
      # broken ls alias from the environment.  This has actually
2583
 
      # happened.  Such a system could not be considered "sane".
2584
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2585
 
alias in your environment" "$LINENO" 5
2586
 
   fi
2587
 
 
2588
 
   test "$2" = conftest.file
2589
 
   )
2590
 
then
2591
 
   # Ok.
2592
 
   :
2593
 
else
2594
 
   as_fn_error $? "newly created file is older than distributed files!
2595
 
Check your system clock" "$LINENO" 5
2596
 
fi
2597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598
 
$as_echo "yes" >&6; }
2599
 
test "$program_prefix" != NONE &&
2600
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2601
 
# Use a double $ so make ignores it.
2602
 
test "$program_suffix" != NONE &&
2603
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2604
 
# Double any \ or $.
2605
 
# By default was `s,x,x', remove it if useless.
2606
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2607
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2608
 
 
2609
 
# expand $ac_aux_dir to an absolute path
2610
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2611
 
 
2612
 
if test x"${MISSING+set}" != xset; then
2613
 
  case $am_aux_dir in
2614
 
  *\ * | *\     *)
2615
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2616
 
  *)
2617
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2618
 
  esac
2619
 
fi
2620
 
# Use eval to expand $SHELL
2621
 
if eval "$MISSING --run true"; then
2622
 
  am_missing_run="$MISSING --run "
2623
 
else
2624
 
  am_missing_run=
2625
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2626
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2627
 
fi
2628
 
 
2629
 
if test x"${install_sh}" != xset; then
2630
 
  case $am_aux_dir in
2631
 
  *\ * | *\     *)
2632
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2633
 
  *)
2634
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2635
 
  esac
2636
 
fi
2637
 
 
2638
 
# Installed binaries are usually stripped using `strip' when the user
2639
 
# run `make install-strip'.  However `strip' might not be the right
2640
 
# tool to use in cross-compilation environments, therefore Automake
2641
 
# will honor the `STRIP' environment variable to overrule this program.
2642
 
if test "$cross_compiling" != no; then
2643
 
  if test -n "$ac_tool_prefix"; then
2644
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2645
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2646
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647
 
$as_echo_n "checking for $ac_word... " >&6; }
2648
 
if ${ac_cv_prog_STRIP+:} false; then :
2649
 
  $as_echo_n "(cached) " >&6
2650
 
else
2651
 
  if test -n "$STRIP"; then
2652
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2653
 
else
2654
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655
 
for as_dir in $PATH
2656
 
do
2657
 
  IFS=$as_save_IFS
2658
 
  test -z "$as_dir" && as_dir=.
2659
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2660
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2662
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663
 
    break 2
2664
 
  fi
2665
 
done
2666
 
  done
2667
 
IFS=$as_save_IFS
2668
 
 
2669
 
fi
2670
 
fi
2671
 
STRIP=$ac_cv_prog_STRIP
2672
 
if test -n "$STRIP"; then
2673
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2674
 
$as_echo "$STRIP" >&6; }
2675
 
else
2676
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677
 
$as_echo "no" >&6; }
2678
 
fi
2679
 
 
2680
 
 
2681
 
fi
2682
 
if test -z "$ac_cv_prog_STRIP"; then
2683
 
  ac_ct_STRIP=$STRIP
2684
 
  # Extract the first word of "strip", so it can be a program name with args.
2685
 
set dummy strip; ac_word=$2
2686
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687
 
$as_echo_n "checking for $ac_word... " >&6; }
2688
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2689
 
  $as_echo_n "(cached) " >&6
2690
 
else
2691
 
  if test -n "$ac_ct_STRIP"; then
2692
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2693
 
else
2694
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695
 
for as_dir in $PATH
2696
 
do
2697
 
  IFS=$as_save_IFS
2698
 
  test -z "$as_dir" && as_dir=.
2699
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2700
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701
 
    ac_cv_prog_ac_ct_STRIP="strip"
2702
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703
 
    break 2
2704
 
  fi
2705
 
done
2706
 
  done
2707
 
IFS=$as_save_IFS
2708
 
 
2709
 
fi
2710
 
fi
2711
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2712
 
if test -n "$ac_ct_STRIP"; then
2713
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2714
 
$as_echo "$ac_ct_STRIP" >&6; }
2715
 
else
2716
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717
 
$as_echo "no" >&6; }
2718
 
fi
2719
 
 
2720
 
  if test "x$ac_ct_STRIP" = x; then
2721
 
    STRIP=":"
2722
 
  else
2723
 
    case $cross_compiling:$ac_tool_warned in
2724
 
yes:)
2725
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727
 
ac_tool_warned=yes ;;
2728
 
esac
2729
 
    STRIP=$ac_ct_STRIP
2730
 
  fi
2731
 
else
2732
 
  STRIP="$ac_cv_prog_STRIP"
2733
 
fi
2734
 
 
2735
 
fi
2736
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2737
 
 
2738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2739
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2740
 
if test -z "$MKDIR_P"; then
2741
 
  if ${ac_cv_path_mkdir+:} false; then :
2742
 
  $as_echo_n "(cached) " >&6
2743
 
else
2744
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2746
 
do
2747
 
  IFS=$as_save_IFS
2748
 
  test -z "$as_dir" && as_dir=.
2749
 
    for ac_prog in mkdir gmkdir; do
2750
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2751
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2752
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2753
 
             'mkdir (GNU coreutils) '* | \
2754
 
             'mkdir (coreutils) '* | \
2755
 
             'mkdir (fileutils) '4.1*)
2756
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2757
 
               break 3;;
2758
 
           esac
2759
 
         done
2760
 
       done
2761
 
  done
2762
 
IFS=$as_save_IFS
2763
 
 
2764
 
fi
2765
 
 
2766
 
  test -d ./--version && rmdir ./--version
2767
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2768
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2769
 
  else
2770
 
    # As a last resort, use the slow shell script.  Don't cache a
2771
 
    # value for MKDIR_P within a source directory, because that will
2772
 
    # break other packages using the cache if that directory is
2773
 
    # removed, or if the value is a relative name.
2774
 
    MKDIR_P="$ac_install_sh -d"
2775
 
  fi
2776
 
fi
2777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2778
 
$as_echo "$MKDIR_P" >&6; }
2779
 
 
2780
 
mkdir_p="$MKDIR_P"
2781
 
case $mkdir_p in
2782
 
  [\\/$]* | ?:[\\/]*) ;;
2783
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2784
 
esac
2785
 
 
2786
 
for ac_prog in gawk mawk nawk awk
2787
 
do
2788
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2789
 
set dummy $ac_prog; ac_word=$2
2790
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791
 
$as_echo_n "checking for $ac_word... " >&6; }
2792
 
if ${ac_cv_prog_AWK+:} false; then :
2793
 
  $as_echo_n "(cached) " >&6
2794
 
else
2795
 
  if test -n "$AWK"; then
2796
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2797
 
else
2798
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799
 
for as_dir in $PATH
2800
 
do
2801
 
  IFS=$as_save_IFS
2802
 
  test -z "$as_dir" && as_dir=.
2803
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2804
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805
 
    ac_cv_prog_AWK="$ac_prog"
2806
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807
 
    break 2
2808
 
  fi
2809
 
done
2810
 
  done
2811
 
IFS=$as_save_IFS
2812
 
 
2813
 
fi
2814
 
fi
2815
 
AWK=$ac_cv_prog_AWK
2816
 
if test -n "$AWK"; then
2817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2818
 
$as_echo "$AWK" >&6; }
2819
 
else
2820
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821
 
$as_echo "no" >&6; }
2822
 
fi
2823
 
 
2824
 
 
2825
 
  test -n "$AWK" && break
2826
 
done
2827
 
 
2828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2829
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2830
 
set x ${MAKE-make}
2831
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2832
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2833
 
  $as_echo_n "(cached) " >&6
2834
 
else
2835
 
  cat >conftest.make <<\_ACEOF
2836
 
SHELL = /bin/sh
2837
 
all:
2838
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2839
 
_ACEOF
2840
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2841
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2842
 
  *@@@%%%=?*=@@@%%%*)
2843
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2844
 
  *)
2845
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2846
 
esac
2847
 
rm -f conftest.make
2848
 
fi
2849
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2851
 
$as_echo "yes" >&6; }
2852
 
  SET_MAKE=
2853
 
else
2854
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855
 
$as_echo "no" >&6; }
2856
 
  SET_MAKE="MAKE=${MAKE-make}"
2857
 
fi
2858
 
 
2859
 
rm -rf .tst 2>/dev/null
2860
 
mkdir .tst 2>/dev/null
2861
 
if test -d .tst; then
2862
 
  am__leading_dot=.
2863
 
else
2864
 
  am__leading_dot=_
2865
 
fi
2866
 
rmdir .tst 2>/dev/null
2867
 
 
2868
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2869
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2870
 
  # is not polluted with repeated "-I."
2871
 
  am__isrc=' -I$(srcdir)'
2872
 
  # test to see if srcdir already configured
2873
 
  if test -f $srcdir/config.status; then
2874
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2875
 
  fi
2876
 
fi
2877
 
 
2878
 
# test whether we have cygpath
2879
 
if test -z "$CYGPATH_W"; then
2880
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2881
 
    CYGPATH_W='cygpath -w'
2882
 
  else
2883
 
    CYGPATH_W=echo
2884
 
  fi
2885
 
fi
2886
 
 
2887
 
 
2888
 
# Define the identity of the package.
2889
 
 PACKAGE='network-manager-applet'
2890
 
 VERSION='0.9.6.2'
2891
 
 
2892
 
 
2893
 
cat >>confdefs.h <<_ACEOF
2894
 
#define PACKAGE "$PACKAGE"
2895
 
_ACEOF
2896
 
 
2897
 
 
2898
 
cat >>confdefs.h <<_ACEOF
2899
 
#define VERSION "$VERSION"
2900
 
_ACEOF
2901
 
 
2902
 
# Some tools Automake needs.
2903
 
 
2904
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2905
 
 
2906
 
 
2907
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2908
 
 
2909
 
 
2910
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2911
 
 
2912
 
 
2913
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2914
 
 
2915
 
 
2916
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2917
 
 
2918
 
# We need awk for the "check" target.  The system "awk" is bad on
2919
 
# some platforms.
2920
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2921
 
# in the wild :-(  We should find a proper way to deprecate it ...
2922
 
AMTAR='$${TAR-tar}'
2923
 
 
2924
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2925
 
 
2926
 
 
2927
 
 
2928
 
 
2929
 
 
2930
 
 
2931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2932
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2933
 
    # Check whether --enable-maintainer-mode was given.
2934
 
if test "${enable_maintainer_mode+set}" = set; then :
2935
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2936
 
else
2937
 
  USE_MAINTAINER_MODE=yes
2938
 
fi
2939
 
 
2940
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2941
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2942
 
   if test $USE_MAINTAINER_MODE = yes; then
2943
 
  MAINTAINER_MODE_TRUE=
2944
 
  MAINTAINER_MODE_FALSE='#'
2945
 
else
2946
 
  MAINTAINER_MODE_TRUE='#'
2947
 
  MAINTAINER_MODE_FALSE=
2948
 
fi
2949
 
 
2950
 
  MAINT=$MAINTAINER_MODE_TRUE
2951
 
 
2952
 
 
2953
 
 
2954
 
# Support silent build rules, requires at least automake-1.11. Disable
2955
 
# by either passing --disable-silent-rules to configure or passing V=1
2956
 
# to make
2957
 
# Check whether --enable-silent-rules was given.
2958
 
if test "${enable_silent_rules+set}" = set; then :
2959
 
  enableval=$enable_silent_rules;
2960
 
fi
2961
 
 
2962
 
case $enable_silent_rules in
2963
 
yes) AM_DEFAULT_VERBOSITY=0;;
2964
 
no)  AM_DEFAULT_VERBOSITY=1;;
2965
 
*)   AM_DEFAULT_VERBOSITY=1;;
2966
 
esac
2967
 
am_make=${MAKE-make}
2968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2969
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2970
 
if ${am_cv_make_support_nested_variables+:} false; then :
2971
 
  $as_echo_n "(cached) " >&6
2972
 
else
2973
 
  if $as_echo 'TRUE=$(BAR$(V))
2974
 
BAR0=false
2975
 
BAR1=true
2976
 
V=1
2977
 
am__doit:
2978
 
        @$(TRUE)
2979
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2980
 
  am_cv_make_support_nested_variables=yes
2981
 
else
2982
 
  am_cv_make_support_nested_variables=no
2983
 
fi
2984
 
fi
2985
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2986
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2987
 
if test $am_cv_make_support_nested_variables = yes; then
2988
 
    AM_V='$(V)'
2989
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2990
 
else
2991
 
  AM_V=$AM_DEFAULT_VERBOSITY
2992
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2993
 
fi
2994
 
AM_BACKSLASH='\'
2995
 
 
2996
 
 
2997
 
ac_ext=c
2998
 
ac_cpp='$CPP $CPPFLAGS'
2999
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3000
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3001
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002
 
if test -n "$ac_tool_prefix"; then
3003
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3004
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006
 
$as_echo_n "checking for $ac_word... " >&6; }
3007
 
if ${ac_cv_prog_CC+:} false; then :
3008
 
  $as_echo_n "(cached) " >&6
3009
 
else
3010
 
  if test -n "$CC"; then
3011
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3012
 
else
3013
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014
 
for as_dir in $PATH
3015
 
do
3016
 
  IFS=$as_save_IFS
3017
 
  test -z "$as_dir" && as_dir=.
3018
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3019
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3021
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022
 
    break 2
3023
 
  fi
3024
 
done
3025
 
  done
3026
 
IFS=$as_save_IFS
3027
 
 
3028
 
fi
3029
 
fi
3030
 
CC=$ac_cv_prog_CC
3031
 
if test -n "$CC"; then
3032
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033
 
$as_echo "$CC" >&6; }
3034
 
else
3035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036
 
$as_echo "no" >&6; }
3037
 
fi
3038
 
 
3039
 
 
3040
 
fi
3041
 
if test -z "$ac_cv_prog_CC"; then
3042
 
  ac_ct_CC=$CC
3043
 
  # Extract the first word of "gcc", so it can be a program name with args.
3044
 
set dummy gcc; ac_word=$2
3045
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046
 
$as_echo_n "checking for $ac_word... " >&6; }
3047
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3048
 
  $as_echo_n "(cached) " >&6
3049
 
else
3050
 
  if test -n "$ac_ct_CC"; then
3051
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3052
 
else
3053
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054
 
for as_dir in $PATH
3055
 
do
3056
 
  IFS=$as_save_IFS
3057
 
  test -z "$as_dir" && as_dir=.
3058
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3059
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060
 
    ac_cv_prog_ac_ct_CC="gcc"
3061
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062
 
    break 2
3063
 
  fi
3064
 
done
3065
 
  done
3066
 
IFS=$as_save_IFS
3067
 
 
3068
 
fi
3069
 
fi
3070
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3071
 
if test -n "$ac_ct_CC"; then
3072
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3073
 
$as_echo "$ac_ct_CC" >&6; }
3074
 
else
3075
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076
 
$as_echo "no" >&6; }
3077
 
fi
3078
 
 
3079
 
  if test "x$ac_ct_CC" = x; then
3080
 
    CC=""
3081
 
  else
3082
 
    case $cross_compiling:$ac_tool_warned in
3083
 
yes:)
3084
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3085
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3086
 
ac_tool_warned=yes ;;
3087
 
esac
3088
 
    CC=$ac_ct_CC
3089
 
  fi
3090
 
else
3091
 
  CC="$ac_cv_prog_CC"
3092
 
fi
3093
 
 
3094
 
if test -z "$CC"; then
3095
 
          if test -n "$ac_tool_prefix"; then
3096
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3097
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099
 
$as_echo_n "checking for $ac_word... " >&6; }
3100
 
if ${ac_cv_prog_CC+:} false; then :
3101
 
  $as_echo_n "(cached) " >&6
3102
 
else
3103
 
  if test -n "$CC"; then
3104
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3105
 
else
3106
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107
 
for as_dir in $PATH
3108
 
do
3109
 
  IFS=$as_save_IFS
3110
 
  test -z "$as_dir" && as_dir=.
3111
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3112
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3114
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115
 
    break 2
3116
 
  fi
3117
 
done
3118
 
  done
3119
 
IFS=$as_save_IFS
3120
 
 
3121
 
fi
3122
 
fi
3123
 
CC=$ac_cv_prog_CC
3124
 
if test -n "$CC"; then
3125
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3126
 
$as_echo "$CC" >&6; }
3127
 
else
3128
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129
 
$as_echo "no" >&6; }
3130
 
fi
3131
 
 
3132
 
 
3133
 
  fi
3134
 
fi
3135
 
if test -z "$CC"; then
3136
 
  # Extract the first word of "cc", so it can be a program name with args.
3137
 
set dummy cc; ac_word=$2
3138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139
 
$as_echo_n "checking for $ac_word... " >&6; }
3140
 
if ${ac_cv_prog_CC+:} false; then :
3141
 
  $as_echo_n "(cached) " >&6
3142
 
else
3143
 
  if test -n "$CC"; then
3144
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3145
 
else
3146
 
  ac_prog_rejected=no
3147
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148
 
for as_dir in $PATH
3149
 
do
3150
 
  IFS=$as_save_IFS
3151
 
  test -z "$as_dir" && as_dir=.
3152
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3153
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3155
 
       ac_prog_rejected=yes
3156
 
       continue
3157
 
     fi
3158
 
    ac_cv_prog_CC="cc"
3159
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160
 
    break 2
3161
 
  fi
3162
 
done
3163
 
  done
3164
 
IFS=$as_save_IFS
3165
 
 
3166
 
if test $ac_prog_rejected = yes; then
3167
 
  # We found a bogon in the path, so make sure we never use it.
3168
 
  set dummy $ac_cv_prog_CC
3169
 
  shift
3170
 
  if test $# != 0; then
3171
 
    # We chose a different compiler from the bogus one.
3172
 
    # However, it has the same basename, so the bogon will be chosen
3173
 
    # first if we set CC to just the basename; use the full file name.
3174
 
    shift
3175
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3176
 
  fi
3177
 
fi
3178
 
fi
3179
 
fi
3180
 
CC=$ac_cv_prog_CC
3181
 
if test -n "$CC"; then
3182
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183
 
$as_echo "$CC" >&6; }
3184
 
else
3185
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186
 
$as_echo "no" >&6; }
3187
 
fi
3188
 
 
3189
 
 
3190
 
fi
3191
 
if test -z "$CC"; then
3192
 
  if test -n "$ac_tool_prefix"; then
3193
 
  for ac_prog in cl.exe
3194
 
  do
3195
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3196
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3197
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198
 
$as_echo_n "checking for $ac_word... " >&6; }
3199
 
if ${ac_cv_prog_CC+:} false; then :
3200
 
  $as_echo_n "(cached) " >&6
3201
 
else
3202
 
  if test -n "$CC"; then
3203
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3204
 
else
3205
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206
 
for as_dir in $PATH
3207
 
do
3208
 
  IFS=$as_save_IFS
3209
 
  test -z "$as_dir" && as_dir=.
3210
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3211
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3213
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214
 
    break 2
3215
 
  fi
3216
 
done
3217
 
  done
3218
 
IFS=$as_save_IFS
3219
 
 
3220
 
fi
3221
 
fi
3222
 
CC=$ac_cv_prog_CC
3223
 
if test -n "$CC"; then
3224
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225
 
$as_echo "$CC" >&6; }
3226
 
else
3227
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228
 
$as_echo "no" >&6; }
3229
 
fi
3230
 
 
3231
 
 
3232
 
    test -n "$CC" && break
3233
 
  done
3234
 
fi
3235
 
if test -z "$CC"; then
3236
 
  ac_ct_CC=$CC
3237
 
  for ac_prog in cl.exe
3238
 
do
3239
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3240
 
set dummy $ac_prog; ac_word=$2
3241
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242
 
$as_echo_n "checking for $ac_word... " >&6; }
3243
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3244
 
  $as_echo_n "(cached) " >&6
3245
 
else
3246
 
  if test -n "$ac_ct_CC"; then
3247
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3248
 
else
3249
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250
 
for as_dir in $PATH
3251
 
do
3252
 
  IFS=$as_save_IFS
3253
 
  test -z "$as_dir" && as_dir=.
3254
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3255
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3257
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258
 
    break 2
3259
 
  fi
3260
 
done
3261
 
  done
3262
 
IFS=$as_save_IFS
3263
 
 
3264
 
fi
3265
 
fi
3266
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3267
 
if test -n "$ac_ct_CC"; then
3268
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3269
 
$as_echo "$ac_ct_CC" >&6; }
3270
 
else
3271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272
 
$as_echo "no" >&6; }
3273
 
fi
3274
 
 
3275
 
 
3276
 
  test -n "$ac_ct_CC" && break
3277
 
done
3278
 
 
3279
 
  if test "x$ac_ct_CC" = x; then
3280
 
    CC=""
3281
 
  else
3282
 
    case $cross_compiling:$ac_tool_warned in
3283
 
yes:)
3284
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3285
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3286
 
ac_tool_warned=yes ;;
3287
 
esac
3288
 
    CC=$ac_ct_CC
3289
 
  fi
3290
 
fi
3291
 
 
3292
 
fi
3293
 
 
3294
 
 
3295
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3298
 
See \`config.log' for more details" "$LINENO" 5; }
3299
 
 
3300
 
# Provide some information about the compiler.
3301
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3302
 
set X $ac_compile
3303
 
ac_compiler=$2
3304
 
for ac_option in --version -v -V -qversion; do
3305
 
  { { ac_try="$ac_compiler $ac_option >&5"
3306
 
case "(($ac_try" in
3307
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
 
  *) ac_try_echo=$ac_try;;
3309
 
esac
3310
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311
 
$as_echo "$ac_try_echo"; } >&5
3312
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3313
 
  ac_status=$?
3314
 
  if test -s conftest.err; then
3315
 
    sed '10a\
3316
 
... rest of stderr output deleted ...
3317
 
         10q' conftest.err >conftest.er1
3318
 
    cat conftest.er1 >&5
3319
 
  fi
3320
 
  rm -f conftest.er1 conftest.err
3321
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322
 
  test $ac_status = 0; }
3323
 
done
3324
 
 
3325
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326
 
/* end confdefs.h.  */
3327
 
 
3328
 
int
3329
 
main ()
3330
 
{
3331
 
 
3332
 
  ;
3333
 
  return 0;
3334
 
}
3335
 
_ACEOF
3336
 
ac_clean_files_save=$ac_clean_files
3337
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3338
 
# Try to create an executable without -o first, disregard a.out.
3339
 
# It will help us diagnose broken compilers, and finding out an intuition
3340
 
# of exeext.
3341
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3342
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3343
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3344
 
 
3345
 
# The possible output files:
3346
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3347
 
 
3348
 
ac_rmfiles=
3349
 
for ac_file in $ac_files
3350
 
do
3351
 
  case $ac_file in
3352
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3353
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3354
 
  esac
3355
 
done
3356
 
rm -f $ac_rmfiles
3357
 
 
3358
 
if { { ac_try="$ac_link_default"
3359
 
case "(($ac_try" in
3360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361
 
  *) ac_try_echo=$ac_try;;
3362
 
esac
3363
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364
 
$as_echo "$ac_try_echo"; } >&5
3365
 
  (eval "$ac_link_default") 2>&5
3366
 
  ac_status=$?
3367
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368
 
  test $ac_status = 0; }; then :
3369
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3370
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3371
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3372
 
# so that the user can short-circuit this test for compilers unknown to
3373
 
# Autoconf.
3374
 
for ac_file in $ac_files ''
3375
 
do
3376
 
  test -f "$ac_file" || continue
3377
 
  case $ac_file in
3378
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3379
 
        ;;
3380
 
    [ab].out )
3381
 
        # We found the default executable, but exeext='' is most
3382
 
        # certainly right.
3383
 
        break;;
3384
 
    *.* )
3385
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3386
 
        then :; else
3387
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3388
 
        fi
3389
 
        # We set ac_cv_exeext here because the later test for it is not
3390
 
        # safe: cross compilers may not add the suffix if given an `-o'
3391
 
        # argument, so we may need to know it at that point already.
3392
 
        # Even if this section looks crufty: it has the advantage of
3393
 
        # actually working.
3394
 
        break;;
3395
 
    * )
3396
 
        break;;
3397
 
  esac
3398
 
done
3399
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3400
 
 
3401
 
else
3402
 
  ac_file=''
3403
 
fi
3404
 
if test -z "$ac_file"; then :
3405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406
 
$as_echo "no" >&6; }
3407
 
$as_echo "$as_me: failed program was:" >&5
3408
 
sed 's/^/| /' conftest.$ac_ext >&5
3409
 
 
3410
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412
 
as_fn_error 77 "C compiler cannot create executables
3413
 
See \`config.log' for more details" "$LINENO" 5; }
3414
 
else
3415
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3416
 
$as_echo "yes" >&6; }
3417
 
fi
3418
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3419
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3421
 
$as_echo "$ac_file" >&6; }
3422
 
ac_exeext=$ac_cv_exeext
3423
 
 
3424
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3425
 
ac_clean_files=$ac_clean_files_save
3426
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3427
 
$as_echo_n "checking for suffix of executables... " >&6; }
3428
 
if { { ac_try="$ac_link"
3429
 
case "(($ac_try" in
3430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431
 
  *) ac_try_echo=$ac_try;;
3432
 
esac
3433
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434
 
$as_echo "$ac_try_echo"; } >&5
3435
 
  (eval "$ac_link") 2>&5
3436
 
  ac_status=$?
3437
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438
 
  test $ac_status = 0; }; then :
3439
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3440
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3441
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3442
 
# `rm'.
3443
 
for ac_file in conftest.exe conftest conftest.*; do
3444
 
  test -f "$ac_file" || continue
3445
 
  case $ac_file in
3446
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3447
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3448
 
          break;;
3449
 
    * ) break;;
3450
 
  esac
3451
 
done
3452
 
else
3453
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3456
 
See \`config.log' for more details" "$LINENO" 5; }
3457
 
fi
3458
 
rm -f conftest conftest$ac_cv_exeext
3459
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3460
 
$as_echo "$ac_cv_exeext" >&6; }
3461
 
 
3462
 
rm -f conftest.$ac_ext
3463
 
EXEEXT=$ac_cv_exeext
3464
 
ac_exeext=$EXEEXT
3465
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466
 
/* end confdefs.h.  */
3467
 
#include <stdio.h>
3468
 
int
3469
 
main ()
3470
 
{
3471
 
FILE *f = fopen ("conftest.out", "w");
3472
 
 return ferror (f) || fclose (f) != 0;
3473
 
 
3474
 
  ;
3475
 
  return 0;
3476
 
}
3477
 
_ACEOF
3478
 
ac_clean_files="$ac_clean_files conftest.out"
3479
 
# Check that the compiler produces executables we can run.  If not, either
3480
 
# the compiler is broken, or we cross compile.
3481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3482
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3483
 
if test "$cross_compiling" != yes; then
3484
 
  { { ac_try="$ac_link"
3485
 
case "(($ac_try" in
3486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487
 
  *) ac_try_echo=$ac_try;;
3488
 
esac
3489
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490
 
$as_echo "$ac_try_echo"; } >&5
3491
 
  (eval "$ac_link") 2>&5
3492
 
  ac_status=$?
3493
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494
 
  test $ac_status = 0; }
3495
 
  if { ac_try='./conftest$ac_cv_exeext'
3496
 
  { { case "(($ac_try" in
3497
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498
 
  *) ac_try_echo=$ac_try;;
3499
 
esac
3500
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501
 
$as_echo "$ac_try_echo"; } >&5
3502
 
  (eval "$ac_try") 2>&5
3503
 
  ac_status=$?
3504
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505
 
  test $ac_status = 0; }; }; then
3506
 
    cross_compiling=no
3507
 
  else
3508
 
    if test "$cross_compiling" = maybe; then
3509
 
        cross_compiling=yes
3510
 
    else
3511
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513
 
as_fn_error $? "cannot run C compiled programs.
3514
 
If you meant to cross compile, use \`--host'.
3515
 
See \`config.log' for more details" "$LINENO" 5; }
3516
 
    fi
3517
 
  fi
3518
 
fi
3519
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3520
 
$as_echo "$cross_compiling" >&6; }
3521
 
 
3522
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3523
 
ac_clean_files=$ac_clean_files_save
3524
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3525
 
$as_echo_n "checking for suffix of object files... " >&6; }
3526
 
if ${ac_cv_objext+:} false; then :
3527
 
  $as_echo_n "(cached) " >&6
3528
 
else
3529
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530
 
/* end confdefs.h.  */
3531
 
 
3532
 
int
3533
 
main ()
3534
 
{
3535
 
 
3536
 
  ;
3537
 
  return 0;
3538
 
}
3539
 
_ACEOF
3540
 
rm -f conftest.o conftest.obj
3541
 
if { { ac_try="$ac_compile"
3542
 
case "(($ac_try" in
3543
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544
 
  *) ac_try_echo=$ac_try;;
3545
 
esac
3546
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547
 
$as_echo "$ac_try_echo"; } >&5
3548
 
  (eval "$ac_compile") 2>&5
3549
 
  ac_status=$?
3550
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551
 
  test $ac_status = 0; }; then :
3552
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3553
 
  test -f "$ac_file" || continue;
3554
 
  case $ac_file in
3555
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3556
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3557
 
       break;;
3558
 
  esac
3559
 
done
3560
 
else
3561
 
  $as_echo "$as_me: failed program was:" >&5
3562
 
sed 's/^/| /' conftest.$ac_ext >&5
3563
 
 
3564
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3567
 
See \`config.log' for more details" "$LINENO" 5; }
3568
 
fi
3569
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3570
 
fi
3571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3572
 
$as_echo "$ac_cv_objext" >&6; }
3573
 
OBJEXT=$ac_cv_objext
3574
 
ac_objext=$OBJEXT
3575
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3576
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3577
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3578
 
  $as_echo_n "(cached) " >&6
3579
 
else
3580
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581
 
/* end confdefs.h.  */
3582
 
 
3583
 
int
3584
 
main ()
3585
 
{
3586
 
#ifndef __GNUC__
3587
 
       choke me
3588
 
#endif
3589
 
 
3590
 
  ;
3591
 
  return 0;
3592
 
}
3593
 
_ACEOF
3594
 
if ac_fn_c_try_compile "$LINENO"; then :
3595
 
  ac_compiler_gnu=yes
3596
 
else
3597
 
  ac_compiler_gnu=no
3598
 
fi
3599
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3601
 
 
3602
 
fi
3603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3604
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3605
 
if test $ac_compiler_gnu = yes; then
3606
 
  GCC=yes
3607
 
else
3608
 
  GCC=
3609
 
fi
3610
 
ac_test_CFLAGS=${CFLAGS+set}
3611
 
ac_save_CFLAGS=$CFLAGS
3612
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3613
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3614
 
if ${ac_cv_prog_cc_g+:} false; then :
3615
 
  $as_echo_n "(cached) " >&6
3616
 
else
3617
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3618
 
   ac_c_werror_flag=yes
3619
 
   ac_cv_prog_cc_g=no
3620
 
   CFLAGS="-g"
3621
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622
 
/* end confdefs.h.  */
3623
 
 
3624
 
int
3625
 
main ()
3626
 
{
3627
 
 
3628
 
  ;
3629
 
  return 0;
3630
 
}
3631
 
_ACEOF
3632
 
if ac_fn_c_try_compile "$LINENO"; then :
3633
 
  ac_cv_prog_cc_g=yes
3634
 
else
3635
 
  CFLAGS=""
3636
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637
 
/* end confdefs.h.  */
3638
 
 
3639
 
int
3640
 
main ()
3641
 
{
3642
 
 
3643
 
  ;
3644
 
  return 0;
3645
 
}
3646
 
_ACEOF
3647
 
if ac_fn_c_try_compile "$LINENO"; then :
3648
 
 
3649
 
else
3650
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3651
 
         CFLAGS="-g"
3652
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653
 
/* end confdefs.h.  */
3654
 
 
3655
 
int
3656
 
main ()
3657
 
{
3658
 
 
3659
 
  ;
3660
 
  return 0;
3661
 
}
3662
 
_ACEOF
3663
 
if ac_fn_c_try_compile "$LINENO"; then :
3664
 
  ac_cv_prog_cc_g=yes
3665
 
fi
3666
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667
 
fi
3668
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669
 
fi
3670
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3672
 
fi
3673
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3674
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3675
 
if test "$ac_test_CFLAGS" = set; then
3676
 
  CFLAGS=$ac_save_CFLAGS
3677
 
elif test $ac_cv_prog_cc_g = yes; then
3678
 
  if test "$GCC" = yes; then
3679
 
    CFLAGS="-g -O2"
3680
 
  else
3681
 
    CFLAGS="-g"
3682
 
  fi
3683
 
else
3684
 
  if test "$GCC" = yes; then
3685
 
    CFLAGS="-O2"
3686
 
  else
3687
 
    CFLAGS=
3688
 
  fi
3689
 
fi
3690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3691
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692
 
if ${ac_cv_prog_cc_c89+:} false; then :
3693
 
  $as_echo_n "(cached) " >&6
3694
 
else
3695
 
  ac_cv_prog_cc_c89=no
3696
 
ac_save_CC=$CC
3697
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698
 
/* end confdefs.h.  */
3699
 
#include <stdarg.h>
3700
 
#include <stdio.h>
3701
 
#include <sys/types.h>
3702
 
#include <sys/stat.h>
3703
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3704
 
struct buf { int x; };
3705
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3706
 
static char *e (p, i)
3707
 
     char **p;
3708
 
     int i;
3709
 
{
3710
 
  return p[i];
3711
 
}
3712
 
static char *f (char * (*g) (char **, int), char **p, ...)
3713
 
{
3714
 
  char *s;
3715
 
  va_list v;
3716
 
  va_start (v,p);
3717
 
  s = g (p, va_arg (v,int));
3718
 
  va_end (v);
3719
 
  return s;
3720
 
}
3721
 
 
3722
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3723
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3724
 
   These don't provoke an error unfortunately, instead are silently treated
3725
 
   as 'x'.  The following induces an error, until -std is added to get
3726
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3727
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3728
 
   that's true only with -std.  */
3729
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3730
 
 
3731
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3732
 
   inside strings and character constants.  */
3733
 
#define FOO(x) 'x'
3734
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3735
 
 
3736
 
int test (int i, double x);
3737
 
struct s1 {int (*f) (int a);};
3738
 
struct s2 {int (*f) (double a);};
3739
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3740
 
int argc;
3741
 
char **argv;
3742
 
int
3743
 
main ()
3744
 
{
3745
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3746
 
  ;
3747
 
  return 0;
3748
 
}
3749
 
_ACEOF
3750
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3751
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3752
 
do
3753
 
  CC="$ac_save_CC $ac_arg"
3754
 
  if ac_fn_c_try_compile "$LINENO"; then :
3755
 
  ac_cv_prog_cc_c89=$ac_arg
3756
 
fi
3757
 
rm -f core conftest.err conftest.$ac_objext
3758
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3759
 
done
3760
 
rm -f conftest.$ac_ext
3761
 
CC=$ac_save_CC
3762
 
 
3763
 
fi
3764
 
# AC_CACHE_VAL
3765
 
case "x$ac_cv_prog_cc_c89" in
3766
 
  x)
3767
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3768
 
$as_echo "none needed" >&6; } ;;
3769
 
  xno)
3770
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3771
 
$as_echo "unsupported" >&6; } ;;
3772
 
  *)
3773
 
    CC="$CC $ac_cv_prog_cc_c89"
3774
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3775
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3776
 
esac
3777
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3778
 
 
3779
 
fi
3780
 
 
3781
 
ac_ext=c
3782
 
ac_cpp='$CPP $CPPFLAGS'
3783
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786
 
DEPDIR="${am__leading_dot}deps"
3787
 
 
3788
 
ac_config_commands="$ac_config_commands depfiles"
3789
 
 
3790
 
 
3791
 
am_make=${MAKE-make}
3792
 
cat > confinc << 'END'
3793
 
am__doit:
3794
 
        @echo this is the am__doit target
3795
 
.PHONY: am__doit
3796
 
END
3797
 
# If we don't find an include directive, just comment out the code.
3798
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3799
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3800
 
am__include="#"
3801
 
am__quote=
3802
 
_am_result=none
3803
 
# First try GNU make style include.
3804
 
echo "include confinc" > confmf
3805
 
# Ignore all kinds of additional output from `make'.
3806
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3807
 
*the\ am__doit\ target*)
3808
 
  am__include=include
3809
 
  am__quote=
3810
 
  _am_result=GNU
3811
 
  ;;
3812
 
esac
3813
 
# Now try BSD make style include.
3814
 
if test "$am__include" = "#"; then
3815
 
   echo '.include "confinc"' > confmf
3816
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3817
 
   *the\ am__doit\ target*)
3818
 
     am__include=.include
3819
 
     am__quote="\""
3820
 
     _am_result=BSD
3821
 
     ;;
3822
 
   esac
3823
 
fi
3824
 
 
3825
 
 
3826
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3827
 
$as_echo "$_am_result" >&6; }
3828
 
rm -f confinc confmf
3829
 
 
3830
 
# Check whether --enable-dependency-tracking was given.
3831
 
if test "${enable_dependency_tracking+set}" = set; then :
3832
 
  enableval=$enable_dependency_tracking;
3833
 
fi
3834
 
 
3835
 
if test "x$enable_dependency_tracking" != xno; then
3836
 
  am_depcomp="$ac_aux_dir/depcomp"
3837
 
  AMDEPBACKSLASH='\'
3838
 
  am__nodep='_no'
3839
 
fi
3840
 
 if test "x$enable_dependency_tracking" != xno; then
3841
 
  AMDEP_TRUE=
3842
 
  AMDEP_FALSE='#'
3843
 
else
3844
 
  AMDEP_TRUE='#'
3845
 
  AMDEP_FALSE=
3846
 
fi
3847
 
 
3848
 
 
3849
 
 
3850
 
depcc="$CC"   am_compiler_list=
3851
 
 
3852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3853
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3854
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3855
 
  $as_echo_n "(cached) " >&6
3856
 
else
3857
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3858
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3859
 
  # making bogus files that we don't know about and never remove.  For
3860
 
  # instance it was reported that on HP-UX the gcc test will end up
3861
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3862
 
  # in D'.
3863
 
  rm -rf conftest.dir
3864
 
  mkdir conftest.dir
3865
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3866
 
  # using a relative directory.
3867
 
  cp "$am_depcomp" conftest.dir
3868
 
  cd conftest.dir
3869
 
  # We will build objects and dependencies in a subdirectory because
3870
 
  # it helps to detect inapplicable dependency modes.  For instance
3871
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3872
 
  # side effect of compilation, but ICC will put the dependencies in
3873
 
  # the current directory while Tru64 will put them in the object
3874
 
  # directory.
3875
 
  mkdir sub
3876
 
 
3877
 
  am_cv_CC_dependencies_compiler_type=none
3878
 
  if test "$am_compiler_list" = ""; then
3879
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3880
 
  fi
3881
 
  am__universal=false
3882
 
  case " $depcc " in #(
3883
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3884
 
     esac
3885
 
 
3886
 
  for depmode in $am_compiler_list; do
3887
 
    # Setup a source with many dependencies, because some compilers
3888
 
    # like to wrap large dependency lists on column 80 (with \), and
3889
 
    # we should not choose a depcomp mode which is confused by this.
3890
 
    #
3891
 
    # We need to recreate these files for each test, as the compiler may
3892
 
    # overwrite some of them when testing with obscure command lines.
3893
 
    # This happens at least with the AIX C compiler.
3894
 
    : > sub/conftest.c
3895
 
    for i in 1 2 3 4 5 6; do
3896
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3897
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3898
 
      # Solaris 8's {/usr,}/bin/sh.
3899
 
      touch sub/conftst$i.h
3900
 
    done
3901
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3902
 
 
3903
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3904
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3905
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3906
 
    # versions had trouble with output in subdirs
3907
 
    am__obj=sub/conftest.${OBJEXT-o}
3908
 
    am__minus_obj="-o $am__obj"
3909
 
    case $depmode in
3910
 
    gcc)
3911
 
      # This depmode causes a compiler race in universal mode.
3912
 
      test "$am__universal" = false || continue
3913
 
      ;;
3914
 
    nosideeffect)
3915
 
      # after this tag, mechanisms are not by side-effect, so they'll
3916
 
      # only be used when explicitly requested
3917
 
      if test "x$enable_dependency_tracking" = xyes; then
3918
 
        continue
3919
 
      else
3920
 
        break
3921
 
      fi
3922
 
      ;;
3923
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3924
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3925
 
      # not run yet.  These depmodes are late enough in the game, and
3926
 
      # so weak that their functioning should not be impacted.
3927
 
      am__obj=conftest.${OBJEXT-o}
3928
 
      am__minus_obj=
3929
 
      ;;
3930
 
    none) break ;;
3931
 
    esac
3932
 
    if depmode=$depmode \
3933
 
       source=sub/conftest.c object=$am__obj \
3934
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3935
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3936
 
         >/dev/null 2>conftest.err &&
3937
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3938
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3939
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3940
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3941
 
      # icc doesn't choke on unknown options, it will just issue warnings
3942
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3943
 
      # that says an option was ignored or not supported.
3944
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3945
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3946
 
      # The diagnosis changed in icc 8.0:
3947
 
      #   icc: Command line remark: option '-MP' not supported
3948
 
      if (grep 'ignoring option' conftest.err ||
3949
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3950
 
        am_cv_CC_dependencies_compiler_type=$depmode
3951
 
        break
3952
 
      fi
3953
 
    fi
3954
 
  done
3955
 
 
3956
 
  cd ..
3957
 
  rm -rf conftest.dir
3958
 
else
3959
 
  am_cv_CC_dependencies_compiler_type=none
3960
 
fi
3961
 
 
3962
 
fi
3963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3964
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3965
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3966
 
 
3967
 
 if
3968
 
  test "x$enable_dependency_tracking" != xno \
3969
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3970
 
  am__fastdepCC_TRUE=
3971
 
  am__fastdepCC_FALSE='#'
3972
 
else
3973
 
  am__fastdepCC_TRUE='#'
3974
 
  am__fastdepCC_FALSE=
3975
 
fi
3976
 
 
3977
 
 
3978
 
if test "x$CC" != xcc; then
3979
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3980
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3981
 
else
3982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3983
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3984
 
fi
3985
 
set dummy $CC; ac_cc=`$as_echo "$2" |
3986
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3987
 
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3988
 
  $as_echo_n "(cached) " >&6
3989
 
else
3990
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991
 
/* end confdefs.h.  */
3992
 
 
3993
 
int
3994
 
main ()
3995
 
{
3996
 
 
3997
 
  ;
3998
 
  return 0;
3999
 
}
4000
 
_ACEOF
4001
 
# Make sure it works both with $CC and with simple cc.
4002
 
# We do the test twice because some compilers refuse to overwrite an
4003
 
# existing .o file with -o, though they will create one.
4004
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4005
 
rm -f conftest2.*
4006
 
if { { case "(($ac_try" in
4007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008
 
  *) ac_try_echo=$ac_try;;
4009
 
esac
4010
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011
 
$as_echo "$ac_try_echo"; } >&5
4012
 
  (eval "$ac_try") 2>&5
4013
 
  ac_status=$?
4014
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015
 
  test $ac_status = 0; } &&
4016
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4017
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018
 
  *) ac_try_echo=$ac_try;;
4019
 
esac
4020
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021
 
$as_echo "$ac_try_echo"; } >&5
4022
 
  (eval "$ac_try") 2>&5
4023
 
  ac_status=$?
4024
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025
 
  test $ac_status = 0; };
4026
 
then
4027
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4028
 
  if test "x$CC" != xcc; then
4029
 
    # Test first that cc exists at all.
4030
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
4031
 
  { { case "(($ac_try" in
4032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033
 
  *) ac_try_echo=$ac_try;;
4034
 
esac
4035
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036
 
$as_echo "$ac_try_echo"; } >&5
4037
 
  (eval "$ac_try") 2>&5
4038
 
  ac_status=$?
4039
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040
 
  test $ac_status = 0; }; }; then
4041
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4042
 
      rm -f conftest2.*
4043
 
      if { { case "(($ac_try" in
4044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045
 
  *) ac_try_echo=$ac_try;;
4046
 
esac
4047
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048
 
$as_echo "$ac_try_echo"; } >&5
4049
 
  (eval "$ac_try") 2>&5
4050
 
  ac_status=$?
4051
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052
 
  test $ac_status = 0; } &&
4053
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
4054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055
 
  *) ac_try_echo=$ac_try;;
4056
 
esac
4057
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058
 
$as_echo "$ac_try_echo"; } >&5
4059
 
  (eval "$ac_try") 2>&5
4060
 
  ac_status=$?
4061
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062
 
  test $ac_status = 0; };
4063
 
      then
4064
 
        # cc works too.
4065
 
        :
4066
 
      else
4067
 
        # cc exists but doesn't like -o.
4068
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
4069
 
      fi
4070
 
    fi
4071
 
  fi
4072
 
else
4073
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4074
 
fi
4075
 
rm -f core conftest*
4076
 
 
4077
 
fi
4078
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4079
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080
 
$as_echo "yes" >&6; }
4081
 
else
4082
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083
 
$as_echo "no" >&6; }
4084
 
 
4085
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4086
 
 
4087
 
fi
4088
 
 
4089
 
# FIXME: we rely on the cache variable name because
4090
 
# there is no other way.
4091
 
set dummy $CC
4092
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4093
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4094
 
if test "$am_t" != yes; then
4095
 
   # Losing compiler, so override with the script.
4096
 
   # FIXME: It is wrong to rewrite CC.
4097
 
   # But if we don't then we get into trouble of one sort or another.
4098
 
   # A longer-term fix would be to have automake use am__CC in this case,
4099
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4100
 
   CC="$am_aux_dir/compile $CC"
4101
 
fi
4102
 
 
4103
 
 
4104
 
 
4105
 
 
4106
 
 
4107
 
 
4108
 
 
4109
 
 
4110
 
 
4111
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4112
 
        if test -n "$ac_tool_prefix"; then
4113
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4114
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4115
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116
 
$as_echo_n "checking for $ac_word... " >&6; }
4117
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4118
 
  $as_echo_n "(cached) " >&6
4119
 
else
4120
 
  case $PKG_CONFIG in
4121
 
  [\\/]* | ?:[\\/]*)
4122
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4123
 
  ;;
4124
 
  *)
4125
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126
 
for as_dir in $PATH
4127
 
do
4128
 
  IFS=$as_save_IFS
4129
 
  test -z "$as_dir" && as_dir=.
4130
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4131
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4132
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4133
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4134
 
    break 2
4135
 
  fi
4136
 
done
4137
 
  done
4138
 
IFS=$as_save_IFS
4139
 
 
4140
 
  ;;
4141
 
esac
4142
 
fi
4143
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4144
 
if test -n "$PKG_CONFIG"; then
4145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4146
 
$as_echo "$PKG_CONFIG" >&6; }
4147
 
else
4148
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149
 
$as_echo "no" >&6; }
4150
 
fi
4151
 
 
4152
 
 
4153
 
fi
4154
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
4155
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4156
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
4157
 
set dummy pkg-config; ac_word=$2
4158
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159
 
$as_echo_n "checking for $ac_word... " >&6; }
4160
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4161
 
  $as_echo_n "(cached) " >&6
4162
 
else
4163
 
  case $ac_pt_PKG_CONFIG in
4164
 
  [\\/]* | ?:[\\/]*)
4165
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4166
 
  ;;
4167
 
  *)
4168
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169
 
for as_dir in $PATH
4170
 
do
4171
 
  IFS=$as_save_IFS
4172
 
  test -z "$as_dir" && as_dir=.
4173
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4174
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4176
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4177
 
    break 2
4178
 
  fi
4179
 
done
4180
 
  done
4181
 
IFS=$as_save_IFS
4182
 
 
4183
 
  ;;
4184
 
esac
4185
 
fi
4186
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4187
 
if test -n "$ac_pt_PKG_CONFIG"; then
4188
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4189
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4190
 
else
4191
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192
 
$as_echo "no" >&6; }
4193
 
fi
4194
 
 
4195
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
4196
 
    PKG_CONFIG=""
4197
 
  else
4198
 
    case $cross_compiling:$ac_tool_warned in
4199
 
yes:)
4200
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202
 
ac_tool_warned=yes ;;
4203
 
esac
4204
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
4205
 
  fi
4206
 
else
4207
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4208
 
fi
4209
 
 
4210
 
fi
4211
 
if test -n "$PKG_CONFIG"; then
4212
 
        _pkg_min_version=0.9.0
4213
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4214
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4215
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4216
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217
 
$as_echo "yes" >&6; }
4218
 
        else
4219
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220
 
$as_echo "no" >&6; }
4221
 
                PKG_CONFIG=""
4222
 
        fi
4223
 
fi
4224
 
 
4225
 
 
4226
 
ac_ext=c
4227
 
ac_cpp='$CPP $CPPFLAGS'
4228
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4232
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4233
 
# On Suns, sometimes $CPP names a directory.
4234
 
if test -n "$CPP" && test -d "$CPP"; then
4235
 
  CPP=
4236
 
fi
4237
 
if test -z "$CPP"; then
4238
 
  if ${ac_cv_prog_CPP+:} false; then :
4239
 
  $as_echo_n "(cached) " >&6
4240
 
else
4241
 
      # Double quotes because CPP needs to be expanded
4242
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4243
 
    do
4244
 
      ac_preproc_ok=false
4245
 
for ac_c_preproc_warn_flag in '' yes
4246
 
do
4247
 
  # Use a header file that comes with gcc, so configuring glibc
4248
 
  # with a fresh cross-compiler works.
4249
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4250
 
  # <limits.h> exists even on freestanding compilers.
4251
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4252
 
  # not just through cpp. "Syntax error" is here to catch this case.
4253
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254
 
/* end confdefs.h.  */
4255
 
#ifdef __STDC__
4256
 
# include <limits.h>
4257
 
#else
4258
 
# include <assert.h>
4259
 
#endif
4260
 
                     Syntax error
4261
 
_ACEOF
4262
 
if ac_fn_c_try_cpp "$LINENO"; then :
4263
 
 
4264
 
else
4265
 
  # Broken: fails on valid input.
4266
 
continue
4267
 
fi
4268
 
rm -f conftest.err conftest.i conftest.$ac_ext
4269
 
 
4270
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4271
 
  # can be detected and how.
4272
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273
 
/* end confdefs.h.  */
4274
 
#include <ac_nonexistent.h>
4275
 
_ACEOF
4276
 
if ac_fn_c_try_cpp "$LINENO"; then :
4277
 
  # Broken: success on invalid input.
4278
 
continue
4279
 
else
4280
 
  # Passes both tests.
4281
 
ac_preproc_ok=:
4282
 
break
4283
 
fi
4284
 
rm -f conftest.err conftest.i conftest.$ac_ext
4285
 
 
4286
 
done
4287
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4288
 
rm -f conftest.i conftest.err conftest.$ac_ext
4289
 
if $ac_preproc_ok; then :
4290
 
  break
4291
 
fi
4292
 
 
4293
 
    done
4294
 
    ac_cv_prog_CPP=$CPP
4295
 
 
4296
 
fi
4297
 
  CPP=$ac_cv_prog_CPP
4298
 
else
4299
 
  ac_cv_prog_CPP=$CPP
4300
 
fi
4301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4302
 
$as_echo "$CPP" >&6; }
4303
 
ac_preproc_ok=false
4304
 
for ac_c_preproc_warn_flag in '' yes
4305
 
do
4306
 
  # Use a header file that comes with gcc, so configuring glibc
4307
 
  # with a fresh cross-compiler works.
4308
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4309
 
  # <limits.h> exists even on freestanding compilers.
4310
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4311
 
  # not just through cpp. "Syntax error" is here to catch this case.
4312
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313
 
/* end confdefs.h.  */
4314
 
#ifdef __STDC__
4315
 
# include <limits.h>
4316
 
#else
4317
 
# include <assert.h>
4318
 
#endif
4319
 
                     Syntax error
4320
 
_ACEOF
4321
 
if ac_fn_c_try_cpp "$LINENO"; then :
4322
 
 
4323
 
else
4324
 
  # Broken: fails on valid input.
4325
 
continue
4326
 
fi
4327
 
rm -f conftest.err conftest.i conftest.$ac_ext
4328
 
 
4329
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4330
 
  # can be detected and how.
4331
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332
 
/* end confdefs.h.  */
4333
 
#include <ac_nonexistent.h>
4334
 
_ACEOF
4335
 
if ac_fn_c_try_cpp "$LINENO"; then :
4336
 
  # Broken: success on invalid input.
4337
 
continue
4338
 
else
4339
 
  # Passes both tests.
4340
 
ac_preproc_ok=:
4341
 
break
4342
 
fi
4343
 
rm -f conftest.err conftest.i conftest.$ac_ext
4344
 
 
4345
 
done
4346
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4347
 
rm -f conftest.i conftest.err conftest.$ac_ext
4348
 
if $ac_preproc_ok; then :
4349
 
 
4350
 
else
4351
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4352
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4354
 
See \`config.log' for more details" "$LINENO" 5; }
4355
 
fi
4356
 
 
4357
 
ac_ext=c
4358
 
ac_cpp='$CPP $CPPFLAGS'
4359
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4362
 
 
4363
 
 
4364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4365
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4366
 
if ${ac_cv_path_GREP+:} false; then :
4367
 
  $as_echo_n "(cached) " >&6
4368
 
else
4369
 
  if test -z "$GREP"; then
4370
 
  ac_path_GREP_found=false
4371
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4372
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4374
 
do
4375
 
  IFS=$as_save_IFS
4376
 
  test -z "$as_dir" && as_dir=.
4377
 
    for ac_prog in grep ggrep; do
4378
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4379
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4380
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4381
 
# Check for GNU ac_path_GREP and select it if it is found.
4382
 
  # Check for GNU $ac_path_GREP
4383
 
case `"$ac_path_GREP" --version 2>&1` in
4384
 
*GNU*)
4385
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4386
 
*)
4387
 
  ac_count=0
4388
 
  $as_echo_n 0123456789 >"conftest.in"
4389
 
  while :
4390
 
  do
4391
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4392
 
    mv "conftest.tmp" "conftest.in"
4393
 
    cp "conftest.in" "conftest.nl"
4394
 
    $as_echo 'GREP' >> "conftest.nl"
4395
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4396
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4397
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4398
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4399
 
      # Best one so far, save it but keep looking for a better one
4400
 
      ac_cv_path_GREP="$ac_path_GREP"
4401
 
      ac_path_GREP_max=$ac_count
4402
 
    fi
4403
 
    # 10*(2^10) chars as input seems more than enough
4404
 
    test $ac_count -gt 10 && break
4405
 
  done
4406
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4407
 
esac
4408
 
 
4409
 
      $ac_path_GREP_found && break 3
4410
 
    done
4411
 
  done
4412
 
  done
4413
 
IFS=$as_save_IFS
4414
 
  if test -z "$ac_cv_path_GREP"; then
4415
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4416
 
  fi
4417
 
else
4418
 
  ac_cv_path_GREP=$GREP
4419
 
fi
4420
 
 
4421
 
fi
4422
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4423
 
$as_echo "$ac_cv_path_GREP" >&6; }
4424
 
 GREP="$ac_cv_path_GREP"
4425
 
 
4426
 
 
4427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4428
 
$as_echo_n "checking for egrep... " >&6; }
4429
 
if ${ac_cv_path_EGREP+:} false; then :
4430
 
  $as_echo_n "(cached) " >&6
4431
 
else
4432
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4433
 
   then ac_cv_path_EGREP="$GREP -E"
4434
 
   else
4435
 
     if test -z "$EGREP"; then
4436
 
  ac_path_EGREP_found=false
4437
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4438
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4440
 
do
4441
 
  IFS=$as_save_IFS
4442
 
  test -z "$as_dir" && as_dir=.
4443
 
    for ac_prog in egrep; do
4444
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4445
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4446
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4447
 
# Check for GNU ac_path_EGREP and select it if it is found.
4448
 
  # Check for GNU $ac_path_EGREP
4449
 
case `"$ac_path_EGREP" --version 2>&1` in
4450
 
*GNU*)
4451
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4452
 
*)
4453
 
  ac_count=0
4454
 
  $as_echo_n 0123456789 >"conftest.in"
4455
 
  while :
4456
 
  do
4457
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4458
 
    mv "conftest.tmp" "conftest.in"
4459
 
    cp "conftest.in" "conftest.nl"
4460
 
    $as_echo 'EGREP' >> "conftest.nl"
4461
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4462
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4463
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4464
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4465
 
      # Best one so far, save it but keep looking for a better one
4466
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4467
 
      ac_path_EGREP_max=$ac_count
4468
 
    fi
4469
 
    # 10*(2^10) chars as input seems more than enough
4470
 
    test $ac_count -gt 10 && break
4471
 
  done
4472
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4473
 
esac
4474
 
 
4475
 
      $ac_path_EGREP_found && break 3
4476
 
    done
4477
 
  done
4478
 
  done
4479
 
IFS=$as_save_IFS
4480
 
  if test -z "$ac_cv_path_EGREP"; then
4481
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4482
 
  fi
4483
 
else
4484
 
  ac_cv_path_EGREP=$EGREP
4485
 
fi
4486
 
 
4487
 
   fi
4488
 
fi
4489
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4490
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4491
 
 EGREP="$ac_cv_path_EGREP"
4492
 
 
4493
 
 
4494
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4495
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4496
 
if ${ac_cv_header_stdc+:} false; then :
4497
 
  $as_echo_n "(cached) " >&6
4498
 
else
4499
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500
 
/* end confdefs.h.  */
4501
 
#include <stdlib.h>
4502
 
#include <stdarg.h>
4503
 
#include <string.h>
4504
 
#include <float.h>
4505
 
 
4506
 
int
4507
 
main ()
4508
 
{
4509
 
 
4510
 
  ;
4511
 
  return 0;
4512
 
}
4513
 
_ACEOF
4514
 
if ac_fn_c_try_compile "$LINENO"; then :
4515
 
  ac_cv_header_stdc=yes
4516
 
else
4517
 
  ac_cv_header_stdc=no
4518
 
fi
4519
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520
 
 
4521
 
if test $ac_cv_header_stdc = yes; then
4522
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4523
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524
 
/* end confdefs.h.  */
4525
 
#include <string.h>
4526
 
 
4527
 
_ACEOF
4528
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4529
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4530
 
 
4531
 
else
4532
 
  ac_cv_header_stdc=no
4533
 
fi
4534
 
rm -f conftest*
4535
 
 
4536
 
fi
4537
 
 
4538
 
if test $ac_cv_header_stdc = yes; then
4539
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4540
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541
 
/* end confdefs.h.  */
4542
 
#include <stdlib.h>
4543
 
 
4544
 
_ACEOF
4545
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4546
 
  $EGREP "free" >/dev/null 2>&1; then :
4547
 
 
4548
 
else
4549
 
  ac_cv_header_stdc=no
4550
 
fi
4551
 
rm -f conftest*
4552
 
 
4553
 
fi
4554
 
 
4555
 
if test $ac_cv_header_stdc = yes; then
4556
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4557
 
  if test "$cross_compiling" = yes; then :
4558
 
  :
4559
 
else
4560
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561
 
/* end confdefs.h.  */
4562
 
#include <ctype.h>
4563
 
#include <stdlib.h>
4564
 
#if ((' ' & 0x0FF) == 0x020)
4565
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4566
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4567
 
#else
4568
 
# define ISLOWER(c) \
4569
 
                   (('a' <= (c) && (c) <= 'i') \
4570
 
                     || ('j' <= (c) && (c) <= 'r') \
4571
 
                     || ('s' <= (c) && (c) <= 'z'))
4572
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4573
 
#endif
4574
 
 
4575
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4576
 
int
4577
 
main ()
4578
 
{
4579
 
  int i;
4580
 
  for (i = 0; i < 256; i++)
4581
 
    if (XOR (islower (i), ISLOWER (i))
4582
 
        || toupper (i) != TOUPPER (i))
4583
 
      return 2;
4584
 
  return 0;
4585
 
}
4586
 
_ACEOF
4587
 
if ac_fn_c_try_run "$LINENO"; then :
4588
 
 
4589
 
else
4590
 
  ac_cv_header_stdc=no
4591
 
fi
4592
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4593
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4594
 
fi
4595
 
 
4596
 
fi
4597
 
fi
4598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4599
 
$as_echo "$ac_cv_header_stdc" >&6; }
4600
 
if test $ac_cv_header_stdc = yes; then
4601
 
 
4602
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4603
 
 
4604
 
fi
4605
 
 
4606
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4607
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4608
 
                  inttypes.h stdint.h unistd.h
4609
 
do :
4610
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4611
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4612
 
"
4613
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4614
 
  cat >>confdefs.h <<_ACEOF
4615
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4616
 
_ACEOF
4617
 
 
4618
 
fi
4619
 
 
4620
 
done
4621
 
 
4622
 
 
4623
 
 
4624
 
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4625
 
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4626
 
  MINIX=yes
4627
 
else
4628
 
  MINIX=
4629
 
fi
4630
 
 
4631
 
 
4632
 
  if test "$MINIX" = yes; then
4633
 
 
4634
 
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4635
 
 
4636
 
 
4637
 
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4638
 
 
4639
 
 
4640
 
$as_echo "#define _MINIX 1" >>confdefs.h
4641
 
 
4642
 
  fi
4643
 
 
4644
 
 
4645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4646
 
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4647
 
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4648
 
  $as_echo_n "(cached) " >&6
4649
 
else
4650
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651
 
/* end confdefs.h.  */
4652
 
 
4653
 
#         define __EXTENSIONS__ 1
4654
 
          $ac_includes_default
4655
 
int
4656
 
main ()
4657
 
{
4658
 
 
4659
 
  ;
4660
 
  return 0;
4661
 
}
4662
 
_ACEOF
4663
 
if ac_fn_c_try_compile "$LINENO"; then :
4664
 
  ac_cv_safe_to_define___extensions__=yes
4665
 
else
4666
 
  ac_cv_safe_to_define___extensions__=no
4667
 
fi
4668
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669
 
fi
4670
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4671
 
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4672
 
  test $ac_cv_safe_to_define___extensions__ = yes &&
4673
 
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4674
 
 
4675
 
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4676
 
 
4677
 
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4678
 
 
4679
 
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4680
 
 
4681
 
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4682
 
 
4683
 
 
4684
 
 
4685
 
 
4686
 
 
4687
 
case `pwd` in
4688
 
  *\ * | *\     *)
4689
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4690
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4691
 
esac
4692
 
 
4693
 
 
4694
 
 
4695
 
macro_version='2.4.2'
4696
 
macro_revision='1.3337'
4697
 
 
4698
 
 
4699
 
 
4700
 
 
4701
 
 
4702
 
 
4703
 
 
4704
 
 
4705
 
 
4706
 
 
4707
 
 
4708
 
 
4709
 
 
4710
 
ltmain="$ac_aux_dir/ltmain.sh"
4711
 
 
4712
 
# Make sure we can run config.sub.
4713
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4714
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4715
 
 
4716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4717
 
$as_echo_n "checking build system type... " >&6; }
4718
 
if ${ac_cv_build+:} false; then :
4719
 
  $as_echo_n "(cached) " >&6
4720
 
else
4721
 
  ac_build_alias=$build_alias
4722
 
test "x$ac_build_alias" = x &&
4723
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4724
 
test "x$ac_build_alias" = x &&
4725
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4726
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4727
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4728
 
 
4729
 
fi
4730
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4731
 
$as_echo "$ac_cv_build" >&6; }
4732
 
case $ac_cv_build in
4733
 
*-*-*) ;;
4734
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4735
 
esac
4736
 
build=$ac_cv_build
4737
 
ac_save_IFS=$IFS; IFS='-'
4738
 
set x $ac_cv_build
4739
 
shift
4740
 
build_cpu=$1
4741
 
build_vendor=$2
4742
 
shift; shift
4743
 
# Remember, the first character of IFS is used to create $*,
4744
 
# except with old shells:
4745
 
build_os=$*
4746
 
IFS=$ac_save_IFS
4747
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4748
 
 
4749
 
 
4750
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4751
 
$as_echo_n "checking host system type... " >&6; }
4752
 
if ${ac_cv_host+:} false; then :
4753
 
  $as_echo_n "(cached) " >&6
4754
 
else
4755
 
  if test "x$host_alias" = x; then
4756
 
  ac_cv_host=$ac_cv_build
4757
 
else
4758
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4759
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4760
 
fi
4761
 
 
4762
 
fi
4763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4764
 
$as_echo "$ac_cv_host" >&6; }
4765
 
case $ac_cv_host in
4766
 
*-*-*) ;;
4767
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4768
 
esac
4769
 
host=$ac_cv_host
4770
 
ac_save_IFS=$IFS; IFS='-'
4771
 
set x $ac_cv_host
4772
 
shift
4773
 
host_cpu=$1
4774
 
host_vendor=$2
4775
 
shift; shift
4776
 
# Remember, the first character of IFS is used to create $*,
4777
 
# except with old shells:
4778
 
host_os=$*
4779
 
IFS=$ac_save_IFS
4780
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4781
 
 
4782
 
 
4783
 
# Backslashify metacharacters that are still active within
4784
 
# double-quoted strings.
4785
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4786
 
 
4787
 
# Same as above, but do not quote variable references.
4788
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4789
 
 
4790
 
# Sed substitution to delay expansion of an escaped shell variable in a
4791
 
# double_quote_subst'ed string.
4792
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4793
 
 
4794
 
# Sed substitution to delay expansion of an escaped single quote.
4795
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4796
 
 
4797
 
# Sed substitution to avoid accidental globbing in evaled expressions
4798
 
no_glob_subst='s/\*/\\\*/g'
4799
 
 
4800
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4801
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4802
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4803
 
 
4804
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4805
 
$as_echo_n "checking how to print strings... " >&6; }
4806
 
# Test print first, because it will be a builtin if present.
4807
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4808
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4809
 
  ECHO='print -r --'
4810
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4811
 
  ECHO='printf %s\n'
4812
 
else
4813
 
  # Use this function as a fallback that always works.
4814
 
  func_fallback_echo ()
4815
 
  {
4816
 
    eval 'cat <<_LTECHO_EOF
4817
 
$1
4818
 
_LTECHO_EOF'
4819
 
  }
4820
 
  ECHO='func_fallback_echo'
4821
 
fi
4822
 
 
4823
 
# func_echo_all arg...
4824
 
# Invoke $ECHO with all args, space-separated.
4825
 
func_echo_all ()
4826
 
{
4827
 
    $ECHO ""
4828
 
}
4829
 
 
4830
 
case "$ECHO" in
4831
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4832
 
$as_echo "printf" >&6; } ;;
4833
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4834
 
$as_echo "print -r" >&6; } ;;
4835
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4836
 
$as_echo "cat" >&6; } ;;
4837
 
esac
4838
 
 
4839
 
 
4840
 
 
4841
 
 
4842
 
 
4843
 
 
4844
 
 
4845
 
 
4846
 
 
4847
 
 
4848
 
 
4849
 
 
4850
 
 
4851
 
 
4852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4853
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4854
 
if ${ac_cv_path_SED+:} false; then :
4855
 
  $as_echo_n "(cached) " >&6
4856
 
else
4857
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4858
 
     for ac_i in 1 2 3 4 5 6 7; do
4859
 
       ac_script="$ac_script$as_nl$ac_script"
4860
 
     done
4861
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4862
 
     { ac_script=; unset ac_script;}
4863
 
     if test -z "$SED"; then
4864
 
  ac_path_SED_found=false
4865
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4866
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867
 
for as_dir in $PATH
4868
 
do
4869
 
  IFS=$as_save_IFS
4870
 
  test -z "$as_dir" && as_dir=.
4871
 
    for ac_prog in sed gsed; do
4872
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4873
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4874
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4875
 
# Check for GNU ac_path_SED and select it if it is found.
4876
 
  # Check for GNU $ac_path_SED
4877
 
case `"$ac_path_SED" --version 2>&1` in
4878
 
*GNU*)
4879
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4880
 
*)
4881
 
  ac_count=0
4882
 
  $as_echo_n 0123456789 >"conftest.in"
4883
 
  while :
4884
 
  do
4885
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4886
 
    mv "conftest.tmp" "conftest.in"
4887
 
    cp "conftest.in" "conftest.nl"
4888
 
    $as_echo '' >> "conftest.nl"
4889
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4890
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4891
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4892
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4893
 
      # Best one so far, save it but keep looking for a better one
4894
 
      ac_cv_path_SED="$ac_path_SED"
4895
 
      ac_path_SED_max=$ac_count
4896
 
    fi
4897
 
    # 10*(2^10) chars as input seems more than enough
4898
 
    test $ac_count -gt 10 && break
4899
 
  done
4900
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4901
 
esac
4902
 
 
4903
 
      $ac_path_SED_found && break 3
4904
 
    done
4905
 
  done
4906
 
  done
4907
 
IFS=$as_save_IFS
4908
 
  if test -z "$ac_cv_path_SED"; then
4909
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4910
 
  fi
4911
 
else
4912
 
  ac_cv_path_SED=$SED
4913
 
fi
4914
 
 
4915
 
fi
4916
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4917
 
$as_echo "$ac_cv_path_SED" >&6; }
4918
 
 SED="$ac_cv_path_SED"
4919
 
  rm -f conftest.sed
4920
 
 
4921
 
test -z "$SED" && SED=sed
4922
 
Xsed="$SED -e 1s/^X//"
4923
 
 
4924
 
 
4925
 
 
4926
 
 
4927
 
 
4928
 
 
4929
 
 
4930
 
 
4931
 
 
4932
 
 
4933
 
 
4934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4935
 
$as_echo_n "checking for fgrep... " >&6; }
4936
 
if ${ac_cv_path_FGREP+:} false; then :
4937
 
  $as_echo_n "(cached) " >&6
4938
 
else
4939
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4940
 
   then ac_cv_path_FGREP="$GREP -F"
4941
 
   else
4942
 
     if test -z "$FGREP"; then
4943
 
  ac_path_FGREP_found=false
4944
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4945
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4947
 
do
4948
 
  IFS=$as_save_IFS
4949
 
  test -z "$as_dir" && as_dir=.
4950
 
    for ac_prog in fgrep; do
4951
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4952
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4953
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4954
 
# Check for GNU ac_path_FGREP and select it if it is found.
4955
 
  # Check for GNU $ac_path_FGREP
4956
 
case `"$ac_path_FGREP" --version 2>&1` in
4957
 
*GNU*)
4958
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4959
 
*)
4960
 
  ac_count=0
4961
 
  $as_echo_n 0123456789 >"conftest.in"
4962
 
  while :
4963
 
  do
4964
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4965
 
    mv "conftest.tmp" "conftest.in"
4966
 
    cp "conftest.in" "conftest.nl"
4967
 
    $as_echo 'FGREP' >> "conftest.nl"
4968
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4969
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4970
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4971
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4972
 
      # Best one so far, save it but keep looking for a better one
4973
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4974
 
      ac_path_FGREP_max=$ac_count
4975
 
    fi
4976
 
    # 10*(2^10) chars as input seems more than enough
4977
 
    test $ac_count -gt 10 && break
4978
 
  done
4979
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4980
 
esac
4981
 
 
4982
 
      $ac_path_FGREP_found && break 3
4983
 
    done
4984
 
  done
4985
 
  done
4986
 
IFS=$as_save_IFS
4987
 
  if test -z "$ac_cv_path_FGREP"; then
4988
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4989
 
  fi
4990
 
else
4991
 
  ac_cv_path_FGREP=$FGREP
4992
 
fi
4993
 
 
4994
 
   fi
4995
 
fi
4996
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4997
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4998
 
 FGREP="$ac_cv_path_FGREP"
4999
 
 
5000
 
 
5001
 
test -z "$GREP" && GREP=grep
5002
 
 
5003
 
 
5004
 
 
5005
 
 
5006
 
 
5007
 
 
5008
 
 
5009
 
 
5010
 
 
5011
 
 
5012
 
 
5013
 
 
5014
 
 
5015
 
 
5016
 
 
5017
 
 
5018
 
 
5019
 
 
5020
 
 
5021
 
# Check whether --with-gnu-ld was given.
5022
 
if test "${with_gnu_ld+set}" = set; then :
5023
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5024
 
else
5025
 
  with_gnu_ld=no
5026
 
fi
5027
 
 
5028
 
ac_prog=ld
5029
 
if test "$GCC" = yes; then
5030
 
  # Check if gcc -print-prog-name=ld gives a path.
5031
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5032
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5033
 
  case $host in
5034
 
  *-*-mingw*)
5035
 
    # gcc leaves a trailing carriage return which upsets mingw
5036
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5037
 
  *)
5038
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5039
 
  esac
5040
 
  case $ac_prog in
5041
 
    # Accept absolute paths.
5042
 
    [\\/]* | ?:[\\/]*)
5043
 
      re_direlt='/[^/][^/]*/\.\./'
5044
 
      # Canonicalize the pathname of ld
5045
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5046
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5047
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5048
 
      done
5049
 
      test -z "$LD" && LD="$ac_prog"
5050
 
      ;;
5051
 
  "")
5052
 
    # If it fails, then pretend we aren't using GCC.
5053
 
    ac_prog=ld
5054
 
    ;;
5055
 
  *)
5056
 
    # If it is relative, then search for the first ld in PATH.
5057
 
    with_gnu_ld=unknown
5058
 
    ;;
5059
 
  esac
5060
 
elif test "$with_gnu_ld" = yes; then
5061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5062
 
$as_echo_n "checking for GNU ld... " >&6; }
5063
 
else
5064
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5065
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5066
 
fi
5067
 
if ${lt_cv_path_LD+:} false; then :
5068
 
  $as_echo_n "(cached) " >&6
5069
 
else
5070
 
  if test -z "$LD"; then
5071
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5072
 
  for ac_dir in $PATH; do
5073
 
    IFS="$lt_save_ifs"
5074
 
    test -z "$ac_dir" && ac_dir=.
5075
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5076
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5077
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5078
 
      # but apparently some variants of GNU ld only accept -v.
5079
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5080
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5081
 
      *GNU* | *'with BFD'*)
5082
 
        test "$with_gnu_ld" != no && break
5083
 
        ;;
5084
 
      *)
5085
 
        test "$with_gnu_ld" != yes && break
5086
 
        ;;
5087
 
      esac
5088
 
    fi
5089
 
  done
5090
 
  IFS="$lt_save_ifs"
5091
 
else
5092
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5093
 
fi
5094
 
fi
5095
 
 
5096
 
LD="$lt_cv_path_LD"
5097
 
if test -n "$LD"; then
5098
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5099
 
$as_echo "$LD" >&6; }
5100
 
else
5101
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102
 
$as_echo "no" >&6; }
5103
 
fi
5104
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5105
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5106
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5107
 
if ${lt_cv_prog_gnu_ld+:} false; then :
5108
 
  $as_echo_n "(cached) " >&6
5109
 
else
5110
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5111
 
case `$LD -v 2>&1 </dev/null` in
5112
 
*GNU* | *'with BFD'*)
5113
 
  lt_cv_prog_gnu_ld=yes
5114
 
  ;;
5115
 
*)
5116
 
  lt_cv_prog_gnu_ld=no
5117
 
  ;;
5118
 
esac
5119
 
fi
5120
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5121
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5122
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5123
 
 
5124
 
 
5125
 
 
5126
 
 
5127
 
 
5128
 
 
5129
 
 
5130
 
 
5131
 
 
5132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5133
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5134
 
if ${lt_cv_path_NM+:} false; then :
5135
 
  $as_echo_n "(cached) " >&6
5136
 
else
5137
 
  if test -n "$NM"; then
5138
 
  # Let the user override the test.
5139
 
  lt_cv_path_NM="$NM"
5140
 
else
5141
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5142
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5143
 
    lt_nm_to_check="$lt_nm_to_check nm"
5144
 
  fi
5145
 
  for lt_tmp_nm in $lt_nm_to_check; do
5146
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5147
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5148
 
      IFS="$lt_save_ifs"
5149
 
      test -z "$ac_dir" && ac_dir=.
5150
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5151
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5152
 
        # Check to see if the nm accepts a BSD-compat flag.
5153
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5154
 
        #   nm: unknown option "B" ignored
5155
 
        # Tru64's nm complains that /dev/null is an invalid object file
5156
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5157
 
        */dev/null* | *'Invalid file or object type'*)
5158
 
          lt_cv_path_NM="$tmp_nm -B"
5159
 
          break
5160
 
          ;;
5161
 
        *)
5162
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5163
 
          */dev/null*)
5164
 
            lt_cv_path_NM="$tmp_nm -p"
5165
 
            break
5166
 
            ;;
5167
 
          *)
5168
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5169
 
            continue # so that we can try to find one that supports BSD flags
5170
 
            ;;
5171
 
          esac
5172
 
          ;;
5173
 
        esac
5174
 
      fi
5175
 
    done
5176
 
    IFS="$lt_save_ifs"
5177
 
  done
5178
 
  : ${lt_cv_path_NM=no}
5179
 
fi
5180
 
fi
5181
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5182
 
$as_echo "$lt_cv_path_NM" >&6; }
5183
 
if test "$lt_cv_path_NM" != "no"; then
5184
 
  NM="$lt_cv_path_NM"
5185
 
else
5186
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5187
 
  if test -n "$DUMPBIN"; then :
5188
 
    # Let the user override the test.
5189
 
  else
5190
 
    if test -n "$ac_tool_prefix"; then
5191
 
  for ac_prog in dumpbin "link -dump"
5192
 
  do
5193
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5194
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5195
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196
 
$as_echo_n "checking for $ac_word... " >&6; }
5197
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
5198
 
  $as_echo_n "(cached) " >&6
5199
 
else
5200
 
  if test -n "$DUMPBIN"; then
5201
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5202
 
else
5203
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204
 
for as_dir in $PATH
5205
 
do
5206
 
  IFS=$as_save_IFS
5207
 
  test -z "$as_dir" && as_dir=.
5208
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5209
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5210
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5211
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212
 
    break 2
5213
 
  fi
5214
 
done
5215
 
  done
5216
 
IFS=$as_save_IFS
5217
 
 
5218
 
fi
5219
 
fi
5220
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5221
 
if test -n "$DUMPBIN"; then
5222
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5223
 
$as_echo "$DUMPBIN" >&6; }
5224
 
else
5225
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226
 
$as_echo "no" >&6; }
5227
 
fi
5228
 
 
5229
 
 
5230
 
    test -n "$DUMPBIN" && break
5231
 
  done
5232
 
fi
5233
 
if test -z "$DUMPBIN"; then
5234
 
  ac_ct_DUMPBIN=$DUMPBIN
5235
 
  for ac_prog in dumpbin "link -dump"
5236
 
do
5237
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5238
 
set dummy $ac_prog; ac_word=$2
5239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240
 
$as_echo_n "checking for $ac_word... " >&6; }
5241
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5242
 
  $as_echo_n "(cached) " >&6
5243
 
else
5244
 
  if test -n "$ac_ct_DUMPBIN"; then
5245
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5246
 
else
5247
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248
 
for as_dir in $PATH
5249
 
do
5250
 
  IFS=$as_save_IFS
5251
 
  test -z "$as_dir" && as_dir=.
5252
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5253
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5255
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256
 
    break 2
5257
 
  fi
5258
 
done
5259
 
  done
5260
 
IFS=$as_save_IFS
5261
 
 
5262
 
fi
5263
 
fi
5264
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5265
 
if test -n "$ac_ct_DUMPBIN"; then
5266
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5267
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5268
 
else
5269
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270
 
$as_echo "no" >&6; }
5271
 
fi
5272
 
 
5273
 
 
5274
 
  test -n "$ac_ct_DUMPBIN" && break
5275
 
done
5276
 
 
5277
 
  if test "x$ac_ct_DUMPBIN" = x; then
5278
 
    DUMPBIN=":"
5279
 
  else
5280
 
    case $cross_compiling:$ac_tool_warned in
5281
 
yes:)
5282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284
 
ac_tool_warned=yes ;;
5285
 
esac
5286
 
    DUMPBIN=$ac_ct_DUMPBIN
5287
 
  fi
5288
 
fi
5289
 
 
5290
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5291
 
    *COFF*)
5292
 
      DUMPBIN="$DUMPBIN -symbols"
5293
 
      ;;
5294
 
    *)
5295
 
      DUMPBIN=:
5296
 
      ;;
5297
 
    esac
5298
 
  fi
5299
 
 
5300
 
  if test "$DUMPBIN" != ":"; then
5301
 
    NM="$DUMPBIN"
5302
 
  fi
5303
 
fi
5304
 
test -z "$NM" && NM=nm
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5312
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5313
 
if ${lt_cv_nm_interface+:} false; then :
5314
 
  $as_echo_n "(cached) " >&6
5315
 
else
5316
 
  lt_cv_nm_interface="BSD nm"
5317
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5318
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5319
 
  (eval "$ac_compile" 2>conftest.err)
5320
 
  cat conftest.err >&5
5321
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5322
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5323
 
  cat conftest.err >&5
5324
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5325
 
  cat conftest.out >&5
5326
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5327
 
    lt_cv_nm_interface="MS dumpbin"
5328
 
  fi
5329
 
  rm -f conftest*
5330
 
fi
5331
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5332
 
$as_echo "$lt_cv_nm_interface" >&6; }
5333
 
 
5334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5335
 
$as_echo_n "checking whether ln -s works... " >&6; }
5336
 
LN_S=$as_ln_s
5337
 
if test "$LN_S" = "ln -s"; then
5338
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5339
 
$as_echo "yes" >&6; }
5340
 
else
5341
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5342
 
$as_echo "no, using $LN_S" >&6; }
5343
 
fi
5344
 
 
5345
 
# find the maximum length of command line arguments
5346
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5347
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5348
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
5349
 
  $as_echo_n "(cached) " >&6
5350
 
else
5351
 
    i=0
5352
 
  teststring="ABCD"
5353
 
 
5354
 
  case $build_os in
5355
 
  msdosdjgpp*)
5356
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5357
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5358
 
    # during glob expansion).  Even if it were fixed, the result of this
5359
 
    # check would be larger than it should be.
5360
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5361
 
    ;;
5362
 
 
5363
 
  gnu*)
5364
 
    # Under GNU Hurd, this test is not required because there is
5365
 
    # no limit to the length of command line arguments.
5366
 
    # Libtool will interpret -1 as no limit whatsoever
5367
 
    lt_cv_sys_max_cmd_len=-1;
5368
 
    ;;
5369
 
 
5370
 
  cygwin* | mingw* | cegcc*)
5371
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5372
 
    # about 5 minutes as the teststring grows exponentially.
5373
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5374
 
    # you end up with a "frozen" computer, even though with patience
5375
 
    # the test eventually succeeds (with a max line length of 256k).
5376
 
    # Instead, let's just punt: use the minimum linelength reported by
5377
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5378
 
    lt_cv_sys_max_cmd_len=8192;
5379
 
    ;;
5380
 
 
5381
 
  mint*)
5382
 
    # On MiNT this can take a long time and run out of memory.
5383
 
    lt_cv_sys_max_cmd_len=8192;
5384
 
    ;;
5385
 
 
5386
 
  amigaos*)
5387
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5388
 
    # So we just punt and use a minimum line length of 8192.
5389
 
    lt_cv_sys_max_cmd_len=8192;
5390
 
    ;;
5391
 
 
5392
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5393
 
    # This has been around since 386BSD, at least.  Likely further.
5394
 
    if test -x /sbin/sysctl; then
5395
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5396
 
    elif test -x /usr/sbin/sysctl; then
5397
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5398
 
    else
5399
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5400
 
    fi
5401
 
    # And add a safety zone
5402
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5403
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5404
 
    ;;
5405
 
 
5406
 
  interix*)
5407
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5408
 
    lt_cv_sys_max_cmd_len=196608
5409
 
    ;;
5410
 
 
5411
 
  os2*)
5412
 
    # The test takes a long time on OS/2.
5413
 
    lt_cv_sys_max_cmd_len=8192
5414
 
    ;;
5415
 
 
5416
 
  osf*)
5417
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5418
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5419
 
    # nice to cause kernel panics so lets avoid the loop below.
5420
 
    # First set a reasonable default.
5421
 
    lt_cv_sys_max_cmd_len=16384
5422
 
    #
5423
 
    if test -x /sbin/sysconfig; then
5424
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5425
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5426
 
      esac
5427
 
    fi
5428
 
    ;;
5429
 
  sco3.2v5*)
5430
 
    lt_cv_sys_max_cmd_len=102400
5431
 
    ;;
5432
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5433
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5434
 
    if test -n "$kargmax"; then
5435
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5436
 
    else
5437
 
      lt_cv_sys_max_cmd_len=32768
5438
 
    fi
5439
 
    ;;
5440
 
  *)
5441
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5442
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5443
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5444
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5445
 
    else
5446
 
      # Make teststring a little bigger before we do anything with it.
5447
 
      # a 1K string should be a reasonable start.
5448
 
      for i in 1 2 3 4 5 6 7 8 ; do
5449
 
        teststring=$teststring$teststring
5450
 
      done
5451
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5452
 
      # If test is not a shell built-in, we'll probably end up computing a
5453
 
      # maximum length that is only half of the actual maximum length, but
5454
 
      # we can't tell.
5455
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5456
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5457
 
              test $i != 17 # 1/2 MB should be enough
5458
 
      do
5459
 
        i=`expr $i + 1`
5460
 
        teststring=$teststring$teststring
5461
 
      done
5462
 
      # Only check the string length outside the loop.
5463
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5464
 
      teststring=
5465
 
      # Add a significant safety factor because C++ compilers can tack on
5466
 
      # massive amounts of additional arguments before passing them to the
5467
 
      # linker.  It appears as though 1/2 is a usable value.
5468
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5469
 
    fi
5470
 
    ;;
5471
 
  esac
5472
 
 
5473
 
fi
5474
 
 
5475
 
if test -n $lt_cv_sys_max_cmd_len ; then
5476
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5477
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5478
 
else
5479
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5480
 
$as_echo "none" >&6; }
5481
 
fi
5482
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5483
 
 
5484
 
 
5485
 
 
5486
 
 
5487
 
 
5488
 
 
5489
 
: ${CP="cp -f"}
5490
 
: ${MV="mv -f"}
5491
 
: ${RM="rm -f"}
5492
 
 
5493
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5494
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5495
 
# Try some XSI features
5496
 
xsi_shell=no
5497
 
( _lt_dummy="a/b/c"
5498
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5499
 
      = c,a/b,b/c, \
5500
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5501
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5502
 
  && xsi_shell=yes
5503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5504
 
$as_echo "$xsi_shell" >&6; }
5505
 
 
5506
 
 
5507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5508
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5509
 
lt_shell_append=no
5510
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5511
 
    >/dev/null 2>&1 \
5512
 
  && lt_shell_append=yes
5513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5514
 
$as_echo "$lt_shell_append" >&6; }
5515
 
 
5516
 
 
5517
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5518
 
  lt_unset=unset
5519
 
else
5520
 
  lt_unset=false
5521
 
fi
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
# test EBCDIC or ASCII
5528
 
case `echo X|tr X '\101'` in
5529
 
 A) # ASCII based system
5530
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5531
 
  lt_SP2NL='tr \040 \012'
5532
 
  lt_NL2SP='tr \015\012 \040\040'
5533
 
  ;;
5534
 
 *) # EBCDIC based system
5535
 
  lt_SP2NL='tr \100 \n'
5536
 
  lt_NL2SP='tr \r\n \100\100'
5537
 
  ;;
5538
 
esac
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5549
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5550
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5551
 
  $as_echo_n "(cached) " >&6
5552
 
else
5553
 
  case $host in
5554
 
  *-*-mingw* )
5555
 
    case $build in
5556
 
      *-*-mingw* ) # actually msys
5557
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5558
 
        ;;
5559
 
      *-*-cygwin* )
5560
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5561
 
        ;;
5562
 
      * ) # otherwise, assume *nix
5563
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5564
 
        ;;
5565
 
    esac
5566
 
    ;;
5567
 
  *-*-cygwin* )
5568
 
    case $build in
5569
 
      *-*-mingw* ) # actually msys
5570
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5571
 
        ;;
5572
 
      *-*-cygwin* )
5573
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5574
 
        ;;
5575
 
      * ) # otherwise, assume *nix
5576
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5577
 
        ;;
5578
 
    esac
5579
 
    ;;
5580
 
  * ) # unhandled hosts (and "normal" native builds)
5581
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5582
 
    ;;
5583
 
esac
5584
 
 
5585
 
fi
5586
 
 
5587
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5588
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5589
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5590
 
 
5591
 
 
5592
 
 
5593
 
 
5594
 
 
5595
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5596
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5597
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5598
 
  $as_echo_n "(cached) " >&6
5599
 
else
5600
 
  #assume ordinary cross tools, or native build.
5601
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5602
 
case $host in
5603
 
  *-*-mingw* )
5604
 
    case $build in
5605
 
      *-*-mingw* ) # actually msys
5606
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5607
 
        ;;
5608
 
    esac
5609
 
    ;;
5610
 
esac
5611
 
 
5612
 
fi
5613
 
 
5614
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5615
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5616
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5623
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5624
 
if ${lt_cv_ld_reload_flag+:} false; then :
5625
 
  $as_echo_n "(cached) " >&6
5626
 
else
5627
 
  lt_cv_ld_reload_flag='-r'
5628
 
fi
5629
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5630
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5631
 
reload_flag=$lt_cv_ld_reload_flag
5632
 
case $reload_flag in
5633
 
"" | " "*) ;;
5634
 
*) reload_flag=" $reload_flag" ;;
5635
 
esac
5636
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5637
 
case $host_os in
5638
 
  cygwin* | mingw* | pw32* | cegcc*)
5639
 
    if test "$GCC" != yes; then
5640
 
      reload_cmds=false
5641
 
    fi
5642
 
    ;;
5643
 
  darwin*)
5644
 
    if test "$GCC" = yes; then
5645
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5646
 
    else
5647
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5648
 
    fi
5649
 
    ;;
5650
 
esac
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
5656
 
 
5657
 
 
5658
 
 
5659
 
 
5660
 
if test -n "$ac_tool_prefix"; then
5661
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5662
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664
 
$as_echo_n "checking for $ac_word... " >&6; }
5665
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
5666
 
  $as_echo_n "(cached) " >&6
5667
 
else
5668
 
  if test -n "$OBJDUMP"; then
5669
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5670
 
else
5671
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672
 
for as_dir in $PATH
5673
 
do
5674
 
  IFS=$as_save_IFS
5675
 
  test -z "$as_dir" && as_dir=.
5676
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5677
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5679
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680
 
    break 2
5681
 
  fi
5682
 
done
5683
 
  done
5684
 
IFS=$as_save_IFS
5685
 
 
5686
 
fi
5687
 
fi
5688
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5689
 
if test -n "$OBJDUMP"; then
5690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5691
 
$as_echo "$OBJDUMP" >&6; }
5692
 
else
5693
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694
 
$as_echo "no" >&6; }
5695
 
fi
5696
 
 
5697
 
 
5698
 
fi
5699
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5700
 
  ac_ct_OBJDUMP=$OBJDUMP
5701
 
  # Extract the first word of "objdump", so it can be a program name with args.
5702
 
set dummy objdump; ac_word=$2
5703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704
 
$as_echo_n "checking for $ac_word... " >&6; }
5705
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5706
 
  $as_echo_n "(cached) " >&6
5707
 
else
5708
 
  if test -n "$ac_ct_OBJDUMP"; then
5709
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5710
 
else
5711
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712
 
for as_dir in $PATH
5713
 
do
5714
 
  IFS=$as_save_IFS
5715
 
  test -z "$as_dir" && as_dir=.
5716
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5717
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5718
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5719
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720
 
    break 2
5721
 
  fi
5722
 
done
5723
 
  done
5724
 
IFS=$as_save_IFS
5725
 
 
5726
 
fi
5727
 
fi
5728
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5729
 
if test -n "$ac_ct_OBJDUMP"; then
5730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5731
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5732
 
else
5733
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734
 
$as_echo "no" >&6; }
5735
 
fi
5736
 
 
5737
 
  if test "x$ac_ct_OBJDUMP" = x; then
5738
 
    OBJDUMP="false"
5739
 
  else
5740
 
    case $cross_compiling:$ac_tool_warned in
5741
 
yes:)
5742
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744
 
ac_tool_warned=yes ;;
5745
 
esac
5746
 
    OBJDUMP=$ac_ct_OBJDUMP
5747
 
  fi
5748
 
else
5749
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5750
 
fi
5751
 
 
5752
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5753
 
 
5754
 
 
5755
 
 
5756
 
 
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5763
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5764
 
if ${lt_cv_deplibs_check_method+:} false; then :
5765
 
  $as_echo_n "(cached) " >&6
5766
 
else
5767
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5768
 
lt_cv_file_magic_test_file=
5769
 
lt_cv_deplibs_check_method='unknown'
5770
 
# Need to set the preceding variable on all platforms that support
5771
 
# interlibrary dependencies.
5772
 
# 'none' -- dependencies not supported.
5773
 
# `unknown' -- same as none, but documents that we really don't know.
5774
 
# 'pass_all' -- all dependencies passed with no checks.
5775
 
# 'test_compile' -- check by making test program.
5776
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5777
 
# which responds to the $file_magic_cmd with a given extended regex.
5778
 
# If you have `file' or equivalent on your system and you're not sure
5779
 
# whether `pass_all' will *always* work, you probably want this one.
5780
 
 
5781
 
case $host_os in
5782
 
aix[4-9]*)
5783
 
  lt_cv_deplibs_check_method=pass_all
5784
 
  ;;
5785
 
 
5786
 
beos*)
5787
 
  lt_cv_deplibs_check_method=pass_all
5788
 
  ;;
5789
 
 
5790
 
bsdi[45]*)
5791
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5792
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5793
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5794
 
  ;;
5795
 
 
5796
 
cygwin*)
5797
 
  # func_win32_libid is a shell function defined in ltmain.sh
5798
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5799
 
  lt_cv_file_magic_cmd='func_win32_libid'
5800
 
  ;;
5801
 
 
5802
 
mingw* | pw32*)
5803
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5804
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5805
 
  # unless we find 'file', for example because we are cross-compiling.
5806
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5807
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5808
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5809
 
    lt_cv_file_magic_cmd='func_win32_libid'
5810
 
  else
5811
 
    # Keep this pattern in sync with the one in func_win32_libid.
5812
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5813
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5814
 
  fi
5815
 
  ;;
5816
 
 
5817
 
cegcc*)
5818
 
  # use the weaker test based on 'objdump'. See mingw*.
5819
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5820
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5821
 
  ;;
5822
 
 
5823
 
darwin* | rhapsody*)
5824
 
  lt_cv_deplibs_check_method=pass_all
5825
 
  ;;
5826
 
 
5827
 
freebsd* | dragonfly*)
5828
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5829
 
    case $host_cpu in
5830
 
    i*86 )
5831
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5832
 
      # Let's accept both of them until this is cleared up.
5833
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5834
 
      lt_cv_file_magic_cmd=/usr/bin/file
5835
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5836
 
      ;;
5837
 
    esac
5838
 
  else
5839
 
    lt_cv_deplibs_check_method=pass_all
5840
 
  fi
5841
 
  ;;
5842
 
 
5843
 
gnu*)
5844
 
  lt_cv_deplibs_check_method=pass_all
5845
 
  ;;
5846
 
 
5847
 
haiku*)
5848
 
  lt_cv_deplibs_check_method=pass_all
5849
 
  ;;
5850
 
 
5851
 
hpux10.20* | hpux11*)
5852
 
  lt_cv_file_magic_cmd=/usr/bin/file
5853
 
  case $host_cpu in
5854
 
  ia64*)
5855
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5856
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5857
 
    ;;
5858
 
  hppa*64*)
5859
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5860
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5861
 
    ;;
5862
 
  *)
5863
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5864
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5865
 
    ;;
5866
 
  esac
5867
 
  ;;
5868
 
 
5869
 
interix[3-9]*)
5870
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5871
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5872
 
  ;;
5873
 
 
5874
 
irix5* | irix6* | nonstopux*)
5875
 
  case $LD in
5876
 
  *-32|*"-32 ") libmagic=32-bit;;
5877
 
  *-n32|*"-n32 ") libmagic=N32;;
5878
 
  *-64|*"-64 ") libmagic=64-bit;;
5879
 
  *) libmagic=never-match;;
5880
 
  esac
5881
 
  lt_cv_deplibs_check_method=pass_all
5882
 
  ;;
5883
 
 
5884
 
# This must be glibc/ELF.
5885
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5886
 
  lt_cv_deplibs_check_method=pass_all
5887
 
  ;;
5888
 
 
5889
 
netbsd*)
5890
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5891
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5892
 
  else
5893
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5894
 
  fi
5895
 
  ;;
5896
 
 
5897
 
newos6*)
5898
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5899
 
  lt_cv_file_magic_cmd=/usr/bin/file
5900
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5901
 
  ;;
5902
 
 
5903
 
*nto* | *qnx*)
5904
 
  lt_cv_deplibs_check_method=pass_all
5905
 
  ;;
5906
 
 
5907
 
openbsd*)
5908
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5909
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5910
 
  else
5911
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5912
 
  fi
5913
 
  ;;
5914
 
 
5915
 
osf3* | osf4* | osf5*)
5916
 
  lt_cv_deplibs_check_method=pass_all
5917
 
  ;;
5918
 
 
5919
 
rdos*)
5920
 
  lt_cv_deplibs_check_method=pass_all
5921
 
  ;;
5922
 
 
5923
 
solaris*)
5924
 
  lt_cv_deplibs_check_method=pass_all
5925
 
  ;;
5926
 
 
5927
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5928
 
  lt_cv_deplibs_check_method=pass_all
5929
 
  ;;
5930
 
 
5931
 
sysv4 | sysv4.3*)
5932
 
  case $host_vendor in
5933
 
  motorola)
5934
 
    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]'
5935
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5936
 
    ;;
5937
 
  ncr)
5938
 
    lt_cv_deplibs_check_method=pass_all
5939
 
    ;;
5940
 
  sequent)
5941
 
    lt_cv_file_magic_cmd='/bin/file'
5942
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5943
 
    ;;
5944
 
  sni)
5945
 
    lt_cv_file_magic_cmd='/bin/file'
5946
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5947
 
    lt_cv_file_magic_test_file=/lib/libc.so
5948
 
    ;;
5949
 
  siemens)
5950
 
    lt_cv_deplibs_check_method=pass_all
5951
 
    ;;
5952
 
  pc)
5953
 
    lt_cv_deplibs_check_method=pass_all
5954
 
    ;;
5955
 
  esac
5956
 
  ;;
5957
 
 
5958
 
tpf*)
5959
 
  lt_cv_deplibs_check_method=pass_all
5960
 
  ;;
5961
 
esac
5962
 
 
5963
 
fi
5964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5965
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5966
 
 
5967
 
file_magic_glob=
5968
 
want_nocaseglob=no
5969
 
if test "$build" = "$host"; then
5970
 
  case $host_os in
5971
 
  mingw* | pw32*)
5972
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5973
 
      want_nocaseglob=yes
5974
 
    else
5975
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5976
 
    fi
5977
 
    ;;
5978
 
  esac
5979
 
fi
5980
 
 
5981
 
file_magic_cmd=$lt_cv_file_magic_cmd
5982
 
deplibs_check_method=$lt_cv_deplibs_check_method
5983
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5984
 
 
5985
 
 
5986
 
 
5987
 
 
5988
 
 
5989
 
 
5990
 
 
5991
 
 
5992
 
 
5993
 
 
5994
 
 
5995
 
 
5996
 
 
5997
 
 
5998
 
 
5999
 
 
6000
 
 
6001
 
 
6002
 
 
6003
 
 
6004
 
 
6005
 
 
6006
 
if test -n "$ac_tool_prefix"; then
6007
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6008
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6009
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010
 
$as_echo_n "checking for $ac_word... " >&6; }
6011
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
6012
 
  $as_echo_n "(cached) " >&6
6013
 
else
6014
 
  if test -n "$DLLTOOL"; then
6015
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6016
 
else
6017
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018
 
for as_dir in $PATH
6019
 
do
6020
 
  IFS=$as_save_IFS
6021
 
  test -z "$as_dir" && as_dir=.
6022
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6023
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6025
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6026
 
    break 2
6027
 
  fi
6028
 
done
6029
 
  done
6030
 
IFS=$as_save_IFS
6031
 
 
6032
 
fi
6033
 
fi
6034
 
DLLTOOL=$ac_cv_prog_DLLTOOL
6035
 
if test -n "$DLLTOOL"; then
6036
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6037
 
$as_echo "$DLLTOOL" >&6; }
6038
 
else
6039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040
 
$as_echo "no" >&6; }
6041
 
fi
6042
 
 
6043
 
 
6044
 
fi
6045
 
if test -z "$ac_cv_prog_DLLTOOL"; then
6046
 
  ac_ct_DLLTOOL=$DLLTOOL
6047
 
  # Extract the first word of "dlltool", so it can be a program name with args.
6048
 
set dummy dlltool; ac_word=$2
6049
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050
 
$as_echo_n "checking for $ac_word... " >&6; }
6051
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6052
 
  $as_echo_n "(cached) " >&6
6053
 
else
6054
 
  if test -n "$ac_ct_DLLTOOL"; then
6055
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6056
 
else
6057
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058
 
for as_dir in $PATH
6059
 
do
6060
 
  IFS=$as_save_IFS
6061
 
  test -z "$as_dir" && as_dir=.
6062
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6063
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6065
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066
 
    break 2
6067
 
  fi
6068
 
done
6069
 
  done
6070
 
IFS=$as_save_IFS
6071
 
 
6072
 
fi
6073
 
fi
6074
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6075
 
if test -n "$ac_ct_DLLTOOL"; then
6076
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6077
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
6078
 
else
6079
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080
 
$as_echo "no" >&6; }
6081
 
fi
6082
 
 
6083
 
  if test "x$ac_ct_DLLTOOL" = x; then
6084
 
    DLLTOOL="false"
6085
 
  else
6086
 
    case $cross_compiling:$ac_tool_warned in
6087
 
yes:)
6088
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090
 
ac_tool_warned=yes ;;
6091
 
esac
6092
 
    DLLTOOL=$ac_ct_DLLTOOL
6093
 
  fi
6094
 
else
6095
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6096
 
fi
6097
 
 
6098
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6110
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6111
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6112
 
  $as_echo_n "(cached) " >&6
6113
 
else
6114
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
6115
 
 
6116
 
case $host_os in
6117
 
cygwin* | mingw* | pw32* | cegcc*)
6118
 
  # two different shell functions defined in ltmain.sh
6119
 
  # decide which to use based on capabilities of $DLLTOOL
6120
 
  case `$DLLTOOL --help 2>&1` in
6121
 
  *--identify-strict*)
6122
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6123
 
    ;;
6124
 
  *)
6125
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6126
 
    ;;
6127
 
  esac
6128
 
  ;;
6129
 
*)
6130
 
  # fallback: assume linklib IS sharedlib
6131
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6132
 
  ;;
6133
 
esac
6134
 
 
6135
 
fi
6136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6137
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6138
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6139
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6140
 
 
6141
 
 
6142
 
 
6143
 
 
6144
 
 
6145
 
 
6146
 
 
6147
 
if test -n "$ac_tool_prefix"; then
6148
 
  for ac_prog in ar
6149
 
  do
6150
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6151
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6152
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153
 
$as_echo_n "checking for $ac_word... " >&6; }
6154
 
if ${ac_cv_prog_AR+:} false; then :
6155
 
  $as_echo_n "(cached) " >&6
6156
 
else
6157
 
  if test -n "$AR"; then
6158
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6159
 
else
6160
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161
 
for as_dir in $PATH
6162
 
do
6163
 
  IFS=$as_save_IFS
6164
 
  test -z "$as_dir" && as_dir=.
6165
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6166
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6167
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6168
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169
 
    break 2
6170
 
  fi
6171
 
done
6172
 
  done
6173
 
IFS=$as_save_IFS
6174
 
 
6175
 
fi
6176
 
fi
6177
 
AR=$ac_cv_prog_AR
6178
 
if test -n "$AR"; then
6179
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6180
 
$as_echo "$AR" >&6; }
6181
 
else
6182
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183
 
$as_echo "no" >&6; }
6184
 
fi
6185
 
 
6186
 
 
6187
 
    test -n "$AR" && break
6188
 
  done
6189
 
fi
6190
 
if test -z "$AR"; then
6191
 
  ac_ct_AR=$AR
6192
 
  for ac_prog in ar
6193
 
do
6194
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6195
 
set dummy $ac_prog; ac_word=$2
6196
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197
 
$as_echo_n "checking for $ac_word... " >&6; }
6198
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6199
 
  $as_echo_n "(cached) " >&6
6200
 
else
6201
 
  if test -n "$ac_ct_AR"; then
6202
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6203
 
else
6204
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205
 
for as_dir in $PATH
6206
 
do
6207
 
  IFS=$as_save_IFS
6208
 
  test -z "$as_dir" && as_dir=.
6209
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6210
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
6212
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213
 
    break 2
6214
 
  fi
6215
 
done
6216
 
  done
6217
 
IFS=$as_save_IFS
6218
 
 
6219
 
fi
6220
 
fi
6221
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6222
 
if test -n "$ac_ct_AR"; then
6223
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6224
 
$as_echo "$ac_ct_AR" >&6; }
6225
 
else
6226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227
 
$as_echo "no" >&6; }
6228
 
fi
6229
 
 
6230
 
 
6231
 
  test -n "$ac_ct_AR" && break
6232
 
done
6233
 
 
6234
 
  if test "x$ac_ct_AR" = x; then
6235
 
    AR="false"
6236
 
  else
6237
 
    case $cross_compiling:$ac_tool_warned in
6238
 
yes:)
6239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6240
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6241
 
ac_tool_warned=yes ;;
6242
 
esac
6243
 
    AR=$ac_ct_AR
6244
 
  fi
6245
 
fi
6246
 
 
6247
 
: ${AR=ar}
6248
 
: ${AR_FLAGS=cru}
6249
 
 
6250
 
 
6251
 
 
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6261
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
6262
 
if ${lt_cv_ar_at_file+:} false; then :
6263
 
  $as_echo_n "(cached) " >&6
6264
 
else
6265
 
  lt_cv_ar_at_file=no
6266
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267
 
/* end confdefs.h.  */
6268
 
 
6269
 
int
6270
 
main ()
6271
 
{
6272
 
 
6273
 
  ;
6274
 
  return 0;
6275
 
}
6276
 
_ACEOF
6277
 
if ac_fn_c_try_compile "$LINENO"; then :
6278
 
  echo conftest.$ac_objext > conftest.lst
6279
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6280
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6281
 
  (eval $lt_ar_try) 2>&5
6282
 
  ac_status=$?
6283
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6284
 
  test $ac_status = 0; }
6285
 
      if test "$ac_status" -eq 0; then
6286
 
        # Ensure the archiver fails upon bogus file names.
6287
 
        rm -f conftest.$ac_objext libconftest.a
6288
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6289
 
  (eval $lt_ar_try) 2>&5
6290
 
  ac_status=$?
6291
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292
 
  test $ac_status = 0; }
6293
 
        if test "$ac_status" -ne 0; then
6294
 
          lt_cv_ar_at_file=@
6295
 
        fi
6296
 
      fi
6297
 
      rm -f conftest.* libconftest.a
6298
 
 
6299
 
fi
6300
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6301
 
 
6302
 
fi
6303
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6304
 
$as_echo "$lt_cv_ar_at_file" >&6; }
6305
 
 
6306
 
if test "x$lt_cv_ar_at_file" = xno; then
6307
 
  archiver_list_spec=
6308
 
else
6309
 
  archiver_list_spec=$lt_cv_ar_at_file
6310
 
fi
6311
 
 
6312
 
 
6313
 
 
6314
 
 
6315
 
 
6316
 
 
6317
 
 
6318
 
if test -n "$ac_tool_prefix"; then
6319
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6320
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6321
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322
 
$as_echo_n "checking for $ac_word... " >&6; }
6323
 
if ${ac_cv_prog_STRIP+:} false; then :
6324
 
  $as_echo_n "(cached) " >&6
6325
 
else
6326
 
  if test -n "$STRIP"; then
6327
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6328
 
else
6329
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330
 
for as_dir in $PATH
6331
 
do
6332
 
  IFS=$as_save_IFS
6333
 
  test -z "$as_dir" && as_dir=.
6334
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6335
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6337
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6338
 
    break 2
6339
 
  fi
6340
 
done
6341
 
  done
6342
 
IFS=$as_save_IFS
6343
 
 
6344
 
fi
6345
 
fi
6346
 
STRIP=$ac_cv_prog_STRIP
6347
 
if test -n "$STRIP"; then
6348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6349
 
$as_echo "$STRIP" >&6; }
6350
 
else
6351
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352
 
$as_echo "no" >&6; }
6353
 
fi
6354
 
 
6355
 
 
6356
 
fi
6357
 
if test -z "$ac_cv_prog_STRIP"; then
6358
 
  ac_ct_STRIP=$STRIP
6359
 
  # Extract the first word of "strip", so it can be a program name with args.
6360
 
set dummy strip; ac_word=$2
6361
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362
 
$as_echo_n "checking for $ac_word... " >&6; }
6363
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6364
 
  $as_echo_n "(cached) " >&6
6365
 
else
6366
 
  if test -n "$ac_ct_STRIP"; then
6367
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6368
 
else
6369
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370
 
for as_dir in $PATH
6371
 
do
6372
 
  IFS=$as_save_IFS
6373
 
  test -z "$as_dir" && as_dir=.
6374
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6375
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376
 
    ac_cv_prog_ac_ct_STRIP="strip"
6377
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378
 
    break 2
6379
 
  fi
6380
 
done
6381
 
  done
6382
 
IFS=$as_save_IFS
6383
 
 
6384
 
fi
6385
 
fi
6386
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6387
 
if test -n "$ac_ct_STRIP"; then
6388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6389
 
$as_echo "$ac_ct_STRIP" >&6; }
6390
 
else
6391
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392
 
$as_echo "no" >&6; }
6393
 
fi
6394
 
 
6395
 
  if test "x$ac_ct_STRIP" = x; then
6396
 
    STRIP=":"
6397
 
  else
6398
 
    case $cross_compiling:$ac_tool_warned in
6399
 
yes:)
6400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6401
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6402
 
ac_tool_warned=yes ;;
6403
 
esac
6404
 
    STRIP=$ac_ct_STRIP
6405
 
  fi
6406
 
else
6407
 
  STRIP="$ac_cv_prog_STRIP"
6408
 
fi
6409
 
 
6410
 
test -z "$STRIP" && STRIP=:
6411
 
 
6412
 
 
6413
 
 
6414
 
 
6415
 
 
6416
 
 
6417
 
if test -n "$ac_tool_prefix"; then
6418
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6419
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421
 
$as_echo_n "checking for $ac_word... " >&6; }
6422
 
if ${ac_cv_prog_RANLIB+:} false; then :
6423
 
  $as_echo_n "(cached) " >&6
6424
 
else
6425
 
  if test -n "$RANLIB"; then
6426
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6427
 
else
6428
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429
 
for as_dir in $PATH
6430
 
do
6431
 
  IFS=$as_save_IFS
6432
 
  test -z "$as_dir" && as_dir=.
6433
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6434
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6436
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437
 
    break 2
6438
 
  fi
6439
 
done
6440
 
  done
6441
 
IFS=$as_save_IFS
6442
 
 
6443
 
fi
6444
 
fi
6445
 
RANLIB=$ac_cv_prog_RANLIB
6446
 
if test -n "$RANLIB"; then
6447
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6448
 
$as_echo "$RANLIB" >&6; }
6449
 
else
6450
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451
 
$as_echo "no" >&6; }
6452
 
fi
6453
 
 
6454
 
 
6455
 
fi
6456
 
if test -z "$ac_cv_prog_RANLIB"; then
6457
 
  ac_ct_RANLIB=$RANLIB
6458
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6459
 
set dummy ranlib; ac_word=$2
6460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461
 
$as_echo_n "checking for $ac_word... " >&6; }
6462
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6463
 
  $as_echo_n "(cached) " >&6
6464
 
else
6465
 
  if test -n "$ac_ct_RANLIB"; then
6466
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6467
 
else
6468
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469
 
for as_dir in $PATH
6470
 
do
6471
 
  IFS=$as_save_IFS
6472
 
  test -z "$as_dir" && as_dir=.
6473
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6474
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6476
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6477
 
    break 2
6478
 
  fi
6479
 
done
6480
 
  done
6481
 
IFS=$as_save_IFS
6482
 
 
6483
 
fi
6484
 
fi
6485
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6486
 
if test -n "$ac_ct_RANLIB"; then
6487
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6488
 
$as_echo "$ac_ct_RANLIB" >&6; }
6489
 
else
6490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491
 
$as_echo "no" >&6; }
6492
 
fi
6493
 
 
6494
 
  if test "x$ac_ct_RANLIB" = x; then
6495
 
    RANLIB=":"
6496
 
  else
6497
 
    case $cross_compiling:$ac_tool_warned in
6498
 
yes:)
6499
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6500
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6501
 
ac_tool_warned=yes ;;
6502
 
esac
6503
 
    RANLIB=$ac_ct_RANLIB
6504
 
  fi
6505
 
else
6506
 
  RANLIB="$ac_cv_prog_RANLIB"
6507
 
fi
6508
 
 
6509
 
test -z "$RANLIB" && RANLIB=:
6510
 
 
6511
 
 
6512
 
 
6513
 
 
6514
 
 
6515
 
 
6516
 
# Determine commands to create old-style static archives.
6517
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6518
 
old_postinstall_cmds='chmod 644 $oldlib'
6519
 
old_postuninstall_cmds=
6520
 
 
6521
 
if test -n "$RANLIB"; then
6522
 
  case $host_os in
6523
 
  openbsd*)
6524
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6525
 
    ;;
6526
 
  *)
6527
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6528
 
    ;;
6529
 
  esac
6530
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6531
 
fi
6532
 
 
6533
 
case $host_os in
6534
 
  darwin*)
6535
 
    lock_old_archive_extraction=yes ;;
6536
 
  *)
6537
 
    lock_old_archive_extraction=no ;;
6538
 
esac
6539
 
 
6540
 
 
6541
 
 
6542
 
 
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
 
6550
 
 
6551
 
 
6552
 
 
6553
 
 
6554
 
 
6555
 
 
6556
 
 
6557
 
 
6558
 
 
6559
 
 
6560
 
 
6561
 
 
6562
 
 
6563
 
 
6564
 
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
 
 
6576
 
 
6577
 
 
6578
 
# If no C compiler was specified, use CC.
6579
 
LTCC=${LTCC-"$CC"}
6580
 
 
6581
 
# If no C compiler flags were specified, use CFLAGS.
6582
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6583
 
 
6584
 
# Allow CC to be a program name with arguments.
6585
 
compiler=$CC
6586
 
 
6587
 
 
6588
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6589
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6590
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6591
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6592
 
  $as_echo_n "(cached) " >&6
6593
 
else
6594
 
 
6595
 
# These are sane defaults that work on at least a few old systems.
6596
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6597
 
 
6598
 
# Character class describing NM global symbol codes.
6599
 
symcode='[BCDEGRST]'
6600
 
 
6601
 
# Regexp to match symbols that can be accessed directly from C.
6602
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6603
 
 
6604
 
# Define system-specific variables.
6605
 
case $host_os in
6606
 
aix*)
6607
 
  symcode='[BCDT]'
6608
 
  ;;
6609
 
cygwin* | mingw* | pw32* | cegcc*)
6610
 
  symcode='[ABCDGISTW]'
6611
 
  ;;
6612
 
hpux*)
6613
 
  if test "$host_cpu" = ia64; then
6614
 
    symcode='[ABCDEGRST]'
6615
 
  fi
6616
 
  ;;
6617
 
irix* | nonstopux*)
6618
 
  symcode='[BCDEGRST]'
6619
 
  ;;
6620
 
osf*)
6621
 
  symcode='[BCDEGQRST]'
6622
 
  ;;
6623
 
solaris*)
6624
 
  symcode='[BDRT]'
6625
 
  ;;
6626
 
sco3.2v5*)
6627
 
  symcode='[DT]'
6628
 
  ;;
6629
 
sysv4.2uw2*)
6630
 
  symcode='[DT]'
6631
 
  ;;
6632
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6633
 
  symcode='[ABDT]'
6634
 
  ;;
6635
 
sysv4)
6636
 
  symcode='[DFNSTU]'
6637
 
  ;;
6638
 
esac
6639
 
 
6640
 
# If we're using GNU nm, then use its standard symbol codes.
6641
 
case `$NM -V 2>&1` in
6642
 
*GNU* | *'with BFD'*)
6643
 
  symcode='[ABCDGIRSTW]' ;;
6644
 
esac
6645
 
 
6646
 
# Transform an extracted symbol line into a proper C declaration.
6647
 
# Some systems (esp. on ia64) link data and code symbols differently,
6648
 
# so use this general approach.
6649
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6650
 
 
6651
 
# Transform an extracted symbol line into symbol name and symbol address
6652
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6653
 
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'"
6654
 
 
6655
 
# Handle CRLF in mingw tool chain
6656
 
opt_cr=
6657
 
case $build_os in
6658
 
mingw*)
6659
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6660
 
  ;;
6661
 
esac
6662
 
 
6663
 
# Try without a prefix underscore, then with it.
6664
 
for ac_symprfx in "" "_"; do
6665
 
 
6666
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6667
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6668
 
 
6669
 
  # Write the raw and C identifiers.
6670
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6671
 
    # Fake it for dumpbin and say T for any non-static function
6672
 
    # and D for any global variable.
6673
 
    # Also find C++ and __fastcall symbols from MSVC++,
6674
 
    # which start with @ or ?.
6675
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6676
 
"     {last_section=section; section=\$ 3};"\
6677
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6678
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6679
 
"     \$ 0!~/External *\|/{next};"\
6680
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6681
 
"     {if(hide[section]) next};"\
6682
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6683
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6684
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6685
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6686
 
"     ' prfx=^$ac_symprfx"
6687
 
  else
6688
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6689
 
  fi
6690
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6691
 
 
6692
 
  # Check to see that the pipe works correctly.
6693
 
  pipe_works=no
6694
 
 
6695
 
  rm -f conftest*
6696
 
  cat > conftest.$ac_ext <<_LT_EOF
6697
 
#ifdef __cplusplus
6698
 
extern "C" {
6699
 
#endif
6700
 
char nm_test_var;
6701
 
void nm_test_func(void);
6702
 
void nm_test_func(void){}
6703
 
#ifdef __cplusplus
6704
 
}
6705
 
#endif
6706
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6707
 
_LT_EOF
6708
 
 
6709
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710
 
  (eval $ac_compile) 2>&5
6711
 
  ac_status=$?
6712
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713
 
  test $ac_status = 0; }; then
6714
 
    # Now try to grab the symbols.
6715
 
    nlist=conftest.nm
6716
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6717
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6718
 
  ac_status=$?
6719
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6720
 
  test $ac_status = 0; } && test -s "$nlist"; then
6721
 
      # Try sorting and uniquifying the output.
6722
 
      if sort "$nlist" | uniq > "$nlist"T; then
6723
 
        mv -f "$nlist"T "$nlist"
6724
 
      else
6725
 
        rm -f "$nlist"T
6726
 
      fi
6727
 
 
6728
 
      # Make sure that we snagged all the symbols we need.
6729
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6730
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6731
 
          cat <<_LT_EOF > conftest.$ac_ext
6732
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6733
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6734
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6735
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6736
 
# define LT_DLSYM_CONST
6737
 
#elif defined(__osf__)
6738
 
/* This system does not cope well with relocations in const data.  */
6739
 
# define LT_DLSYM_CONST
6740
 
#else
6741
 
# define LT_DLSYM_CONST const
6742
 
#endif
6743
 
 
6744
 
#ifdef __cplusplus
6745
 
extern "C" {
6746
 
#endif
6747
 
 
6748
 
_LT_EOF
6749
 
          # Now generate the symbol file.
6750
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6751
 
 
6752
 
          cat <<_LT_EOF >> conftest.$ac_ext
6753
 
 
6754
 
/* The mapping between symbol names and symbols.  */
6755
 
LT_DLSYM_CONST struct {
6756
 
  const char *name;
6757
 
  void       *address;
6758
 
}
6759
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6760
 
{
6761
 
  { "@PROGRAM@", (void *) 0 },
6762
 
_LT_EOF
6763
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6764
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6765
 
  {0, (void *) 0}
6766
 
};
6767
 
 
6768
 
/* This works around a problem in FreeBSD linker */
6769
 
#ifdef FREEBSD_WORKAROUND
6770
 
static const void *lt_preloaded_setup() {
6771
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6772
 
}
6773
 
#endif
6774
 
 
6775
 
#ifdef __cplusplus
6776
 
}
6777
 
#endif
6778
 
_LT_EOF
6779
 
          # Now try linking the two files.
6780
 
          mv conftest.$ac_objext conftstm.$ac_objext
6781
 
          lt_globsym_save_LIBS=$LIBS
6782
 
          lt_globsym_save_CFLAGS=$CFLAGS
6783
 
          LIBS="conftstm.$ac_objext"
6784
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6785
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6786
 
  (eval $ac_link) 2>&5
6787
 
  ac_status=$?
6788
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6789
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6790
 
            pipe_works=yes
6791
 
          fi
6792
 
          LIBS=$lt_globsym_save_LIBS
6793
 
          CFLAGS=$lt_globsym_save_CFLAGS
6794
 
        else
6795
 
          echo "cannot find nm_test_func in $nlist" >&5
6796
 
        fi
6797
 
      else
6798
 
        echo "cannot find nm_test_var in $nlist" >&5
6799
 
      fi
6800
 
    else
6801
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6802
 
    fi
6803
 
  else
6804
 
    echo "$progname: failed program was:" >&5
6805
 
    cat conftest.$ac_ext >&5
6806
 
  fi
6807
 
  rm -rf conftest* conftst*
6808
 
 
6809
 
  # Do not use the global_symbol_pipe unless it works.
6810
 
  if test "$pipe_works" = yes; then
6811
 
    break
6812
 
  else
6813
 
    lt_cv_sys_global_symbol_pipe=
6814
 
  fi
6815
 
done
6816
 
 
6817
 
fi
6818
 
 
6819
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6820
 
  lt_cv_sys_global_symbol_to_cdecl=
6821
 
fi
6822
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6823
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6824
 
$as_echo "failed" >&6; }
6825
 
else
6826
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6827
 
$as_echo "ok" >&6; }
6828
 
fi
6829
 
 
6830
 
# Response file support.
6831
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6832
 
  nm_file_list_spec='@'
6833
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6834
 
  nm_file_list_spec='@'
6835
 
fi
6836
 
 
6837
 
 
6838
 
 
6839
 
 
6840
 
 
6841
 
 
6842
 
 
6843
 
 
6844
 
 
6845
 
 
6846
 
 
6847
 
 
6848
 
 
6849
 
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
 
6863
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6864
 
$as_echo_n "checking for sysroot... " >&6; }
6865
 
 
6866
 
# Check whether --with-sysroot was given.
6867
 
if test "${with_sysroot+set}" = set; then :
6868
 
  withval=$with_sysroot;
6869
 
else
6870
 
  with_sysroot=no
6871
 
fi
6872
 
 
6873
 
 
6874
 
lt_sysroot=
6875
 
case ${with_sysroot} in #(
6876
 
 yes)
6877
 
   if test "$GCC" = yes; then
6878
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6879
 
   fi
6880
 
   ;; #(
6881
 
 /*)
6882
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6883
 
   ;; #(
6884
 
 no|'')
6885
 
   ;; #(
6886
 
 *)
6887
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6888
 
$as_echo "${with_sysroot}" >&6; }
6889
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6890
 
   ;;
6891
 
esac
6892
 
 
6893
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6894
 
$as_echo "${lt_sysroot:-no}" >&6; }
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
# Check whether --enable-libtool-lock was given.
6901
 
if test "${enable_libtool_lock+set}" = set; then :
6902
 
  enableval=$enable_libtool_lock;
6903
 
fi
6904
 
 
6905
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6906
 
 
6907
 
# Some flags need to be propagated to the compiler or linker for good
6908
 
# libtool support.
6909
 
case $host in
6910
 
ia64-*-hpux*)
6911
 
  # Find out which ABI we are using.
6912
 
  echo 'int i;' > conftest.$ac_ext
6913
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914
 
  (eval $ac_compile) 2>&5
6915
 
  ac_status=$?
6916
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917
 
  test $ac_status = 0; }; then
6918
 
    case `/usr/bin/file conftest.$ac_objext` in
6919
 
      *ELF-32*)
6920
 
        HPUX_IA64_MODE="32"
6921
 
        ;;
6922
 
      *ELF-64*)
6923
 
        HPUX_IA64_MODE="64"
6924
 
        ;;
6925
 
    esac
6926
 
  fi
6927
 
  rm -rf conftest*
6928
 
  ;;
6929
 
*-*-irix6*)
6930
 
  # Find out which ABI we are using.
6931
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6932
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933
 
  (eval $ac_compile) 2>&5
6934
 
  ac_status=$?
6935
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936
 
  test $ac_status = 0; }; then
6937
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6938
 
      case `/usr/bin/file conftest.$ac_objext` in
6939
 
        *32-bit*)
6940
 
          LD="${LD-ld} -melf32bsmip"
6941
 
          ;;
6942
 
        *N32*)
6943
 
          LD="${LD-ld} -melf32bmipn32"
6944
 
          ;;
6945
 
        *64-bit*)
6946
 
          LD="${LD-ld} -melf64bmip"
6947
 
        ;;
6948
 
      esac
6949
 
    else
6950
 
      case `/usr/bin/file conftest.$ac_objext` in
6951
 
        *32-bit*)
6952
 
          LD="${LD-ld} -32"
6953
 
          ;;
6954
 
        *N32*)
6955
 
          LD="${LD-ld} -n32"
6956
 
          ;;
6957
 
        *64-bit*)
6958
 
          LD="${LD-ld} -64"
6959
 
          ;;
6960
 
      esac
6961
 
    fi
6962
 
  fi
6963
 
  rm -rf conftest*
6964
 
  ;;
6965
 
 
6966
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6967
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6968
 
  # Find out which ABI we are using.
6969
 
  echo 'int i;' > conftest.$ac_ext
6970
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6971
 
  (eval $ac_compile) 2>&5
6972
 
  ac_status=$?
6973
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6974
 
  test $ac_status = 0; }; then
6975
 
    case `/usr/bin/file conftest.o` in
6976
 
      *32-bit*)
6977
 
        case $host in
6978
 
          x86_64-*kfreebsd*-gnu)
6979
 
            LD="${LD-ld} -m elf_i386_fbsd"
6980
 
            ;;
6981
 
          x86_64-*linux*)
6982
 
            LD="${LD-ld} -m elf_i386"
6983
 
            ;;
6984
 
          ppc64-*linux*|powerpc64-*linux*)
6985
 
            LD="${LD-ld} -m elf32ppclinux"
6986
 
            ;;
6987
 
          s390x-*linux*)
6988
 
            LD="${LD-ld} -m elf_s390"
6989
 
            ;;
6990
 
          sparc64-*linux*)
6991
 
            LD="${LD-ld} -m elf32_sparc"
6992
 
            ;;
6993
 
        esac
6994
 
        ;;
6995
 
      *64-bit*)
6996
 
        case $host in
6997
 
          x86_64-*kfreebsd*-gnu)
6998
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6999
 
            ;;
7000
 
          x86_64-*linux*)
7001
 
            LD="${LD-ld} -m elf_x86_64"
7002
 
            ;;
7003
 
          ppc*-*linux*|powerpc*-*linux*)
7004
 
            LD="${LD-ld} -m elf64ppc"
7005
 
            ;;
7006
 
          s390*-*linux*|s390*-*tpf*)
7007
 
            LD="${LD-ld} -m elf64_s390"
7008
 
            ;;
7009
 
          sparc*-*linux*)
7010
 
            LD="${LD-ld} -m elf64_sparc"
7011
 
            ;;
7012
 
        esac
7013
 
        ;;
7014
 
    esac
7015
 
  fi
7016
 
  rm -rf conftest*
7017
 
  ;;
7018
 
 
7019
 
*-*-sco3.2v5*)
7020
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7021
 
  SAVE_CFLAGS="$CFLAGS"
7022
 
  CFLAGS="$CFLAGS -belf"
7023
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7024
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7025
 
if ${lt_cv_cc_needs_belf+:} false; then :
7026
 
  $as_echo_n "(cached) " >&6
7027
 
else
7028
 
  ac_ext=c
7029
 
ac_cpp='$CPP $CPPFLAGS'
7030
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7033
 
 
7034
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035
 
/* end confdefs.h.  */
7036
 
 
7037
 
int
7038
 
main ()
7039
 
{
7040
 
 
7041
 
  ;
7042
 
  return 0;
7043
 
}
7044
 
_ACEOF
7045
 
if ac_fn_c_try_link "$LINENO"; then :
7046
 
  lt_cv_cc_needs_belf=yes
7047
 
else
7048
 
  lt_cv_cc_needs_belf=no
7049
 
fi
7050
 
rm -f core conftest.err conftest.$ac_objext \
7051
 
    conftest$ac_exeext conftest.$ac_ext
7052
 
     ac_ext=c
7053
 
ac_cpp='$CPP $CPPFLAGS'
7054
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7057
 
 
7058
 
fi
7059
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7060
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7061
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7062
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7063
 
    CFLAGS="$SAVE_CFLAGS"
7064
 
  fi
7065
 
  ;;
7066
 
*-*solaris*)
7067
 
  # Find out which ABI we are using.
7068
 
  echo 'int i;' > conftest.$ac_ext
7069
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070
 
  (eval $ac_compile) 2>&5
7071
 
  ac_status=$?
7072
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073
 
  test $ac_status = 0; }; then
7074
 
    case `/usr/bin/file conftest.o` in
7075
 
    *64-bit*)
7076
 
      case $lt_cv_prog_gnu_ld in
7077
 
      yes*)
7078
 
        case $host in
7079
 
        i?86-*-solaris*)
7080
 
          LD="${LD-ld} -m elf_x86_64"
7081
 
          ;;
7082
 
        sparc*-*-solaris*)
7083
 
          LD="${LD-ld} -m elf64_sparc"
7084
 
          ;;
7085
 
        esac
7086
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7087
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7088
 
          LD="${LD-ld}_sol2"
7089
 
        fi
7090
 
        ;;
7091
 
      *)
7092
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7093
 
          LD="${LD-ld} -64"
7094
 
        fi
7095
 
        ;;
7096
 
      esac
7097
 
      ;;
7098
 
    esac
7099
 
  fi
7100
 
  rm -rf conftest*
7101
 
  ;;
7102
 
esac
7103
 
 
7104
 
need_locks="$enable_libtool_lock"
7105
 
 
7106
 
if test -n "$ac_tool_prefix"; then
7107
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7108
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
7109
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110
 
$as_echo_n "checking for $ac_word... " >&6; }
7111
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7112
 
  $as_echo_n "(cached) " >&6
7113
 
else
7114
 
  if test -n "$MANIFEST_TOOL"; then
7115
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7116
 
else
7117
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118
 
for as_dir in $PATH
7119
 
do
7120
 
  IFS=$as_save_IFS
7121
 
  test -z "$as_dir" && as_dir=.
7122
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7123
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7125
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126
 
    break 2
7127
 
  fi
7128
 
done
7129
 
  done
7130
 
IFS=$as_save_IFS
7131
 
 
7132
 
fi
7133
 
fi
7134
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7135
 
if test -n "$MANIFEST_TOOL"; then
7136
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7137
 
$as_echo "$MANIFEST_TOOL" >&6; }
7138
 
else
7139
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140
 
$as_echo "no" >&6; }
7141
 
fi
7142
 
 
7143
 
 
7144
 
fi
7145
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7146
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7147
 
  # Extract the first word of "mt", so it can be a program name with args.
7148
 
set dummy mt; ac_word=$2
7149
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150
 
$as_echo_n "checking for $ac_word... " >&6; }
7151
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7152
 
  $as_echo_n "(cached) " >&6
7153
 
else
7154
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
7155
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7156
 
else
7157
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158
 
for as_dir in $PATH
7159
 
do
7160
 
  IFS=$as_save_IFS
7161
 
  test -z "$as_dir" && as_dir=.
7162
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7163
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7164
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7165
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166
 
    break 2
7167
 
  fi
7168
 
done
7169
 
  done
7170
 
IFS=$as_save_IFS
7171
 
 
7172
 
fi
7173
 
fi
7174
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7175
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
7176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7177
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7178
 
else
7179
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180
 
$as_echo "no" >&6; }
7181
 
fi
7182
 
 
7183
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7184
 
    MANIFEST_TOOL=":"
7185
 
  else
7186
 
    case $cross_compiling:$ac_tool_warned in
7187
 
yes:)
7188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7189
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7190
 
ac_tool_warned=yes ;;
7191
 
esac
7192
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7193
 
  fi
7194
 
else
7195
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7196
 
fi
7197
 
 
7198
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7199
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7200
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7201
 
if ${lt_cv_path_mainfest_tool+:} false; then :
7202
 
  $as_echo_n "(cached) " >&6
7203
 
else
7204
 
  lt_cv_path_mainfest_tool=no
7205
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7206
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7207
 
  cat conftest.err >&5
7208
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7209
 
    lt_cv_path_mainfest_tool=yes
7210
 
  fi
7211
 
  rm -f conftest*
7212
 
fi
7213
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7214
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7215
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7216
 
  MANIFEST_TOOL=:
7217
 
fi
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
 
  case $host_os in
7225
 
    rhapsody* | darwin*)
7226
 
    if test -n "$ac_tool_prefix"; then
7227
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7228
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7230
 
$as_echo_n "checking for $ac_word... " >&6; }
7231
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7232
 
  $as_echo_n "(cached) " >&6
7233
 
else
7234
 
  if test -n "$DSYMUTIL"; then
7235
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7236
 
else
7237
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238
 
for as_dir in $PATH
7239
 
do
7240
 
  IFS=$as_save_IFS
7241
 
  test -z "$as_dir" && as_dir=.
7242
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7243
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7245
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246
 
    break 2
7247
 
  fi
7248
 
done
7249
 
  done
7250
 
IFS=$as_save_IFS
7251
 
 
7252
 
fi
7253
 
fi
7254
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7255
 
if test -n "$DSYMUTIL"; then
7256
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7257
 
$as_echo "$DSYMUTIL" >&6; }
7258
 
else
7259
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260
 
$as_echo "no" >&6; }
7261
 
fi
7262
 
 
7263
 
 
7264
 
fi
7265
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7266
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7267
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7268
 
set dummy dsymutil; ac_word=$2
7269
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7270
 
$as_echo_n "checking for $ac_word... " >&6; }
7271
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7272
 
  $as_echo_n "(cached) " >&6
7273
 
else
7274
 
  if test -n "$ac_ct_DSYMUTIL"; then
7275
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7276
 
else
7277
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278
 
for as_dir in $PATH
7279
 
do
7280
 
  IFS=$as_save_IFS
7281
 
  test -z "$as_dir" && as_dir=.
7282
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7283
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7285
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286
 
    break 2
7287
 
  fi
7288
 
done
7289
 
  done
7290
 
IFS=$as_save_IFS
7291
 
 
7292
 
fi
7293
 
fi
7294
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7295
 
if test -n "$ac_ct_DSYMUTIL"; then
7296
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7297
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7298
 
else
7299
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300
 
$as_echo "no" >&6; }
7301
 
fi
7302
 
 
7303
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7304
 
    DSYMUTIL=":"
7305
 
  else
7306
 
    case $cross_compiling:$ac_tool_warned in
7307
 
yes:)
7308
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7309
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7310
 
ac_tool_warned=yes ;;
7311
 
esac
7312
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7313
 
  fi
7314
 
else
7315
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7316
 
fi
7317
 
 
7318
 
    if test -n "$ac_tool_prefix"; then
7319
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7320
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7321
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322
 
$as_echo_n "checking for $ac_word... " >&6; }
7323
 
if ${ac_cv_prog_NMEDIT+:} false; then :
7324
 
  $as_echo_n "(cached) " >&6
7325
 
else
7326
 
  if test -n "$NMEDIT"; then
7327
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7328
 
else
7329
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330
 
for as_dir in $PATH
7331
 
do
7332
 
  IFS=$as_save_IFS
7333
 
  test -z "$as_dir" && as_dir=.
7334
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7335
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7337
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338
 
    break 2
7339
 
  fi
7340
 
done
7341
 
  done
7342
 
IFS=$as_save_IFS
7343
 
 
7344
 
fi
7345
 
fi
7346
 
NMEDIT=$ac_cv_prog_NMEDIT
7347
 
if test -n "$NMEDIT"; then
7348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7349
 
$as_echo "$NMEDIT" >&6; }
7350
 
else
7351
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352
 
$as_echo "no" >&6; }
7353
 
fi
7354
 
 
7355
 
 
7356
 
fi
7357
 
if test -z "$ac_cv_prog_NMEDIT"; then
7358
 
  ac_ct_NMEDIT=$NMEDIT
7359
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7360
 
set dummy nmedit; ac_word=$2
7361
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362
 
$as_echo_n "checking for $ac_word... " >&6; }
7363
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7364
 
  $as_echo_n "(cached) " >&6
7365
 
else
7366
 
  if test -n "$ac_ct_NMEDIT"; then
7367
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7368
 
else
7369
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370
 
for as_dir in $PATH
7371
 
do
7372
 
  IFS=$as_save_IFS
7373
 
  test -z "$as_dir" && as_dir=.
7374
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7375
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7376
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7377
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378
 
    break 2
7379
 
  fi
7380
 
done
7381
 
  done
7382
 
IFS=$as_save_IFS
7383
 
 
7384
 
fi
7385
 
fi
7386
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7387
 
if test -n "$ac_ct_NMEDIT"; then
7388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7389
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7390
 
else
7391
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392
 
$as_echo "no" >&6; }
7393
 
fi
7394
 
 
7395
 
  if test "x$ac_ct_NMEDIT" = x; then
7396
 
    NMEDIT=":"
7397
 
  else
7398
 
    case $cross_compiling:$ac_tool_warned in
7399
 
yes:)
7400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7401
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7402
 
ac_tool_warned=yes ;;
7403
 
esac
7404
 
    NMEDIT=$ac_ct_NMEDIT
7405
 
  fi
7406
 
else
7407
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7408
 
fi
7409
 
 
7410
 
    if test -n "$ac_tool_prefix"; then
7411
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7412
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7413
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414
 
$as_echo_n "checking for $ac_word... " >&6; }
7415
 
if ${ac_cv_prog_LIPO+:} false; then :
7416
 
  $as_echo_n "(cached) " >&6
7417
 
else
7418
 
  if test -n "$LIPO"; then
7419
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7420
 
else
7421
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422
 
for as_dir in $PATH
7423
 
do
7424
 
  IFS=$as_save_IFS
7425
 
  test -z "$as_dir" && as_dir=.
7426
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7427
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7429
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430
 
    break 2
7431
 
  fi
7432
 
done
7433
 
  done
7434
 
IFS=$as_save_IFS
7435
 
 
7436
 
fi
7437
 
fi
7438
 
LIPO=$ac_cv_prog_LIPO
7439
 
if test -n "$LIPO"; then
7440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7441
 
$as_echo "$LIPO" >&6; }
7442
 
else
7443
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444
 
$as_echo "no" >&6; }
7445
 
fi
7446
 
 
7447
 
 
7448
 
fi
7449
 
if test -z "$ac_cv_prog_LIPO"; then
7450
 
  ac_ct_LIPO=$LIPO
7451
 
  # Extract the first word of "lipo", so it can be a program name with args.
7452
 
set dummy lipo; ac_word=$2
7453
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454
 
$as_echo_n "checking for $ac_word... " >&6; }
7455
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7456
 
  $as_echo_n "(cached) " >&6
7457
 
else
7458
 
  if test -n "$ac_ct_LIPO"; then
7459
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7460
 
else
7461
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462
 
for as_dir in $PATH
7463
 
do
7464
 
  IFS=$as_save_IFS
7465
 
  test -z "$as_dir" && as_dir=.
7466
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7467
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7468
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7469
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470
 
    break 2
7471
 
  fi
7472
 
done
7473
 
  done
7474
 
IFS=$as_save_IFS
7475
 
 
7476
 
fi
7477
 
fi
7478
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7479
 
if test -n "$ac_ct_LIPO"; then
7480
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7481
 
$as_echo "$ac_ct_LIPO" >&6; }
7482
 
else
7483
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484
 
$as_echo "no" >&6; }
7485
 
fi
7486
 
 
7487
 
  if test "x$ac_ct_LIPO" = x; then
7488
 
    LIPO=":"
7489
 
  else
7490
 
    case $cross_compiling:$ac_tool_warned in
7491
 
yes:)
7492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7493
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7494
 
ac_tool_warned=yes ;;
7495
 
esac
7496
 
    LIPO=$ac_ct_LIPO
7497
 
  fi
7498
 
else
7499
 
  LIPO="$ac_cv_prog_LIPO"
7500
 
fi
7501
 
 
7502
 
    if test -n "$ac_tool_prefix"; then
7503
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7504
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7505
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506
 
$as_echo_n "checking for $ac_word... " >&6; }
7507
 
if ${ac_cv_prog_OTOOL+:} false; then :
7508
 
  $as_echo_n "(cached) " >&6
7509
 
else
7510
 
  if test -n "$OTOOL"; then
7511
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7512
 
else
7513
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514
 
for as_dir in $PATH
7515
 
do
7516
 
  IFS=$as_save_IFS
7517
 
  test -z "$as_dir" && as_dir=.
7518
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7519
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7521
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522
 
    break 2
7523
 
  fi
7524
 
done
7525
 
  done
7526
 
IFS=$as_save_IFS
7527
 
 
7528
 
fi
7529
 
fi
7530
 
OTOOL=$ac_cv_prog_OTOOL
7531
 
if test -n "$OTOOL"; then
7532
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7533
 
$as_echo "$OTOOL" >&6; }
7534
 
else
7535
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536
 
$as_echo "no" >&6; }
7537
 
fi
7538
 
 
7539
 
 
7540
 
fi
7541
 
if test -z "$ac_cv_prog_OTOOL"; then
7542
 
  ac_ct_OTOOL=$OTOOL
7543
 
  # Extract the first word of "otool", so it can be a program name with args.
7544
 
set dummy otool; ac_word=$2
7545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546
 
$as_echo_n "checking for $ac_word... " >&6; }
7547
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7548
 
  $as_echo_n "(cached) " >&6
7549
 
else
7550
 
  if test -n "$ac_ct_OTOOL"; then
7551
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7552
 
else
7553
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554
 
for as_dir in $PATH
7555
 
do
7556
 
  IFS=$as_save_IFS
7557
 
  test -z "$as_dir" && as_dir=.
7558
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7559
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7561
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562
 
    break 2
7563
 
  fi
7564
 
done
7565
 
  done
7566
 
IFS=$as_save_IFS
7567
 
 
7568
 
fi
7569
 
fi
7570
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7571
 
if test -n "$ac_ct_OTOOL"; then
7572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7573
 
$as_echo "$ac_ct_OTOOL" >&6; }
7574
 
else
7575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576
 
$as_echo "no" >&6; }
7577
 
fi
7578
 
 
7579
 
  if test "x$ac_ct_OTOOL" = x; then
7580
 
    OTOOL=":"
7581
 
  else
7582
 
    case $cross_compiling:$ac_tool_warned in
7583
 
yes:)
7584
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7585
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7586
 
ac_tool_warned=yes ;;
7587
 
esac
7588
 
    OTOOL=$ac_ct_OTOOL
7589
 
  fi
7590
 
else
7591
 
  OTOOL="$ac_cv_prog_OTOOL"
7592
 
fi
7593
 
 
7594
 
    if test -n "$ac_tool_prefix"; then
7595
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7596
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598
 
$as_echo_n "checking for $ac_word... " >&6; }
7599
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7600
 
  $as_echo_n "(cached) " >&6
7601
 
else
7602
 
  if test -n "$OTOOL64"; then
7603
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7604
 
else
7605
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606
 
for as_dir in $PATH
7607
 
do
7608
 
  IFS=$as_save_IFS
7609
 
  test -z "$as_dir" && as_dir=.
7610
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7611
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7612
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7613
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614
 
    break 2
7615
 
  fi
7616
 
done
7617
 
  done
7618
 
IFS=$as_save_IFS
7619
 
 
7620
 
fi
7621
 
fi
7622
 
OTOOL64=$ac_cv_prog_OTOOL64
7623
 
if test -n "$OTOOL64"; then
7624
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7625
 
$as_echo "$OTOOL64" >&6; }
7626
 
else
7627
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628
 
$as_echo "no" >&6; }
7629
 
fi
7630
 
 
7631
 
 
7632
 
fi
7633
 
if test -z "$ac_cv_prog_OTOOL64"; then
7634
 
  ac_ct_OTOOL64=$OTOOL64
7635
 
  # Extract the first word of "otool64", so it can be a program name with args.
7636
 
set dummy otool64; ac_word=$2
7637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638
 
$as_echo_n "checking for $ac_word... " >&6; }
7639
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7640
 
  $as_echo_n "(cached) " >&6
7641
 
else
7642
 
  if test -n "$ac_ct_OTOOL64"; then
7643
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7644
 
else
7645
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646
 
for as_dir in $PATH
7647
 
do
7648
 
  IFS=$as_save_IFS
7649
 
  test -z "$as_dir" && as_dir=.
7650
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7651
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7652
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7653
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654
 
    break 2
7655
 
  fi
7656
 
done
7657
 
  done
7658
 
IFS=$as_save_IFS
7659
 
 
7660
 
fi
7661
 
fi
7662
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7663
 
if test -n "$ac_ct_OTOOL64"; then
7664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7665
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7666
 
else
7667
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668
 
$as_echo "no" >&6; }
7669
 
fi
7670
 
 
7671
 
  if test "x$ac_ct_OTOOL64" = x; then
7672
 
    OTOOL64=":"
7673
 
  else
7674
 
    case $cross_compiling:$ac_tool_warned in
7675
 
yes:)
7676
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7677
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7678
 
ac_tool_warned=yes ;;
7679
 
esac
7680
 
    OTOOL64=$ac_ct_OTOOL64
7681
 
  fi
7682
 
else
7683
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7684
 
fi
7685
 
 
7686
 
 
7687
 
 
7688
 
 
7689
 
 
7690
 
 
7691
 
 
7692
 
 
7693
 
 
7694
 
 
7695
 
 
7696
 
 
7697
 
 
7698
 
 
7699
 
 
7700
 
 
7701
 
 
7702
 
 
7703
 
 
7704
 
 
7705
 
 
7706
 
 
7707
 
 
7708
 
 
7709
 
 
7710
 
 
7711
 
 
7712
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7713
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7714
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7715
 
  $as_echo_n "(cached) " >&6
7716
 
else
7717
 
  lt_cv_apple_cc_single_mod=no
7718
 
      if test -z "${LT_MULTI_MODULE}"; then
7719
 
        # By default we will add the -single_module flag. You can override
7720
 
        # by either setting the environment variable LT_MULTI_MODULE
7721
 
        # non-empty at configure time, or by adding -multi_module to the
7722
 
        # link flags.
7723
 
        rm -rf libconftest.dylib*
7724
 
        echo "int foo(void){return 1;}" > conftest.c
7725
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7726
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7727
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7728
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7729
 
        _lt_result=$?
7730
 
        # If there is a non-empty error log, and "single_module"
7731
 
        # appears in it, assume the flag caused a linker warning
7732
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7733
 
          cat conftest.err >&5
7734
 
        # Otherwise, if the output was created with a 0 exit code from
7735
 
        # the compiler, it worked.
7736
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7737
 
          lt_cv_apple_cc_single_mod=yes
7738
 
        else
7739
 
          cat conftest.err >&5
7740
 
        fi
7741
 
        rm -rf libconftest.dylib*
7742
 
        rm -f conftest.*
7743
 
      fi
7744
 
fi
7745
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7746
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7747
 
 
7748
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7749
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7750
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7751
 
  $as_echo_n "(cached) " >&6
7752
 
else
7753
 
  lt_cv_ld_exported_symbols_list=no
7754
 
      save_LDFLAGS=$LDFLAGS
7755
 
      echo "_main" > conftest.sym
7756
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7757
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758
 
/* end confdefs.h.  */
7759
 
 
7760
 
int
7761
 
main ()
7762
 
{
7763
 
 
7764
 
  ;
7765
 
  return 0;
7766
 
}
7767
 
_ACEOF
7768
 
if ac_fn_c_try_link "$LINENO"; then :
7769
 
  lt_cv_ld_exported_symbols_list=yes
7770
 
else
7771
 
  lt_cv_ld_exported_symbols_list=no
7772
 
fi
7773
 
rm -f core conftest.err conftest.$ac_objext \
7774
 
    conftest$ac_exeext conftest.$ac_ext
7775
 
        LDFLAGS="$save_LDFLAGS"
7776
 
 
7777
 
fi
7778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780
 
 
7781
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7782
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7783
 
if ${lt_cv_ld_force_load+:} false; then :
7784
 
  $as_echo_n "(cached) " >&6
7785
 
else
7786
 
  lt_cv_ld_force_load=no
7787
 
      cat > conftest.c << _LT_EOF
7788
 
int forced_loaded() { return 2;}
7789
 
_LT_EOF
7790
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7791
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7792
 
      echo "$AR cru libconftest.a conftest.o" >&5
7793
 
      $AR cru libconftest.a conftest.o 2>&5
7794
 
      echo "$RANLIB libconftest.a" >&5
7795
 
      $RANLIB libconftest.a 2>&5
7796
 
      cat > conftest.c << _LT_EOF
7797
 
int main() { return 0;}
7798
 
_LT_EOF
7799
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7800
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7801
 
      _lt_result=$?
7802
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7803
 
        cat conftest.err >&5
7804
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7805
 
        lt_cv_ld_force_load=yes
7806
 
      else
7807
 
        cat conftest.err >&5
7808
 
      fi
7809
 
        rm -f conftest.err libconftest.a conftest conftest.c
7810
 
        rm -rf conftest.dSYM
7811
 
 
7812
 
fi
7813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7814
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7815
 
    case $host_os in
7816
 
    rhapsody* | darwin1.[012])
7817
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7818
 
    darwin1.*)
7819
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7820
 
    darwin*) # darwin 5.x on
7821
 
      # if running on 10.5 or later, the deployment target defaults
7822
 
      # to the OS version, if on x86, and 10.4, the deployment
7823
 
      # target defaults to 10.4. Don't you love it?
7824
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7825
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7826
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7827
 
        10.[012]*)
7828
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7829
 
        10.*)
7830
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831
 
      esac
7832
 
    ;;
7833
 
  esac
7834
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7835
 
      _lt_dar_single_mod='$single_module'
7836
 
    fi
7837
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7838
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7839
 
    else
7840
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7841
 
    fi
7842
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7843
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7844
 
    else
7845
 
      _lt_dsymutil=
7846
 
    fi
7847
 
    ;;
7848
 
  esac
7849
 
 
7850
 
for ac_header in dlfcn.h
7851
 
do :
7852
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7853
 
"
7854
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7855
 
  cat >>confdefs.h <<_ACEOF
7856
 
#define HAVE_DLFCN_H 1
7857
 
_ACEOF
7858
 
 
7859
 
fi
7860
 
 
7861
 
done
7862
 
 
7863
 
 
7864
 
 
7865
 
 
7866
 
 
7867
 
# Set options
7868
 
 
7869
 
 
7870
 
 
7871
 
        enable_dlopen=no
7872
 
 
7873
 
 
7874
 
  enable_win32_dll=no
7875
 
 
7876
 
 
7877
 
            # Check whether --enable-shared was given.
7878
 
if test "${enable_shared+set}" = set; then :
7879
 
  enableval=$enable_shared; p=${PACKAGE-default}
7880
 
    case $enableval in
7881
 
    yes) enable_shared=yes ;;
7882
 
    no) enable_shared=no ;;
7883
 
    *)
7884
 
      enable_shared=no
7885
 
      # Look at the argument we got.  We use all the common list separators.
7886
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7887
 
      for pkg in $enableval; do
7888
 
        IFS="$lt_save_ifs"
7889
 
        if test "X$pkg" = "X$p"; then
7890
 
          enable_shared=yes
7891
 
        fi
7892
 
      done
7893
 
      IFS="$lt_save_ifs"
7894
 
      ;;
7895
 
    esac
7896
 
else
7897
 
  enable_shared=yes
7898
 
fi
7899
 
 
7900
 
 
7901
 
 
7902
 
 
7903
 
 
7904
 
 
7905
 
 
7906
 
 
7907
 
 
7908
 
  # Check whether --enable-static was given.
7909
 
if test "${enable_static+set}" = set; then :
7910
 
  enableval=$enable_static; p=${PACKAGE-default}
7911
 
    case $enableval in
7912
 
    yes) enable_static=yes ;;
7913
 
    no) enable_static=no ;;
7914
 
    *)
7915
 
     enable_static=no
7916
 
      # Look at the argument we got.  We use all the common list separators.
7917
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7918
 
      for pkg in $enableval; do
7919
 
        IFS="$lt_save_ifs"
7920
 
        if test "X$pkg" = "X$p"; then
7921
 
          enable_static=yes
7922
 
        fi
7923
 
      done
7924
 
      IFS="$lt_save_ifs"
7925
 
      ;;
7926
 
    esac
7927
 
else
7928
 
  enable_static=yes
7929
 
fi
7930
 
 
7931
 
 
7932
 
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
# Check whether --with-pic was given.
7941
 
if test "${with_pic+set}" = set; then :
7942
 
  withval=$with_pic; lt_p=${PACKAGE-default}
7943
 
    case $withval in
7944
 
    yes|no) pic_mode=$withval ;;
7945
 
    *)
7946
 
      pic_mode=default
7947
 
      # Look at the argument we got.  We use all the common list separators.
7948
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7949
 
      for lt_pkg in $withval; do
7950
 
        IFS="$lt_save_ifs"
7951
 
        if test "X$lt_pkg" = "X$lt_p"; then
7952
 
          pic_mode=yes
7953
 
        fi
7954
 
      done
7955
 
      IFS="$lt_save_ifs"
7956
 
      ;;
7957
 
    esac
7958
 
else
7959
 
  pic_mode=default
7960
 
fi
7961
 
 
7962
 
 
7963
 
test -z "$pic_mode" && pic_mode=default
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
  # Check whether --enable-fast-install was given.
7972
 
if test "${enable_fast_install+set}" = set; then :
7973
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7974
 
    case $enableval in
7975
 
    yes) enable_fast_install=yes ;;
7976
 
    no) enable_fast_install=no ;;
7977
 
    *)
7978
 
      enable_fast_install=no
7979
 
      # Look at the argument we got.  We use all the common list separators.
7980
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7981
 
      for pkg in $enableval; do
7982
 
        IFS="$lt_save_ifs"
7983
 
        if test "X$pkg" = "X$p"; then
7984
 
          enable_fast_install=yes
7985
 
        fi
7986
 
      done
7987
 
      IFS="$lt_save_ifs"
7988
 
      ;;
7989
 
    esac
7990
 
else
7991
 
  enable_fast_install=yes
7992
 
fi
7993
 
 
7994
 
 
7995
 
 
7996
 
 
7997
 
 
7998
 
 
7999
 
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
 
# This can be used to rebuild libtool when needed
8005
 
LIBTOOL_DEPS="$ltmain"
8006
 
 
8007
 
# Always use our own libtool.
8008
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8009
 
 
8010
 
 
8011
 
 
8012
 
 
8013
 
 
8014
 
 
8015
 
 
8016
 
 
8017
 
 
8018
 
 
8019
 
 
8020
 
 
8021
 
 
8022
 
 
8023
 
 
8024
 
 
8025
 
 
8026
 
 
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
 
test -z "$LN_S" && LN_S="ln -s"
8040
 
 
8041
 
 
8042
 
 
8043
 
 
8044
 
 
8045
 
 
8046
 
 
8047
 
 
8048
 
 
8049
 
 
8050
 
 
8051
 
 
8052
 
 
8053
 
 
8054
 
if test -n "${ZSH_VERSION+set}" ; then
8055
 
   setopt NO_GLOB_SUBST
8056
 
fi
8057
 
 
8058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8059
 
$as_echo_n "checking for objdir... " >&6; }
8060
 
if ${lt_cv_objdir+:} false; then :
8061
 
  $as_echo_n "(cached) " >&6
8062
 
else
8063
 
  rm -f .libs 2>/dev/null
8064
 
mkdir .libs 2>/dev/null
8065
 
if test -d .libs; then
8066
 
  lt_cv_objdir=.libs
8067
 
else
8068
 
  # MS-DOS does not allow filenames that begin with a dot.
8069
 
  lt_cv_objdir=_libs
8070
 
fi
8071
 
rmdir .libs 2>/dev/null
8072
 
fi
8073
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8074
 
$as_echo "$lt_cv_objdir" >&6; }
8075
 
objdir=$lt_cv_objdir
8076
 
 
8077
 
 
8078
 
 
8079
 
 
8080
 
 
8081
 
cat >>confdefs.h <<_ACEOF
8082
 
#define LT_OBJDIR "$lt_cv_objdir/"
8083
 
_ACEOF
8084
 
 
8085
 
 
8086
 
 
8087
 
 
8088
 
case $host_os in
8089
 
aix3*)
8090
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8091
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8092
 
  # vanish in a puff of smoke.
8093
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8094
 
    COLLECT_NAMES=
8095
 
    export COLLECT_NAMES
8096
 
  fi
8097
 
  ;;
8098
 
esac
8099
 
 
8100
 
# Global variables:
8101
 
ofile=libtool
8102
 
can_build_shared=yes
8103
 
 
8104
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8105
 
# which needs '.lib').
8106
 
libext=a
8107
 
 
8108
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8109
 
 
8110
 
old_CC="$CC"
8111
 
old_CFLAGS="$CFLAGS"
8112
 
 
8113
 
# Set sane defaults for various variables
8114
 
test -z "$CC" && CC=cc
8115
 
test -z "$LTCC" && LTCC=$CC
8116
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8117
 
test -z "$LD" && LD=ld
8118
 
test -z "$ac_objext" && ac_objext=o
8119
 
 
8120
 
for cc_temp in $compiler""; do
8121
 
  case $cc_temp in
8122
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8123
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8124
 
    \-*) ;;
8125
 
    *) break;;
8126
 
  esac
8127
 
done
8128
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8129
 
 
8130
 
 
8131
 
# Only perform the check for file, if the check method requires it
8132
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8133
 
case $deplibs_check_method in
8134
 
file_magic*)
8135
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8136
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8137
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8138
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8139
 
  $as_echo_n "(cached) " >&6
8140
 
else
8141
 
  case $MAGIC_CMD in
8142
 
[\\/*] |  ?:[\\/]*)
8143
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8144
 
  ;;
8145
 
*)
8146
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8147
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8148
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8149
 
  for ac_dir in $ac_dummy; do
8150
 
    IFS="$lt_save_ifs"
8151
 
    test -z "$ac_dir" && ac_dir=.
8152
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8153
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8154
 
      if test -n "$file_magic_test_file"; then
8155
 
        case $deplibs_check_method in
8156
 
        "file_magic "*)
8157
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8158
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8160
 
            $EGREP "$file_magic_regex" > /dev/null; then
8161
 
            :
8162
 
          else
8163
 
            cat <<_LT_EOF 1>&2
8164
 
 
8165
 
*** Warning: the command libtool uses to detect shared libraries,
8166
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8167
 
*** The result is that libtool may fail to recognize shared libraries
8168
 
*** as such.  This will affect the creation of libtool libraries that
8169
 
*** depend on shared libraries, but programs linked with such libtool
8170
 
*** libraries will work regardless of this problem.  Nevertheless, you
8171
 
*** may want to report the problem to your system manager and/or to
8172
 
*** bug-libtool@gnu.org
8173
 
 
8174
 
_LT_EOF
8175
 
          fi ;;
8176
 
        esac
8177
 
      fi
8178
 
      break
8179
 
    fi
8180
 
  done
8181
 
  IFS="$lt_save_ifs"
8182
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8183
 
  ;;
8184
 
esac
8185
 
fi
8186
 
 
8187
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8188
 
if test -n "$MAGIC_CMD"; then
8189
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8190
 
$as_echo "$MAGIC_CMD" >&6; }
8191
 
else
8192
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193
 
$as_echo "no" >&6; }
8194
 
fi
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8201
 
  if test -n "$ac_tool_prefix"; then
8202
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8203
 
$as_echo_n "checking for file... " >&6; }
8204
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8205
 
  $as_echo_n "(cached) " >&6
8206
 
else
8207
 
  case $MAGIC_CMD in
8208
 
[\\/*] |  ?:[\\/]*)
8209
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8210
 
  ;;
8211
 
*)
8212
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8213
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8214
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8215
 
  for ac_dir in $ac_dummy; do
8216
 
    IFS="$lt_save_ifs"
8217
 
    test -z "$ac_dir" && ac_dir=.
8218
 
    if test -f $ac_dir/file; then
8219
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8220
 
      if test -n "$file_magic_test_file"; then
8221
 
        case $deplibs_check_method in
8222
 
        "file_magic "*)
8223
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8224
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8225
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8226
 
            $EGREP "$file_magic_regex" > /dev/null; then
8227
 
            :
8228
 
          else
8229
 
            cat <<_LT_EOF 1>&2
8230
 
 
8231
 
*** Warning: the command libtool uses to detect shared libraries,
8232
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8233
 
*** The result is that libtool may fail to recognize shared libraries
8234
 
*** as such.  This will affect the creation of libtool libraries that
8235
 
*** depend on shared libraries, but programs linked with such libtool
8236
 
*** libraries will work regardless of this problem.  Nevertheless, you
8237
 
*** may want to report the problem to your system manager and/or to
8238
 
*** bug-libtool@gnu.org
8239
 
 
8240
 
_LT_EOF
8241
 
          fi ;;
8242
 
        esac
8243
 
      fi
8244
 
      break
8245
 
    fi
8246
 
  done
8247
 
  IFS="$lt_save_ifs"
8248
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8249
 
  ;;
8250
 
esac
8251
 
fi
8252
 
 
8253
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8254
 
if test -n "$MAGIC_CMD"; then
8255
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8256
 
$as_echo "$MAGIC_CMD" >&6; }
8257
 
else
8258
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259
 
$as_echo "no" >&6; }
8260
 
fi
8261
 
 
8262
 
 
8263
 
  else
8264
 
    MAGIC_CMD=:
8265
 
  fi
8266
 
fi
8267
 
 
8268
 
  fi
8269
 
  ;;
8270
 
esac
8271
 
 
8272
 
# Use C for the default configuration in the libtool script
8273
 
 
8274
 
lt_save_CC="$CC"
8275
 
ac_ext=c
8276
 
ac_cpp='$CPP $CPPFLAGS'
8277
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8278
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8279
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280
 
 
8281
 
 
8282
 
# Source file extension for C test sources.
8283
 
ac_ext=c
8284
 
 
8285
 
# Object file extension for compiled C test sources.
8286
 
objext=o
8287
 
objext=$objext
8288
 
 
8289
 
# Code to be used in simple compile tests
8290
 
lt_simple_compile_test_code="int some_variable = 0;"
8291
 
 
8292
 
# Code to be used in simple link tests
8293
 
lt_simple_link_test_code='int main(){return(0);}'
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
 
8301
 
# If no C compiler was specified, use CC.
8302
 
LTCC=${LTCC-"$CC"}
8303
 
 
8304
 
# If no C compiler flags were specified, use CFLAGS.
8305
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8306
 
 
8307
 
# Allow CC to be a program name with arguments.
8308
 
compiler=$CC
8309
 
 
8310
 
# Save the default compiler, since it gets overwritten when the other
8311
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8312
 
compiler_DEFAULT=$CC
8313
 
 
8314
 
# save warnings/boilerplate of simple test code
8315
 
ac_outfile=conftest.$ac_objext
8316
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8317
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8318
 
_lt_compiler_boilerplate=`cat conftest.err`
8319
 
$RM conftest*
8320
 
 
8321
 
ac_outfile=conftest.$ac_objext
8322
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8323
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8324
 
_lt_linker_boilerplate=`cat conftest.err`
8325
 
$RM -r conftest*
8326
 
 
8327
 
 
8328
 
## CAVEAT EMPTOR:
8329
 
## There is no encapsulation within the following macros, do not change
8330
 
## the running order or otherwise move them around unless you know exactly
8331
 
## what you are doing...
8332
 
if test -n "$compiler"; then
8333
 
 
8334
 
lt_prog_compiler_no_builtin_flag=
8335
 
 
8336
 
if test "$GCC" = yes; then
8337
 
  case $cc_basename in
8338
 
  nvcc*)
8339
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8340
 
  *)
8341
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8342
 
  esac
8343
 
 
8344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8345
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8346
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8347
 
  $as_echo_n "(cached) " >&6
8348
 
else
8349
 
  lt_cv_prog_compiler_rtti_exceptions=no
8350
 
   ac_outfile=conftest.$ac_objext
8351
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8353
 
   # Insert the option either (1) after the last *FLAGS variable, or
8354
 
   # (2) before a word containing "conftest.", or (3) at the end.
8355
 
   # Note that $ac_compile itself does not contain backslashes and begins
8356
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8357
 
   # The option is referenced via a variable to avoid confusing sed.
8358
 
   lt_compile=`echo "$ac_compile" | $SED \
8359
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361
 
   -e 's:$: $lt_compiler_flag:'`
8362
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8363
 
   (eval "$lt_compile" 2>conftest.err)
8364
 
   ac_status=$?
8365
 
   cat conftest.err >&5
8366
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8368
 
     # The compiler can only warn and ignore the option if not recognized
8369
 
     # So say no if there are warnings other than the usual output.
8370
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8371
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8372
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8373
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8374
 
     fi
8375
 
   fi
8376
 
   $RM conftest*
8377
 
 
8378
 
fi
8379
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8380
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8381
 
 
8382
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8383
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8384
 
else
8385
 
    :
8386
 
fi
8387
 
 
8388
 
fi
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
 
 
8394
 
 
8395
 
  lt_prog_compiler_wl=
8396
 
lt_prog_compiler_pic=
8397
 
lt_prog_compiler_static=
8398
 
 
8399
 
 
8400
 
  if test "$GCC" = yes; then
8401
 
    lt_prog_compiler_wl='-Wl,'
8402
 
    lt_prog_compiler_static='-static'
8403
 
 
8404
 
    case $host_os in
8405
 
      aix*)
8406
 
      # All AIX code is PIC.
8407
 
      if test "$host_cpu" = ia64; then
8408
 
        # AIX 5 now supports IA64 processor
8409
 
        lt_prog_compiler_static='-Bstatic'
8410
 
      fi
8411
 
      ;;
8412
 
 
8413
 
    amigaos*)
8414
 
      case $host_cpu in
8415
 
      powerpc)
8416
 
            # see comment about AmigaOS4 .so support
8417
 
            lt_prog_compiler_pic='-fPIC'
8418
 
        ;;
8419
 
      m68k)
8420
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8421
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8422
 
            # like `-m68040'.
8423
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8424
 
        ;;
8425
 
      esac
8426
 
      ;;
8427
 
 
8428
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8429
 
      # PIC is the default for these OSes.
8430
 
      ;;
8431
 
 
8432
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8433
 
      # This hack is so that the source file can tell whether it is being
8434
 
      # built for inclusion in a dll (and should export symbols for example).
8435
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8436
 
      # (--disable-auto-import) libraries
8437
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8438
 
      ;;
8439
 
 
8440
 
    darwin* | rhapsody*)
8441
 
      # PIC is the default on this platform
8442
 
      # Common symbols not allowed in MH_DYLIB files
8443
 
      lt_prog_compiler_pic='-fno-common'
8444
 
      ;;
8445
 
 
8446
 
    haiku*)
8447
 
      # PIC is the default for Haiku.
8448
 
      # The "-static" flag exists, but is broken.
8449
 
      lt_prog_compiler_static=
8450
 
      ;;
8451
 
 
8452
 
    hpux*)
8453
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8454
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8455
 
      # sets the default TLS model and affects inlining.
8456
 
      case $host_cpu in
8457
 
      hppa*64*)
8458
 
        # +Z the default
8459
 
        ;;
8460
 
      *)
8461
 
        lt_prog_compiler_pic='-fPIC'
8462
 
        ;;
8463
 
      esac
8464
 
      ;;
8465
 
 
8466
 
    interix[3-9]*)
8467
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8468
 
      # Instead, we relocate shared libraries at runtime.
8469
 
      ;;
8470
 
 
8471
 
    msdosdjgpp*)
8472
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8473
 
      # on systems that don't support them.
8474
 
      lt_prog_compiler_can_build_shared=no
8475
 
      enable_shared=no
8476
 
      ;;
8477
 
 
8478
 
    *nto* | *qnx*)
8479
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8480
 
      # it will coredump.
8481
 
      lt_prog_compiler_pic='-fPIC -shared'
8482
 
      ;;
8483
 
 
8484
 
    sysv4*MP*)
8485
 
      if test -d /usr/nec; then
8486
 
        lt_prog_compiler_pic=-Kconform_pic
8487
 
      fi
8488
 
      ;;
8489
 
 
8490
 
    *)
8491
 
      lt_prog_compiler_pic='-fPIC'
8492
 
      ;;
8493
 
    esac
8494
 
 
8495
 
    case $cc_basename in
8496
 
    nvcc*) # Cuda Compiler Driver 2.2
8497
 
      lt_prog_compiler_wl='-Xlinker '
8498
 
      if test -n "$lt_prog_compiler_pic"; then
8499
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8500
 
      fi
8501
 
      ;;
8502
 
    esac
8503
 
  else
8504
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8505
 
    case $host_os in
8506
 
    aix*)
8507
 
      lt_prog_compiler_wl='-Wl,'
8508
 
      if test "$host_cpu" = ia64; then
8509
 
        # AIX 5 now supports IA64 processor
8510
 
        lt_prog_compiler_static='-Bstatic'
8511
 
      else
8512
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8513
 
      fi
8514
 
      ;;
8515
 
 
8516
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8517
 
      # This hack is so that the source file can tell whether it is being
8518
 
      # built for inclusion in a dll (and should export symbols for example).
8519
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8520
 
      ;;
8521
 
 
8522
 
    hpux9* | hpux10* | hpux11*)
8523
 
      lt_prog_compiler_wl='-Wl,'
8524
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8525
 
      # not for PA HP-UX.
8526
 
      case $host_cpu in
8527
 
      hppa*64*|ia64*)
8528
 
        # +Z the default
8529
 
        ;;
8530
 
      *)
8531
 
        lt_prog_compiler_pic='+Z'
8532
 
        ;;
8533
 
      esac
8534
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8535
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8536
 
      ;;
8537
 
 
8538
 
    irix5* | irix6* | nonstopux*)
8539
 
      lt_prog_compiler_wl='-Wl,'
8540
 
      # PIC (with -KPIC) is the default.
8541
 
      lt_prog_compiler_static='-non_shared'
8542
 
      ;;
8543
 
 
8544
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8545
 
      case $cc_basename in
8546
 
      # old Intel for x86_64 which still supported -KPIC.
8547
 
      ecc*)
8548
 
        lt_prog_compiler_wl='-Wl,'
8549
 
        lt_prog_compiler_pic='-KPIC'
8550
 
        lt_prog_compiler_static='-static'
8551
 
        ;;
8552
 
      # icc used to be incompatible with GCC.
8553
 
      # ICC 10 doesn't accept -KPIC any more.
8554
 
      icc* | ifort*)
8555
 
        lt_prog_compiler_wl='-Wl,'
8556
 
        lt_prog_compiler_pic='-fPIC'
8557
 
        lt_prog_compiler_static='-static'
8558
 
        ;;
8559
 
      # Lahey Fortran 8.1.
8560
 
      lf95*)
8561
 
        lt_prog_compiler_wl='-Wl,'
8562
 
        lt_prog_compiler_pic='--shared'
8563
 
        lt_prog_compiler_static='--static'
8564
 
        ;;
8565
 
      nagfor*)
8566
 
        # NAG Fortran compiler
8567
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8568
 
        lt_prog_compiler_pic='-PIC'
8569
 
        lt_prog_compiler_static='-Bstatic'
8570
 
        ;;
8571
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8572
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8573
 
        # which looks to be a dead project)
8574
 
        lt_prog_compiler_wl='-Wl,'
8575
 
        lt_prog_compiler_pic='-fpic'
8576
 
        lt_prog_compiler_static='-Bstatic'
8577
 
        ;;
8578
 
      ccc*)
8579
 
        lt_prog_compiler_wl='-Wl,'
8580
 
        # All Alpha code is PIC.
8581
 
        lt_prog_compiler_static='-non_shared'
8582
 
        ;;
8583
 
      xl* | bgxl* | bgf* | mpixl*)
8584
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8585
 
        lt_prog_compiler_wl='-Wl,'
8586
 
        lt_prog_compiler_pic='-qpic'
8587
 
        lt_prog_compiler_static='-qstaticlink'
8588
 
        ;;
8589
 
      *)
8590
 
        case `$CC -V 2>&1 | sed 5q` in
8591
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8592
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8593
 
          lt_prog_compiler_pic='-KPIC'
8594
 
          lt_prog_compiler_static='-Bstatic'
8595
 
          lt_prog_compiler_wl=''
8596
 
          ;;
8597
 
        *Sun\ F* | *Sun*Fortran*)
8598
 
          lt_prog_compiler_pic='-KPIC'
8599
 
          lt_prog_compiler_static='-Bstatic'
8600
 
          lt_prog_compiler_wl='-Qoption ld '
8601
 
          ;;
8602
 
        *Sun\ C*)
8603
 
          # Sun C 5.9
8604
 
          lt_prog_compiler_pic='-KPIC'
8605
 
          lt_prog_compiler_static='-Bstatic'
8606
 
          lt_prog_compiler_wl='-Wl,'
8607
 
          ;;
8608
 
        *Intel*\ [CF]*Compiler*)
8609
 
          lt_prog_compiler_wl='-Wl,'
8610
 
          lt_prog_compiler_pic='-fPIC'
8611
 
          lt_prog_compiler_static='-static'
8612
 
          ;;
8613
 
        *Portland\ Group*)
8614
 
          lt_prog_compiler_wl='-Wl,'
8615
 
          lt_prog_compiler_pic='-fpic'
8616
 
          lt_prog_compiler_static='-Bstatic'
8617
 
          ;;
8618
 
        esac
8619
 
        ;;
8620
 
      esac
8621
 
      ;;
8622
 
 
8623
 
    newsos6)
8624
 
      lt_prog_compiler_pic='-KPIC'
8625
 
      lt_prog_compiler_static='-Bstatic'
8626
 
      ;;
8627
 
 
8628
 
    *nto* | *qnx*)
8629
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8630
 
      # it will coredump.
8631
 
      lt_prog_compiler_pic='-fPIC -shared'
8632
 
      ;;
8633
 
 
8634
 
    osf3* | osf4* | osf5*)
8635
 
      lt_prog_compiler_wl='-Wl,'
8636
 
      # All OSF/1 code is PIC.
8637
 
      lt_prog_compiler_static='-non_shared'
8638
 
      ;;
8639
 
 
8640
 
    rdos*)
8641
 
      lt_prog_compiler_static='-non_shared'
8642
 
      ;;
8643
 
 
8644
 
    solaris*)
8645
 
      lt_prog_compiler_pic='-KPIC'
8646
 
      lt_prog_compiler_static='-Bstatic'
8647
 
      case $cc_basename in
8648
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8649
 
        lt_prog_compiler_wl='-Qoption ld ';;
8650
 
      *)
8651
 
        lt_prog_compiler_wl='-Wl,';;
8652
 
      esac
8653
 
      ;;
8654
 
 
8655
 
    sunos4*)
8656
 
      lt_prog_compiler_wl='-Qoption ld '
8657
 
      lt_prog_compiler_pic='-PIC'
8658
 
      lt_prog_compiler_static='-Bstatic'
8659
 
      ;;
8660
 
 
8661
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8662
 
      lt_prog_compiler_wl='-Wl,'
8663
 
      lt_prog_compiler_pic='-KPIC'
8664
 
      lt_prog_compiler_static='-Bstatic'
8665
 
      ;;
8666
 
 
8667
 
    sysv4*MP*)
8668
 
      if test -d /usr/nec ;then
8669
 
        lt_prog_compiler_pic='-Kconform_pic'
8670
 
        lt_prog_compiler_static='-Bstatic'
8671
 
      fi
8672
 
      ;;
8673
 
 
8674
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8675
 
      lt_prog_compiler_wl='-Wl,'
8676
 
      lt_prog_compiler_pic='-KPIC'
8677
 
      lt_prog_compiler_static='-Bstatic'
8678
 
      ;;
8679
 
 
8680
 
    unicos*)
8681
 
      lt_prog_compiler_wl='-Wl,'
8682
 
      lt_prog_compiler_can_build_shared=no
8683
 
      ;;
8684
 
 
8685
 
    uts4*)
8686
 
      lt_prog_compiler_pic='-pic'
8687
 
      lt_prog_compiler_static='-Bstatic'
8688
 
      ;;
8689
 
 
8690
 
    *)
8691
 
      lt_prog_compiler_can_build_shared=no
8692
 
      ;;
8693
 
    esac
8694
 
  fi
8695
 
 
8696
 
case $host_os in
8697
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8698
 
  *djgpp*)
8699
 
    lt_prog_compiler_pic=
8700
 
    ;;
8701
 
  *)
8702
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8703
 
    ;;
8704
 
esac
8705
 
 
8706
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8707
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8708
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8709
 
  $as_echo_n "(cached) " >&6
8710
 
else
8711
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8712
 
fi
8713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8714
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8715
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8716
 
 
8717
 
#
8718
 
# Check to make sure the PIC flag actually works.
8719
 
#
8720
 
if test -n "$lt_prog_compiler_pic"; then
8721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8722
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8723
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8724
 
  $as_echo_n "(cached) " >&6
8725
 
else
8726
 
  lt_cv_prog_compiler_pic_works=no
8727
 
   ac_outfile=conftest.$ac_objext
8728
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8730
 
   # Insert the option either (1) after the last *FLAGS variable, or
8731
 
   # (2) before a word containing "conftest.", or (3) at the end.
8732
 
   # Note that $ac_compile itself does not contain backslashes and begins
8733
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8734
 
   # The option is referenced via a variable to avoid confusing sed.
8735
 
   lt_compile=`echo "$ac_compile" | $SED \
8736
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738
 
   -e 's:$: $lt_compiler_flag:'`
8739
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740
 
   (eval "$lt_compile" 2>conftest.err)
8741
 
   ac_status=$?
8742
 
   cat conftest.err >&5
8743
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8745
 
     # The compiler can only warn and ignore the option if not recognized
8746
 
     # So say no if there are warnings other than the usual output.
8747
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750
 
       lt_cv_prog_compiler_pic_works=yes
8751
 
     fi
8752
 
   fi
8753
 
   $RM conftest*
8754
 
 
8755
 
fi
8756
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8757
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8758
 
 
8759
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8760
 
    case $lt_prog_compiler_pic in
8761
 
     "" | " "*) ;;
8762
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8763
 
     esac
8764
 
else
8765
 
    lt_prog_compiler_pic=
8766
 
     lt_prog_compiler_can_build_shared=no
8767
 
fi
8768
 
 
8769
 
fi
8770
 
 
8771
 
 
8772
 
 
8773
 
 
8774
 
 
8775
 
 
8776
 
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
8781
 
#
8782
 
# Check to make sure the static flag actually works.
8783
 
#
8784
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8786
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8787
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
8788
 
  $as_echo_n "(cached) " >&6
8789
 
else
8790
 
  lt_cv_prog_compiler_static_works=no
8791
 
   save_LDFLAGS="$LDFLAGS"
8792
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8793
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8794
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8795
 
     # The linker can only warn and ignore the option if not recognized
8796
 
     # So say no if there are warnings
8797
 
     if test -s conftest.err; then
8798
 
       # Append any errors to the config.log.
8799
 
       cat conftest.err 1>&5
8800
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8801
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8803
 
         lt_cv_prog_compiler_static_works=yes
8804
 
       fi
8805
 
     else
8806
 
       lt_cv_prog_compiler_static_works=yes
8807
 
     fi
8808
 
   fi
8809
 
   $RM -r conftest*
8810
 
   LDFLAGS="$save_LDFLAGS"
8811
 
 
8812
 
fi
8813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8814
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8815
 
 
8816
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8817
 
    :
8818
 
else
8819
 
    lt_prog_compiler_static=
8820
 
fi
8821
 
 
8822
 
 
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
 
8828
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8829
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8830
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8831
 
  $as_echo_n "(cached) " >&6
8832
 
else
8833
 
  lt_cv_prog_compiler_c_o=no
8834
 
   $RM -r conftest 2>/dev/null
8835
 
   mkdir conftest
8836
 
   cd conftest
8837
 
   mkdir out
8838
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8839
 
 
8840
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8841
 
   # Insert the option either (1) after the last *FLAGS variable, or
8842
 
   # (2) before a word containing "conftest.", or (3) at the end.
8843
 
   # Note that $ac_compile itself does not contain backslashes and begins
8844
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8845
 
   lt_compile=`echo "$ac_compile" | $SED \
8846
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8847
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8848
 
   -e 's:$: $lt_compiler_flag:'`
8849
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8850
 
   (eval "$lt_compile" 2>out/conftest.err)
8851
 
   ac_status=$?
8852
 
   cat out/conftest.err >&5
8853
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8855
 
   then
8856
 
     # The compiler can only warn and ignore the option if not recognized
8857
 
     # So say no if there are warnings
8858
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8859
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8860
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8861
 
       lt_cv_prog_compiler_c_o=yes
8862
 
     fi
8863
 
   fi
8864
 
   chmod u+w . 2>&5
8865
 
   $RM conftest*
8866
 
   # SGI C++ compiler will create directory out/ii_files/ for
8867
 
   # template instantiation
8868
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8869
 
   $RM out/* && rmdir out
8870
 
   cd ..
8871
 
   $RM -r conftest
8872
 
   $RM conftest*
8873
 
 
8874
 
fi
8875
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8876
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8877
 
 
8878
 
 
8879
 
 
8880
 
 
8881
 
 
8882
 
 
8883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8884
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8885
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8886
 
  $as_echo_n "(cached) " >&6
8887
 
else
8888
 
  lt_cv_prog_compiler_c_o=no
8889
 
   $RM -r conftest 2>/dev/null
8890
 
   mkdir conftest
8891
 
   cd conftest
8892
 
   mkdir out
8893
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8894
 
 
8895
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8896
 
   # Insert the option either (1) after the last *FLAGS variable, or
8897
 
   # (2) before a word containing "conftest.", or (3) at the end.
8898
 
   # Note that $ac_compile itself does not contain backslashes and begins
8899
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8900
 
   lt_compile=`echo "$ac_compile" | $SED \
8901
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8902
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8903
 
   -e 's:$: $lt_compiler_flag:'`
8904
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8905
 
   (eval "$lt_compile" 2>out/conftest.err)
8906
 
   ac_status=$?
8907
 
   cat out/conftest.err >&5
8908
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8910
 
   then
8911
 
     # The compiler can only warn and ignore the option if not recognized
8912
 
     # So say no if there are warnings
8913
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8914
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8915
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8916
 
       lt_cv_prog_compiler_c_o=yes
8917
 
     fi
8918
 
   fi
8919
 
   chmod u+w . 2>&5
8920
 
   $RM conftest*
8921
 
   # SGI C++ compiler will create directory out/ii_files/ for
8922
 
   # template instantiation
8923
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8924
 
   $RM out/* && rmdir out
8925
 
   cd ..
8926
 
   $RM -r conftest
8927
 
   $RM conftest*
8928
 
 
8929
 
fi
8930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8931
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8932
 
 
8933
 
 
8934
 
 
8935
 
 
8936
 
hard_links="nottested"
8937
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8938
 
  # do not overwrite the value of need_locks provided by the user
8939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8940
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8941
 
  hard_links=yes
8942
 
  $RM conftest*
8943
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8944
 
  touch conftest.a
8945
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8946
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8947
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8948
 
$as_echo "$hard_links" >&6; }
8949
 
  if test "$hard_links" = no; then
8950
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8951
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8952
 
    need_locks=warn
8953
 
  fi
8954
 
else
8955
 
  need_locks=no
8956
 
fi
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
 
 
8962
 
 
8963
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8964
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8965
 
 
8966
 
  runpath_var=
8967
 
  allow_undefined_flag=
8968
 
  always_export_symbols=no
8969
 
  archive_cmds=
8970
 
  archive_expsym_cmds=
8971
 
  compiler_needs_object=no
8972
 
  enable_shared_with_static_runtimes=no
8973
 
  export_dynamic_flag_spec=
8974
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8975
 
  hardcode_automatic=no
8976
 
  hardcode_direct=no
8977
 
  hardcode_direct_absolute=no
8978
 
  hardcode_libdir_flag_spec=
8979
 
  hardcode_libdir_separator=
8980
 
  hardcode_minus_L=no
8981
 
  hardcode_shlibpath_var=unsupported
8982
 
  inherit_rpath=no
8983
 
  link_all_deplibs=unknown
8984
 
  module_cmds=
8985
 
  module_expsym_cmds=
8986
 
  old_archive_from_new_cmds=
8987
 
  old_archive_from_expsyms_cmds=
8988
 
  thread_safe_flag_spec=
8989
 
  whole_archive_flag_spec=
8990
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8991
 
  # included in the symbol list
8992
 
  include_expsyms=
8993
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8994
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8995
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8996
 
  # as well as any symbol that contains `d'.
8997
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8998
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8999
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9000
 
  # the symbol is explicitly referenced.  Since portable code cannot
9001
 
  # rely on this symbol name, it's probably fine to never include it in
9002
 
  # preloaded symbol tables.
9003
 
  # Exclude shared library initialization/finalization symbols.
9004
 
  extract_expsyms_cmds=
9005
 
 
9006
 
  case $host_os in
9007
 
  cygwin* | mingw* | pw32* | cegcc*)
9008
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9009
 
    # When not using gcc, we currently assume that we are using
9010
 
    # Microsoft Visual C++.
9011
 
    if test "$GCC" != yes; then
9012
 
      with_gnu_ld=no
9013
 
    fi
9014
 
    ;;
9015
 
  interix*)
9016
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9017
 
    with_gnu_ld=yes
9018
 
    ;;
9019
 
  openbsd*)
9020
 
    with_gnu_ld=no
9021
 
    ;;
9022
 
  esac
9023
 
 
9024
 
  ld_shlibs=yes
9025
 
 
9026
 
  # On some targets, GNU ld is compatible enough with the native linker
9027
 
  # that we're better off using the native interface for both.
9028
 
  lt_use_gnu_ld_interface=no
9029
 
  if test "$with_gnu_ld" = yes; then
9030
 
    case $host_os in
9031
 
      aix*)
9032
 
        # The AIX port of GNU ld has always aspired to compatibility
9033
 
        # with the native linker.  However, as the warning in the GNU ld
9034
 
        # block says, versions before 2.19.5* couldn't really create working
9035
 
        # shared libraries, regardless of the interface used.
9036
 
        case `$LD -v 2>&1` in
9037
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9038
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9039
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9040
 
          *)
9041
 
            lt_use_gnu_ld_interface=yes
9042
 
            ;;
9043
 
        esac
9044
 
        ;;
9045
 
      *)
9046
 
        lt_use_gnu_ld_interface=yes
9047
 
        ;;
9048
 
    esac
9049
 
  fi
9050
 
 
9051
 
  if test "$lt_use_gnu_ld_interface" = yes; then
9052
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9053
 
    wlarc='${wl}'
9054
 
 
9055
 
    # Set some defaults for GNU ld with shared library support. These
9056
 
    # are reset later if shared libraries are not supported. Putting them
9057
 
    # here allows them to be overridden if necessary.
9058
 
    runpath_var=LD_RUN_PATH
9059
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9061
 
    # ancient GNU ld didn't support --whole-archive et. al.
9062
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9063
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9064
 
    else
9065
 
      whole_archive_flag_spec=
9066
 
    fi
9067
 
    supports_anon_versioning=no
9068
 
    case `$LD -v 2>&1` in
9069
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9070
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9071
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9072
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9073
 
      *\ 2.11.*) ;; # other 2.11 versions
9074
 
      *) supports_anon_versioning=yes ;;
9075
 
    esac
9076
 
 
9077
 
    # See if GNU ld supports shared libraries.
9078
 
    case $host_os in
9079
 
    aix[3-9]*)
9080
 
      # On AIX/PPC, the GNU linker is very broken
9081
 
      if test "$host_cpu" != ia64; then
9082
 
        ld_shlibs=no
9083
 
        cat <<_LT_EOF 1>&2
9084
 
 
9085
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9086
 
*** to be unable to reliably create shared libraries on AIX.
9087
 
*** Therefore, libtool is disabling shared libraries support.  If you
9088
 
*** really care for shared libraries, you may want to install binutils
9089
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9090
 
*** You will then need to restart the configuration process.
9091
 
 
9092
 
_LT_EOF
9093
 
      fi
9094
 
      ;;
9095
 
 
9096
 
    amigaos*)
9097
 
      case $host_cpu in
9098
 
      powerpc)
9099
 
            # see comment about AmigaOS4 .so support
9100
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101
 
            archive_expsym_cmds=''
9102
 
        ;;
9103
 
      m68k)
9104
 
            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)'
9105
 
            hardcode_libdir_flag_spec='-L$libdir'
9106
 
            hardcode_minus_L=yes
9107
 
        ;;
9108
 
      esac
9109
 
      ;;
9110
 
 
9111
 
    beos*)
9112
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9113
 
        allow_undefined_flag=unsupported
9114
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9115
 
        # support --undefined.  This deserves some investigation.  FIXME
9116
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9117
 
      else
9118
 
        ld_shlibs=no
9119
 
      fi
9120
 
      ;;
9121
 
 
9122
 
    cygwin* | mingw* | pw32* | cegcc*)
9123
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9124
 
      # as there is no search path for DLLs.
9125
 
      hardcode_libdir_flag_spec='-L$libdir'
9126
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9127
 
      allow_undefined_flag=unsupported
9128
 
      always_export_symbols=no
9129
 
      enable_shared_with_static_runtimes=yes
9130
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9131
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9132
 
 
9133
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9134
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9135
 
        # If the export-symbols file already is a .def file (1st line
9136
 
        # is EXPORTS), use it as is; otherwise, prepend...
9137
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9138
 
          cp $export_symbols $output_objdir/$soname.def;
9139
 
        else
9140
 
          echo EXPORTS > $output_objdir/$soname.def;
9141
 
          cat $export_symbols >> $output_objdir/$soname.def;
9142
 
        fi~
9143
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9144
 
      else
9145
 
        ld_shlibs=no
9146
 
      fi
9147
 
      ;;
9148
 
 
9149
 
    haiku*)
9150
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151
 
      link_all_deplibs=yes
9152
 
      ;;
9153
 
 
9154
 
    interix[3-9]*)
9155
 
      hardcode_direct=no
9156
 
      hardcode_shlibpath_var=no
9157
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9158
 
      export_dynamic_flag_spec='${wl}-E'
9159
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9160
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9161
 
      # default) and relocated if they conflict, which is a slow very memory
9162
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9163
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9164
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9165
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9166
 
      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'
9167
 
      ;;
9168
 
 
9169
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9170
 
      tmp_diet=no
9171
 
      if test "$host_os" = linux-dietlibc; then
9172
 
        case $cc_basename in
9173
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9174
 
        esac
9175
 
      fi
9176
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9177
 
         && test "$tmp_diet" = no
9178
 
      then
9179
 
        tmp_addflag=' $pic_flag'
9180
 
        tmp_sharedflag='-shared'
9181
 
        case $cc_basename,$host_cpu in
9182
 
        pgcc*)                          # Portland Group C compiler
9183
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9184
 
          tmp_addflag=' $pic_flag'
9185
 
          ;;
9186
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9187
 
                                        # Portland Group f77 and f90 compilers
9188
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9189
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9190
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9191
 
          tmp_addflag=' -i_dynamic' ;;
9192
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9193
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9194
 
        ifc* | ifort*)                  # Intel Fortran compiler
9195
 
          tmp_addflag=' -nofor_main' ;;
9196
 
        lf95*)                          # Lahey Fortran 8.1
9197
 
          whole_archive_flag_spec=
9198
 
          tmp_sharedflag='--shared' ;;
9199
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9200
 
          tmp_sharedflag='-qmkshrobj'
9201
 
          tmp_addflag= ;;
9202
 
        nvcc*)  # Cuda Compiler Driver 2.2
9203
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9204
 
          compiler_needs_object=yes
9205
 
          ;;
9206
 
        esac
9207
 
        case `$CC -V 2>&1 | sed 5q` in
9208
 
        *Sun\ C*)                       # Sun C 5.9
9209
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9210
 
          compiler_needs_object=yes
9211
 
          tmp_sharedflag='-G' ;;
9212
 
        *Sun\ F*)                       # Sun Fortran 8.3
9213
 
          tmp_sharedflag='-G' ;;
9214
 
        esac
9215
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216
 
 
9217
 
        if test "x$supports_anon_versioning" = xyes; then
9218
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9221
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9222
 
        fi
9223
 
 
9224
 
        case $cc_basename in
9225
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9226
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9227
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9228
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9230
 
          if test "x$supports_anon_versioning" = xyes; then
9231
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9232
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9233
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9234
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9235
 
          fi
9236
 
          ;;
9237
 
        esac
9238
 
      else
9239
 
        ld_shlibs=no
9240
 
      fi
9241
 
      ;;
9242
 
 
9243
 
    netbsd*)
9244
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9246
 
        wlarc=
9247
 
      else
9248
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9250
 
      fi
9251
 
      ;;
9252
 
 
9253
 
    solaris*)
9254
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9255
 
        ld_shlibs=no
9256
 
        cat <<_LT_EOF 1>&2
9257
 
 
9258
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9259
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9260
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9261
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9262
 
*** your PATH or compiler configuration so that the native linker is
9263
 
*** used, and then restart.
9264
 
 
9265
 
_LT_EOF
9266
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269
 
      else
9270
 
        ld_shlibs=no
9271
 
      fi
9272
 
      ;;
9273
 
 
9274
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9275
 
      case `$LD -v 2>&1` in
9276
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9277
 
        ld_shlibs=no
9278
 
        cat <<_LT_EOF 1>&2
9279
 
 
9280
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9281
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9282
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9283
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9284
 
*** your PATH or compiler configuration so that the native linker is
9285
 
*** used, and then restart.
9286
 
 
9287
 
_LT_EOF
9288
 
        ;;
9289
 
        *)
9290
 
          # For security reasons, it is highly recommended that you always
9291
 
          # use absolute paths for naming shared libraries, and exclude the
9292
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9293
 
          # requires that you compile everything twice, which is a pain.
9294
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9296
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298
 
          else
9299
 
            ld_shlibs=no
9300
 
          fi
9301
 
        ;;
9302
 
      esac
9303
 
      ;;
9304
 
 
9305
 
    sunos4*)
9306
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9307
 
      wlarc=
9308
 
      hardcode_direct=yes
9309
 
      hardcode_shlibpath_var=no
9310
 
      ;;
9311
 
 
9312
 
    *)
9313
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316
 
      else
9317
 
        ld_shlibs=no
9318
 
      fi
9319
 
      ;;
9320
 
    esac
9321
 
 
9322
 
    if test "$ld_shlibs" = no; then
9323
 
      runpath_var=
9324
 
      hardcode_libdir_flag_spec=
9325
 
      export_dynamic_flag_spec=
9326
 
      whole_archive_flag_spec=
9327
 
    fi
9328
 
  else
9329
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9330
 
    case $host_os in
9331
 
    aix3*)
9332
 
      allow_undefined_flag=unsupported
9333
 
      always_export_symbols=yes
9334
 
      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'
9335
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9336
 
      # are no directories specified by -L.
9337
 
      hardcode_minus_L=yes
9338
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9339
 
        # Neither direct hardcoding nor static linking is supported with a
9340
 
        # broken collect2.
9341
 
        hardcode_direct=unsupported
9342
 
      fi
9343
 
      ;;
9344
 
 
9345
 
    aix[4-9]*)
9346
 
      if test "$host_cpu" = ia64; then
9347
 
        # On IA64, the linker does run time linking by default, so we don't
9348
 
        # have to do anything special.
9349
 
        aix_use_runtimelinking=no
9350
 
        exp_sym_flag='-Bexport'
9351
 
        no_entry_flag=""
9352
 
      else
9353
 
        # If we're using GNU nm, then we don't want the "-C" option.
9354
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9355
 
        # Also, AIX nm treats weak defined symbols like other global
9356
 
        # defined symbols, whereas GNU nm marks them as "W".
9357
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9358
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9359
 
        else
9360
 
          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'
9361
 
        fi
9362
 
        aix_use_runtimelinking=no
9363
 
 
9364
 
        # Test if we are trying to use run time linking or normal
9365
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9366
 
        # need to do runtime linking.
9367
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9368
 
          for ld_flag in $LDFLAGS; do
9369
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9370
 
            aix_use_runtimelinking=yes
9371
 
            break
9372
 
          fi
9373
 
          done
9374
 
          ;;
9375
 
        esac
9376
 
 
9377
 
        exp_sym_flag='-bexport'
9378
 
        no_entry_flag='-bnoentry'
9379
 
      fi
9380
 
 
9381
 
      # When large executables or shared objects are built, AIX ld can
9382
 
      # have problems creating the table of contents.  If linking a library
9383
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9384
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9385
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9386
 
 
9387
 
      archive_cmds=''
9388
 
      hardcode_direct=yes
9389
 
      hardcode_direct_absolute=yes
9390
 
      hardcode_libdir_separator=':'
9391
 
      link_all_deplibs=yes
9392
 
      file_list_spec='${wl}-f,'
9393
 
 
9394
 
      if test "$GCC" = yes; then
9395
 
        case $host_os in aix4.[012]|aix4.[012].*)
9396
 
        # We only want to do this on AIX 4.2 and lower, the check
9397
 
        # below for broken collect2 doesn't work under 4.3+
9398
 
          collect2name=`${CC} -print-prog-name=collect2`
9399
 
          if test -f "$collect2name" &&
9400
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9401
 
          then
9402
 
          # We have reworked collect2
9403
 
          :
9404
 
          else
9405
 
          # We have old collect2
9406
 
          hardcode_direct=unsupported
9407
 
          # It fails to find uninstalled libraries when the uninstalled
9408
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9409
 
          # to unsupported forces relinking
9410
 
          hardcode_minus_L=yes
9411
 
          hardcode_libdir_flag_spec='-L$libdir'
9412
 
          hardcode_libdir_separator=
9413
 
          fi
9414
 
          ;;
9415
 
        esac
9416
 
        shared_flag='-shared'
9417
 
        if test "$aix_use_runtimelinking" = yes; then
9418
 
          shared_flag="$shared_flag "'${wl}-G'
9419
 
        fi
9420
 
      else
9421
 
        # not using gcc
9422
 
        if test "$host_cpu" = ia64; then
9423
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9424
 
        # chokes on -Wl,-G. The following line is correct:
9425
 
          shared_flag='-G'
9426
 
        else
9427
 
          if test "$aix_use_runtimelinking" = yes; then
9428
 
            shared_flag='${wl}-G'
9429
 
          else
9430
 
            shared_flag='${wl}-bM:SRE'
9431
 
          fi
9432
 
        fi
9433
 
      fi
9434
 
 
9435
 
      export_dynamic_flag_spec='${wl}-bexpall'
9436
 
      # It seems that -bexpall does not export symbols beginning with
9437
 
      # underscore (_), so it is better to generate a list of symbols to export.
9438
 
      always_export_symbols=yes
9439
 
      if test "$aix_use_runtimelinking" = yes; then
9440
 
        # Warning - without using the other runtime loading flags (-brtl),
9441
 
        # -berok will link without error, but may produce a broken library.
9442
 
        allow_undefined_flag='-berok'
9443
 
        # Determine the default libpath from the value encoded in an
9444
 
        # empty executable.
9445
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9446
 
  aix_libpath=$lt_cv_aix_libpath
9447
 
else
9448
 
  if ${lt_cv_aix_libpath_+:} false; then :
9449
 
  $as_echo_n "(cached) " >&6
9450
 
else
9451
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452
 
/* end confdefs.h.  */
9453
 
 
9454
 
int
9455
 
main ()
9456
 
{
9457
 
 
9458
 
  ;
9459
 
  return 0;
9460
 
}
9461
 
_ACEOF
9462
 
if ac_fn_c_try_link "$LINENO"; then :
9463
 
 
9464
 
  lt_aix_libpath_sed='
9465
 
      /Import File Strings/,/^$/ {
9466
 
          /^0/ {
9467
 
              s/^0  *\([^ ]*\) *$/\1/
9468
 
              p
9469
 
          }
9470
 
      }'
9471
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472
 
  # Check for a 64-bit object if we didn't find anything.
9473
 
  if test -z "$lt_cv_aix_libpath_"; then
9474
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9475
 
  fi
9476
 
fi
9477
 
rm -f core conftest.err conftest.$ac_objext \
9478
 
    conftest$ac_exeext conftest.$ac_ext
9479
 
  if test -z "$lt_cv_aix_libpath_"; then
9480
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9481
 
  fi
9482
 
 
9483
 
fi
9484
 
 
9485
 
  aix_libpath=$lt_cv_aix_libpath_
9486
 
fi
9487
 
 
9488
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9489
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9490
 
      else
9491
 
        if test "$host_cpu" = ia64; then
9492
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9493
 
          allow_undefined_flag="-z nodefs"
9494
 
          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"
9495
 
        else
9496
 
         # Determine the default libpath from the value encoded in an
9497
 
         # empty executable.
9498
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9499
 
  aix_libpath=$lt_cv_aix_libpath
9500
 
else
9501
 
  if ${lt_cv_aix_libpath_+:} false; then :
9502
 
  $as_echo_n "(cached) " >&6
9503
 
else
9504
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505
 
/* end confdefs.h.  */
9506
 
 
9507
 
int
9508
 
main ()
9509
 
{
9510
 
 
9511
 
  ;
9512
 
  return 0;
9513
 
}
9514
 
_ACEOF
9515
 
if ac_fn_c_try_link "$LINENO"; then :
9516
 
 
9517
 
  lt_aix_libpath_sed='
9518
 
      /Import File Strings/,/^$/ {
9519
 
          /^0/ {
9520
 
              s/^0  *\([^ ]*\) *$/\1/
9521
 
              p
9522
 
          }
9523
 
      }'
9524
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9525
 
  # Check for a 64-bit object if we didn't find anything.
9526
 
  if test -z "$lt_cv_aix_libpath_"; then
9527
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9528
 
  fi
9529
 
fi
9530
 
rm -f core conftest.err conftest.$ac_objext \
9531
 
    conftest$ac_exeext conftest.$ac_ext
9532
 
  if test -z "$lt_cv_aix_libpath_"; then
9533
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9534
 
  fi
9535
 
 
9536
 
fi
9537
 
 
9538
 
  aix_libpath=$lt_cv_aix_libpath_
9539
 
fi
9540
 
 
9541
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9542
 
          # Warning - without using the other run time loading flags,
9543
 
          # -berok will link without error, but may produce a broken library.
9544
 
          no_undefined_flag=' ${wl}-bernotok'
9545
 
          allow_undefined_flag=' ${wl}-berok'
9546
 
          if test "$with_gnu_ld" = yes; then
9547
 
            # We only use this code for GNU lds that support --whole-archive.
9548
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9549
 
          else
9550
 
            # Exported symbols can be pulled into shared objects from archives
9551
 
            whole_archive_flag_spec='$convenience'
9552
 
          fi
9553
 
          archive_cmds_need_lc=yes
9554
 
          # This is similar to how AIX traditionally builds its shared libraries.
9555
 
          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'
9556
 
        fi
9557
 
      fi
9558
 
      ;;
9559
 
 
9560
 
    amigaos*)
9561
 
      case $host_cpu in
9562
 
      powerpc)
9563
 
            # see comment about AmigaOS4 .so support
9564
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565
 
            archive_expsym_cmds=''
9566
 
        ;;
9567
 
      m68k)
9568
 
            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)'
9569
 
            hardcode_libdir_flag_spec='-L$libdir'
9570
 
            hardcode_minus_L=yes
9571
 
        ;;
9572
 
      esac
9573
 
      ;;
9574
 
 
9575
 
    bsdi[45]*)
9576
 
      export_dynamic_flag_spec=-rdynamic
9577
 
      ;;
9578
 
 
9579
 
    cygwin* | mingw* | pw32* | cegcc*)
9580
 
      # When not using gcc, we currently assume that we are using
9581
 
      # Microsoft Visual C++.
9582
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9583
 
      # no search path for DLLs.
9584
 
      case $cc_basename in
9585
 
      cl*)
9586
 
        # Native MSVC
9587
 
        hardcode_libdir_flag_spec=' '
9588
 
        allow_undefined_flag=unsupported
9589
 
        always_export_symbols=yes
9590
 
        file_list_spec='@'
9591
 
        # Tell ltmain to make .lib files, not .a files.
9592
 
        libext=lib
9593
 
        # Tell ltmain to make .dll files, not .so files.
9594
 
        shrext_cmds=".dll"
9595
 
        # FIXME: Setting linknames here is a bad hack.
9596
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9597
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9598
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9599
 
          else
9600
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9601
 
          fi~
9602
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9603
 
          linknames='
9604
 
        # The linker will not automatically build a static lib if we build a DLL.
9605
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9606
 
        enable_shared_with_static_runtimes=yes
9607
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9608
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9609
 
        # Don't use ranlib
9610
 
        old_postinstall_cmds='chmod 644 $oldlib'
9611
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9612
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9613
 
          case $lt_outputfile in
9614
 
            *.exe|*.EXE) ;;
9615
 
            *)
9616
 
              lt_outputfile="$lt_outputfile.exe"
9617
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9618
 
              ;;
9619
 
          esac~
9620
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9621
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9622
 
            $RM "$lt_outputfile.manifest";
9623
 
          fi'
9624
 
        ;;
9625
 
      *)
9626
 
        # Assume MSVC wrapper
9627
 
        hardcode_libdir_flag_spec=' '
9628
 
        allow_undefined_flag=unsupported
9629
 
        # Tell ltmain to make .lib files, not .a files.
9630
 
        libext=lib
9631
 
        # Tell ltmain to make .dll files, not .so files.
9632
 
        shrext_cmds=".dll"
9633
 
        # FIXME: Setting linknames here is a bad hack.
9634
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9635
 
        # The linker will automatically build a .lib file if we build a DLL.
9636
 
        old_archive_from_new_cmds='true'
9637
 
        # FIXME: Should let the user specify the lib program.
9638
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9639
 
        enable_shared_with_static_runtimes=yes
9640
 
        ;;
9641
 
      esac
9642
 
      ;;
9643
 
 
9644
 
    darwin* | rhapsody*)
9645
 
 
9646
 
 
9647
 
  archive_cmds_need_lc=no
9648
 
  hardcode_direct=no
9649
 
  hardcode_automatic=yes
9650
 
  hardcode_shlibpath_var=unsupported
9651
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9652
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9653
 
 
9654
 
  else
9655
 
    whole_archive_flag_spec=''
9656
 
  fi
9657
 
  link_all_deplibs=yes
9658
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9659
 
  case $cc_basename in
9660
 
     ifort*) _lt_dar_can_shared=yes ;;
9661
 
     *) _lt_dar_can_shared=$GCC ;;
9662
 
  esac
9663
 
  if test "$_lt_dar_can_shared" = "yes"; then
9664
 
    output_verbose_link_cmd=func_echo_all
9665
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9666
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9667
 
    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}"
9668
 
    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}"
9669
 
 
9670
 
  else
9671
 
  ld_shlibs=no
9672
 
  fi
9673
 
 
9674
 
      ;;
9675
 
 
9676
 
    dgux*)
9677
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678
 
      hardcode_libdir_flag_spec='-L$libdir'
9679
 
      hardcode_shlibpath_var=no
9680
 
      ;;
9681
 
 
9682
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9683
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9684
 
    # does not break anything, and helps significantly (at the cost of a little
9685
 
    # extra space).
9686
 
    freebsd2.2*)
9687
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9688
 
      hardcode_libdir_flag_spec='-R$libdir'
9689
 
      hardcode_direct=yes
9690
 
      hardcode_shlibpath_var=no
9691
 
      ;;
9692
 
 
9693
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9694
 
    freebsd2.*)
9695
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9696
 
      hardcode_direct=yes
9697
 
      hardcode_minus_L=yes
9698
 
      hardcode_shlibpath_var=no
9699
 
      ;;
9700
 
 
9701
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9702
 
    freebsd* | dragonfly*)
9703
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704
 
      hardcode_libdir_flag_spec='-R$libdir'
9705
 
      hardcode_direct=yes
9706
 
      hardcode_shlibpath_var=no
9707
 
      ;;
9708
 
 
9709
 
    hpux9*)
9710
 
      if test "$GCC" = yes; then
9711
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9712
 
      else
9713
 
        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'
9714
 
      fi
9715
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9716
 
      hardcode_libdir_separator=:
9717
 
      hardcode_direct=yes
9718
 
 
9719
 
      # hardcode_minus_L: Not really in the search PATH,
9720
 
      # but as the default location of the library.
9721
 
      hardcode_minus_L=yes
9722
 
      export_dynamic_flag_spec='${wl}-E'
9723
 
      ;;
9724
 
 
9725
 
    hpux10*)
9726
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9728
 
      else
9729
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9730
 
      fi
9731
 
      if test "$with_gnu_ld" = no; then
9732
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9733
 
        hardcode_libdir_separator=:
9734
 
        hardcode_direct=yes
9735
 
        hardcode_direct_absolute=yes
9736
 
        export_dynamic_flag_spec='${wl}-E'
9737
 
        # hardcode_minus_L: Not really in the search PATH,
9738
 
        # but as the default location of the library.
9739
 
        hardcode_minus_L=yes
9740
 
      fi
9741
 
      ;;
9742
 
 
9743
 
    hpux11*)
9744
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9745
 
        case $host_cpu in
9746
 
        hppa*64*)
9747
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9748
 
          ;;
9749
 
        ia64*)
9750
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9751
 
          ;;
9752
 
        *)
9753
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9754
 
          ;;
9755
 
        esac
9756
 
      else
9757
 
        case $host_cpu in
9758
 
        hppa*64*)
9759
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760
 
          ;;
9761
 
        ia64*)
9762
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763
 
          ;;
9764
 
        *)
9765
 
 
9766
 
          # Older versions of the 11.00 compiler do not understand -b yet
9767
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9768
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9769
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9770
 
if ${lt_cv_prog_compiler__b+:} false; then :
9771
 
  $as_echo_n "(cached) " >&6
9772
 
else
9773
 
  lt_cv_prog_compiler__b=no
9774
 
   save_LDFLAGS="$LDFLAGS"
9775
 
   LDFLAGS="$LDFLAGS -b"
9776
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9777
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9778
 
     # The linker can only warn and ignore the option if not recognized
9779
 
     # So say no if there are warnings
9780
 
     if test -s conftest.err; then
9781
 
       # Append any errors to the config.log.
9782
 
       cat conftest.err 1>&5
9783
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9784
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9785
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9786
 
         lt_cv_prog_compiler__b=yes
9787
 
       fi
9788
 
     else
9789
 
       lt_cv_prog_compiler__b=yes
9790
 
     fi
9791
 
   fi
9792
 
   $RM -r conftest*
9793
 
   LDFLAGS="$save_LDFLAGS"
9794
 
 
9795
 
fi
9796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9797
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9798
 
 
9799
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9800
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9801
 
else
9802
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9803
 
fi
9804
 
 
9805
 
          ;;
9806
 
        esac
9807
 
      fi
9808
 
      if test "$with_gnu_ld" = no; then
9809
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9810
 
        hardcode_libdir_separator=:
9811
 
 
9812
 
        case $host_cpu in
9813
 
        hppa*64*|ia64*)
9814
 
          hardcode_direct=no
9815
 
          hardcode_shlibpath_var=no
9816
 
          ;;
9817
 
        *)
9818
 
          hardcode_direct=yes
9819
 
          hardcode_direct_absolute=yes
9820
 
          export_dynamic_flag_spec='${wl}-E'
9821
 
 
9822
 
          # hardcode_minus_L: Not really in the search PATH,
9823
 
          # but as the default location of the library.
9824
 
          hardcode_minus_L=yes
9825
 
          ;;
9826
 
        esac
9827
 
      fi
9828
 
      ;;
9829
 
 
9830
 
    irix5* | irix6* | nonstopux*)
9831
 
      if test "$GCC" = yes; then
9832
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9833
 
        # Try to use the -exported_symbol ld option, if it does not
9834
 
        # work, assume that -exports_file does not work either and
9835
 
        # implicitly export all symbols.
9836
 
        # This should be the same for all languages, so no per-tag cache variable.
9837
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9838
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9839
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9840
 
  $as_echo_n "(cached) " >&6
9841
 
else
9842
 
  save_LDFLAGS="$LDFLAGS"
9843
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9844
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845
 
/* end confdefs.h.  */
9846
 
int foo (void) { return 0; }
9847
 
_ACEOF
9848
 
if ac_fn_c_try_link "$LINENO"; then :
9849
 
  lt_cv_irix_exported_symbol=yes
9850
 
else
9851
 
  lt_cv_irix_exported_symbol=no
9852
 
fi
9853
 
rm -f core conftest.err conftest.$ac_objext \
9854
 
    conftest$ac_exeext conftest.$ac_ext
9855
 
           LDFLAGS="$save_LDFLAGS"
9856
 
fi
9857
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9858
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9859
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9860
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9861
 
        fi
9862
 
      else
9863
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9864
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9865
 
      fi
9866
 
      archive_cmds_need_lc='no'
9867
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868
 
      hardcode_libdir_separator=:
9869
 
      inherit_rpath=yes
9870
 
      link_all_deplibs=yes
9871
 
      ;;
9872
 
 
9873
 
    netbsd*)
9874
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9876
 
      else
9877
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9878
 
      fi
9879
 
      hardcode_libdir_flag_spec='-R$libdir'
9880
 
      hardcode_direct=yes
9881
 
      hardcode_shlibpath_var=no
9882
 
      ;;
9883
 
 
9884
 
    newsos6)
9885
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886
 
      hardcode_direct=yes
9887
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888
 
      hardcode_libdir_separator=:
9889
 
      hardcode_shlibpath_var=no
9890
 
      ;;
9891
 
 
9892
 
    *nto* | *qnx*)
9893
 
      ;;
9894
 
 
9895
 
    openbsd*)
9896
 
      if test -f /usr/libexec/ld.so; then
9897
 
        hardcode_direct=yes
9898
 
        hardcode_shlibpath_var=no
9899
 
        hardcode_direct_absolute=yes
9900
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904
 
          export_dynamic_flag_spec='${wl}-E'
9905
 
        else
9906
 
          case $host_os in
9907
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909
 
             hardcode_libdir_flag_spec='-R$libdir'
9910
 
             ;;
9911
 
           *)
9912
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9914
 
             ;;
9915
 
          esac
9916
 
        fi
9917
 
      else
9918
 
        ld_shlibs=no
9919
 
      fi
9920
 
      ;;
9921
 
 
9922
 
    os2*)
9923
 
      hardcode_libdir_flag_spec='-L$libdir'
9924
 
      hardcode_minus_L=yes
9925
 
      allow_undefined_flag=unsupported
9926
 
      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'
9927
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9928
 
      ;;
9929
 
 
9930
 
    osf3*)
9931
 
      if test "$GCC" = yes; then
9932
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9934
 
      else
9935
 
        allow_undefined_flag=' -expect_unresolved \*'
9936
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9937
 
      fi
9938
 
      archive_cmds_need_lc='no'
9939
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940
 
      hardcode_libdir_separator=:
9941
 
      ;;
9942
 
 
9943
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9944
 
      if test "$GCC" = yes; then
9945
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9947
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9948
 
      else
9949
 
        allow_undefined_flag=' -expect_unresolved \*'
9950
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9951
 
        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~
9952
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9953
 
 
9954
 
        # Both c and cxx compiler support -rpath directly
9955
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9956
 
      fi
9957
 
      archive_cmds_need_lc='no'
9958
 
      hardcode_libdir_separator=:
9959
 
      ;;
9960
 
 
9961
 
    solaris*)
9962
 
      no_undefined_flag=' -z defs'
9963
 
      if test "$GCC" = yes; then
9964
 
        wlarc='${wl}'
9965
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9968
 
      else
9969
 
        case `$CC -V 2>&1` in
9970
 
        *"Compilers 5.0"*)
9971
 
          wlarc=''
9972
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9975
 
          ;;
9976
 
        *)
9977
 
          wlarc='${wl}'
9978
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981
 
          ;;
9982
 
        esac
9983
 
      fi
9984
 
      hardcode_libdir_flag_spec='-R$libdir'
9985
 
      hardcode_shlibpath_var=no
9986
 
      case $host_os in
9987
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9988
 
      *)
9989
 
        # The compiler driver will combine and reorder linker options,
9990
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9991
 
        # but is careful enough not to reorder.
9992
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9993
 
        if test "$GCC" = yes; then
9994
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9995
 
        else
9996
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9997
 
        fi
9998
 
        ;;
9999
 
      esac
10000
 
      link_all_deplibs=yes
10001
 
      ;;
10002
 
 
10003
 
    sunos4*)
10004
 
      if test "x$host_vendor" = xsequent; then
10005
 
        # Use $CC to link under sequent, because it throws in some extra .o
10006
 
        # files that make .init and .fini sections work.
10007
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10008
 
      else
10009
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10010
 
      fi
10011
 
      hardcode_libdir_flag_spec='-L$libdir'
10012
 
      hardcode_direct=yes
10013
 
      hardcode_minus_L=yes
10014
 
      hardcode_shlibpath_var=no
10015
 
      ;;
10016
 
 
10017
 
    sysv4)
10018
 
      case $host_vendor in
10019
 
        sni)
10020
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021
 
          hardcode_direct=yes # is this really true???
10022
 
        ;;
10023
 
        siemens)
10024
 
          ## LD is ld it makes a PLAMLIB
10025
 
          ## CC just makes a GrossModule.
10026
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027
 
          reload_cmds='$CC -r -o $output$reload_objs'
10028
 
          hardcode_direct=no
10029
 
        ;;
10030
 
        motorola)
10031
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10033
 
        ;;
10034
 
      esac
10035
 
      runpath_var='LD_RUN_PATH'
10036
 
      hardcode_shlibpath_var=no
10037
 
      ;;
10038
 
 
10039
 
    sysv4.3*)
10040
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041
 
      hardcode_shlibpath_var=no
10042
 
      export_dynamic_flag_spec='-Bexport'
10043
 
      ;;
10044
 
 
10045
 
    sysv4*MP*)
10046
 
      if test -d /usr/nec; then
10047
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048
 
        hardcode_shlibpath_var=no
10049
 
        runpath_var=LD_RUN_PATH
10050
 
        hardcode_runpath_var=yes
10051
 
        ld_shlibs=yes
10052
 
      fi
10053
 
      ;;
10054
 
 
10055
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056
 
      no_undefined_flag='${wl}-z,text'
10057
 
      archive_cmds_need_lc=no
10058
 
      hardcode_shlibpath_var=no
10059
 
      runpath_var='LD_RUN_PATH'
10060
 
 
10061
 
      if test "$GCC" = yes; then
10062
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064
 
      else
10065
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067
 
      fi
10068
 
      ;;
10069
 
 
10070
 
    sysv5* | sco3.2v5* | sco5v6*)
10071
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10072
 
      # link with -lc, and that would cause any symbols used from libc to
10073
 
      # always be unresolved, which means just about no library would
10074
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10075
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10076
 
      # as -z defs.
10077
 
      no_undefined_flag='${wl}-z,text'
10078
 
      allow_undefined_flag='${wl}-z,nodefs'
10079
 
      archive_cmds_need_lc=no
10080
 
      hardcode_shlibpath_var=no
10081
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082
 
      hardcode_libdir_separator=':'
10083
 
      link_all_deplibs=yes
10084
 
      export_dynamic_flag_spec='${wl}-Bexport'
10085
 
      runpath_var='LD_RUN_PATH'
10086
 
 
10087
 
      if test "$GCC" = yes; then
10088
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090
 
      else
10091
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093
 
      fi
10094
 
      ;;
10095
 
 
10096
 
    uts4*)
10097
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098
 
      hardcode_libdir_flag_spec='-L$libdir'
10099
 
      hardcode_shlibpath_var=no
10100
 
      ;;
10101
 
 
10102
 
    *)
10103
 
      ld_shlibs=no
10104
 
      ;;
10105
 
    esac
10106
 
 
10107
 
    if test x$host_vendor = xsni; then
10108
 
      case $host in
10109
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10111
 
        ;;
10112
 
      esac
10113
 
    fi
10114
 
  fi
10115
 
 
10116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117
 
$as_echo "$ld_shlibs" >&6; }
10118
 
test "$ld_shlibs" = no && can_build_shared=no
10119
 
 
10120
 
with_gnu_ld=$with_gnu_ld
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
#
10137
 
# Do we need to explicitly link libc?
10138
 
#
10139
 
case "x$archive_cmds_need_lc" in
10140
 
x|xyes)
10141
 
  # Assume -lc should be added
10142
 
  archive_cmds_need_lc=yes
10143
 
 
10144
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10145
 
    case $archive_cmds in
10146
 
    *'~'*)
10147
 
      # FIXME: we may have to deal with multi-command sequences.
10148
 
      ;;
10149
 
    '$CC '*)
10150
 
      # Test whether the compiler implicitly links with -lc since on some
10151
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10152
 
      # to ld, don't add -lc before -lgcc.
10153
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10156
 
  $as_echo_n "(cached) " >&6
10157
 
else
10158
 
  $RM conftest*
10159
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160
 
 
10161
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162
 
  (eval $ac_compile) 2>&5
10163
 
  ac_status=$?
10164
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165
 
  test $ac_status = 0; } 2>conftest.err; then
10166
 
          soname=conftest
10167
 
          lib=conftest
10168
 
          libobjs=conftest.$ac_objext
10169
 
          deplibs=
10170
 
          wl=$lt_prog_compiler_wl
10171
 
          pic_flag=$lt_prog_compiler_pic
10172
 
          compiler_flags=-v
10173
 
          linker_flags=-v
10174
 
          verstring=
10175
 
          output_objdir=.
10176
 
          libname=conftest
10177
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10178
 
          allow_undefined_flag=
10179
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10181
 
  ac_status=$?
10182
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183
 
  test $ac_status = 0; }
10184
 
          then
10185
 
            lt_cv_archive_cmds_need_lc=no
10186
 
          else
10187
 
            lt_cv_archive_cmds_need_lc=yes
10188
 
          fi
10189
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10190
 
        else
10191
 
          cat conftest.err 1>&5
10192
 
        fi
10193
 
        $RM conftest*
10194
 
 
10195
 
fi
10196
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10199
 
      ;;
10200
 
    esac
10201
 
  fi
10202
 
  ;;
10203
 
esac
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
 
 
10339
 
 
10340
 
 
10341
 
 
10342
 
 
10343
 
 
10344
 
 
10345
 
 
10346
 
 
10347
 
 
10348
 
 
10349
 
 
10350
 
 
10351
 
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10357
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10358
 
 
10359
 
if test "$GCC" = yes; then
10360
 
  case $host_os in
10361
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10362
 
    *) lt_awk_arg="/^libraries:/" ;;
10363
 
  esac
10364
 
  case $host_os in
10365
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10366
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10367
 
  esac
10368
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10369
 
  case $lt_search_path_spec in
10370
 
  *\;*)
10371
 
    # if the path contains ";" then we assume it to be the separator
10372
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10373
 
    # assumed that no part of a normal pathname contains ";" but that should
10374
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10375
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10376
 
    ;;
10377
 
  *)
10378
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10379
 
    ;;
10380
 
  esac
10381
 
  # Ok, now we have the path, separated by spaces, we can step through it
10382
 
  # and add multilib dir if necessary.
10383
 
  lt_tmp_lt_search_path_spec=
10384
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10385
 
  for lt_sys_path in $lt_search_path_spec; do
10386
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10387
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10388
 
    else
10389
 
      test -d "$lt_sys_path" && \
10390
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10391
 
    fi
10392
 
  done
10393
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10394
 
BEGIN {RS=" "; FS="/|\n";} {
10395
 
  lt_foo="";
10396
 
  lt_count=0;
10397
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10398
 
    if ($lt_i != "" && $lt_i != ".") {
10399
 
      if ($lt_i == "..") {
10400
 
        lt_count++;
10401
 
      } else {
10402
 
        if (lt_count == 0) {
10403
 
          lt_foo="/" $lt_i lt_foo;
10404
 
        } else {
10405
 
          lt_count--;
10406
 
        }
10407
 
      }
10408
 
    }
10409
 
  }
10410
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10411
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10412
 
}'`
10413
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10414
 
  # for these hosts.
10415
 
  case $host_os in
10416
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10417
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10418
 
  esac
10419
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10420
 
else
10421
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10422
 
fi
10423
 
library_names_spec=
10424
 
libname_spec='lib$name'
10425
 
soname_spec=
10426
 
shrext_cmds=".so"
10427
 
postinstall_cmds=
10428
 
postuninstall_cmds=
10429
 
finish_cmds=
10430
 
finish_eval=
10431
 
shlibpath_var=
10432
 
shlibpath_overrides_runpath=unknown
10433
 
version_type=none
10434
 
dynamic_linker="$host_os ld.so"
10435
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10436
 
need_lib_prefix=unknown
10437
 
hardcode_into_libs=no
10438
 
 
10439
 
# when you set need_version to no, make sure it does not cause -set_version
10440
 
# flags to be left without arguments
10441
 
need_version=unknown
10442
 
 
10443
 
case $host_os in
10444
 
aix3*)
10445
 
  version_type=linux # correct to gnu/linux during the next big refactor
10446
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10447
 
  shlibpath_var=LIBPATH
10448
 
 
10449
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10450
 
  soname_spec='${libname}${release}${shared_ext}$major'
10451
 
  ;;
10452
 
 
10453
 
aix[4-9]*)
10454
 
  version_type=linux # correct to gnu/linux during the next big refactor
10455
 
  need_lib_prefix=no
10456
 
  need_version=no
10457
 
  hardcode_into_libs=yes
10458
 
  if test "$host_cpu" = ia64; then
10459
 
    # AIX 5 supports IA64
10460
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10461
 
    shlibpath_var=LD_LIBRARY_PATH
10462
 
  else
10463
 
    # With GCC up to 2.95.x, collect2 would create an import file
10464
 
    # for dependence libraries.  The import file would start with
10465
 
    # the line `#! .'.  This would cause the generated library to
10466
 
    # depend on `.', always an invalid library.  This was fixed in
10467
 
    # development snapshots of GCC prior to 3.0.
10468
 
    case $host_os in
10469
 
      aix4 | aix4.[01] | aix4.[01].*)
10470
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10471
 
           echo ' yes '
10472
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10473
 
        :
10474
 
      else
10475
 
        can_build_shared=no
10476
 
      fi
10477
 
      ;;
10478
 
    esac
10479
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10480
 
    # soname into executable. Probably we can add versioning support to
10481
 
    # collect2, so additional links can be useful in future.
10482
 
    if test "$aix_use_runtimelinking" = yes; then
10483
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10484
 
      # instead of lib<name>.a to let people know that these are not
10485
 
      # typical AIX shared libraries.
10486
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487
 
    else
10488
 
      # We preserve .a as extension for shared libraries through AIX4.2
10489
 
      # and later when we are not doing run time linking.
10490
 
      library_names_spec='${libname}${release}.a $libname.a'
10491
 
      soname_spec='${libname}${release}${shared_ext}$major'
10492
 
    fi
10493
 
    shlibpath_var=LIBPATH
10494
 
  fi
10495
 
  ;;
10496
 
 
10497
 
amigaos*)
10498
 
  case $host_cpu in
10499
 
  powerpc)
10500
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10501
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10502
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503
 
    ;;
10504
 
  m68k)
10505
 
    library_names_spec='$libname.ixlibrary $libname.a'
10506
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10507
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10508
 
    ;;
10509
 
  esac
10510
 
  ;;
10511
 
 
10512
 
beos*)
10513
 
  library_names_spec='${libname}${shared_ext}'
10514
 
  dynamic_linker="$host_os ld.so"
10515
 
  shlibpath_var=LIBRARY_PATH
10516
 
  ;;
10517
 
 
10518
 
bsdi[45]*)
10519
 
  version_type=linux # correct to gnu/linux during the next big refactor
10520
 
  need_version=no
10521
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522
 
  soname_spec='${libname}${release}${shared_ext}$major'
10523
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10524
 
  shlibpath_var=LD_LIBRARY_PATH
10525
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10526
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10527
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10528
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10529
 
  # libtool to hard-code these into programs
10530
 
  ;;
10531
 
 
10532
 
cygwin* | mingw* | pw32* | cegcc*)
10533
 
  version_type=windows
10534
 
  shrext_cmds=".dll"
10535
 
  need_version=no
10536
 
  need_lib_prefix=no
10537
 
 
10538
 
  case $GCC,$cc_basename in
10539
 
  yes,*)
10540
 
    # gcc
10541
 
    library_names_spec='$libname.dll.a'
10542
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10543
 
    postinstall_cmds='base_file=`basename \${file}`~
10544
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10545
 
      dldir=$destdir/`dirname \$dlpath`~
10546
 
      test -d \$dldir || mkdir -p \$dldir~
10547
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10548
 
      chmod a+x \$dldir/$dlname~
10549
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10550
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10551
 
      fi'
10552
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553
 
      dlpath=$dir/\$dldll~
10554
 
       $RM \$dlpath'
10555
 
    shlibpath_overrides_runpath=yes
10556
 
 
10557
 
    case $host_os in
10558
 
    cygwin*)
10559
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10560
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561
 
 
10562
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10563
 
      ;;
10564
 
    mingw* | cegcc*)
10565
 
      # MinGW DLLs use traditional 'lib' prefix
10566
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
 
      ;;
10568
 
    pw32*)
10569
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10570
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571
 
      ;;
10572
 
    esac
10573
 
    dynamic_linker='Win32 ld.exe'
10574
 
    ;;
10575
 
 
10576
 
  *,cl*)
10577
 
    # Native MSVC
10578
 
    libname_spec='$name'
10579
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580
 
    library_names_spec='${libname}.dll.lib'
10581
 
 
10582
 
    case $build_os in
10583
 
    mingw*)
10584
 
      sys_lib_search_path_spec=
10585
 
      lt_save_ifs=$IFS
10586
 
      IFS=';'
10587
 
      for lt_path in $LIB
10588
 
      do
10589
 
        IFS=$lt_save_ifs
10590
 
        # Let DOS variable expansion print the short 8.3 style file name.
10591
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10592
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10593
 
      done
10594
 
      IFS=$lt_save_ifs
10595
 
      # Convert to MSYS style.
10596
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10597
 
      ;;
10598
 
    cygwin*)
10599
 
      # Convert to unix form, then to dos form, then back to unix form
10600
 
      # but this time dos style (no spaces!) so that the unix form looks
10601
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10602
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10603
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10604
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10605
 
      ;;
10606
 
    *)
10607
 
      sys_lib_search_path_spec="$LIB"
10608
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10609
 
        # It is most probably a Windows format PATH.
10610
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10611
 
      else
10612
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10613
 
      fi
10614
 
      # FIXME: find the short name or the path components, as spaces are
10615
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10616
 
      ;;
10617
 
    esac
10618
 
 
10619
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10620
 
    postinstall_cmds='base_file=`basename \${file}`~
10621
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10622
 
      dldir=$destdir/`dirname \$dlpath`~
10623
 
      test -d \$dldir || mkdir -p \$dldir~
10624
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10625
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10626
 
      dlpath=$dir/\$dldll~
10627
 
       $RM \$dlpath'
10628
 
    shlibpath_overrides_runpath=yes
10629
 
    dynamic_linker='Win32 link.exe'
10630
 
    ;;
10631
 
 
10632
 
  *)
10633
 
    # Assume MSVC wrapper
10634
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10635
 
    dynamic_linker='Win32 ld.exe'
10636
 
    ;;
10637
 
  esac
10638
 
  # FIXME: first we should search . and the directory the executable is in
10639
 
  shlibpath_var=PATH
10640
 
  ;;
10641
 
 
10642
 
darwin* | rhapsody*)
10643
 
  dynamic_linker="$host_os dyld"
10644
 
  version_type=darwin
10645
 
  need_lib_prefix=no
10646
 
  need_version=no
10647
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10648
 
  soname_spec='${libname}${release}${major}$shared_ext'
10649
 
  shlibpath_overrides_runpath=yes
10650
 
  shlibpath_var=DYLD_LIBRARY_PATH
10651
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10652
 
 
10653
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10654
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10655
 
  ;;
10656
 
 
10657
 
dgux*)
10658
 
  version_type=linux # correct to gnu/linux during the next big refactor
10659
 
  need_lib_prefix=no
10660
 
  need_version=no
10661
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10662
 
  soname_spec='${libname}${release}${shared_ext}$major'
10663
 
  shlibpath_var=LD_LIBRARY_PATH
10664
 
  ;;
10665
 
 
10666
 
freebsd* | dragonfly*)
10667
 
  # DragonFly does not have aout.  When/if they implement a new
10668
 
  # versioning mechanism, adjust this.
10669
 
  if test -x /usr/bin/objformat; then
10670
 
    objformat=`/usr/bin/objformat`
10671
 
  else
10672
 
    case $host_os in
10673
 
    freebsd[23].*) objformat=aout ;;
10674
 
    *) objformat=elf ;;
10675
 
    esac
10676
 
  fi
10677
 
  version_type=freebsd-$objformat
10678
 
  case $version_type in
10679
 
    freebsd-elf*)
10680
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10681
 
      need_version=no
10682
 
      need_lib_prefix=no
10683
 
      ;;
10684
 
    freebsd-*)
10685
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10686
 
      need_version=yes
10687
 
      ;;
10688
 
  esac
10689
 
  shlibpath_var=LD_LIBRARY_PATH
10690
 
  case $host_os in
10691
 
  freebsd2.*)
10692
 
    shlibpath_overrides_runpath=yes
10693
 
    ;;
10694
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10695
 
    shlibpath_overrides_runpath=yes
10696
 
    hardcode_into_libs=yes
10697
 
    ;;
10698
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10699
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10700
 
    shlibpath_overrides_runpath=no
10701
 
    hardcode_into_libs=yes
10702
 
    ;;
10703
 
  *) # from 4.6 on, and DragonFly
10704
 
    shlibpath_overrides_runpath=yes
10705
 
    hardcode_into_libs=yes
10706
 
    ;;
10707
 
  esac
10708
 
  ;;
10709
 
 
10710
 
gnu*)
10711
 
  version_type=linux # correct to gnu/linux during the next big refactor
10712
 
  need_lib_prefix=no
10713
 
  need_version=no
10714
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10715
 
  soname_spec='${libname}${release}${shared_ext}$major'
10716
 
  shlibpath_var=LD_LIBRARY_PATH
10717
 
  shlibpath_overrides_runpath=no
10718
 
  hardcode_into_libs=yes
10719
 
  ;;
10720
 
 
10721
 
haiku*)
10722
 
  version_type=linux # correct to gnu/linux during the next big refactor
10723
 
  need_lib_prefix=no
10724
 
  need_version=no
10725
 
  dynamic_linker="$host_os runtime_loader"
10726
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10727
 
  soname_spec='${libname}${release}${shared_ext}$major'
10728
 
  shlibpath_var=LIBRARY_PATH
10729
 
  shlibpath_overrides_runpath=yes
10730
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10731
 
  hardcode_into_libs=yes
10732
 
  ;;
10733
 
 
10734
 
hpux9* | hpux10* | hpux11*)
10735
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10736
 
  # link against other versions.
10737
 
  version_type=sunos
10738
 
  need_lib_prefix=no
10739
 
  need_version=no
10740
 
  case $host_cpu in
10741
 
  ia64*)
10742
 
    shrext_cmds='.so'
10743
 
    hardcode_into_libs=yes
10744
 
    dynamic_linker="$host_os dld.so"
10745
 
    shlibpath_var=LD_LIBRARY_PATH
10746
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748
 
    soname_spec='${libname}${release}${shared_ext}$major'
10749
 
    if test "X$HPUX_IA64_MODE" = X32; then
10750
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10751
 
    else
10752
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10753
 
    fi
10754
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10755
 
    ;;
10756
 
  hppa*64*)
10757
 
    shrext_cmds='.sl'
10758
 
    hardcode_into_libs=yes
10759
 
    dynamic_linker="$host_os dld.sl"
10760
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10761
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10762
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763
 
    soname_spec='${libname}${release}${shared_ext}$major'
10764
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10765
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10766
 
    ;;
10767
 
  *)
10768
 
    shrext_cmds='.sl'
10769
 
    dynamic_linker="$host_os dld.sl"
10770
 
    shlibpath_var=SHLIB_PATH
10771
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10772
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773
 
    soname_spec='${libname}${release}${shared_ext}$major'
10774
 
    ;;
10775
 
  esac
10776
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10777
 
  postinstall_cmds='chmod 555 $lib'
10778
 
  # or fails outright, so override atomically:
10779
 
  install_override_mode=555
10780
 
  ;;
10781
 
 
10782
 
interix[3-9]*)
10783
 
  version_type=linux # correct to gnu/linux during the next big refactor
10784
 
  need_lib_prefix=no
10785
 
  need_version=no
10786
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10787
 
  soname_spec='${libname}${release}${shared_ext}$major'
10788
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10789
 
  shlibpath_var=LD_LIBRARY_PATH
10790
 
  shlibpath_overrides_runpath=no
10791
 
  hardcode_into_libs=yes
10792
 
  ;;
10793
 
 
10794
 
irix5* | irix6* | nonstopux*)
10795
 
  case $host_os in
10796
 
    nonstopux*) version_type=nonstopux ;;
10797
 
    *)
10798
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10799
 
                version_type=linux # correct to gnu/linux during the next big refactor
10800
 
        else
10801
 
                version_type=irix
10802
 
        fi ;;
10803
 
  esac
10804
 
  need_lib_prefix=no
10805
 
  need_version=no
10806
 
  soname_spec='${libname}${release}${shared_ext}$major'
10807
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10808
 
  case $host_os in
10809
 
  irix5* | nonstopux*)
10810
 
    libsuff= shlibsuff=
10811
 
    ;;
10812
 
  *)
10813
 
    case $LD in # libtool.m4 will add one of these switches to LD
10814
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10815
 
      libsuff= shlibsuff= libmagic=32-bit;;
10816
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10817
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10818
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10819
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10820
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10821
 
    esac
10822
 
    ;;
10823
 
  esac
10824
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10825
 
  shlibpath_overrides_runpath=no
10826
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10827
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10828
 
  hardcode_into_libs=yes
10829
 
  ;;
10830
 
 
10831
 
# No shared lib support for Linux oldld, aout, or coff.
10832
 
linux*oldld* | linux*aout* | linux*coff*)
10833
 
  dynamic_linker=no
10834
 
  ;;
10835
 
 
10836
 
# This must be glibc/ELF.
10837
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10838
 
  version_type=linux # correct to gnu/linux during the next big refactor
10839
 
  need_lib_prefix=no
10840
 
  need_version=no
10841
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842
 
  soname_spec='${libname}${release}${shared_ext}$major'
10843
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10844
 
  shlibpath_var=LD_LIBRARY_PATH
10845
 
  shlibpath_overrides_runpath=no
10846
 
 
10847
 
  # Some binutils ld are patched to set DT_RUNPATH
10848
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10849
 
  $as_echo_n "(cached) " >&6
10850
 
else
10851
 
  lt_cv_shlibpath_overrides_runpath=no
10852
 
    save_LDFLAGS=$LDFLAGS
10853
 
    save_libdir=$libdir
10854
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10855
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10856
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857
 
/* end confdefs.h.  */
10858
 
 
10859
 
int
10860
 
main ()
10861
 
{
10862
 
 
10863
 
  ;
10864
 
  return 0;
10865
 
}
10866
 
_ACEOF
10867
 
if ac_fn_c_try_link "$LINENO"; then :
10868
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10869
 
  lt_cv_shlibpath_overrides_runpath=yes
10870
 
fi
10871
 
fi
10872
 
rm -f core conftest.err conftest.$ac_objext \
10873
 
    conftest$ac_exeext conftest.$ac_ext
10874
 
    LDFLAGS=$save_LDFLAGS
10875
 
    libdir=$save_libdir
10876
 
 
10877
 
fi
10878
 
 
10879
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10880
 
 
10881
 
  # This implies no fast_install, which is unacceptable.
10882
 
  # Some rework will be needed to allow for fast_install
10883
 
  # before this can be enabled.
10884
 
  hardcode_into_libs=yes
10885
 
 
10886
 
  # Add ABI-specific directories to the system library path.
10887
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10888
 
 
10889
 
  # Append ld.so.conf contents to the search path
10890
 
  if test -f /etc/ld.so.conf; then
10891
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10892
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10893
 
 
10894
 
  fi
10895
 
 
10896
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10897
 
  # powerpc, because MkLinux only supported shared libraries with the
10898
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10899
 
  # most powerpc-linux boxes support dynamic linking these days and
10900
 
  # people can always --disable-shared, the test was removed, and we
10901
 
  # assume the GNU/Linux dynamic linker is in use.
10902
 
  dynamic_linker='GNU/Linux ld.so'
10903
 
  ;;
10904
 
 
10905
 
netbsd*)
10906
 
  version_type=sunos
10907
 
  need_lib_prefix=no
10908
 
  need_version=no
10909
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10910
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912
 
    dynamic_linker='NetBSD (a.out) ld.so'
10913
 
  else
10914
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915
 
    soname_spec='${libname}${release}${shared_ext}$major'
10916
 
    dynamic_linker='NetBSD ld.elf_so'
10917
 
  fi
10918
 
  shlibpath_var=LD_LIBRARY_PATH
10919
 
  shlibpath_overrides_runpath=yes
10920
 
  hardcode_into_libs=yes
10921
 
  ;;
10922
 
 
10923
 
newsos6)
10924
 
  version_type=linux # correct to gnu/linux during the next big refactor
10925
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926
 
  shlibpath_var=LD_LIBRARY_PATH
10927
 
  shlibpath_overrides_runpath=yes
10928
 
  ;;
10929
 
 
10930
 
*nto* | *qnx*)
10931
 
  version_type=qnx
10932
 
  need_lib_prefix=no
10933
 
  need_version=no
10934
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935
 
  soname_spec='${libname}${release}${shared_ext}$major'
10936
 
  shlibpath_var=LD_LIBRARY_PATH
10937
 
  shlibpath_overrides_runpath=no
10938
 
  hardcode_into_libs=yes
10939
 
  dynamic_linker='ldqnx.so'
10940
 
  ;;
10941
 
 
10942
 
openbsd*)
10943
 
  version_type=sunos
10944
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10945
 
  need_lib_prefix=no
10946
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10947
 
  case $host_os in
10948
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10949
 
    *)                          need_version=no  ;;
10950
 
  esac
10951
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10953
 
  shlibpath_var=LD_LIBRARY_PATH
10954
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10955
 
    case $host_os in
10956
 
      openbsd2.[89] | openbsd2.[89].*)
10957
 
        shlibpath_overrides_runpath=no
10958
 
        ;;
10959
 
      *)
10960
 
        shlibpath_overrides_runpath=yes
10961
 
        ;;
10962
 
      esac
10963
 
  else
10964
 
    shlibpath_overrides_runpath=yes
10965
 
  fi
10966
 
  ;;
10967
 
 
10968
 
os2*)
10969
 
  libname_spec='$name'
10970
 
  shrext_cmds=".dll"
10971
 
  need_lib_prefix=no
10972
 
  library_names_spec='$libname${shared_ext} $libname.a'
10973
 
  dynamic_linker='OS/2 ld.exe'
10974
 
  shlibpath_var=LIBPATH
10975
 
  ;;
10976
 
 
10977
 
osf3* | osf4* | osf5*)
10978
 
  version_type=osf
10979
 
  need_lib_prefix=no
10980
 
  need_version=no
10981
 
  soname_spec='${libname}${release}${shared_ext}$major'
10982
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983
 
  shlibpath_var=LD_LIBRARY_PATH
10984
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10985
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10986
 
  ;;
10987
 
 
10988
 
rdos*)
10989
 
  dynamic_linker=no
10990
 
  ;;
10991
 
 
10992
 
solaris*)
10993
 
  version_type=linux # correct to gnu/linux during the next big refactor
10994
 
  need_lib_prefix=no
10995
 
  need_version=no
10996
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997
 
  soname_spec='${libname}${release}${shared_ext}$major'
10998
 
  shlibpath_var=LD_LIBRARY_PATH
10999
 
  shlibpath_overrides_runpath=yes
11000
 
  hardcode_into_libs=yes
11001
 
  # ldd complains unless libraries are executable
11002
 
  postinstall_cmds='chmod +x $lib'
11003
 
  ;;
11004
 
 
11005
 
sunos4*)
11006
 
  version_type=sunos
11007
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11008
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11009
 
  shlibpath_var=LD_LIBRARY_PATH
11010
 
  shlibpath_overrides_runpath=yes
11011
 
  if test "$with_gnu_ld" = yes; then
11012
 
    need_lib_prefix=no
11013
 
  fi
11014
 
  need_version=yes
11015
 
  ;;
11016
 
 
11017
 
sysv4 | sysv4.3*)
11018
 
  version_type=linux # correct to gnu/linux during the next big refactor
11019
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020
 
  soname_spec='${libname}${release}${shared_ext}$major'
11021
 
  shlibpath_var=LD_LIBRARY_PATH
11022
 
  case $host_vendor in
11023
 
    sni)
11024
 
      shlibpath_overrides_runpath=no
11025
 
      need_lib_prefix=no
11026
 
      runpath_var=LD_RUN_PATH
11027
 
      ;;
11028
 
    siemens)
11029
 
      need_lib_prefix=no
11030
 
      ;;
11031
 
    motorola)
11032
 
      need_lib_prefix=no
11033
 
      need_version=no
11034
 
      shlibpath_overrides_runpath=no
11035
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11036
 
      ;;
11037
 
  esac
11038
 
  ;;
11039
 
 
11040
 
sysv4*MP*)
11041
 
  if test -d /usr/nec ;then
11042
 
    version_type=linux # correct to gnu/linux during the next big refactor
11043
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11044
 
    soname_spec='$libname${shared_ext}.$major'
11045
 
    shlibpath_var=LD_LIBRARY_PATH
11046
 
  fi
11047
 
  ;;
11048
 
 
11049
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11050
 
  version_type=freebsd-elf
11051
 
  need_lib_prefix=no
11052
 
  need_version=no
11053
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11054
 
  soname_spec='${libname}${release}${shared_ext}$major'
11055
 
  shlibpath_var=LD_LIBRARY_PATH
11056
 
  shlibpath_overrides_runpath=yes
11057
 
  hardcode_into_libs=yes
11058
 
  if test "$with_gnu_ld" = yes; then
11059
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11060
 
  else
11061
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11062
 
    case $host_os in
11063
 
      sco3.2v5*)
11064
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11065
 
        ;;
11066
 
    esac
11067
 
  fi
11068
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11069
 
  ;;
11070
 
 
11071
 
tpf*)
11072
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11073
 
  version_type=linux # correct to gnu/linux during the next big refactor
11074
 
  need_lib_prefix=no
11075
 
  need_version=no
11076
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077
 
  shlibpath_var=LD_LIBRARY_PATH
11078
 
  shlibpath_overrides_runpath=no
11079
 
  hardcode_into_libs=yes
11080
 
  ;;
11081
 
 
11082
 
uts4*)
11083
 
  version_type=linux # correct to gnu/linux during the next big refactor
11084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085
 
  soname_spec='${libname}${release}${shared_ext}$major'
11086
 
  shlibpath_var=LD_LIBRARY_PATH
11087
 
  ;;
11088
 
 
11089
 
*)
11090
 
  dynamic_linker=no
11091
 
  ;;
11092
 
esac
11093
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11094
 
$as_echo "$dynamic_linker" >&6; }
11095
 
test "$dynamic_linker" = no && can_build_shared=no
11096
 
 
11097
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11098
 
if test "$GCC" = yes; then
11099
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11100
 
fi
11101
 
 
11102
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11103
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11104
 
fi
11105
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11106
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11107
 
fi
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
 
11172
 
 
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
 
 
11180
 
 
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
 
 
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11201
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11202
 
hardcode_action=
11203
 
if test -n "$hardcode_libdir_flag_spec" ||
11204
 
   test -n "$runpath_var" ||
11205
 
   test "X$hardcode_automatic" = "Xyes" ; then
11206
 
 
11207
 
  # We can hardcode non-existent directories.
11208
 
  if test "$hardcode_direct" != no &&
11209
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11210
 
     # have to relink, otherwise we might link with an installed library
11211
 
     # when we should be linking with a yet-to-be-installed one
11212
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11213
 
     test "$hardcode_minus_L" != no; then
11214
 
    # Linking always hardcodes the temporary library directory.
11215
 
    hardcode_action=relink
11216
 
  else
11217
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11218
 
    hardcode_action=immediate
11219
 
  fi
11220
 
else
11221
 
  # We cannot hardcode anything, or else we can only hardcode existing
11222
 
  # directories.
11223
 
  hardcode_action=unsupported
11224
 
fi
11225
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11226
 
$as_echo "$hardcode_action" >&6; }
11227
 
 
11228
 
if test "$hardcode_action" = relink ||
11229
 
   test "$inherit_rpath" = yes; then
11230
 
  # Fast installation is not supported
11231
 
  enable_fast_install=no
11232
 
elif test "$shlibpath_overrides_runpath" = yes ||
11233
 
     test "$enable_shared" = no; then
11234
 
  # Fast installation is not necessary
11235
 
  enable_fast_install=needless
11236
 
fi
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
 
 
11243
 
  if test "x$enable_dlopen" != xyes; then
11244
 
  enable_dlopen=unknown
11245
 
  enable_dlopen_self=unknown
11246
 
  enable_dlopen_self_static=unknown
11247
 
else
11248
 
  lt_cv_dlopen=no
11249
 
  lt_cv_dlopen_libs=
11250
 
 
11251
 
  case $host_os in
11252
 
  beos*)
11253
 
    lt_cv_dlopen="load_add_on"
11254
 
    lt_cv_dlopen_libs=
11255
 
    lt_cv_dlopen_self=yes
11256
 
    ;;
11257
 
 
11258
 
  mingw* | pw32* | cegcc*)
11259
 
    lt_cv_dlopen="LoadLibrary"
11260
 
    lt_cv_dlopen_libs=
11261
 
    ;;
11262
 
 
11263
 
  cygwin*)
11264
 
    lt_cv_dlopen="dlopen"
11265
 
    lt_cv_dlopen_libs=
11266
 
    ;;
11267
 
 
11268
 
  darwin*)
11269
 
  # if libdl is installed we need to link against it
11270
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11271
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11272
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11273
 
  $as_echo_n "(cached) " >&6
11274
 
else
11275
 
  ac_check_lib_save_LIBS=$LIBS
11276
 
LIBS="-ldl  $LIBS"
11277
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278
 
/* end confdefs.h.  */
11279
 
 
11280
 
/* Override any GCC internal prototype to avoid an error.
11281
 
   Use char because int might match the return type of a GCC
11282
 
   builtin and then its argument prototype would still apply.  */
11283
 
#ifdef __cplusplus
11284
 
extern "C"
11285
 
#endif
11286
 
char dlopen ();
11287
 
int
11288
 
main ()
11289
 
{
11290
 
return dlopen ();
11291
 
  ;
11292
 
  return 0;
11293
 
}
11294
 
_ACEOF
11295
 
if ac_fn_c_try_link "$LINENO"; then :
11296
 
  ac_cv_lib_dl_dlopen=yes
11297
 
else
11298
 
  ac_cv_lib_dl_dlopen=no
11299
 
fi
11300
 
rm -f core conftest.err conftest.$ac_objext \
11301
 
    conftest$ac_exeext conftest.$ac_ext
11302
 
LIBS=$ac_check_lib_save_LIBS
11303
 
fi
11304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11307
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11308
 
else
11309
 
 
11310
 
    lt_cv_dlopen="dyld"
11311
 
    lt_cv_dlopen_libs=
11312
 
    lt_cv_dlopen_self=yes
11313
 
 
11314
 
fi
11315
 
 
11316
 
    ;;
11317
 
 
11318
 
  *)
11319
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11321
 
  lt_cv_dlopen="shl_load"
11322
 
else
11323
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11325
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11326
 
  $as_echo_n "(cached) " >&6
11327
 
else
11328
 
  ac_check_lib_save_LIBS=$LIBS
11329
 
LIBS="-ldld  $LIBS"
11330
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331
 
/* end confdefs.h.  */
11332
 
 
11333
 
/* Override any GCC internal prototype to avoid an error.
11334
 
   Use char because int might match the return type of a GCC
11335
 
   builtin and then its argument prototype would still apply.  */
11336
 
#ifdef __cplusplus
11337
 
extern "C"
11338
 
#endif
11339
 
char shl_load ();
11340
 
int
11341
 
main ()
11342
 
{
11343
 
return shl_load ();
11344
 
  ;
11345
 
  return 0;
11346
 
}
11347
 
_ACEOF
11348
 
if ac_fn_c_try_link "$LINENO"; then :
11349
 
  ac_cv_lib_dld_shl_load=yes
11350
 
else
11351
 
  ac_cv_lib_dld_shl_load=no
11352
 
fi
11353
 
rm -f core conftest.err conftest.$ac_objext \
11354
 
    conftest$ac_exeext conftest.$ac_ext
11355
 
LIBS=$ac_check_lib_save_LIBS
11356
 
fi
11357
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11358
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11359
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11360
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11361
 
else
11362
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11363
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11364
 
  lt_cv_dlopen="dlopen"
11365
 
else
11366
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11367
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11368
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11369
 
  $as_echo_n "(cached) " >&6
11370
 
else
11371
 
  ac_check_lib_save_LIBS=$LIBS
11372
 
LIBS="-ldl  $LIBS"
11373
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374
 
/* end confdefs.h.  */
11375
 
 
11376
 
/* Override any GCC internal prototype to avoid an error.
11377
 
   Use char because int might match the return type of a GCC
11378
 
   builtin and then its argument prototype would still apply.  */
11379
 
#ifdef __cplusplus
11380
 
extern "C"
11381
 
#endif
11382
 
char dlopen ();
11383
 
int
11384
 
main ()
11385
 
{
11386
 
return dlopen ();
11387
 
  ;
11388
 
  return 0;
11389
 
}
11390
 
_ACEOF
11391
 
if ac_fn_c_try_link "$LINENO"; then :
11392
 
  ac_cv_lib_dl_dlopen=yes
11393
 
else
11394
 
  ac_cv_lib_dl_dlopen=no
11395
 
fi
11396
 
rm -f core conftest.err conftest.$ac_objext \
11397
 
    conftest$ac_exeext conftest.$ac_ext
11398
 
LIBS=$ac_check_lib_save_LIBS
11399
 
fi
11400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11401
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11402
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11403
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11404
 
else
11405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11406
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11407
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11408
 
  $as_echo_n "(cached) " >&6
11409
 
else
11410
 
  ac_check_lib_save_LIBS=$LIBS
11411
 
LIBS="-lsvld  $LIBS"
11412
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413
 
/* end confdefs.h.  */
11414
 
 
11415
 
/* Override any GCC internal prototype to avoid an error.
11416
 
   Use char because int might match the return type of a GCC
11417
 
   builtin and then its argument prototype would still apply.  */
11418
 
#ifdef __cplusplus
11419
 
extern "C"
11420
 
#endif
11421
 
char dlopen ();
11422
 
int
11423
 
main ()
11424
 
{
11425
 
return dlopen ();
11426
 
  ;
11427
 
  return 0;
11428
 
}
11429
 
_ACEOF
11430
 
if ac_fn_c_try_link "$LINENO"; then :
11431
 
  ac_cv_lib_svld_dlopen=yes
11432
 
else
11433
 
  ac_cv_lib_svld_dlopen=no
11434
 
fi
11435
 
rm -f core conftest.err conftest.$ac_objext \
11436
 
    conftest$ac_exeext conftest.$ac_ext
11437
 
LIBS=$ac_check_lib_save_LIBS
11438
 
fi
11439
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11440
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11441
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11442
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11443
 
else
11444
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11445
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11446
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11447
 
  $as_echo_n "(cached) " >&6
11448
 
else
11449
 
  ac_check_lib_save_LIBS=$LIBS
11450
 
LIBS="-ldld  $LIBS"
11451
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452
 
/* end confdefs.h.  */
11453
 
 
11454
 
/* Override any GCC internal prototype to avoid an error.
11455
 
   Use char because int might match the return type of a GCC
11456
 
   builtin and then its argument prototype would still apply.  */
11457
 
#ifdef __cplusplus
11458
 
extern "C"
11459
 
#endif
11460
 
char dld_link ();
11461
 
int
11462
 
main ()
11463
 
{
11464
 
return dld_link ();
11465
 
  ;
11466
 
  return 0;
11467
 
}
11468
 
_ACEOF
11469
 
if ac_fn_c_try_link "$LINENO"; then :
11470
 
  ac_cv_lib_dld_dld_link=yes
11471
 
else
11472
 
  ac_cv_lib_dld_dld_link=no
11473
 
fi
11474
 
rm -f core conftest.err conftest.$ac_objext \
11475
 
    conftest$ac_exeext conftest.$ac_ext
11476
 
LIBS=$ac_check_lib_save_LIBS
11477
 
fi
11478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11479
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11480
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11481
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11482
 
fi
11483
 
 
11484
 
 
11485
 
fi
11486
 
 
11487
 
 
11488
 
fi
11489
 
 
11490
 
 
11491
 
fi
11492
 
 
11493
 
 
11494
 
fi
11495
 
 
11496
 
 
11497
 
fi
11498
 
 
11499
 
    ;;
11500
 
  esac
11501
 
 
11502
 
  if test "x$lt_cv_dlopen" != xno; then
11503
 
    enable_dlopen=yes
11504
 
  else
11505
 
    enable_dlopen=no
11506
 
  fi
11507
 
 
11508
 
  case $lt_cv_dlopen in
11509
 
  dlopen)
11510
 
    save_CPPFLAGS="$CPPFLAGS"
11511
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512
 
 
11513
 
    save_LDFLAGS="$LDFLAGS"
11514
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515
 
 
11516
 
    save_LIBS="$LIBS"
11517
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11518
 
 
11519
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11520
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11521
 
if ${lt_cv_dlopen_self+:} false; then :
11522
 
  $as_echo_n "(cached) " >&6
11523
 
else
11524
 
          if test "$cross_compiling" = yes; then :
11525
 
  lt_cv_dlopen_self=cross
11526
 
else
11527
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11528
 
  lt_status=$lt_dlunknown
11529
 
  cat > conftest.$ac_ext <<_LT_EOF
11530
 
#line $LINENO "configure"
11531
 
#include "confdefs.h"
11532
 
 
11533
 
#if HAVE_DLFCN_H
11534
 
#include <dlfcn.h>
11535
 
#endif
11536
 
 
11537
 
#include <stdio.h>
11538
 
 
11539
 
#ifdef RTLD_GLOBAL
11540
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11541
 
#else
11542
 
#  ifdef DL_GLOBAL
11543
 
#    define LT_DLGLOBAL         DL_GLOBAL
11544
 
#  else
11545
 
#    define LT_DLGLOBAL         0
11546
 
#  endif
11547
 
#endif
11548
 
 
11549
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11550
 
   find out it does not work in some platform. */
11551
 
#ifndef LT_DLLAZY_OR_NOW
11552
 
#  ifdef RTLD_LAZY
11553
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11554
 
#  else
11555
 
#    ifdef DL_LAZY
11556
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11557
 
#    else
11558
 
#      ifdef RTLD_NOW
11559
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11560
 
#      else
11561
 
#        ifdef DL_NOW
11562
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11563
 
#        else
11564
 
#          define LT_DLLAZY_OR_NOW      0
11565
 
#        endif
11566
 
#      endif
11567
 
#    endif
11568
 
#  endif
11569
 
#endif
11570
 
 
11571
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11572
 
   correspondingly for the symbols needed.  */
11573
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11574
 
int fnord () __attribute__((visibility("default")));
11575
 
#endif
11576
 
 
11577
 
int fnord () { return 42; }
11578
 
int main ()
11579
 
{
11580
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11581
 
  int status = $lt_dlunknown;
11582
 
 
11583
 
  if (self)
11584
 
    {
11585
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11586
 
      else
11587
 
        {
11588
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11589
 
          else puts (dlerror ());
11590
 
        }
11591
 
      /* dlclose (self); */
11592
 
    }
11593
 
  else
11594
 
    puts (dlerror ());
11595
 
 
11596
 
  return status;
11597
 
}
11598
 
_LT_EOF
11599
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11600
 
  (eval $ac_link) 2>&5
11601
 
  ac_status=$?
11602
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11604
 
    (./conftest; exit; ) >&5 2>/dev/null
11605
 
    lt_status=$?
11606
 
    case x$lt_status in
11607
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11608
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11609
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11610
 
    esac
11611
 
  else :
11612
 
    # compilation failed
11613
 
    lt_cv_dlopen_self=no
11614
 
  fi
11615
 
fi
11616
 
rm -fr conftest*
11617
 
 
11618
 
 
11619
 
fi
11620
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11621
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11622
 
 
11623
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11624
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11625
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11626
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11627
 
if ${lt_cv_dlopen_self_static+:} false; then :
11628
 
  $as_echo_n "(cached) " >&6
11629
 
else
11630
 
          if test "$cross_compiling" = yes; then :
11631
 
  lt_cv_dlopen_self_static=cross
11632
 
else
11633
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11634
 
  lt_status=$lt_dlunknown
11635
 
  cat > conftest.$ac_ext <<_LT_EOF
11636
 
#line $LINENO "configure"
11637
 
#include "confdefs.h"
11638
 
 
11639
 
#if HAVE_DLFCN_H
11640
 
#include <dlfcn.h>
11641
 
#endif
11642
 
 
11643
 
#include <stdio.h>
11644
 
 
11645
 
#ifdef RTLD_GLOBAL
11646
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11647
 
#else
11648
 
#  ifdef DL_GLOBAL
11649
 
#    define LT_DLGLOBAL         DL_GLOBAL
11650
 
#  else
11651
 
#    define LT_DLGLOBAL         0
11652
 
#  endif
11653
 
#endif
11654
 
 
11655
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11656
 
   find out it does not work in some platform. */
11657
 
#ifndef LT_DLLAZY_OR_NOW
11658
 
#  ifdef RTLD_LAZY
11659
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11660
 
#  else
11661
 
#    ifdef DL_LAZY
11662
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11663
 
#    else
11664
 
#      ifdef RTLD_NOW
11665
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11666
 
#      else
11667
 
#        ifdef DL_NOW
11668
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11669
 
#        else
11670
 
#          define LT_DLLAZY_OR_NOW      0
11671
 
#        endif
11672
 
#      endif
11673
 
#    endif
11674
 
#  endif
11675
 
#endif
11676
 
 
11677
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11678
 
   correspondingly for the symbols needed.  */
11679
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11680
 
int fnord () __attribute__((visibility("default")));
11681
 
#endif
11682
 
 
11683
 
int fnord () { return 42; }
11684
 
int main ()
11685
 
{
11686
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11687
 
  int status = $lt_dlunknown;
11688
 
 
11689
 
  if (self)
11690
 
    {
11691
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11692
 
      else
11693
 
        {
11694
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11695
 
          else puts (dlerror ());
11696
 
        }
11697
 
      /* dlclose (self); */
11698
 
    }
11699
 
  else
11700
 
    puts (dlerror ());
11701
 
 
11702
 
  return status;
11703
 
}
11704
 
_LT_EOF
11705
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11706
 
  (eval $ac_link) 2>&5
11707
 
  ac_status=$?
11708
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11709
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11710
 
    (./conftest; exit; ) >&5 2>/dev/null
11711
 
    lt_status=$?
11712
 
    case x$lt_status in
11713
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11714
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11715
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11716
 
    esac
11717
 
  else :
11718
 
    # compilation failed
11719
 
    lt_cv_dlopen_self_static=no
11720
 
  fi
11721
 
fi
11722
 
rm -fr conftest*
11723
 
 
11724
 
 
11725
 
fi
11726
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11727
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11728
 
    fi
11729
 
 
11730
 
    CPPFLAGS="$save_CPPFLAGS"
11731
 
    LDFLAGS="$save_LDFLAGS"
11732
 
    LIBS="$save_LIBS"
11733
 
    ;;
11734
 
  esac
11735
 
 
11736
 
  case $lt_cv_dlopen_self in
11737
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11738
 
  *) enable_dlopen_self=unknown ;;
11739
 
  esac
11740
 
 
11741
 
  case $lt_cv_dlopen_self_static in
11742
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11743
 
  *) enable_dlopen_self_static=unknown ;;
11744
 
  esac
11745
 
fi
11746
 
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
striplib=
11764
 
old_striplib=
11765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11766
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11767
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11768
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11769
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11771
 
$as_echo "yes" >&6; }
11772
 
else
11773
 
# FIXME - insert some real tests, host_os isn't really good enough
11774
 
  case $host_os in
11775
 
  darwin*)
11776
 
    if test -n "$STRIP" ; then
11777
 
      striplib="$STRIP -x"
11778
 
      old_striplib="$STRIP -S"
11779
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11780
 
$as_echo "yes" >&6; }
11781
 
    else
11782
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11783
 
$as_echo "no" >&6; }
11784
 
    fi
11785
 
    ;;
11786
 
  *)
11787
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788
 
$as_echo "no" >&6; }
11789
 
    ;;
11790
 
  esac
11791
 
fi
11792
 
 
11793
 
 
11794
 
 
11795
 
 
11796
 
 
11797
 
 
11798
 
 
11799
 
 
11800
 
 
11801
 
 
11802
 
 
11803
 
 
11804
 
  # Report which library types will actually be built
11805
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11806
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11808
 
$as_echo "$can_build_shared" >&6; }
11809
 
 
11810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11811
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11812
 
  test "$can_build_shared" = "no" && enable_shared=no
11813
 
 
11814
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11815
 
  # are all built from PIC.
11816
 
  case $host_os in
11817
 
  aix3*)
11818
 
    test "$enable_shared" = yes && enable_static=no
11819
 
    if test -n "$RANLIB"; then
11820
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11821
 
      postinstall_cmds='$RANLIB $lib'
11822
 
    fi
11823
 
    ;;
11824
 
 
11825
 
  aix[4-9]*)
11826
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11827
 
      test "$enable_shared" = yes && enable_static=no
11828
 
    fi
11829
 
    ;;
11830
 
  esac
11831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11832
 
$as_echo "$enable_shared" >&6; }
11833
 
 
11834
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11835
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11836
 
  # Make sure either enable_shared or enable_static is yes.
11837
 
  test "$enable_shared" = yes || enable_static=yes
11838
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11839
 
$as_echo "$enable_static" >&6; }
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
fi
11845
 
ac_ext=c
11846
 
ac_cpp='$CPP $CPPFLAGS'
11847
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850
 
 
11851
 
CC="$lt_save_CC"
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
 
11865
 
 
11866
 
 
11867
 
        ac_config_commands="$ac_config_commands libtool"
11868
 
 
11869
 
 
11870
 
 
11871
 
 
11872
 
# Only expand once:
11873
 
 
11874
 
 
11875
 
 
11876
 
for ac_header in fcntl.h paths.h sys/ioctl.h sys/time.h syslog.h unistd.h
11877
 
do :
11878
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11879
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11880
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11881
 
  cat >>confdefs.h <<_ACEOF
11882
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11883
 
_ACEOF
11884
 
 
11885
 
fi
11886
 
 
11887
 
done
11888
 
 
11889
 
 
11890
 
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11891
 
if test "x$ac_cv_type_mode_t" = xyes; then :
11892
 
 
11893
 
else
11894
 
 
11895
 
cat >>confdefs.h <<_ACEOF
11896
 
#define mode_t int
11897
 
_ACEOF
11898
 
 
11899
 
fi
11900
 
 
11901
 
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11902
 
if test "x$ac_cv_type_pid_t" = xyes; then :
11903
 
 
11904
 
else
11905
 
 
11906
 
cat >>confdefs.h <<_ACEOF
11907
 
#define pid_t int
11908
 
_ACEOF
11909
 
 
11910
 
fi
11911
 
 
11912
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11913
 
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11914
 
if ${ac_cv_header_time+:} false; then :
11915
 
  $as_echo_n "(cached) " >&6
11916
 
else
11917
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918
 
/* end confdefs.h.  */
11919
 
#include <sys/types.h>
11920
 
#include <sys/time.h>
11921
 
#include <time.h>
11922
 
 
11923
 
int
11924
 
main ()
11925
 
{
11926
 
if ((struct tm *) 0)
11927
 
return 0;
11928
 
  ;
11929
 
  return 0;
11930
 
}
11931
 
_ACEOF
11932
 
if ac_fn_c_try_compile "$LINENO"; then :
11933
 
  ac_cv_header_time=yes
11934
 
else
11935
 
  ac_cv_header_time=no
11936
 
fi
11937
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11938
 
fi
11939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11940
 
$as_echo "$ac_cv_header_time" >&6; }
11941
 
if test $ac_cv_header_time = yes; then
11942
 
 
11943
 
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11944
 
 
11945
 
fi
11946
 
 
11947
 
 
11948
 
if test $ac_cv_c_compiler_gnu = yes; then
11949
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11950
 
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
11951
 
if ${ac_cv_prog_gcc_traditional+:} false; then :
11952
 
  $as_echo_n "(cached) " >&6
11953
 
else
11954
 
    ac_pattern="Autoconf.*'x'"
11955
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956
 
/* end confdefs.h.  */
11957
 
#include <sgtty.h>
11958
 
Autoconf TIOCGETP
11959
 
_ACEOF
11960
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11961
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
11962
 
  ac_cv_prog_gcc_traditional=yes
11963
 
else
11964
 
  ac_cv_prog_gcc_traditional=no
11965
 
fi
11966
 
rm -f conftest*
11967
 
 
11968
 
 
11969
 
  if test $ac_cv_prog_gcc_traditional = no; then
11970
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971
 
/* end confdefs.h.  */
11972
 
#include <termio.h>
11973
 
Autoconf TCGETA
11974
 
_ACEOF
11975
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11976
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
11977
 
  ac_cv_prog_gcc_traditional=yes
11978
 
fi
11979
 
rm -f conftest*
11980
 
 
11981
 
  fi
11982
 
fi
11983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11984
 
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11985
 
  if test $ac_cv_prog_gcc_traditional = yes; then
11986
 
    CC="$CC -traditional"
11987
 
  fi
11988
 
fi
11989
 
 
11990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
11991
 
$as_echo_n "checking for working memcmp... " >&6; }
11992
 
if ${ac_cv_func_memcmp_working+:} false; then :
11993
 
  $as_echo_n "(cached) " >&6
11994
 
else
11995
 
  if test "$cross_compiling" = yes; then :
11996
 
  ac_cv_func_memcmp_working=no
11997
 
else
11998
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999
 
/* end confdefs.h.  */
12000
 
$ac_includes_default
12001
 
int
12002
 
main ()
12003
 
{
12004
 
 
12005
 
  /* Some versions of memcmp are not 8-bit clean.  */
12006
 
  char c0 = '\100', c1 = '\200', c2 = '\201';
12007
 
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12008
 
    return 1;
12009
 
 
12010
 
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12011
 
     or more and with at least one buffer not starting on a 4-byte boundary.
12012
 
     William Lewis provided this test program.   */
12013
 
  {
12014
 
    char foo[21];
12015
 
    char bar[21];
12016
 
    int i;
12017
 
    for (i = 0; i < 4; i++)
12018
 
      {
12019
 
        char *a = foo + i;
12020
 
        char *b = bar + i;
12021
 
        strcpy (a, "--------01111111");
12022
 
        strcpy (b, "--------10000000");
12023
 
        if (memcmp (a, b, 16) >= 0)
12024
 
          return 1;
12025
 
      }
12026
 
    return 0;
12027
 
  }
12028
 
 
12029
 
  ;
12030
 
  return 0;
12031
 
}
12032
 
_ACEOF
12033
 
if ac_fn_c_try_run "$LINENO"; then :
12034
 
  ac_cv_func_memcmp_working=yes
12035
 
else
12036
 
  ac_cv_func_memcmp_working=no
12037
 
fi
12038
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12039
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12040
 
fi
12041
 
 
12042
 
fi
12043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12044
 
$as_echo "$ac_cv_func_memcmp_working" >&6; }
12045
 
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12046
 
  *" memcmp.$ac_objext "* ) ;;
12047
 
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12048
 
 ;;
12049
 
esac
12050
 
 
12051
 
 
12052
 
for ac_func in select socket uname
12053
 
do :
12054
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12055
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12056
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12057
 
  cat >>confdefs.h <<_ACEOF
12058
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12059
 
_ACEOF
12060
 
 
12061
 
fi
12062
 
done
12063
 
 
12064
 
 
12065
 
 
12066
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12067
 
$as_echo_n "checking whether NLS is requested... " >&6; }
12068
 
    # Check whether --enable-nls was given.
12069
 
if test "${enable_nls+set}" = set; then :
12070
 
  enableval=$enable_nls; USE_NLS=$enableval
12071
 
else
12072
 
  USE_NLS=yes
12073
 
fi
12074
 
 
12075
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12076
 
$as_echo "$USE_NLS" >&6; }
12077
 
 
12078
 
 
12079
 
 
12080
 
 
12081
 
case "$am__api_version" in
12082
 
    1.01234)
12083
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12084
 
    ;;
12085
 
    *)
12086
 
    ;;
12087
 
esac
12088
 
 
12089
 
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12090
 
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12091
 
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12092
 
if test -n "0.40.0"; then
12093
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12094
 
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12095
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12096
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12097
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12098
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
12099
 
fi
12100
 
 
12101
 
# Extract the first word of "intltool-update", so it can be a program name with args.
12102
 
set dummy intltool-update; ac_word=$2
12103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12104
 
$as_echo_n "checking for $ac_word... " >&6; }
12105
 
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12106
 
  $as_echo_n "(cached) " >&6
12107
 
else
12108
 
  case $INTLTOOL_UPDATE in
12109
 
  [\\/]* | ?:[\\/]*)
12110
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12111
 
  ;;
12112
 
  *)
12113
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114
 
for as_dir in $PATH
12115
 
do
12116
 
  IFS=$as_save_IFS
12117
 
  test -z "$as_dir" && as_dir=.
12118
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12119
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12120
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12121
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12122
 
    break 2
12123
 
  fi
12124
 
done
12125
 
  done
12126
 
IFS=$as_save_IFS
12127
 
 
12128
 
  ;;
12129
 
esac
12130
 
fi
12131
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12132
 
if test -n "$INTLTOOL_UPDATE"; then
12133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12134
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
12135
 
else
12136
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137
 
$as_echo "no" >&6; }
12138
 
fi
12139
 
 
12140
 
 
12141
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
12142
 
set dummy intltool-merge; ac_word=$2
12143
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12144
 
$as_echo_n "checking for $ac_word... " >&6; }
12145
 
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12146
 
  $as_echo_n "(cached) " >&6
12147
 
else
12148
 
  case $INTLTOOL_MERGE in
12149
 
  [\\/]* | ?:[\\/]*)
12150
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12151
 
  ;;
12152
 
  *)
12153
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12154
 
for as_dir in $PATH
12155
 
do
12156
 
  IFS=$as_save_IFS
12157
 
  test -z "$as_dir" && as_dir=.
12158
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12159
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12160
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12161
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12162
 
    break 2
12163
 
  fi
12164
 
done
12165
 
  done
12166
 
IFS=$as_save_IFS
12167
 
 
12168
 
  ;;
12169
 
esac
12170
 
fi
12171
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12172
 
if test -n "$INTLTOOL_MERGE"; then
12173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12174
 
$as_echo "$INTLTOOL_MERGE" >&6; }
12175
 
else
12176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12177
 
$as_echo "no" >&6; }
12178
 
fi
12179
 
 
12180
 
 
12181
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
12182
 
set dummy intltool-extract; ac_word=$2
12183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12184
 
$as_echo_n "checking for $ac_word... " >&6; }
12185
 
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12186
 
  $as_echo_n "(cached) " >&6
12187
 
else
12188
 
  case $INTLTOOL_EXTRACT in
12189
 
  [\\/]* | ?:[\\/]*)
12190
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12191
 
  ;;
12192
 
  *)
12193
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194
 
for as_dir in $PATH
12195
 
do
12196
 
  IFS=$as_save_IFS
12197
 
  test -z "$as_dir" && as_dir=.
12198
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12199
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12201
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12202
 
    break 2
12203
 
  fi
12204
 
done
12205
 
  done
12206
 
IFS=$as_save_IFS
12207
 
 
12208
 
  ;;
12209
 
esac
12210
 
fi
12211
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12212
 
if test -n "$INTLTOOL_EXTRACT"; then
12213
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12214
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12215
 
else
12216
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217
 
$as_echo "no" >&6; }
12218
 
fi
12219
 
 
12220
 
 
12221
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12222
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12223
 
fi
12224
 
 
12225
 
if test -z "$AM_DEFAULT_VERBOSITY"; then
12226
 
  AM_DEFAULT_VERBOSITY=1
12227
 
fi
12228
 
 
12229
 
 
12230
 
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12231
 
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12232
 
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
12233
 
 
12234
 
 
12235
 
 
12236
 
 
12237
 
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12238
 
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12239
 
intltool__v_merge_options_0='-q'
12240
 
 
12241
 
 
12242
 
 
12243
 
 
12244
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12245
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12246
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12247
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12248
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12249
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12250
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12251
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12252
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12253
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12254
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12255
 
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12256
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12257
 
else
12258
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12259
 
fi
12260
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12261
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12262
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12263
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12264
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12265
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12266
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12267
 
 
12268
 
 
12269
 
 
12270
 
 
12271
 
 
12272
 
 
12273
 
 
12274
 
 
12275
 
 
12276
 
 
12277
 
 
12278
 
 
12279
 
 
12280
 
 
12281
 
 
12282
 
 
12283
 
 
12284
 
 
12285
 
 
12286
 
 
12287
 
 
12288
 
 
12289
 
 
12290
 
 
12291
 
 
12292
 
 
12293
 
 
12294
 
 
12295
 
 
12296
 
 
12297
 
 
12298
 
 
12299
 
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
 
12305
 
 
12306
 
 
12307
 
 
12308
 
 
12309
 
 
12310
 
 
12311
 
 
12312
 
 
12313
 
 
12314
 
 
12315
 
 
12316
 
 
12317
 
 
12318
 
 
12319
 
 
12320
 
 
12321
 
 
12322
 
 
12323
 
 
12324
 
 
12325
 
 
12326
 
 
12327
 
 
12328
 
 
12329
 
 
12330
 
 
12331
 
 
12332
 
 
12333
 
 
12334
 
 
12335
 
 
12336
 
 
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
 
12352
 
 
12353
 
 
12354
 
 
12355
 
 
12356
 
 
12357
 
 
12358
 
 
12359
 
 
12360
 
 
12361
 
 
12362
 
 
12363
 
 
12364
 
# Check the gettext tools to make sure they are GNU
12365
 
# Extract the first word of "xgettext", so it can be a program name with args.
12366
 
set dummy xgettext; ac_word=$2
12367
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12368
 
$as_echo_n "checking for $ac_word... " >&6; }
12369
 
if ${ac_cv_path_XGETTEXT+:} false; then :
12370
 
  $as_echo_n "(cached) " >&6
12371
 
else
12372
 
  case $XGETTEXT in
12373
 
  [\\/]* | ?:[\\/]*)
12374
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12375
 
  ;;
12376
 
  *)
12377
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378
 
for as_dir in $PATH
12379
 
do
12380
 
  IFS=$as_save_IFS
12381
 
  test -z "$as_dir" && as_dir=.
12382
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12383
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12385
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12386
 
    break 2
12387
 
  fi
12388
 
done
12389
 
  done
12390
 
IFS=$as_save_IFS
12391
 
 
12392
 
  ;;
12393
 
esac
12394
 
fi
12395
 
XGETTEXT=$ac_cv_path_XGETTEXT
12396
 
if test -n "$XGETTEXT"; then
12397
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12398
 
$as_echo "$XGETTEXT" >&6; }
12399
 
else
12400
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401
 
$as_echo "no" >&6; }
12402
 
fi
12403
 
 
12404
 
 
12405
 
# Extract the first word of "msgmerge", so it can be a program name with args.
12406
 
set dummy msgmerge; ac_word=$2
12407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408
 
$as_echo_n "checking for $ac_word... " >&6; }
12409
 
if ${ac_cv_path_MSGMERGE+:} false; then :
12410
 
  $as_echo_n "(cached) " >&6
12411
 
else
12412
 
  case $MSGMERGE in
12413
 
  [\\/]* | ?:[\\/]*)
12414
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12415
 
  ;;
12416
 
  *)
12417
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418
 
for as_dir in $PATH
12419
 
do
12420
 
  IFS=$as_save_IFS
12421
 
  test -z "$as_dir" && as_dir=.
12422
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12423
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12424
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12425
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12426
 
    break 2
12427
 
  fi
12428
 
done
12429
 
  done
12430
 
IFS=$as_save_IFS
12431
 
 
12432
 
  ;;
12433
 
esac
12434
 
fi
12435
 
MSGMERGE=$ac_cv_path_MSGMERGE
12436
 
if test -n "$MSGMERGE"; then
12437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12438
 
$as_echo "$MSGMERGE" >&6; }
12439
 
else
12440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12441
 
$as_echo "no" >&6; }
12442
 
fi
12443
 
 
12444
 
 
12445
 
# Extract the first word of "msgfmt", so it can be a program name with args.
12446
 
set dummy msgfmt; ac_word=$2
12447
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12448
 
$as_echo_n "checking for $ac_word... " >&6; }
12449
 
if ${ac_cv_path_MSGFMT+:} false; then :
12450
 
  $as_echo_n "(cached) " >&6
12451
 
else
12452
 
  case $MSGFMT in
12453
 
  [\\/]* | ?:[\\/]*)
12454
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12455
 
  ;;
12456
 
  *)
12457
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12458
 
for as_dir in $PATH
12459
 
do
12460
 
  IFS=$as_save_IFS
12461
 
  test -z "$as_dir" && as_dir=.
12462
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12463
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12464
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12465
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12466
 
    break 2
12467
 
  fi
12468
 
done
12469
 
  done
12470
 
IFS=$as_save_IFS
12471
 
 
12472
 
  ;;
12473
 
esac
12474
 
fi
12475
 
MSGFMT=$ac_cv_path_MSGFMT
12476
 
if test -n "$MSGFMT"; then
12477
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12478
 
$as_echo "$MSGFMT" >&6; }
12479
 
else
12480
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481
 
$as_echo "no" >&6; }
12482
 
fi
12483
 
 
12484
 
 
12485
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12486
 
set dummy gmsgfmt; ac_word=$2
12487
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12488
 
$as_echo_n "checking for $ac_word... " >&6; }
12489
 
if ${ac_cv_path_GMSGFMT+:} false; then :
12490
 
  $as_echo_n "(cached) " >&6
12491
 
else
12492
 
  case $GMSGFMT in
12493
 
  [\\/]* | ?:[\\/]*)
12494
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12495
 
  ;;
12496
 
  *)
12497
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12498
 
for as_dir in $PATH
12499
 
do
12500
 
  IFS=$as_save_IFS
12501
 
  test -z "$as_dir" && as_dir=.
12502
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12503
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12504
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12505
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12506
 
    break 2
12507
 
  fi
12508
 
done
12509
 
  done
12510
 
IFS=$as_save_IFS
12511
 
 
12512
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12513
 
  ;;
12514
 
esac
12515
 
fi
12516
 
GMSGFMT=$ac_cv_path_GMSGFMT
12517
 
if test -n "$GMSGFMT"; then
12518
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12519
 
$as_echo "$GMSGFMT" >&6; }
12520
 
else
12521
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522
 
$as_echo "no" >&6; }
12523
 
fi
12524
 
 
12525
 
 
12526
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12527
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12528
 
fi
12529
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12530
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12531
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12532
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12533
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12534
 
fi
12535
 
 
12536
 
# Extract the first word of "perl", so it can be a program name with args.
12537
 
set dummy perl; ac_word=$2
12538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12539
 
$as_echo_n "checking for $ac_word... " >&6; }
12540
 
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12541
 
  $as_echo_n "(cached) " >&6
12542
 
else
12543
 
  case $INTLTOOL_PERL in
12544
 
  [\\/]* | ?:[\\/]*)
12545
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12546
 
  ;;
12547
 
  *)
12548
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12549
 
for as_dir in $PATH
12550
 
do
12551
 
  IFS=$as_save_IFS
12552
 
  test -z "$as_dir" && as_dir=.
12553
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12555
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12556
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12557
 
    break 2
12558
 
  fi
12559
 
done
12560
 
  done
12561
 
IFS=$as_save_IFS
12562
 
 
12563
 
  ;;
12564
 
esac
12565
 
fi
12566
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12567
 
if test -n "$INTLTOOL_PERL"; then
12568
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12569
 
$as_echo "$INTLTOOL_PERL" >&6; }
12570
 
else
12571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12572
 
$as_echo "no" >&6; }
12573
 
fi
12574
 
 
12575
 
 
12576
 
if test -z "$INTLTOOL_PERL"; then
12577
 
   as_fn_error $? "perl not found" "$LINENO" 5
12578
 
fi
12579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12580
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12581
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12582
 
if test $? -ne 0; then
12583
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12584
 
else
12585
 
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12586
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12587
 
$as_echo "$IT_PERL_VERSION" >&6; }
12588
 
fi
12589
 
if test "x" != "xno-xml"; then
12590
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12591
 
$as_echo_n "checking for XML::Parser... " >&6; }
12592
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12593
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12594
 
$as_echo "ok" >&6; }
12595
 
   else
12596
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12597
 
   fi
12598
 
fi
12599
 
 
12600
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12601
 
 
12602
 
 
12603
 
# Set DATADIRNAME correctly if it is not set yet
12604
 
# (copied from glib-gettext.m4)
12605
 
if test -z "$DATADIRNAME"; then
12606
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607
 
/* end confdefs.h.  */
12608
 
 
12609
 
int
12610
 
main ()
12611
 
{
12612
 
extern int _nl_msg_cat_cntr;
12613
 
                       return _nl_msg_cat_cntr
12614
 
  ;
12615
 
  return 0;
12616
 
}
12617
 
_ACEOF
12618
 
if ac_fn_c_try_link "$LINENO"; then :
12619
 
  DATADIRNAME=share
12620
 
else
12621
 
  case $host in
12622
 
    *-*-solaris*)
12623
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12624
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12625
 
  DATADIRNAME=share
12626
 
else
12627
 
  DATADIRNAME=lib
12628
 
fi
12629
 
 
12630
 
    ;;
12631
 
    *)
12632
 
    DATADIRNAME=lib
12633
 
    ;;
12634
 
    esac
12635
 
fi
12636
 
rm -f core conftest.err conftest.$ac_objext \
12637
 
    conftest$ac_exeext conftest.$ac_ext
12638
 
fi
12639
 
 
12640
 
 
12641
 
 
12642
 
 
12643
 
 
12644
 
 
12645
 
GETTEXT_PACKAGE=nm-applet
12646
 
 
12647
 
 
12648
 
cat >>confdefs.h <<_ACEOF
12649
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12650
 
_ACEOF
12651
 
 
12652
 
 
12653
 
   for ac_header in locale.h
12654
 
do :
12655
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12656
 
if test "x$ac_cv_header_locale_h" = xyes; then :
12657
 
  cat >>confdefs.h <<_ACEOF
12658
 
#define HAVE_LOCALE_H 1
12659
 
_ACEOF
12660
 
 
12661
 
fi
12662
 
 
12663
 
done
12664
 
 
12665
 
    if test $ac_cv_header_locale_h = yes; then
12666
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12667
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12668
 
if ${am_cv_val_LC_MESSAGES+:} false; then :
12669
 
  $as_echo_n "(cached) " >&6
12670
 
else
12671
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672
 
/* end confdefs.h.  */
12673
 
#include <locale.h>
12674
 
int
12675
 
main ()
12676
 
{
12677
 
return LC_MESSAGES
12678
 
  ;
12679
 
  return 0;
12680
 
}
12681
 
_ACEOF
12682
 
if ac_fn_c_try_link "$LINENO"; then :
12683
 
  am_cv_val_LC_MESSAGES=yes
12684
 
else
12685
 
  am_cv_val_LC_MESSAGES=no
12686
 
fi
12687
 
rm -f core conftest.err conftest.$ac_objext \
12688
 
    conftest$ac_exeext conftest.$ac_ext
12689
 
fi
12690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12691
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12692
 
    if test $am_cv_val_LC_MESSAGES = yes; then
12693
 
 
12694
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12695
 
 
12696
 
    fi
12697
 
  fi
12698
 
     USE_NLS=yes
12699
 
 
12700
 
 
12701
 
    gt_cv_have_gettext=no
12702
 
 
12703
 
    CATOBJEXT=NONE
12704
 
    XGETTEXT=:
12705
 
    INTLLIBS=
12706
 
 
12707
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12708
 
if test "x$ac_cv_header_libintl_h" = xyes; then :
12709
 
  gt_cv_func_dgettext_libintl="no"
12710
 
      libintl_extra_libs=""
12711
 
 
12712
 
      #
12713
 
      # First check in libc
12714
 
      #
12715
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12716
 
$as_echo_n "checking for ngettext in libc... " >&6; }
12717
 
if ${gt_cv_func_ngettext_libc+:} false; then :
12718
 
  $as_echo_n "(cached) " >&6
12719
 
else
12720
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721
 
/* end confdefs.h.  */
12722
 
 
12723
 
#include <libintl.h>
12724
 
 
12725
 
int
12726
 
main ()
12727
 
{
12728
 
return !ngettext ("","", 1)
12729
 
  ;
12730
 
  return 0;
12731
 
}
12732
 
_ACEOF
12733
 
if ac_fn_c_try_link "$LINENO"; then :
12734
 
  gt_cv_func_ngettext_libc=yes
12735
 
else
12736
 
  gt_cv_func_ngettext_libc=no
12737
 
fi
12738
 
rm -f core conftest.err conftest.$ac_objext \
12739
 
    conftest$ac_exeext conftest.$ac_ext
12740
 
 
12741
 
fi
12742
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12743
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12744
 
 
12745
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12746
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12747
 
$as_echo_n "checking for dgettext in libc... " >&6; }
12748
 
if ${gt_cv_func_dgettext_libc+:} false; then :
12749
 
  $as_echo_n "(cached) " >&6
12750
 
else
12751
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752
 
/* end confdefs.h.  */
12753
 
 
12754
 
#include <libintl.h>
12755
 
 
12756
 
int
12757
 
main ()
12758
 
{
12759
 
return !dgettext ("","")
12760
 
  ;
12761
 
  return 0;
12762
 
}
12763
 
_ACEOF
12764
 
if ac_fn_c_try_link "$LINENO"; then :
12765
 
  gt_cv_func_dgettext_libc=yes
12766
 
else
12767
 
  gt_cv_func_dgettext_libc=no
12768
 
fi
12769
 
rm -f core conftest.err conftest.$ac_objext \
12770
 
    conftest$ac_exeext conftest.$ac_ext
12771
 
 
12772
 
fi
12773
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12774
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12775
 
      fi
12776
 
 
12777
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12778
 
        for ac_func in bind_textdomain_codeset
12779
 
do :
12780
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12781
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12782
 
  cat >>confdefs.h <<_ACEOF
12783
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12784
 
_ACEOF
12785
 
 
12786
 
fi
12787
 
done
12788
 
 
12789
 
      fi
12790
 
 
12791
 
      #
12792
 
      # If we don't have everything we want, check in libintl
12793
 
      #
12794
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
12795
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
12796
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12797
 
 
12798
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12799
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12800
 
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12801
 
  $as_echo_n "(cached) " >&6
12802
 
else
12803
 
  ac_check_lib_save_LIBS=$LIBS
12804
 
LIBS="-lintl  $LIBS"
12805
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806
 
/* end confdefs.h.  */
12807
 
 
12808
 
/* Override any GCC internal prototype to avoid an error.
12809
 
   Use char because int might match the return type of a GCC
12810
 
   builtin and then its argument prototype would still apply.  */
12811
 
#ifdef __cplusplus
12812
 
extern "C"
12813
 
#endif
12814
 
char bindtextdomain ();
12815
 
int
12816
 
main ()
12817
 
{
12818
 
return bindtextdomain ();
12819
 
  ;
12820
 
  return 0;
12821
 
}
12822
 
_ACEOF
12823
 
if ac_fn_c_try_link "$LINENO"; then :
12824
 
  ac_cv_lib_intl_bindtextdomain=yes
12825
 
else
12826
 
  ac_cv_lib_intl_bindtextdomain=no
12827
 
fi
12828
 
rm -f core conftest.err conftest.$ac_objext \
12829
 
    conftest$ac_exeext conftest.$ac_ext
12830
 
LIBS=$ac_check_lib_save_LIBS
12831
 
fi
12832
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12833
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12834
 
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12835
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12836
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12837
 
if ${ac_cv_lib_intl_ngettext+:} false; then :
12838
 
  $as_echo_n "(cached) " >&6
12839
 
else
12840
 
  ac_check_lib_save_LIBS=$LIBS
12841
 
LIBS="-lintl  $LIBS"
12842
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843
 
/* end confdefs.h.  */
12844
 
 
12845
 
/* Override any GCC internal prototype to avoid an error.
12846
 
   Use char because int might match the return type of a GCC
12847
 
   builtin and then its argument prototype would still apply.  */
12848
 
#ifdef __cplusplus
12849
 
extern "C"
12850
 
#endif
12851
 
char ngettext ();
12852
 
int
12853
 
main ()
12854
 
{
12855
 
return ngettext ();
12856
 
  ;
12857
 
  return 0;
12858
 
}
12859
 
_ACEOF
12860
 
if ac_fn_c_try_link "$LINENO"; then :
12861
 
  ac_cv_lib_intl_ngettext=yes
12862
 
else
12863
 
  ac_cv_lib_intl_ngettext=no
12864
 
fi
12865
 
rm -f core conftest.err conftest.$ac_objext \
12866
 
    conftest$ac_exeext conftest.$ac_ext
12867
 
LIBS=$ac_check_lib_save_LIBS
12868
 
fi
12869
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12870
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12871
 
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12873
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12874
 
if ${ac_cv_lib_intl_dgettext+:} false; then :
12875
 
  $as_echo_n "(cached) " >&6
12876
 
else
12877
 
  ac_check_lib_save_LIBS=$LIBS
12878
 
LIBS="-lintl  $LIBS"
12879
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880
 
/* end confdefs.h.  */
12881
 
 
12882
 
/* Override any GCC internal prototype to avoid an error.
12883
 
   Use char because int might match the return type of a GCC
12884
 
   builtin and then its argument prototype would still apply.  */
12885
 
#ifdef __cplusplus
12886
 
extern "C"
12887
 
#endif
12888
 
char dgettext ();
12889
 
int
12890
 
main ()
12891
 
{
12892
 
return dgettext ();
12893
 
  ;
12894
 
  return 0;
12895
 
}
12896
 
_ACEOF
12897
 
if ac_fn_c_try_link "$LINENO"; then :
12898
 
  ac_cv_lib_intl_dgettext=yes
12899
 
else
12900
 
  ac_cv_lib_intl_dgettext=no
12901
 
fi
12902
 
rm -f core conftest.err conftest.$ac_objext \
12903
 
    conftest$ac_exeext conftest.$ac_ext
12904
 
LIBS=$ac_check_lib_save_LIBS
12905
 
fi
12906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12907
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12908
 
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12909
 
  gt_cv_func_dgettext_libintl=yes
12910
 
fi
12911
 
 
12912
 
fi
12913
 
 
12914
 
fi
12915
 
 
12916
 
 
12917
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12918
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12919
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12920
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12921
 
$as_echo "" >&6; }
12922
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12923
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12924
 
if ${ac_cv_lib_intl_ngettext+:} false; then :
12925
 
  $as_echo_n "(cached) " >&6
12926
 
else
12927
 
  ac_check_lib_save_LIBS=$LIBS
12928
 
LIBS="-lintl -liconv $LIBS"
12929
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930
 
/* end confdefs.h.  */
12931
 
 
12932
 
/* Override any GCC internal prototype to avoid an error.
12933
 
   Use char because int might match the return type of a GCC
12934
 
   builtin and then its argument prototype would still apply.  */
12935
 
#ifdef __cplusplus
12936
 
extern "C"
12937
 
#endif
12938
 
char ngettext ();
12939
 
int
12940
 
main ()
12941
 
{
12942
 
return ngettext ();
12943
 
  ;
12944
 
  return 0;
12945
 
}
12946
 
_ACEOF
12947
 
if ac_fn_c_try_link "$LINENO"; then :
12948
 
  ac_cv_lib_intl_ngettext=yes
12949
 
else
12950
 
  ac_cv_lib_intl_ngettext=no
12951
 
fi
12952
 
rm -f core conftest.err conftest.$ac_objext \
12953
 
    conftest$ac_exeext conftest.$ac_ext
12954
 
LIBS=$ac_check_lib_save_LIBS
12955
 
fi
12956
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12957
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12958
 
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12959
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12960
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12961
 
if ${ac_cv_lib_intl_dcgettext+:} false; then :
12962
 
  $as_echo_n "(cached) " >&6
12963
 
else
12964
 
  ac_check_lib_save_LIBS=$LIBS
12965
 
LIBS="-lintl -liconv $LIBS"
12966
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967
 
/* end confdefs.h.  */
12968
 
 
12969
 
/* Override any GCC internal prototype to avoid an error.
12970
 
   Use char because int might match the return type of a GCC
12971
 
   builtin and then its argument prototype would still apply.  */
12972
 
#ifdef __cplusplus
12973
 
extern "C"
12974
 
#endif
12975
 
char dcgettext ();
12976
 
int
12977
 
main ()
12978
 
{
12979
 
return dcgettext ();
12980
 
  ;
12981
 
  return 0;
12982
 
}
12983
 
_ACEOF
12984
 
if ac_fn_c_try_link "$LINENO"; then :
12985
 
  ac_cv_lib_intl_dcgettext=yes
12986
 
else
12987
 
  ac_cv_lib_intl_dcgettext=no
12988
 
fi
12989
 
rm -f core conftest.err conftest.$ac_objext \
12990
 
    conftest$ac_exeext conftest.$ac_ext
12991
 
LIBS=$ac_check_lib_save_LIBS
12992
 
fi
12993
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12994
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12995
 
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12996
 
  gt_cv_func_dgettext_libintl=yes
12997
 
                        libintl_extra_libs=-liconv
12998
 
else
12999
 
  :
13000
 
fi
13001
 
 
13002
 
else
13003
 
  :
13004
 
fi
13005
 
 
13006
 
        fi
13007
 
 
13008
 
        #
13009
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
13010
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
13011
 
        # and both have dgettext and ngettext
13012
 
        #
13013
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13014
 
          glib_save_LIBS="$LIBS"
13015
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
13016
 
          unset ac_cv_func_bind_textdomain_codeset
13017
 
          for ac_func in bind_textdomain_codeset
13018
 
do :
13019
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13020
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13021
 
  cat >>confdefs.h <<_ACEOF
13022
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13023
 
_ACEOF
13024
 
 
13025
 
fi
13026
 
done
13027
 
 
13028
 
          LIBS="$glib_save_LIBS"
13029
 
 
13030
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13031
 
            gt_cv_func_dgettext_libc=no
13032
 
          else
13033
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
13034
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
13035
 
              gt_cv_func_dgettext_libintl=no
13036
 
            fi
13037
 
          fi
13038
 
        fi
13039
 
      fi
13040
 
 
13041
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
13042
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13043
 
        gt_cv_have_gettext=yes
13044
 
      fi
13045
 
 
13046
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13047
 
        INTLLIBS="-lintl $libintl_extra_libs"
13048
 
      fi
13049
 
 
13050
 
      if test "$gt_cv_have_gettext" = "yes"; then
13051
 
 
13052
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13053
 
 
13054
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
13055
 
set dummy msgfmt; ac_word=$2
13056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13057
 
$as_echo_n "checking for $ac_word... " >&6; }
13058
 
if ${ac_cv_path_MSGFMT+:} false; then :
13059
 
  $as_echo_n "(cached) " >&6
13060
 
else
13061
 
  case "$MSGFMT" in
13062
 
  /*)
13063
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13064
 
  ;;
13065
 
  *)
13066
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13067
 
  for ac_dir in $PATH; do
13068
 
    test -z "$ac_dir" && ac_dir=.
13069
 
    if test -f $ac_dir/$ac_word; then
13070
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13071
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13072
 
        break
13073
 
      fi
13074
 
    fi
13075
 
  done
13076
 
  IFS="$ac_save_ifs"
13077
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13078
 
  ;;
13079
 
esac
13080
 
fi
13081
 
MSGFMT="$ac_cv_path_MSGFMT"
13082
 
if test "$MSGFMT" != "no"; then
13083
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13084
 
$as_echo "$MSGFMT" >&6; }
13085
 
else
13086
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13087
 
$as_echo "no" >&6; }
13088
 
fi
13089
 
        if test "$MSGFMT" != "no"; then
13090
 
          glib_save_LIBS="$LIBS"
13091
 
          LIBS="$LIBS $INTLLIBS"
13092
 
          for ac_func in dcgettext
13093
 
do :
13094
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13095
 
if test "x$ac_cv_func_dcgettext" = xyes; then :
13096
 
  cat >>confdefs.h <<_ACEOF
13097
 
#define HAVE_DCGETTEXT 1
13098
 
_ACEOF
13099
 
 
13100
 
fi
13101
 
done
13102
 
 
13103
 
          MSGFMT_OPTS=
13104
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13105
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13106
 
          cat >conftest.foo <<_ACEOF
13107
 
 
13108
 
msgid ""
13109
 
msgstr ""
13110
 
"Content-Type: text/plain; charset=UTF-8\n"
13111
 
"Project-Id-Version: test 1.0\n"
13112
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13113
 
"Last-Translator: test <foo@bar.xx>\n"
13114
 
"Language-Team: C <LL@li.org>\n"
13115
 
"MIME-Version: 1.0\n"
13116
 
"Content-Transfer-Encoding: 8bit\n"
13117
 
 
13118
 
_ACEOF
13119
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13120
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13121
 
  ac_status=$?
13122
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13123
 
  test $ac_status = 0; }; then
13124
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13125
 
$as_echo "yes" >&6; }
13126
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127
 
$as_echo "no" >&6; }
13128
 
echo "$as_me: failed input was:" >&5
13129
 
sed 's/^/| /' conftest.foo >&5
13130
 
fi
13131
 
 
13132
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
13133
 
set dummy gmsgfmt; ac_word=$2
13134
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135
 
$as_echo_n "checking for $ac_word... " >&6; }
13136
 
if ${ac_cv_path_GMSGFMT+:} false; then :
13137
 
  $as_echo_n "(cached) " >&6
13138
 
else
13139
 
  case $GMSGFMT in
13140
 
  [\\/]* | ?:[\\/]*)
13141
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13142
 
  ;;
13143
 
  *)
13144
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13145
 
for as_dir in $PATH
13146
 
do
13147
 
  IFS=$as_save_IFS
13148
 
  test -z "$as_dir" && as_dir=.
13149
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13150
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13151
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13152
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13153
 
    break 2
13154
 
  fi
13155
 
done
13156
 
  done
13157
 
IFS=$as_save_IFS
13158
 
 
13159
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13160
 
  ;;
13161
 
esac
13162
 
fi
13163
 
GMSGFMT=$ac_cv_path_GMSGFMT
13164
 
if test -n "$GMSGFMT"; then
13165
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13166
 
$as_echo "$GMSGFMT" >&6; }
13167
 
else
13168
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13169
 
$as_echo "no" >&6; }
13170
 
fi
13171
 
 
13172
 
 
13173
 
          # Extract the first word of "xgettext", so it can be a program name with args.
13174
 
set dummy xgettext; ac_word=$2
13175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176
 
$as_echo_n "checking for $ac_word... " >&6; }
13177
 
if ${ac_cv_path_XGETTEXT+:} false; then :
13178
 
  $as_echo_n "(cached) " >&6
13179
 
else
13180
 
  case "$XGETTEXT" in
13181
 
  /*)
13182
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13183
 
  ;;
13184
 
  *)
13185
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13186
 
  for ac_dir in $PATH; do
13187
 
    test -z "$ac_dir" && ac_dir=.
13188
 
    if test -f $ac_dir/$ac_word; then
13189
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13190
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13191
 
        break
13192
 
      fi
13193
 
    fi
13194
 
  done
13195
 
  IFS="$ac_save_ifs"
13196
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13197
 
  ;;
13198
 
esac
13199
 
fi
13200
 
XGETTEXT="$ac_cv_path_XGETTEXT"
13201
 
if test "$XGETTEXT" != ":"; then
13202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13203
 
$as_echo "$XGETTEXT" >&6; }
13204
 
else
13205
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206
 
$as_echo "no" >&6; }
13207
 
fi
13208
 
 
13209
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210
 
/* end confdefs.h.  */
13211
 
 
13212
 
int
13213
 
main ()
13214
 
{
13215
 
extern int _nl_msg_cat_cntr;
13216
 
                         return _nl_msg_cat_cntr
13217
 
  ;
13218
 
  return 0;
13219
 
}
13220
 
_ACEOF
13221
 
if ac_fn_c_try_link "$LINENO"; then :
13222
 
  CATOBJEXT=.gmo
13223
 
             DATADIRNAME=share
13224
 
else
13225
 
  case $host in
13226
 
            *-*-solaris*)
13227
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13228
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13229
 
  CATOBJEXT=.gmo
13230
 
               DATADIRNAME=share
13231
 
else
13232
 
  CATOBJEXT=.mo
13233
 
               DATADIRNAME=lib
13234
 
fi
13235
 
 
13236
 
            ;;
13237
 
            *-*-openbsd*)
13238
 
            CATOBJEXT=.mo
13239
 
            DATADIRNAME=share
13240
 
            ;;
13241
 
            *)
13242
 
            CATOBJEXT=.mo
13243
 
            DATADIRNAME=lib
13244
 
            ;;
13245
 
            esac
13246
 
fi
13247
 
rm -f core conftest.err conftest.$ac_objext \
13248
 
    conftest$ac_exeext conftest.$ac_ext
13249
 
          LIBS="$glib_save_LIBS"
13250
 
          INSTOBJEXT=.mo
13251
 
        else
13252
 
          gt_cv_have_gettext=no
13253
 
        fi
13254
 
      fi
13255
 
 
13256
 
fi
13257
 
 
13258
 
 
13259
 
 
13260
 
    if test "$gt_cv_have_gettext" = "yes" ; then
13261
 
 
13262
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13263
 
 
13264
 
    fi
13265
 
 
13266
 
        if test "$XGETTEXT" != ":"; then
13267
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13268
 
        : ;
13269
 
      else
13270
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13271
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13272
 
        XGETTEXT=":"
13273
 
      fi
13274
 
    fi
13275
 
 
13276
 
    # We need to process the po/ directory.
13277
 
    POSUB=po
13278
 
 
13279
 
    ac_config_commands="$ac_config_commands default-1"
13280
 
 
13281
 
 
13282
 
                for lang in $ALL_LINGUAS; do
13283
 
      GMOFILES="$GMOFILES $lang.gmo"
13284
 
      POFILES="$POFILES $lang.po"
13285
 
    done
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
 
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
 
13297
 
 
13298
 
 
13299
 
   if test "$gt_cv_have_gettext" = "yes"; then
13300
 
     if test "x$ALL_LINGUAS" = "x"; then
13301
 
       LINGUAS=
13302
 
     else
13303
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13304
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
13305
 
       NEW_LINGUAS=
13306
 
       for presentlang in $ALL_LINGUAS; do
13307
 
         useit=no
13308
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13309
 
           desiredlanguages="$LINGUAS"
13310
 
         else
13311
 
           desiredlanguages="$ALL_LINGUAS"
13312
 
         fi
13313
 
         for desiredlang in $desiredlanguages; do
13314
 
           # Use the presentlang catalog if desiredlang is
13315
 
           #   a. equal to presentlang, or
13316
 
           #   b. a variant of presentlang (because in this case,
13317
 
           #      presentlang can be used as a fallback for messages
13318
 
           #      which are not translated in the desiredlang catalog).
13319
 
           case "$desiredlang" in
13320
 
             "$presentlang"*) useit=yes;;
13321
 
           esac
13322
 
         done
13323
 
         if test $useit = yes; then
13324
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13325
 
         fi
13326
 
       done
13327
 
       LINGUAS=$NEW_LINGUAS
13328
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13329
 
$as_echo "$LINGUAS" >&6; }
13330
 
     fi
13331
 
 
13332
 
          if test -n "$LINGUAS"; then
13333
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13334
 
     fi
13335
 
   fi
13336
 
 
13337
 
            MKINSTALLDIRS=
13338
 
   if test -n "$ac_aux_dir"; then
13339
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13340
 
   fi
13341
 
   if test -z "$MKINSTALLDIRS"; then
13342
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13343
 
   fi
13344
 
 
13345
 
 
13346
 
         test -d po || mkdir po
13347
 
   if test "x$srcdir" != "x."; then
13348
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13349
 
       posrcprefix="$srcdir/"
13350
 
     else
13351
 
       posrcprefix="../$srcdir/"
13352
 
     fi
13353
 
   else
13354
 
     posrcprefix="../"
13355
 
   fi
13356
 
   rm -f po/POTFILES
13357
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13358
 
        < $srcdir/po/POTFILES.in > po/POTFILES
13359
 
 
13360
 
 
13361
 
# Check for iso-codes for country names translation
13362
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable iso-codes at build-time" >&5
13363
 
$as_echo_n "checking whether to disable iso-codes at build-time... " >&6; }
13364
 
# Check whether --enable-iso-codes was given.
13365
 
if test "${enable_iso_codes+set}" = set; then :
13366
 
  enableval=$enable_iso_codes;
13367
 
else
13368
 
  disable_iso_codes_check=no
13369
 
fi
13370
 
 
13371
 
if test x$disable_iso_codes_check = xno ; then
13372
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373
 
$as_echo "no" >&6; }
13374
 
else
13375
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13376
 
$as_echo "yes" >&6; }
13377
 
fi
13378
 
 
13379
 
if test x$disable_iso_codes_check = "xno" ; then
13380
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso_3166 domain" >&5
13381
 
$as_echo_n "checking whether iso-codes has iso_3166 domain... " >&6; }
13382
 
    if $PKG_CONFIG --variable=domains iso-codes | grep iso_3166 >/dev/null ; then
13383
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13384
 
$as_echo "yes" >&6; }
13385
 
    else
13386
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13387
 
$as_echo "no" >&6; }
13388
 
    fi
13389
 
 
13390
 
cat >>confdefs.h <<_ACEOF
13391
 
#define ISO_CODES_PREFIX "`$PKG_CONFIG --variable=prefix iso-codes`"
13392
 
_ACEOF
13393
 
 
13394
 
 
13395
 
pkg_failed=no
13396
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO_CODES" >&5
13397
 
$as_echo_n "checking for ISO_CODES... " >&6; }
13398
 
 
13399
 
if test -n "$ISO_CODES_CFLAGS"; then
13400
 
    pkg_cv_ISO_CODES_CFLAGS="$ISO_CODES_CFLAGS"
13401
 
 elif test -n "$PKG_CONFIG"; then
13402
 
    if test -n "$PKG_CONFIG" && \
13403
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iso-codes\""; } >&5
13404
 
  ($PKG_CONFIG --exists --print-errors "iso-codes") 2>&5
13405
 
  ac_status=$?
13406
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13407
 
  test $ac_status = 0; }; then
13408
 
  pkg_cv_ISO_CODES_CFLAGS=`$PKG_CONFIG --cflags "iso-codes" 2>/dev/null`
13409
 
else
13410
 
  pkg_failed=yes
13411
 
fi
13412
 
 else
13413
 
    pkg_failed=untried
13414
 
fi
13415
 
if test -n "$ISO_CODES_LIBS"; then
13416
 
    pkg_cv_ISO_CODES_LIBS="$ISO_CODES_LIBS"
13417
 
 elif test -n "$PKG_CONFIG"; then
13418
 
    if test -n "$PKG_CONFIG" && \
13419
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iso-codes\""; } >&5
13420
 
  ($PKG_CONFIG --exists --print-errors "iso-codes") 2>&5
13421
 
  ac_status=$?
13422
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13423
 
  test $ac_status = 0; }; then
13424
 
  pkg_cv_ISO_CODES_LIBS=`$PKG_CONFIG --libs "iso-codes" 2>/dev/null`
13425
 
else
13426
 
  pkg_failed=yes
13427
 
fi
13428
 
 else
13429
 
    pkg_failed=untried
13430
 
fi
13431
 
 
13432
 
 
13433
 
 
13434
 
if test $pkg_failed = yes; then
13435
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13436
 
$as_echo "no" >&6; }
13437
 
 
13438
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13439
 
        _pkg_short_errors_supported=yes
13440
 
else
13441
 
        _pkg_short_errors_supported=no
13442
 
fi
13443
 
        if test $_pkg_short_errors_supported = yes; then
13444
 
                ISO_CODES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iso-codes" 2>&1`
13445
 
        else
13446
 
                ISO_CODES_PKG_ERRORS=`$PKG_CONFIG --print-errors "iso-codes" 2>&1`
13447
 
        fi
13448
 
        # Put the nasty error message in config.log where it belongs
13449
 
        echo "$ISO_CODES_PKG_ERRORS" >&5
13450
 
 
13451
 
        echo -e "\n$ISO_CODES_PKG_ERRORS.\n"
13452
 
         echo "Consider installing the package or adjusting the PKG_CONFIG_PATH environment variable."
13453
 
         echo "You can also disable build-time check for 'iso-codes' via --disable-iso-codes";
13454
 
         exit 1;
13455
 
elif test $pkg_failed = untried; then
13456
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13457
 
$as_echo "no" >&6; }
13458
 
        echo -e "\n$ISO_CODES_PKG_ERRORS.\n"
13459
 
         echo "Consider installing the package or adjusting the PKG_CONFIG_PATH environment variable."
13460
 
         echo "You can also disable build-time check for 'iso-codes' via --disable-iso-codes";
13461
 
         exit 1;
13462
 
else
13463
 
        ISO_CODES_CFLAGS=$pkg_cv_ISO_CODES_CFLAGS
13464
 
        ISO_CODES_LIBS=$pkg_cv_ISO_CODES_LIBS
13465
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13466
 
$as_echo "yes" >&6; }
13467
 
 
13468
 
fi
13469
 
else
13470
 
 
13471
 
cat >>confdefs.h <<_ACEOF
13472
 
#define ISO_CODES_PREFIX "$prefix"
13473
 
_ACEOF
13474
 
 
13475
 
fi
13476
 
 
13477
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13478
 
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13479
 
if ${ac_cv_c_bigendian+:} false; then :
13480
 
  $as_echo_n "(cached) " >&6
13481
 
else
13482
 
  ac_cv_c_bigendian=unknown
13483
 
    # See if we're dealing with a universal compiler.
13484
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485
 
/* end confdefs.h.  */
13486
 
#ifndef __APPLE_CC__
13487
 
               not a universal capable compiler
13488
 
             #endif
13489
 
             typedef int dummy;
13490
 
 
13491
 
_ACEOF
13492
 
if ac_fn_c_try_compile "$LINENO"; then :
13493
 
 
13494
 
        # Check for potential -arch flags.  It is not universal unless
13495
 
        # there are at least two -arch flags with different values.
13496
 
        ac_arch=
13497
 
        ac_prev=
13498
 
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13499
 
         if test -n "$ac_prev"; then
13500
 
           case $ac_word in
13501
 
             i?86 | x86_64 | ppc | ppc64)
13502
 
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13503
 
                 ac_arch=$ac_word
13504
 
               else
13505
 
                 ac_cv_c_bigendian=universal
13506
 
                 break
13507
 
               fi
13508
 
               ;;
13509
 
           esac
13510
 
           ac_prev=
13511
 
         elif test "x$ac_word" = "x-arch"; then
13512
 
           ac_prev=arch
13513
 
         fi
13514
 
       done
13515
 
fi
13516
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13517
 
    if test $ac_cv_c_bigendian = unknown; then
13518
 
      # See if sys/param.h defines the BYTE_ORDER macro.
13519
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520
 
/* end confdefs.h.  */
13521
 
#include <sys/types.h>
13522
 
             #include <sys/param.h>
13523
 
 
13524
 
int
13525
 
main ()
13526
 
{
13527
 
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13528
 
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13529
 
                     && LITTLE_ENDIAN)
13530
 
              bogus endian macros
13531
 
             #endif
13532
 
 
13533
 
  ;
13534
 
  return 0;
13535
 
}
13536
 
_ACEOF
13537
 
if ac_fn_c_try_compile "$LINENO"; then :
13538
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
13539
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540
 
/* end confdefs.h.  */
13541
 
#include <sys/types.h>
13542
 
                #include <sys/param.h>
13543
 
 
13544
 
int
13545
 
main ()
13546
 
{
13547
 
#if BYTE_ORDER != BIG_ENDIAN
13548
 
                 not big endian
13549
 
                #endif
13550
 
 
13551
 
  ;
13552
 
  return 0;
13553
 
}
13554
 
_ACEOF
13555
 
if ac_fn_c_try_compile "$LINENO"; then :
13556
 
  ac_cv_c_bigendian=yes
13557
 
else
13558
 
  ac_cv_c_bigendian=no
13559
 
fi
13560
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13561
 
fi
13562
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13563
 
    fi
13564
 
    if test $ac_cv_c_bigendian = unknown; then
13565
 
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13566
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567
 
/* end confdefs.h.  */
13568
 
#include <limits.h>
13569
 
 
13570
 
int
13571
 
main ()
13572
 
{
13573
 
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13574
 
              bogus endian macros
13575
 
             #endif
13576
 
 
13577
 
  ;
13578
 
  return 0;
13579
 
}
13580
 
_ACEOF
13581
 
if ac_fn_c_try_compile "$LINENO"; then :
13582
 
  # It does; now see whether it defined to _BIG_ENDIAN or not.
13583
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584
 
/* end confdefs.h.  */
13585
 
#include <limits.h>
13586
 
 
13587
 
int
13588
 
main ()
13589
 
{
13590
 
#ifndef _BIG_ENDIAN
13591
 
                 not big endian
13592
 
                #endif
13593
 
 
13594
 
  ;
13595
 
  return 0;
13596
 
}
13597
 
_ACEOF
13598
 
if ac_fn_c_try_compile "$LINENO"; then :
13599
 
  ac_cv_c_bigendian=yes
13600
 
else
13601
 
  ac_cv_c_bigendian=no
13602
 
fi
13603
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13604
 
fi
13605
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13606
 
    fi
13607
 
    if test $ac_cv_c_bigendian = unknown; then
13608
 
      # Compile a test program.
13609
 
      if test "$cross_compiling" = yes; then :
13610
 
  # Try to guess by grepping values from an object file.
13611
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612
 
/* end confdefs.h.  */
13613
 
short int ascii_mm[] =
13614
 
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13615
 
                short int ascii_ii[] =
13616
 
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13617
 
                int use_ascii (int i) {
13618
 
                  return ascii_mm[i] + ascii_ii[i];
13619
 
                }
13620
 
                short int ebcdic_ii[] =
13621
 
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13622
 
                short int ebcdic_mm[] =
13623
 
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13624
 
                int use_ebcdic (int i) {
13625
 
                  return ebcdic_mm[i] + ebcdic_ii[i];
13626
 
                }
13627
 
                extern int foo;
13628
 
 
13629
 
int
13630
 
main ()
13631
 
{
13632
 
return use_ascii (foo) == use_ebcdic (foo);
13633
 
  ;
13634
 
  return 0;
13635
 
}
13636
 
_ACEOF
13637
 
if ac_fn_c_try_compile "$LINENO"; then :
13638
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13639
 
              ac_cv_c_bigendian=yes
13640
 
            fi
13641
 
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13642
 
              if test "$ac_cv_c_bigendian" = unknown; then
13643
 
                ac_cv_c_bigendian=no
13644
 
              else
13645
 
                # finding both strings is unlikely to happen, but who knows?
13646
 
                ac_cv_c_bigendian=unknown
13647
 
              fi
13648
 
            fi
13649
 
fi
13650
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13651
 
else
13652
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653
 
/* end confdefs.h.  */
13654
 
$ac_includes_default
13655
 
int
13656
 
main ()
13657
 
{
13658
 
 
13659
 
             /* Are we little or big endian?  From Harbison&Steele.  */
13660
 
             union
13661
 
             {
13662
 
               long int l;
13663
 
               char c[sizeof (long int)];
13664
 
             } u;
13665
 
             u.l = 1;
13666
 
             return u.c[sizeof (long int) - 1] == 1;
13667
 
 
13668
 
  ;
13669
 
  return 0;
13670
 
}
13671
 
_ACEOF
13672
 
if ac_fn_c_try_run "$LINENO"; then :
13673
 
  ac_cv_c_bigendian=no
13674
 
else
13675
 
  ac_cv_c_bigendian=yes
13676
 
fi
13677
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13678
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
13679
 
fi
13680
 
 
13681
 
    fi
13682
 
fi
13683
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13684
 
$as_echo "$ac_cv_c_bigendian" >&6; }
13685
 
 case $ac_cv_c_bigendian in #(
13686
 
   yes)
13687
 
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13688
 
;; #(
13689
 
   no)
13690
 
      ;; #(
13691
 
   universal)
13692
 
 
13693
 
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13694
 
 
13695
 
     ;; #(
13696
 
   *)
13697
 
     as_fn_error $? "unknown endianness
13698
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13699
 
 esac
13700
 
 
13701
 
 
13702
 
 
13703
 
pkg_failed=no
13704
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
13705
 
$as_echo_n "checking for GOBJECT... " >&6; }
13706
 
 
13707
 
if test -n "$GOBJECT_CFLAGS"; then
13708
 
    pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
13709
 
 elif test -n "$PKG_CONFIG"; then
13710
 
    if test -n "$PKG_CONFIG" && \
13711
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
13712
 
  ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
13713
 
  ac_status=$?
13714
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13715
 
  test $ac_status = 0; }; then
13716
 
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
13717
 
else
13718
 
  pkg_failed=yes
13719
 
fi
13720
 
 else
13721
 
    pkg_failed=untried
13722
 
fi
13723
 
if test -n "$GOBJECT_LIBS"; then
13724
 
    pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
13725
 
 elif test -n "$PKG_CONFIG"; then
13726
 
    if test -n "$PKG_CONFIG" && \
13727
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
13728
 
  ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
13729
 
  ac_status=$?
13730
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13731
 
  test $ac_status = 0; }; then
13732
 
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
13733
 
else
13734
 
  pkg_failed=yes
13735
 
fi
13736
 
 else
13737
 
    pkg_failed=untried
13738
 
fi
13739
 
 
13740
 
 
13741
 
 
13742
 
if test $pkg_failed = yes; then
13743
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13744
 
$as_echo "no" >&6; }
13745
 
 
13746
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13747
 
        _pkg_short_errors_supported=yes
13748
 
else
13749
 
        _pkg_short_errors_supported=no
13750
 
fi
13751
 
        if test $_pkg_short_errors_supported = yes; then
13752
 
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
13753
 
        else
13754
 
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
13755
 
        fi
13756
 
        # Put the nasty error message in config.log where it belongs
13757
 
        echo "$GOBJECT_PKG_ERRORS" >&5
13758
 
 
13759
 
        as_fn_error $? "Package requirements (gobject-2.0) were not met:
13760
 
 
13761
 
$GOBJECT_PKG_ERRORS
13762
 
 
13763
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13764
 
installed software in a non-standard prefix.
13765
 
 
13766
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
13767
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
13768
 
See the pkg-config man page for more details." "$LINENO" 5
13769
 
 
13770
 
elif test $pkg_failed = untried; then
13771
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13772
 
$as_echo "no" >&6; }
13773
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13774
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13775
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13776
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13777
 
path to pkg-config.
13778
 
 
13779
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
13780
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
13781
 
See the pkg-config man page for more details.
13782
 
 
13783
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13784
 
See \`config.log' for more details" "$LINENO" 5; }
13785
 
 
13786
 
else
13787
 
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
13788
 
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
13789
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13790
 
$as_echo "yes" >&6; }
13791
 
 
13792
 
fi
13793
 
 
13794
 
 
13795
 
pkg_failed=no
13796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NMA" >&5
13797
 
$as_echo_n "checking for NMA... " >&6; }
13798
 
 
13799
 
if test -n "$NMA_CFLAGS"; then
13800
 
    pkg_cv_NMA_CFLAGS="$NMA_CFLAGS"
13801
 
 elif test -n "$PKG_CONFIG"; then
13802
 
    if test -n "$PKG_CONFIG" && \
13803
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.74
13804
 
                 gio-2.0 >= 2.26
13805
 
                 NetworkManager >= 0.9.6
13806
 
                 libnm-glib >= 0.9.6
13807
 
                 libnm-util >= 0.9.6
13808
 
                 libnm-glib-vpn >= 0.9.6
13809
 
                 gmodule-export-2.0\""; } >&5
13810
 
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.74
13811
 
                 gio-2.0 >= 2.26
13812
 
                 NetworkManager >= 0.9.6
13813
 
                 libnm-glib >= 0.9.6
13814
 
                 libnm-util >= 0.9.6
13815
 
                 libnm-glib-vpn >= 0.9.6
13816
 
                 gmodule-export-2.0") 2>&5
13817
 
  ac_status=$?
13818
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13819
 
  test $ac_status = 0; }; then
13820
 
  pkg_cv_NMA_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.74
13821
 
                 gio-2.0 >= 2.26
13822
 
                 NetworkManager >= 0.9.6
13823
 
                 libnm-glib >= 0.9.6
13824
 
                 libnm-util >= 0.9.6
13825
 
                 libnm-glib-vpn >= 0.9.6
13826
 
                 gmodule-export-2.0" 2>/dev/null`
13827
 
else
13828
 
  pkg_failed=yes
13829
 
fi
13830
 
 else
13831
 
    pkg_failed=untried
13832
 
fi
13833
 
if test -n "$NMA_LIBS"; then
13834
 
    pkg_cv_NMA_LIBS="$NMA_LIBS"
13835
 
 elif test -n "$PKG_CONFIG"; then
13836
 
    if test -n "$PKG_CONFIG" && \
13837
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.74
13838
 
                 gio-2.0 >= 2.26
13839
 
                 NetworkManager >= 0.9.6
13840
 
                 libnm-glib >= 0.9.6
13841
 
                 libnm-util >= 0.9.6
13842
 
                 libnm-glib-vpn >= 0.9.6
13843
 
                 gmodule-export-2.0\""; } >&5
13844
 
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.74
13845
 
                 gio-2.0 >= 2.26
13846
 
                 NetworkManager >= 0.9.6
13847
 
                 libnm-glib >= 0.9.6
13848
 
                 libnm-util >= 0.9.6
13849
 
                 libnm-glib-vpn >= 0.9.6
13850
 
                 gmodule-export-2.0") 2>&5
13851
 
  ac_status=$?
13852
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13853
 
  test $ac_status = 0; }; then
13854
 
  pkg_cv_NMA_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.74
13855
 
                 gio-2.0 >= 2.26
13856
 
                 NetworkManager >= 0.9.6
13857
 
                 libnm-glib >= 0.9.6
13858
 
                 libnm-util >= 0.9.6
13859
 
                 libnm-glib-vpn >= 0.9.6
13860
 
                 gmodule-export-2.0" 2>/dev/null`
13861
 
else
13862
 
  pkg_failed=yes
13863
 
fi
13864
 
 else
13865
 
    pkg_failed=untried
13866
 
fi
13867
 
 
13868
 
 
13869
 
 
13870
 
if test $pkg_failed = yes; then
13871
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13872
 
$as_echo "no" >&6; }
13873
 
 
13874
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13875
 
        _pkg_short_errors_supported=yes
13876
 
else
13877
 
        _pkg_short_errors_supported=no
13878
 
fi
13879
 
        if test $_pkg_short_errors_supported = yes; then
13880
 
                NMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= 0.74
13881
 
                 gio-2.0 >= 2.26
13882
 
                 NetworkManager >= 0.9.6
13883
 
                 libnm-glib >= 0.9.6
13884
 
                 libnm-util >= 0.9.6
13885
 
                 libnm-glib-vpn >= 0.9.6
13886
 
                 gmodule-export-2.0" 2>&1`
13887
 
        else
13888
 
                NMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= 0.74
13889
 
                 gio-2.0 >= 2.26
13890
 
                 NetworkManager >= 0.9.6
13891
 
                 libnm-glib >= 0.9.6
13892
 
                 libnm-util >= 0.9.6
13893
 
                 libnm-glib-vpn >= 0.9.6
13894
 
                 gmodule-export-2.0" 2>&1`
13895
 
        fi
13896
 
        # Put the nasty error message in config.log where it belongs
13897
 
        echo "$NMA_PKG_ERRORS" >&5
13898
 
 
13899
 
        as_fn_error $? "Package requirements (dbus-glib-1 >= 0.74
13900
 
                 gio-2.0 >= 2.26
13901
 
                 NetworkManager >= 0.9.6
13902
 
                 libnm-glib >= 0.9.6
13903
 
                 libnm-util >= 0.9.6
13904
 
                 libnm-glib-vpn >= 0.9.6
13905
 
                 gmodule-export-2.0) were not met:
13906
 
 
13907
 
$NMA_PKG_ERRORS
13908
 
 
13909
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13910
 
installed software in a non-standard prefix.
13911
 
 
13912
 
Alternatively, you may set the environment variables NMA_CFLAGS
13913
 
and NMA_LIBS to avoid the need to call pkg-config.
13914
 
See the pkg-config man page for more details." "$LINENO" 5
13915
 
 
13916
 
elif test $pkg_failed = untried; then
13917
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13918
 
$as_echo "no" >&6; }
13919
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13920
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13921
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13922
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13923
 
path to pkg-config.
13924
 
 
13925
 
Alternatively, you may set the environment variables NMA_CFLAGS
13926
 
and NMA_LIBS to avoid the need to call pkg-config.
13927
 
See the pkg-config man page for more details.
13928
 
 
13929
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13930
 
See \`config.log' for more details" "$LINENO" 5; }
13931
 
 
13932
 
else
13933
 
        NMA_CFLAGS=$pkg_cv_NMA_CFLAGS
13934
 
        NMA_LIBS=$pkg_cv_NMA_LIBS
13935
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13936
 
$as_echo "yes" >&6; }
13937
 
 
13938
 
fi
13939
 
 
13940
 
# With recent glib, defining GLIB_VERSION_MIN_REQUIRED avoids
13941
 
# deprecation warnings for recently-deprecated functions (eg,
13942
 
# GValueArray stuff). We say GLIB_VERSION_2_26 because there
13943
 
# aren't macros for any older versions.
13944
 
NMA_CFLAGS="$NMA_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26"
13945
 
 
13946
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build nm-applet-migration-tool" >&5
13947
 
$as_echo_n "checking whether to build nm-applet-migration-tool... " >&6; }
13948
 
# Check whether --enable-migration was given.
13949
 
if test "${enable_migration+set}" = set; then :
13950
 
  enableval=$enable_migration; enable_migration="$enableval"
13951
 
else
13952
 
  if test "$UNDER_JHBUILD" = "true"; then
13953
 
                   enable_migration=no
13954
 
               else
13955
 
                   enable_migration=yes
13956
 
               fi
13957
 
fi
13958
 
 
13959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_migration" >&5
13960
 
$as_echo "$enable_migration" >&6; }
13961
 
if test "$enable_migration" = "yes"; then
13962
 
 
13963
 
pkg_failed=no
13964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
13965
 
$as_echo_n "checking for GCONF... " >&6; }
13966
 
 
13967
 
if test -n "$GCONF_CFLAGS"; then
13968
 
    pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
13969
 
 elif test -n "$PKG_CONFIG"; then
13970
 
    if test -n "$PKG_CONFIG" && \
13971
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
13972
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
13973
 
  ac_status=$?
13974
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975
 
  test $ac_status = 0; }; then
13976
 
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
13977
 
else
13978
 
  pkg_failed=yes
13979
 
fi
13980
 
 else
13981
 
    pkg_failed=untried
13982
 
fi
13983
 
if test -n "$GCONF_LIBS"; then
13984
 
    pkg_cv_GCONF_LIBS="$GCONF_LIBS"
13985
 
 elif test -n "$PKG_CONFIG"; then
13986
 
    if test -n "$PKG_CONFIG" && \
13987
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
13988
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
13989
 
  ac_status=$?
13990
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991
 
  test $ac_status = 0; }; then
13992
 
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
13993
 
else
13994
 
  pkg_failed=yes
13995
 
fi
13996
 
 else
13997
 
    pkg_failed=untried
13998
 
fi
13999
 
 
14000
 
 
14001
 
 
14002
 
if test $pkg_failed = yes; then
14003
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14004
 
$as_echo "no" >&6; }
14005
 
 
14006
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14007
 
        _pkg_short_errors_supported=yes
14008
 
else
14009
 
        _pkg_short_errors_supported=no
14010
 
fi
14011
 
        if test $_pkg_short_errors_supported = yes; then
14012
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
14013
 
        else
14014
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
14015
 
        fi
14016
 
        # Put the nasty error message in config.log where it belongs
14017
 
        echo "$GCONF_PKG_ERRORS" >&5
14018
 
 
14019
 
        as_fn_error $? "
14020
 
Could not find GConf devel files, which are needed for
14021
 
nm-applet-migration-tool. You can configure with --disable-migration
14022
 
if you want to build without the code to migrate GConf settings from
14023
 
older (< 0.9) nm-applet releases." "$LINENO" 5
14024
 
elif test $pkg_failed = untried; then
14025
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026
 
$as_echo "no" >&6; }
14027
 
        as_fn_error $? "
14028
 
Could not find GConf devel files, which are needed for
14029
 
nm-applet-migration-tool. You can configure with --disable-migration
14030
 
if you want to build without the code to migrate GConf settings from
14031
 
older (< 0.9) nm-applet releases." "$LINENO" 5
14032
 
else
14033
 
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
14034
 
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
14035
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14036
 
$as_echo "yes" >&6; }
14037
 
        :
14038
 
fi
14039
 
 
14040
 
 
14041
 
 
14042
 
 
14043
 
 
14044
 
$as_echo "#define BUILD_MIGRATION_TOOL 1" >>confdefs.h
14045
 
 
14046
 
fi
14047
 
 if test "$enable_migration" = "yes"; then
14048
 
  BUILD_MIGRATION_TOOL_TRUE=
14049
 
  BUILD_MIGRATION_TOOL_FALSE='#'
14050
 
else
14051
 
  BUILD_MIGRATION_TOOL_TRUE='#'
14052
 
  BUILD_MIGRATION_TOOL_FALSE=
14053
 
fi
14054
 
 
14055
 
 
14056
 
 
14057
 
pkg_failed=no
14058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_KEYRING" >&5
14059
 
$as_echo_n "checking for GNOME_KEYRING... " >&6; }
14060
 
 
14061
 
if test -n "$GNOME_KEYRING_CFLAGS"; then
14062
 
    pkg_cv_GNOME_KEYRING_CFLAGS="$GNOME_KEYRING_CFLAGS"
14063
 
 elif test -n "$PKG_CONFIG"; then
14064
 
    if test -n "$PKG_CONFIG" && \
14065
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
14066
 
  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
14067
 
  ac_status=$?
14068
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14069
 
  test $ac_status = 0; }; then
14070
 
  pkg_cv_GNOME_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
14071
 
else
14072
 
  pkg_failed=yes
14073
 
fi
14074
 
 else
14075
 
    pkg_failed=untried
14076
 
fi
14077
 
if test -n "$GNOME_KEYRING_LIBS"; then
14078
 
    pkg_cv_GNOME_KEYRING_LIBS="$GNOME_KEYRING_LIBS"
14079
 
 elif test -n "$PKG_CONFIG"; then
14080
 
    if test -n "$PKG_CONFIG" && \
14081
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
14082
 
  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
14083
 
  ac_status=$?
14084
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085
 
  test $ac_status = 0; }; then
14086
 
  pkg_cv_GNOME_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
14087
 
else
14088
 
  pkg_failed=yes
14089
 
fi
14090
 
 else
14091
 
    pkg_failed=untried
14092
 
fi
14093
 
 
14094
 
 
14095
 
 
14096
 
if test $pkg_failed = yes; then
14097
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14098
 
$as_echo "no" >&6; }
14099
 
 
14100
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14101
 
        _pkg_short_errors_supported=yes
14102
 
else
14103
 
        _pkg_short_errors_supported=no
14104
 
fi
14105
 
        if test $_pkg_short_errors_supported = yes; then
14106
 
                GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-keyring-1" 2>&1`
14107
 
        else
14108
 
                GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-keyring-1" 2>&1`
14109
 
        fi
14110
 
        # Put the nasty error message in config.log where it belongs
14111
 
        echo "$GNOME_KEYRING_PKG_ERRORS" >&5
14112
 
 
14113
 
        as_fn_error $? "Package requirements (gnome-keyring-1) were not met:
14114
 
 
14115
 
$GNOME_KEYRING_PKG_ERRORS
14116
 
 
14117
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14118
 
installed software in a non-standard prefix.
14119
 
 
14120
 
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
14121
 
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
14122
 
See the pkg-config man page for more details." "$LINENO" 5
14123
 
 
14124
 
elif test $pkg_failed = untried; then
14125
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14126
 
$as_echo "no" >&6; }
14127
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14128
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14129
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14130
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14131
 
path to pkg-config.
14132
 
 
14133
 
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
14134
 
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
14135
 
See the pkg-config man page for more details.
14136
 
 
14137
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14138
 
See \`config.log' for more details" "$LINENO" 5; }
14139
 
 
14140
 
else
14141
 
        GNOME_KEYRING_CFLAGS=$pkg_cv_GNOME_KEYRING_CFLAGS
14142
 
        GNOME_KEYRING_LIBS=$pkg_cv_GNOME_KEYRING_LIBS
14143
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14144
 
$as_echo "yes" >&6; }
14145
 
 
14146
 
fi
14147
 
 
14148
 
 
14149
 
 
14150
 
# Check for libnotify >= 0.7
14151
 
 
14152
 
pkg_failed=no
14153
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY_07" >&5
14154
 
$as_echo_n "checking for LIBNOTIFY_07... " >&6; }
14155
 
 
14156
 
if test -n "$LIBNOTIFY_07_CFLAGS"; then
14157
 
    pkg_cv_LIBNOTIFY_07_CFLAGS="$LIBNOTIFY_07_CFLAGS"
14158
 
 elif test -n "$PKG_CONFIG"; then
14159
 
    if test -n "$PKG_CONFIG" && \
14160
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
14161
 
  ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
14162
 
  ac_status=$?
14163
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164
 
  test $ac_status = 0; }; then
14165
 
  pkg_cv_LIBNOTIFY_07_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
14166
 
else
14167
 
  pkg_failed=yes
14168
 
fi
14169
 
 else
14170
 
    pkg_failed=untried
14171
 
fi
14172
 
if test -n "$LIBNOTIFY_07_LIBS"; then
14173
 
    pkg_cv_LIBNOTIFY_07_LIBS="$LIBNOTIFY_07_LIBS"
14174
 
 elif test -n "$PKG_CONFIG"; then
14175
 
    if test -n "$PKG_CONFIG" && \
14176
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
14177
 
  ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
14178
 
  ac_status=$?
14179
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14180
 
  test $ac_status = 0; }; then
14181
 
  pkg_cv_LIBNOTIFY_07_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
14182
 
else
14183
 
  pkg_failed=yes
14184
 
fi
14185
 
 else
14186
 
    pkg_failed=untried
14187
 
fi
14188
 
 
14189
 
 
14190
 
 
14191
 
if test $pkg_failed = yes; then
14192
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14193
 
$as_echo "no" >&6; }
14194
 
 
14195
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14196
 
        _pkg_short_errors_supported=yes
14197
 
else
14198
 
        _pkg_short_errors_supported=no
14199
 
fi
14200
 
        if test $_pkg_short_errors_supported = yes; then
14201
 
                LIBNOTIFY_07_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify >= 0.7" 2>&1`
14202
 
        else
14203
 
                LIBNOTIFY_07_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify >= 0.7" 2>&1`
14204
 
        fi
14205
 
        # Put the nasty error message in config.log where it belongs
14206
 
        echo "$LIBNOTIFY_07_PKG_ERRORS" >&5
14207
 
 
14208
 
        have_libnotify_07=no
14209
 
elif test $pkg_failed = untried; then
14210
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14211
 
$as_echo "no" >&6; }
14212
 
        have_libnotify_07=no
14213
 
else
14214
 
        LIBNOTIFY_07_CFLAGS=$pkg_cv_LIBNOTIFY_07_CFLAGS
14215
 
        LIBNOTIFY_07_LIBS=$pkg_cv_LIBNOTIFY_07_LIBS
14216
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14217
 
$as_echo "yes" >&6; }
14218
 
        have_libnotify_07=yes
14219
 
fi
14220
 
if test x"$have_libnotify_07" = "xyes"; then
14221
 
 
14222
 
$as_echo "#define HAVE_LIBNOTIFY_07 1" >>confdefs.h
14223
 
 
14224
 
fi
14225
 
 
14226
 
pkg_failed=no
14227
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
14228
 
$as_echo_n "checking for NOTIFY... " >&6; }
14229
 
 
14230
 
if test -n "$NOTIFY_CFLAGS"; then
14231
 
    pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
14232
 
 elif test -n "$PKG_CONFIG"; then
14233
 
    if test -n "$PKG_CONFIG" && \
14234
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.3\""; } >&5
14235
 
  ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.3") 2>&5
14236
 
  ac_status=$?
14237
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14238
 
  test $ac_status = 0; }; then
14239
 
  pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4.3" 2>/dev/null`
14240
 
else
14241
 
  pkg_failed=yes
14242
 
fi
14243
 
 else
14244
 
    pkg_failed=untried
14245
 
fi
14246
 
if test -n "$NOTIFY_LIBS"; then
14247
 
    pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
14248
 
 elif test -n "$PKG_CONFIG"; then
14249
 
    if test -n "$PKG_CONFIG" && \
14250
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.3\""; } >&5
14251
 
  ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.3") 2>&5
14252
 
  ac_status=$?
14253
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14254
 
  test $ac_status = 0; }; then
14255
 
  pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4.3" 2>/dev/null`
14256
 
else
14257
 
  pkg_failed=yes
14258
 
fi
14259
 
 else
14260
 
    pkg_failed=untried
14261
 
fi
14262
 
 
14263
 
 
14264
 
 
14265
 
if test $pkg_failed = yes; then
14266
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14267
 
$as_echo "no" >&6; }
14268
 
 
14269
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14270
 
        _pkg_short_errors_supported=yes
14271
 
else
14272
 
        _pkg_short_errors_supported=no
14273
 
fi
14274
 
        if test $_pkg_short_errors_supported = yes; then
14275
 
                NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify >= 0.4.3" 2>&1`
14276
 
        else
14277
 
                NOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify >= 0.4.3" 2>&1`
14278
 
        fi
14279
 
        # Put the nasty error message in config.log where it belongs
14280
 
        echo "$NOTIFY_PKG_ERRORS" >&5
14281
 
 
14282
 
        as_fn_error $? "Package requirements (libnotify >= 0.4.3) were not met:
14283
 
 
14284
 
$NOTIFY_PKG_ERRORS
14285
 
 
14286
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14287
 
installed software in a non-standard prefix.
14288
 
 
14289
 
Alternatively, you may set the environment variables NOTIFY_CFLAGS
14290
 
and NOTIFY_LIBS to avoid the need to call pkg-config.
14291
 
See the pkg-config man page for more details." "$LINENO" 5
14292
 
 
14293
 
elif test $pkg_failed = untried; then
14294
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14295
 
$as_echo "no" >&6; }
14296
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14297
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14298
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14299
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14300
 
path to pkg-config.
14301
 
 
14302
 
Alternatively, you may set the environment variables NOTIFY_CFLAGS
14303
 
and NOTIFY_LIBS to avoid the need to call pkg-config.
14304
 
See the pkg-config man page for more details.
14305
 
 
14306
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14307
 
See \`config.log' for more details" "$LINENO" 5; }
14308
 
 
14309
 
else
14310
 
        NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
14311
 
        NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
14312
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14313
 
$as_echo "yes" >&6; }
14314
 
 
14315
 
fi
14316
 
 
14317
 
 
14318
 
 
14319
 
gtk2_req=2.20
14320
 
gtk3_req=2.91.4
14321
 
 
14322
 
# Check whether --with-gtkver was given.
14323
 
if test "${with_gtkver+set}" = set; then :
14324
 
  withval=$with_gtkver; with_gtkver="$withval"
14325
 
else
14326
 
  with_gtkver=0
14327
 
fi
14328
 
 
14329
 
case "${with_gtkver}" in
14330
 
       0)
14331
 
pkg_failed=no
14332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14333
 
$as_echo_n "checking for GTK... " >&6; }
14334
 
 
14335
 
if test -n "$GTK_CFLAGS"; then
14336
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14337
 
 elif test -n "$PKG_CONFIG"; then
14338
 
    if test -n "$PKG_CONFIG" && \
14339
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 > \$gtk3_req\""; } >&5
14340
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 > $gtk3_req") 2>&5
14341
 
  ac_status=$?
14342
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14343
 
  test $ac_status = 0; }; then
14344
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 > $gtk3_req" 2>/dev/null`
14345
 
else
14346
 
  pkg_failed=yes
14347
 
fi
14348
 
 else
14349
 
    pkg_failed=untried
14350
 
fi
14351
 
if test -n "$GTK_LIBS"; then
14352
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
14353
 
 elif test -n "$PKG_CONFIG"; then
14354
 
    if test -n "$PKG_CONFIG" && \
14355
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 > \$gtk3_req\""; } >&5
14356
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 > $gtk3_req") 2>&5
14357
 
  ac_status=$?
14358
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14359
 
  test $ac_status = 0; }; then
14360
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 > $gtk3_req" 2>/dev/null`
14361
 
else
14362
 
  pkg_failed=yes
14363
 
fi
14364
 
 else
14365
 
    pkg_failed=untried
14366
 
fi
14367
 
 
14368
 
 
14369
 
 
14370
 
if test $pkg_failed = yes; then
14371
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14372
 
$as_echo "no" >&6; }
14373
 
 
14374
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14375
 
        _pkg_short_errors_supported=yes
14376
 
else
14377
 
        _pkg_short_errors_supported=no
14378
 
fi
14379
 
        if test $_pkg_short_errors_supported = yes; then
14380
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 > $gtk3_req" 2>&1`
14381
 
        else
14382
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 > $gtk3_req" 2>&1`
14383
 
        fi
14384
 
        # Put the nasty error message in config.log where it belongs
14385
 
        echo "$GTK_PKG_ERRORS" >&5
14386
 
 
14387
 
 
14388
 
pkg_failed=no
14389
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14390
 
$as_echo_n "checking for GTK... " >&6; }
14391
 
 
14392
 
if test -n "$GTK_CFLAGS"; then
14393
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14394
 
 elif test -n "$PKG_CONFIG"; then
14395
 
    if test -n "$PKG_CONFIG" && \
14396
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14397
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14398
 
  ac_status=$?
14399
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14400
 
  test $ac_status = 0; }; then
14401
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14402
 
else
14403
 
  pkg_failed=yes
14404
 
fi
14405
 
 else
14406
 
    pkg_failed=untried
14407
 
fi
14408
 
if test -n "$GTK_LIBS"; then
14409
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
14410
 
 elif test -n "$PKG_CONFIG"; then
14411
 
    if test -n "$PKG_CONFIG" && \
14412
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14413
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14414
 
  ac_status=$?
14415
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14416
 
  test $ac_status = 0; }; then
14417
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14418
 
else
14419
 
  pkg_failed=yes
14420
 
fi
14421
 
 else
14422
 
    pkg_failed=untried
14423
 
fi
14424
 
 
14425
 
 
14426
 
 
14427
 
if test $pkg_failed = yes; then
14428
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14429
 
$as_echo "no" >&6; }
14430
 
 
14431
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14432
 
        _pkg_short_errors_supported=yes
14433
 
else
14434
 
        _pkg_short_errors_supported=no
14435
 
fi
14436
 
        if test $_pkg_short_errors_supported = yes; then
14437
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14438
 
        else
14439
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14440
 
        fi
14441
 
        # Put the nasty error message in config.log where it belongs
14442
 
        echo "$GTK_PKG_ERRORS" >&5
14443
 
 
14444
 
        as_fn_error $? "Package requirements (gtk+-2.0 > $gtk2_req) were not met:
14445
 
 
14446
 
$GTK_PKG_ERRORS
14447
 
 
14448
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14449
 
installed software in a non-standard prefix.
14450
 
 
14451
 
Alternatively, you may set the environment variables GTK_CFLAGS
14452
 
and GTK_LIBS to avoid the need to call pkg-config.
14453
 
See the pkg-config man page for more details." "$LINENO" 5
14454
 
 
14455
 
elif test $pkg_failed = untried; then
14456
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14457
 
$as_echo "no" >&6; }
14458
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14459
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14460
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14461
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14462
 
path to pkg-config.
14463
 
 
14464
 
Alternatively, you may set the environment variables GTK_CFLAGS
14465
 
and GTK_LIBS to avoid the need to call pkg-config.
14466
 
See the pkg-config man page for more details.
14467
 
 
14468
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14469
 
See \`config.log' for more details" "$LINENO" 5; }
14470
 
 
14471
 
else
14472
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14473
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
14474
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14475
 
$as_echo "yes" >&6; }
14476
 
 
14477
 
fi
14478
 
elif test $pkg_failed = untried; then
14479
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14480
 
$as_echo "no" >&6; }
14481
 
 
14482
 
pkg_failed=no
14483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14484
 
$as_echo_n "checking for GTK... " >&6; }
14485
 
 
14486
 
if test -n "$GTK_CFLAGS"; then
14487
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14488
 
 elif test -n "$PKG_CONFIG"; then
14489
 
    if test -n "$PKG_CONFIG" && \
14490
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14491
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14492
 
  ac_status=$?
14493
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14494
 
  test $ac_status = 0; }; then
14495
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14496
 
else
14497
 
  pkg_failed=yes
14498
 
fi
14499
 
 else
14500
 
    pkg_failed=untried
14501
 
fi
14502
 
if test -n "$GTK_LIBS"; then
14503
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
14504
 
 elif test -n "$PKG_CONFIG"; then
14505
 
    if test -n "$PKG_CONFIG" && \
14506
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14507
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14508
 
  ac_status=$?
14509
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14510
 
  test $ac_status = 0; }; then
14511
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14512
 
else
14513
 
  pkg_failed=yes
14514
 
fi
14515
 
 else
14516
 
    pkg_failed=untried
14517
 
fi
14518
 
 
14519
 
 
14520
 
 
14521
 
if test $pkg_failed = yes; then
14522
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523
 
$as_echo "no" >&6; }
14524
 
 
14525
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14526
 
        _pkg_short_errors_supported=yes
14527
 
else
14528
 
        _pkg_short_errors_supported=no
14529
 
fi
14530
 
        if test $_pkg_short_errors_supported = yes; then
14531
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14532
 
        else
14533
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14534
 
        fi
14535
 
        # Put the nasty error message in config.log where it belongs
14536
 
        echo "$GTK_PKG_ERRORS" >&5
14537
 
 
14538
 
        as_fn_error $? "Package requirements (gtk+-2.0 > $gtk2_req) were not met:
14539
 
 
14540
 
$GTK_PKG_ERRORS
14541
 
 
14542
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14543
 
installed software in a non-standard prefix.
14544
 
 
14545
 
Alternatively, you may set the environment variables GTK_CFLAGS
14546
 
and GTK_LIBS to avoid the need to call pkg-config.
14547
 
See the pkg-config man page for more details." "$LINENO" 5
14548
 
 
14549
 
elif test $pkg_failed = untried; then
14550
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14551
 
$as_echo "no" >&6; }
14552
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14553
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14554
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14555
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14556
 
path to pkg-config.
14557
 
 
14558
 
Alternatively, you may set the environment variables GTK_CFLAGS
14559
 
and GTK_LIBS to avoid the need to call pkg-config.
14560
 
See the pkg-config man page for more details.
14561
 
 
14562
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14563
 
See \`config.log' for more details" "$LINENO" 5; }
14564
 
 
14565
 
else
14566
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14567
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
14568
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14569
 
$as_echo "yes" >&6; }
14570
 
 
14571
 
fi
14572
 
else
14573
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14574
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
14575
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14576
 
$as_echo "yes" >&6; }
14577
 
 
14578
 
fi
14579
 
          ;;
14580
 
       2)
14581
 
pkg_failed=no
14582
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14583
 
$as_echo_n "checking for GTK... " >&6; }
14584
 
 
14585
 
if test -n "$GTK_CFLAGS"; then
14586
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14587
 
 elif test -n "$PKG_CONFIG"; then
14588
 
    if test -n "$PKG_CONFIG" && \
14589
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$gtk2_req\""; } >&5
14590
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $gtk2_req") 2>&5
14591
 
  ac_status=$?
14592
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14593
 
  test $ac_status = 0; }; then
14594
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $gtk2_req" 2>/dev/null`
14595
 
else
14596
 
  pkg_failed=yes
14597
 
fi
14598
 
 else
14599
 
    pkg_failed=untried
14600
 
fi
14601
 
if test -n "$GTK_LIBS"; then
14602
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
14603
 
 elif test -n "$PKG_CONFIG"; then
14604
 
    if test -n "$PKG_CONFIG" && \
14605
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$gtk2_req\""; } >&5
14606
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $gtk2_req") 2>&5
14607
 
  ac_status=$?
14608
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609
 
  test $ac_status = 0; }; then
14610
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $gtk2_req" 2>/dev/null`
14611
 
else
14612
 
  pkg_failed=yes
14613
 
fi
14614
 
 else
14615
 
    pkg_failed=untried
14616
 
fi
14617
 
 
14618
 
 
14619
 
 
14620
 
if test $pkg_failed = yes; then
14621
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14622
 
$as_echo "no" >&6; }
14623
 
 
14624
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14625
 
        _pkg_short_errors_supported=yes
14626
 
else
14627
 
        _pkg_short_errors_supported=no
14628
 
fi
14629
 
        if test $_pkg_short_errors_supported = yes; then
14630
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $gtk2_req" 2>&1`
14631
 
        else
14632
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $gtk2_req" 2>&1`
14633
 
        fi
14634
 
        # Put the nasty error message in config.log where it belongs
14635
 
        echo "$GTK_PKG_ERRORS" >&5
14636
 
 
14637
 
        as_fn_error $? "Package requirements (gtk+-2.0 >= $gtk2_req) were not met:
14638
 
 
14639
 
$GTK_PKG_ERRORS
14640
 
 
14641
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14642
 
installed software in a non-standard prefix.
14643
 
 
14644
 
Alternatively, you may set the environment variables GTK_CFLAGS
14645
 
and GTK_LIBS to avoid the need to call pkg-config.
14646
 
See the pkg-config man page for more details." "$LINENO" 5
14647
 
 
14648
 
elif test $pkg_failed = untried; then
14649
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14650
 
$as_echo "no" >&6; }
14651
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14652
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14653
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14654
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14655
 
path to pkg-config.
14656
 
 
14657
 
Alternatively, you may set the environment variables GTK_CFLAGS
14658
 
and GTK_LIBS to avoid the need to call pkg-config.
14659
 
See the pkg-config man page for more details.
14660
 
 
14661
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14662
 
See \`config.log' for more details" "$LINENO" 5; }
14663
 
 
14664
 
else
14665
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14666
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
14667
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14668
 
$as_echo "yes" >&6; }
14669
 
 
14670
 
fi
14671
 
          ;;
14672
 
       3)
14673
 
pkg_failed=no
14674
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14675
 
$as_echo_n "checking for GTK... " >&6; }
14676
 
 
14677
 
if test -n "$GTK_CFLAGS"; then
14678
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14679
 
 elif test -n "$PKG_CONFIG"; then
14680
 
    if test -n "$PKG_CONFIG" && \
14681
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$gtk3_req\""; } >&5
14682
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $gtk3_req") 2>&5
14683
 
  ac_status=$?
14684
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685
 
  test $ac_status = 0; }; then
14686
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $gtk3_req" 2>/dev/null`
14687
 
else
14688
 
  pkg_failed=yes
14689
 
fi
14690
 
 else
14691
 
    pkg_failed=untried
14692
 
fi
14693
 
if test -n "$GTK_LIBS"; then
14694
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
14695
 
 elif test -n "$PKG_CONFIG"; then
14696
 
    if test -n "$PKG_CONFIG" && \
14697
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$gtk3_req\""; } >&5
14698
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $gtk3_req") 2>&5
14699
 
  ac_status=$?
14700
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14701
 
  test $ac_status = 0; }; then
14702
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $gtk3_req" 2>/dev/null`
14703
 
else
14704
 
  pkg_failed=yes
14705
 
fi
14706
 
 else
14707
 
    pkg_failed=untried
14708
 
fi
14709
 
 
14710
 
 
14711
 
 
14712
 
if test $pkg_failed = yes; then
14713
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14714
 
$as_echo "no" >&6; }
14715
 
 
14716
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14717
 
        _pkg_short_errors_supported=yes
14718
 
else
14719
 
        _pkg_short_errors_supported=no
14720
 
fi
14721
 
        if test $_pkg_short_errors_supported = yes; then
14722
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $gtk3_req" 2>&1`
14723
 
        else
14724
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $gtk3_req" 2>&1`
14725
 
        fi
14726
 
        # Put the nasty error message in config.log where it belongs
14727
 
        echo "$GTK_PKG_ERRORS" >&5
14728
 
 
14729
 
        as_fn_error $? "Package requirements (gtk+-3.0 >= $gtk3_req) were not met:
14730
 
 
14731
 
$GTK_PKG_ERRORS
14732
 
 
14733
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14734
 
installed software in a non-standard prefix.
14735
 
 
14736
 
Alternatively, you may set the environment variables GTK_CFLAGS
14737
 
and GTK_LIBS to avoid the need to call pkg-config.
14738
 
See the pkg-config man page for more details." "$LINENO" 5
14739
 
 
14740
 
elif test $pkg_failed = untried; then
14741
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14742
 
$as_echo "no" >&6; }
14743
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14744
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14745
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14746
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14747
 
path to pkg-config.
14748
 
 
14749
 
Alternatively, you may set the environment variables GTK_CFLAGS
14750
 
and GTK_LIBS to avoid the need to call pkg-config.
14751
 
See the pkg-config man page for more details.
14752
 
 
14753
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14754
 
See \`config.log' for more details" "$LINENO" 5; }
14755
 
 
14756
 
else
14757
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14758
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
14759
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14760
 
$as_echo "yes" >&6; }
14761
 
 
14762
 
fi
14763
 
          ;;
14764
 
       *) as_fn_error $? "unknown GTK+ version $with_gtkver!" "$LINENO" 5
14765
 
          ;;
14766
 
esac
14767
 
 
14768
 
 
14769
 
 
14770
 
# Check for dbus-1.2.6 or later for deny-by-default rules
14771
 
 
14772
 
pkg_failed=no
14773
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_126" >&5
14774
 
$as_echo_n "checking for DBUS_126... " >&6; }
14775
 
 
14776
 
if test -n "$DBUS_126_CFLAGS"; then
14777
 
    pkg_cv_DBUS_126_CFLAGS="$DBUS_126_CFLAGS"
14778
 
 elif test -n "$PKG_CONFIG"; then
14779
 
    if test -n "$PKG_CONFIG" && \
14780
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.6\""; } >&5
14781
 
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.6") 2>&5
14782
 
  ac_status=$?
14783
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784
 
  test $ac_status = 0; }; then
14785
 
  pkg_cv_DBUS_126_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.2.6" 2>/dev/null`
14786
 
else
14787
 
  pkg_failed=yes
14788
 
fi
14789
 
 else
14790
 
    pkg_failed=untried
14791
 
fi
14792
 
if test -n "$DBUS_126_LIBS"; then
14793
 
    pkg_cv_DBUS_126_LIBS="$DBUS_126_LIBS"
14794
 
 elif test -n "$PKG_CONFIG"; then
14795
 
    if test -n "$PKG_CONFIG" && \
14796
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.6\""; } >&5
14797
 
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.6") 2>&5
14798
 
  ac_status=$?
14799
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14800
 
  test $ac_status = 0; }; then
14801
 
  pkg_cv_DBUS_126_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.2.6" 2>/dev/null`
14802
 
else
14803
 
  pkg_failed=yes
14804
 
fi
14805
 
 else
14806
 
    pkg_failed=untried
14807
 
fi
14808
 
 
14809
 
 
14810
 
 
14811
 
if test $pkg_failed = yes; then
14812
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14813
 
$as_echo "no" >&6; }
14814
 
 
14815
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14816
 
        _pkg_short_errors_supported=yes
14817
 
else
14818
 
        _pkg_short_errors_supported=no
14819
 
fi
14820
 
        if test $_pkg_short_errors_supported = yes; then
14821
 
                DBUS_126_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.2.6" 2>&1`
14822
 
        else
14823
 
                DBUS_126_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.2.6" 2>&1`
14824
 
        fi
14825
 
        # Put the nasty error message in config.log where it belongs
14826
 
        echo "$DBUS_126_PKG_ERRORS" >&5
14827
 
 
14828
 
        have_dbus_126=no
14829
 
elif test $pkg_failed = untried; then
14830
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14831
 
$as_echo "no" >&6; }
14832
 
        have_dbus_126=no
14833
 
else
14834
 
        DBUS_126_CFLAGS=$pkg_cv_DBUS_126_CFLAGS
14835
 
        DBUS_126_LIBS=$pkg_cv_DBUS_126_LIBS
14836
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14837
 
$as_echo "yes" >&6; }
14838
 
        have_dbus_126=yes
14839
 
fi
14840
 
 if test x"$have_dbus_126" = "xyes"; then
14841
 
  HAVE_DBUS_126_TRUE=
14842
 
  HAVE_DBUS_126_FALSE='#'
14843
 
else
14844
 
  HAVE_DBUS_126_TRUE='#'
14845
 
  HAVE_DBUS_126_FALSE=
14846
 
fi
14847
 
 
14848
 
 
14849
 
 
14850
 
# Check whether --with-dbus-sys was given.
14851
 
if test "${with_dbus_sys+set}" = set; then :
14852
 
  withval=$with_dbus_sys;
14853
 
fi
14854
 
 
14855
 
 
14856
 
if ! test -z "$with_dbus_sys" ; then
14857
 
    DBUS_SYS_DIR="$with_dbus_sys"
14858
 
else
14859
 
    DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
14860
 
fi
14861
 
 
14862
 
 
14863
 
 
14864
 
# Check whether --with-bluetooth was given.
14865
 
if test "${with_bluetooth+set}" = set; then :
14866
 
  withval=$with_bluetooth; with_bluetooth="$withval"
14867
 
else
14868
 
  with_bluetooth=yes
14869
 
fi
14870
 
 
14871
 
have_gbt=no
14872
 
case "${with_bluetooth}" in
14873
 
        no)     { $as_echo "$as_me:${as_lineno-$LINENO}: Bluetooth support disabled" >&5
14874
 
$as_echo "$as_me: Bluetooth support disabled" >&6;}
14875
 
                ;;
14876
 
        *)
14877
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome-bluetooth" >&5
14878
 
$as_echo_n "checking for gnome-bluetooth... " >&6; }
14879
 
 
14880
 
pkg_failed=no
14881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_BLUETOOTH" >&5
14882
 
$as_echo_n "checking for GNOME_BLUETOOTH... " >&6; }
14883
 
 
14884
 
if test -n "$GNOME_BLUETOOTH_CFLAGS"; then
14885
 
    pkg_cv_GNOME_BLUETOOTH_CFLAGS="$GNOME_BLUETOOTH_CFLAGS"
14886
 
 elif test -n "$PKG_CONFIG"; then
14887
 
    if test -n "$PKG_CONFIG" && \
14888
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6
14889
 
                                  libnm-util >= 0.9.4
14890
 
                                  libnm-glib >= 0.9.4\""; } >&5
14891
 
  ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14892
 
                                  libnm-util >= 0.9.4
14893
 
                                  libnm-glib >= 0.9.4") 2>&5
14894
 
  ac_status=$?
14895
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14896
 
  test $ac_status = 0; }; then
14897
 
  pkg_cv_GNOME_BLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6
14898
 
                                  libnm-util >= 0.9.4
14899
 
                                  libnm-glib >= 0.9.4" 2>/dev/null`
14900
 
else
14901
 
  pkg_failed=yes
14902
 
fi
14903
 
 else
14904
 
    pkg_failed=untried
14905
 
fi
14906
 
if test -n "$GNOME_BLUETOOTH_LIBS"; then
14907
 
    pkg_cv_GNOME_BLUETOOTH_LIBS="$GNOME_BLUETOOTH_LIBS"
14908
 
 elif test -n "$PKG_CONFIG"; then
14909
 
    if test -n "$PKG_CONFIG" && \
14910
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6
14911
 
                                  libnm-util >= 0.9.4
14912
 
                                  libnm-glib >= 0.9.4\""; } >&5
14913
 
  ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14914
 
                                  libnm-util >= 0.9.4
14915
 
                                  libnm-glib >= 0.9.4") 2>&5
14916
 
  ac_status=$?
14917
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918
 
  test $ac_status = 0; }; then
14919
 
  pkg_cv_GNOME_BLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6
14920
 
                                  libnm-util >= 0.9.4
14921
 
                                  libnm-glib >= 0.9.4" 2>/dev/null`
14922
 
else
14923
 
  pkg_failed=yes
14924
 
fi
14925
 
 else
14926
 
    pkg_failed=untried
14927
 
fi
14928
 
 
14929
 
 
14930
 
 
14931
 
if test $pkg_failed = yes; then
14932
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14933
 
$as_echo "no" >&6; }
14934
 
 
14935
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14936
 
        _pkg_short_errors_supported=yes
14937
 
else
14938
 
        _pkg_short_errors_supported=no
14939
 
fi
14940
 
        if test $_pkg_short_errors_supported = yes; then
14941
 
                GNOME_BLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14942
 
                                  libnm-util >= 0.9.4
14943
 
                                  libnm-glib >= 0.9.4" 2>&1`
14944
 
        else
14945
 
                GNOME_BLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14946
 
                                  libnm-util >= 0.9.4
14947
 
                                  libnm-glib >= 0.9.4" 2>&1`
14948
 
        fi
14949
 
        # Put the nasty error message in config.log where it belongs
14950
 
        echo "$GNOME_BLUETOOTH_PKG_ERRORS" >&5
14951
 
 
14952
 
        have_gbt=no
14953
 
elif test $pkg_failed = untried; then
14954
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14955
 
$as_echo "no" >&6; }
14956
 
        have_gbt=no
14957
 
else
14958
 
        GNOME_BLUETOOTH_CFLAGS=$pkg_cv_GNOME_BLUETOOTH_CFLAGS
14959
 
        GNOME_BLUETOOTH_LIBS=$pkg_cv_GNOME_BLUETOOTH_LIBS
14960
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14961
 
$as_echo "yes" >&6; }
14962
 
        have_gbt=yes
14963
 
fi
14964
 
                ;;
14965
 
esac
14966
 
 
14967
 
 if test x"$have_gbt" = "xyes"; then
14968
 
  HAVE_GBT_TRUE=
14969
 
  HAVE_GBT_FALSE='#'
14970
 
else
14971
 
  HAVE_GBT_TRUE='#'
14972
 
  HAVE_GBT_FALSE=
14973
 
fi
14974
 
 
14975
 
 
14976
 
  min_glib_version=2.26.0
14977
 
  pkg_config_args=
14978
 
  for module in glib ; do
14979
 
    pkg_config_args="$pkg_config_args $module-2.0 >= $min_glib_version"
14980
 
  done
14981
 
 
14982
 
 
14983
 
pkg_failed=no
14984
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
14985
 
$as_echo_n "checking for GLIB... " >&6; }
14986
 
 
14987
 
if test -n "$GLIB_CFLAGS"; then
14988
 
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
14989
 
 elif test -n "$PKG_CONFIG"; then
14990
 
    if test -n "$PKG_CONFIG" && \
14991
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
14992
 
  ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
14993
 
  ac_status=$?
14994
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14995
 
  test $ac_status = 0; }; then
14996
 
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
14997
 
else
14998
 
  pkg_failed=yes
14999
 
fi
15000
 
 else
15001
 
    pkg_failed=untried
15002
 
fi
15003
 
if test -n "$GLIB_LIBS"; then
15004
 
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15005
 
 elif test -n "$PKG_CONFIG"; then
15006
 
    if test -n "$PKG_CONFIG" && \
15007
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
15008
 
  ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
15009
 
  ac_status=$?
15010
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011
 
  test $ac_status = 0; }; then
15012
 
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
15013
 
else
15014
 
  pkg_failed=yes
15015
 
fi
15016
 
 else
15017
 
    pkg_failed=untried
15018
 
fi
15019
 
 
15020
 
 
15021
 
 
15022
 
if test $pkg_failed = yes; then
15023
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15024
 
$as_echo "no" >&6; }
15025
 
 
15026
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15027
 
        _pkg_short_errors_supported=yes
15028
 
else
15029
 
        _pkg_short_errors_supported=no
15030
 
fi
15031
 
        if test $_pkg_short_errors_supported = yes; then
15032
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_config_args" 2>&1`
15033
 
        else
15034
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_config_args" 2>&1`
15035
 
        fi
15036
 
        # Put the nasty error message in config.log where it belongs
15037
 
        echo "$GLIB_PKG_ERRORS" >&5
15038
 
 
15039
 
        as_fn_error $? "Package requirements ($pkg_config_args) were not met:
15040
 
 
15041
 
$GLIB_PKG_ERRORS
15042
 
 
15043
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15044
 
installed software in a non-standard prefix.
15045
 
 
15046
 
Alternatively, you may set the environment variables GLIB_CFLAGS
15047
 
and GLIB_LIBS to avoid the need to call pkg-config.
15048
 
See the pkg-config man page for more details." "$LINENO" 5
15049
 
 
15050
 
elif test $pkg_failed = untried; then
15051
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052
 
$as_echo "no" >&6; }
15053
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15054
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15055
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15056
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15057
 
path to pkg-config.
15058
 
 
15059
 
Alternatively, you may set the environment variables GLIB_CFLAGS
15060
 
and GLIB_LIBS to avoid the need to call pkg-config.
15061
 
See the pkg-config man page for more details.
15062
 
 
15063
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15064
 
See \`config.log' for more details" "$LINENO" 5; }
15065
 
 
15066
 
else
15067
 
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15068
 
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
15069
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15070
 
$as_echo "yes" >&6; }
15071
 
 
15072
 
fi
15073
 
 
15074
 
  GLIB_CFLAGS="$GLIB_CFLAGS -DG_DISABLE_SINGLE_INCLUDES"
15075
 
 
15076
 
  GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15077
 
  GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15078
 
 
15079
 
  #GLIB_MAKEFILE=`$PKG_CONFIG --variable=glib_makefile glib-2.0`
15080
 
  GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib'
15081
 
 
15082
 
 
15083
 
 
15084
 
 
15085
 
 
15086
 
 
15087
 
 
15088
 
  # Check whether --enable-schemas-compile was given.
15089
 
if test "${enable_schemas_compile+set}" = set; then :
15090
 
  enableval=$enable_schemas_compile; case ${enableval} in
15091
 
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
15092
 
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
15093
 
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
15094
 
                 esac
15095
 
fi
15096
 
 
15097
 
 
15098
 
 
15099
 
 
15100
 
 
15101
 
 
15102
 
 
15103
 
 
15104
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15105
 
        if test -n "$ac_tool_prefix"; then
15106
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15107
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15108
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15109
 
$as_echo_n "checking for $ac_word... " >&6; }
15110
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15111
 
  $as_echo_n "(cached) " >&6
15112
 
else
15113
 
  case $PKG_CONFIG in
15114
 
  [\\/]* | ?:[\\/]*)
15115
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15116
 
  ;;
15117
 
  *)
15118
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15119
 
for as_dir in $PATH
15120
 
do
15121
 
  IFS=$as_save_IFS
15122
 
  test -z "$as_dir" && as_dir=.
15123
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15124
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15125
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15126
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15127
 
    break 2
15128
 
  fi
15129
 
done
15130
 
  done
15131
 
IFS=$as_save_IFS
15132
 
 
15133
 
  ;;
15134
 
esac
15135
 
fi
15136
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15137
 
if test -n "$PKG_CONFIG"; then
15138
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15139
 
$as_echo "$PKG_CONFIG" >&6; }
15140
 
else
15141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15142
 
$as_echo "no" >&6; }
15143
 
fi
15144
 
 
15145
 
 
15146
 
fi
15147
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
15148
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
15149
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
15150
 
set dummy pkg-config; ac_word=$2
15151
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15152
 
$as_echo_n "checking for $ac_word... " >&6; }
15153
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15154
 
  $as_echo_n "(cached) " >&6
15155
 
else
15156
 
  case $ac_pt_PKG_CONFIG in
15157
 
  [\\/]* | ?:[\\/]*)
15158
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15159
 
  ;;
15160
 
  *)
15161
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15162
 
for as_dir in $PATH
15163
 
do
15164
 
  IFS=$as_save_IFS
15165
 
  test -z "$as_dir" && as_dir=.
15166
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15167
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15168
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15169
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15170
 
    break 2
15171
 
  fi
15172
 
done
15173
 
  done
15174
 
IFS=$as_save_IFS
15175
 
 
15176
 
  ;;
15177
 
esac
15178
 
fi
15179
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15180
 
if test -n "$ac_pt_PKG_CONFIG"; then
15181
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15182
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15183
 
else
15184
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15185
 
$as_echo "no" >&6; }
15186
 
fi
15187
 
 
15188
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
15189
 
    PKG_CONFIG=""
15190
 
  else
15191
 
    case $cross_compiling:$ac_tool_warned in
15192
 
yes:)
15193
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15194
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15195
 
ac_tool_warned=yes ;;
15196
 
esac
15197
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
15198
 
  fi
15199
 
else
15200
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15201
 
fi
15202
 
 
15203
 
fi
15204
 
if test -n "$PKG_CONFIG"; then
15205
 
        _pkg_min_version=0.16
15206
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15207
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15208
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15209
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15210
 
$as_echo "yes" >&6; }
15211
 
        else
15212
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15213
 
$as_echo "no" >&6; }
15214
 
                PKG_CONFIG=""
15215
 
        fi
15216
 
fi
15217
 
  gsettingsschemadir=${datadir}/glib-2.0/schemas
15218
 
 
15219
 
  if test x$cross_compiling != xyes; then
15220
 
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
15221
 
  else
15222
 
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
15223
 
set dummy glib-compile-schemas; ac_word=$2
15224
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15225
 
$as_echo_n "checking for $ac_word... " >&6; }
15226
 
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
15227
 
  $as_echo_n "(cached) " >&6
15228
 
else
15229
 
  case $GLIB_COMPILE_SCHEMAS in
15230
 
  [\\/]* | ?:[\\/]*)
15231
 
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
15232
 
  ;;
15233
 
  *)
15234
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15235
 
for as_dir in $PATH
15236
 
do
15237
 
  IFS=$as_save_IFS
15238
 
  test -z "$as_dir" && as_dir=.
15239
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15240
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15241
 
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
15242
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15243
 
    break 2
15244
 
  fi
15245
 
done
15246
 
  done
15247
 
IFS=$as_save_IFS
15248
 
 
15249
 
  ;;
15250
 
esac
15251
 
fi
15252
 
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
15253
 
if test -n "$GLIB_COMPILE_SCHEMAS"; then
15254
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
15255
 
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
15256
 
else
15257
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15258
 
$as_echo "no" >&6; }
15259
 
fi
15260
 
 
15261
 
 
15262
 
  fi
15263
 
 
15264
 
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
15265
 
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
15266
 
  else
15267
 
    :
15268
 
  fi
15269
 
 
15270
 
  GSETTINGS_RULES='
15271
 
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
15272
 
 
15273
 
mostlyclean-am: clean-gsettings-schemas
15274
 
 
15275
 
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
15276
 
 
15277
 
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
15278
 
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
15279
 
 
15280
 
all-am: $(gsettings_SCHEMAS:.xml=.valid)
15281
 
uninstall-am: uninstall-gsettings-schemas
15282
 
install-data-am: install-gsettings-schemas
15283
 
 
15284
 
.SECONDARY: $(gsettings_SCHEMAS)
15285
 
 
15286
 
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
15287
 
        @$(NORMAL_INSTALL)
15288
 
        if test -n "$^"; then \
15289
 
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
15290
 
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
15291
 
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
15292
 
        fi
15293
 
 
15294
 
uninstall-gsettings-schemas:
15295
 
        @$(NORMAL_UNINSTALL)
15296
 
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
15297
 
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
15298
 
        test -n "$$files" || exit 0; \
15299
 
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
15300
 
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
15301
 
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
15302
 
 
15303
 
clean-gsettings-schemas:
15304
 
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
15305
 
 
15306
 
ifdef gsettings_ENUM_NAMESPACE
15307
 
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
15308
 
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
15309
 
endif
15310
 
'
15311
 
 
15312
 
 
15313
 
 
15314
 
 
15315
 
 
15316
 
 
15317
 
 
15318
 
 
15319
 
# Check whether --enable-more-warnings was given.
15320
 
if test "${enable_more_warnings+set}" = set; then :
15321
 
  enableval=$enable_more_warnings; set_more_warnings="$enableval"
15322
 
else
15323
 
  set_more_warnings=error
15324
 
fi
15325
 
 
15326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for more warnings" >&5
15327
 
$as_echo_n "checking for more warnings... " >&6; }
15328
 
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
15329
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15330
 
$as_echo "yes" >&6; }
15331
 
        CFLAGS="-Wall -std=gnu89 $CFLAGS"
15332
 
 
15333
 
        for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
15334
 
                      -Wdeclaration-after-statement -Wstrict-prototypes \
15335
 
                      -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
15336
 
                      -fno-strict-aliasing -Wno-unused-but-set-variable; do
15337
 
                SAVE_CFLAGS="$CFLAGS"
15338
 
                CFLAGS="$CFLAGS $option"
15339
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
15340
 
$as_echo_n "checking whether gcc understands $option... " >&6; }
15341
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342
 
/* end confdefs.h.  */
15343
 
 
15344
 
int
15345
 
main ()
15346
 
{
15347
 
 
15348
 
  ;
15349
 
  return 0;
15350
 
}
15351
 
_ACEOF
15352
 
if ac_fn_c_try_compile "$LINENO"; then :
15353
 
  has_option=yes
15354
 
else
15355
 
  has_option=no
15356
 
fi
15357
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15358
 
                if test $has_option = no; then
15359
 
                        CFLAGS="$SAVE_CFLAGS"
15360
 
                fi
15361
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
15362
 
$as_echo "$has_option" >&6; }
15363
 
                unset has_option
15364
 
                unset SAVE_CFLAGS
15365
 
        done
15366
 
        unset option
15367
 
        if test "x$set_more_warnings" = xerror; then
15368
 
                CFLAGS="$CFLAGS -Werror"
15369
 
        fi
15370
 
else
15371
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15372
 
$as_echo "no" >&6; }
15373
 
fi
15374
 
 
15375
 
# Use --enable-maintainer-mode to disabled deprecated symbols
15376
 
 
15377
 
 
15378
 
 
15379
 
        DISABLE_DEPRECATED=""
15380
 
        if test $USE_MAINTAINER_MODE = yes; then
15381
 
                DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
15382
 
                for DOMAIN in $DOMAINS; do
15383
 
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
15384
 
                done
15385
 
        fi
15386
 
 
15387
 
 
15388
 
 
15389
 
 
15390
 
 
15391
 
ac_config_files="$ac_config_files Makefile src/Makefile src/libnm-gtk/Makefile src/libnm-gtk/libnm-gtk.pc src/marshallers/Makefile src/utils/Makefile src/utils/tests/Makefile src/gconf-helpers/Makefile src/gconf-helpers/tests/Makefile src/wireless-security/Makefile src/connection-editor/Makefile src/gnome-bluetooth/Makefile icons/Makefile icons/16/Makefile icons/22/Makefile icons/32/Makefile icons/48/Makefile icons/scalable/Makefile po/Makefile.in"
15392
 
 
15393
 
cat >confcache <<\_ACEOF
15394
 
# This file is a shell script that caches the results of configure
15395
 
# tests run on this system so they can be shared between configure
15396
 
# scripts and configure runs, see configure's option --config-cache.
15397
 
# It is not useful on other systems.  If it contains results you don't
15398
 
# want to keep, you may remove or edit it.
15399
 
#
15400
 
# config.status only pays attention to the cache file if you give it
15401
 
# the --recheck option to rerun configure.
15402
 
#
15403
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15404
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15405
 
# following values.
15406
 
 
15407
 
_ACEOF
15408
 
 
15409
 
# The following way of writing the cache mishandles newlines in values,
15410
 
# but we know of no workaround that is simple, portable, and efficient.
15411
 
# So, we kill variables containing newlines.
15412
 
# Ultrix sh set writes to stderr and can't be redirected directly,
15413
 
# and sets the high bit in the cache file unless we assign to the vars.
15414
 
(
15415
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15416
 
    eval ac_val=\$$ac_var
15417
 
    case $ac_val in #(
15418
 
    *${as_nl}*)
15419
 
      case $ac_var in #(
15420
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15421
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15422
 
      esac
15423
 
      case $ac_var in #(
15424
 
      _ | IFS | as_nl) ;; #(
15425
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15426
 
      *) { eval $ac_var=; unset $ac_var;} ;;
15427
 
      esac ;;
15428
 
    esac
15429
 
  done
15430
 
 
15431
 
  (set) 2>&1 |
15432
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15433
 
    *${as_nl}ac_space=\ *)
15434
 
      # `set' does not quote correctly, so add quotes: double-quote
15435
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
15436
 
      sed -n \
15437
 
        "s/'/'\\\\''/g;
15438
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15439
 
      ;; #(
15440
 
    *)
15441
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
15442
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15443
 
      ;;
15444
 
    esac |
15445
 
    sort
15446
 
) |
15447
 
  sed '
15448
 
     /^ac_cv_env_/b end
15449
 
     t clear
15450
 
     :clear
15451
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15452
 
     t end
15453
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15454
 
     :end' >>confcache
15455
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15456
 
  if test -w "$cache_file"; then
15457
 
    if test "x$cache_file" != "x/dev/null"; then
15458
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15459
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
15460
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
15461
 
        cat confcache >"$cache_file"
15462
 
      else
15463
 
        case $cache_file in #(
15464
 
        */* | ?:*)
15465
 
          mv -f confcache "$cache_file"$$ &&
15466
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
15467
 
        *)
15468
 
          mv -f confcache "$cache_file" ;;
15469
 
        esac
15470
 
      fi
15471
 
    fi
15472
 
  else
15473
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15474
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15475
 
  fi
15476
 
fi
15477
 
rm -f confcache
15478
 
 
15479
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15480
 
# Let make expand exec_prefix.
15481
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15482
 
 
15483
 
DEFS=-DHAVE_CONFIG_H
15484
 
 
15485
 
ac_libobjs=
15486
 
ac_ltlibobjs=
15487
 
U=
15488
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15489
 
  # 1. Remove the extension, and $U if already installed.
15490
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15491
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15492
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15493
 
  #    will be set to the directory where LIBOBJS objects are built.
15494
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15495
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15496
 
done
15497
 
LIBOBJS=$ac_libobjs
15498
 
 
15499
 
LTLIBOBJS=$ac_ltlibobjs
15500
 
 
15501
 
 
15502
 
 if test -n "$EXEEXT"; then
15503
 
  am__EXEEXT_TRUE=
15504
 
  am__EXEEXT_FALSE='#'
15505
 
else
15506
 
  am__EXEEXT_TRUE='#'
15507
 
  am__EXEEXT_FALSE=
15508
 
fi
15509
 
 
15510
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15511
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15512
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15513
 
fi
15514
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15515
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
15516
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15517
 
fi
15518
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15519
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15520
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15521
 
fi
15522
 
 
15523
 
  ac_config_commands="$ac_config_commands po/stamp-it"
15524
 
 
15525
 
 
15526
 
 
15527
 
if test -z "${BUILD_MIGRATION_TOOL_TRUE}" && test -z "${BUILD_MIGRATION_TOOL_FALSE}"; then
15528
 
  as_fn_error $? "conditional \"BUILD_MIGRATION_TOOL\" was never defined.
15529
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15530
 
fi
15531
 
if test -z "${HAVE_DBUS_126_TRUE}" && test -z "${HAVE_DBUS_126_FALSE}"; then
15532
 
  as_fn_error $? "conditional \"HAVE_DBUS_126\" was never defined.
15533
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15534
 
fi
15535
 
if test -z "${HAVE_GBT_TRUE}" && test -z "${HAVE_GBT_FALSE}"; then
15536
 
  as_fn_error $? "conditional \"HAVE_GBT\" was never defined.
15537
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15538
 
fi
15539
 
 
15540
 
: "${CONFIG_STATUS=./config.status}"
15541
 
ac_write_fail=0
15542
 
ac_clean_files_save=$ac_clean_files
15543
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15544
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15545
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15546
 
as_write_fail=0
15547
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15548
 
#! $SHELL
15549
 
# Generated by $as_me.
15550
 
# Run this file to recreate the current configuration.
15551
 
# Compiler output produced by configure, useful for debugging
15552
 
# configure, is in config.log if it exists.
15553
 
 
15554
 
debug=false
15555
 
ac_cs_recheck=false
15556
 
ac_cs_silent=false
15557
 
 
15558
 
SHELL=\${CONFIG_SHELL-$SHELL}
15559
 
export SHELL
15560
 
_ASEOF
15561
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15562
 
## -------------------- ##
15563
 
## M4sh Initialization. ##
15564
 
## -------------------- ##
15565
 
 
15566
 
# Be more Bourne compatible
15567
 
DUALCASE=1; export DUALCASE # for MKS sh
15568
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15569
 
  emulate sh
15570
 
  NULLCMD=:
15571
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15572
 
  # is contrary to our usage.  Disable this feature.
15573
 
  alias -g '${1+"$@"}'='"$@"'
15574
 
  setopt NO_GLOB_SUBST
15575
 
else
15576
 
  case `(set -o) 2>/dev/null` in #(
15577
 
  *posix*) :
15578
 
    set -o posix ;; #(
15579
 
  *) :
15580
 
     ;;
15581
 
esac
15582
 
fi
15583
 
 
15584
 
 
15585
 
as_nl='
15586
 
'
15587
 
export as_nl
15588
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15589
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15590
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15591
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15592
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
15593
 
# but without wasting forks for bash or zsh.
15594
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
15595
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15596
 
  as_echo='print -r --'
15597
 
  as_echo_n='print -rn --'
15598
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15599
 
  as_echo='printf %s\n'
15600
 
  as_echo_n='printf %s'
15601
 
else
15602
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15603
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15604
 
    as_echo_n='/usr/ucb/echo -n'
15605
 
  else
15606
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15607
 
    as_echo_n_body='eval
15608
 
      arg=$1;
15609
 
      case $arg in #(
15610
 
      *"$as_nl"*)
15611
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
15612
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15613
 
      esac;
15614
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15615
 
    '
15616
 
    export as_echo_n_body
15617
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
15618
 
  fi
15619
 
  export as_echo_body
15620
 
  as_echo='sh -c $as_echo_body as_echo'
15621
 
fi
15622
 
 
15623
 
# The user is always right.
15624
 
if test "${PATH_SEPARATOR+set}" != set; then
15625
 
  PATH_SEPARATOR=:
15626
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15627
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15628
 
      PATH_SEPARATOR=';'
15629
 
  }
15630
 
fi
15631
 
 
15632
 
 
15633
 
# IFS
15634
 
# We need space, tab and new line, in precisely that order.  Quoting is
15635
 
# there to prevent editors from complaining about space-tab.
15636
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15637
 
# splitting by setting IFS to empty value.)
15638
 
IFS=" ""        $as_nl"
15639
 
 
15640
 
# Find who we are.  Look in the path if we contain no directory separator.
15641
 
as_myself=
15642
 
case $0 in #((
15643
 
  *[\\/]* ) as_myself=$0 ;;
15644
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15645
 
for as_dir in $PATH
15646
 
do
15647
 
  IFS=$as_save_IFS
15648
 
  test -z "$as_dir" && as_dir=.
15649
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15650
 
  done
15651
 
IFS=$as_save_IFS
15652
 
 
15653
 
     ;;
15654
 
esac
15655
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
15656
 
# in which case we are not to be found in the path.
15657
 
if test "x$as_myself" = x; then
15658
 
  as_myself=$0
15659
 
fi
15660
 
if test ! -f "$as_myself"; then
15661
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15662
 
  exit 1
15663
 
fi
15664
 
 
15665
 
# Unset variables that we do not need and which cause bugs (e.g. in
15666
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15667
 
# suppresses any "Segmentation fault" message there.  '((' could
15668
 
# trigger a bug in pdksh 5.2.14.
15669
 
for as_var in BASH_ENV ENV MAIL MAILPATH
15670
 
do eval test x\${$as_var+set} = xset \
15671
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15672
 
done
15673
 
PS1='$ '
15674
 
PS2='> '
15675
 
PS4='+ '
15676
 
 
15677
 
# NLS nuisances.
15678
 
LC_ALL=C
15679
 
export LC_ALL
15680
 
LANGUAGE=C
15681
 
export LANGUAGE
15682
 
 
15683
 
# CDPATH.
15684
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15685
 
 
15686
 
 
15687
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15688
 
# ----------------------------------------
15689
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15690
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15691
 
# script with STATUS, using 1 if that was 0.
15692
 
as_fn_error ()
15693
 
{
15694
 
  as_status=$1; test $as_status -eq 0 && as_status=1
15695
 
  if test "$4"; then
15696
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15697
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15698
 
  fi
15699
 
  $as_echo "$as_me: error: $2" >&2
15700
 
  as_fn_exit $as_status
15701
 
} # as_fn_error
15702
 
 
15703
 
 
15704
 
# as_fn_set_status STATUS
15705
 
# -----------------------
15706
 
# Set $? to STATUS, without forking.
15707
 
as_fn_set_status ()
15708
 
{
15709
 
  return $1
15710
 
} # as_fn_set_status
15711
 
 
15712
 
# as_fn_exit STATUS
15713
 
# -----------------
15714
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15715
 
as_fn_exit ()
15716
 
{
15717
 
  set +e
15718
 
  as_fn_set_status $1
15719
 
  exit $1
15720
 
} # as_fn_exit
15721
 
 
15722
 
# as_fn_unset VAR
15723
 
# ---------------
15724
 
# Portably unset VAR.
15725
 
as_fn_unset ()
15726
 
{
15727
 
  { eval $1=; unset $1;}
15728
 
}
15729
 
as_unset=as_fn_unset
15730
 
# as_fn_append VAR VALUE
15731
 
# ----------------------
15732
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
15733
 
# advantage of any shell optimizations that allow amortized linear growth over
15734
 
# repeated appends, instead of the typical quadratic growth present in naive
15735
 
# implementations.
15736
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15737
 
  eval 'as_fn_append ()
15738
 
  {
15739
 
    eval $1+=\$2
15740
 
  }'
15741
 
else
15742
 
  as_fn_append ()
15743
 
  {
15744
 
    eval $1=\$$1\$2
15745
 
  }
15746
 
fi # as_fn_append
15747
 
 
15748
 
# as_fn_arith ARG...
15749
 
# ------------------
15750
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
15751
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15752
 
# must be portable across $(()) and expr.
15753
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15754
 
  eval 'as_fn_arith ()
15755
 
  {
15756
 
    as_val=$(( $* ))
15757
 
  }'
15758
 
else
15759
 
  as_fn_arith ()
15760
 
  {
15761
 
    as_val=`expr "$@" || test $? -eq 1`
15762
 
  }
15763
 
fi # as_fn_arith
15764
 
 
15765
 
 
15766
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15767
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15768
 
  as_expr=expr
15769
 
else
15770
 
  as_expr=false
15771
 
fi
15772
 
 
15773
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15774
 
  as_basename=basename
15775
 
else
15776
 
  as_basename=false
15777
 
fi
15778
 
 
15779
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15780
 
  as_dirname=dirname
15781
 
else
15782
 
  as_dirname=false
15783
 
fi
15784
 
 
15785
 
as_me=`$as_basename -- "$0" ||
15786
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15787
 
         X"$0" : 'X\(//\)$' \| \
15788
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15789
 
$as_echo X/"$0" |
15790
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
15791
 
            s//\1/
15792
 
            q
15793
 
          }
15794
 
          /^X\/\(\/\/\)$/{
15795
 
            s//\1/
15796
 
            q
15797
 
          }
15798
 
          /^X\/\(\/\).*/{
15799
 
            s//\1/
15800
 
            q
15801
 
          }
15802
 
          s/.*/./; q'`
15803
 
 
15804
 
# Avoid depending upon Character Ranges.
15805
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15806
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15807
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15808
 
as_cr_digits='0123456789'
15809
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
15810
 
 
15811
 
ECHO_C= ECHO_N= ECHO_T=
15812
 
case `echo -n x` in #(((((
15813
 
-n*)
15814
 
  case `echo 'xy\c'` in
15815
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15816
 
  xy)  ECHO_C='\c';;
15817
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15818
 
       ECHO_T=' ';;
15819
 
  esac;;
15820
 
*)
15821
 
  ECHO_N='-n';;
15822
 
esac
15823
 
 
15824
 
rm -f conf$$ conf$$.exe conf$$.file
15825
 
if test -d conf$$.dir; then
15826
 
  rm -f conf$$.dir/conf$$.file
15827
 
else
15828
 
  rm -f conf$$.dir
15829
 
  mkdir conf$$.dir 2>/dev/null
15830
 
fi
15831
 
if (echo >conf$$.file) 2>/dev/null; then
15832
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
15833
 
    as_ln_s='ln -s'
15834
 
    # ... but there are two gotchas:
15835
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15836
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15837
 
    # In both cases, we have to default to `cp -p'.
15838
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15839
 
      as_ln_s='cp -p'
15840
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
15841
 
    as_ln_s=ln
15842
 
  else
15843
 
    as_ln_s='cp -p'
15844
 
  fi
15845
 
else
15846
 
  as_ln_s='cp -p'
15847
 
fi
15848
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15849
 
rmdir conf$$.dir 2>/dev/null
15850
 
 
15851
 
 
15852
 
# as_fn_mkdir_p
15853
 
# -------------
15854
 
# Create "$as_dir" as a directory, including parents if necessary.
15855
 
as_fn_mkdir_p ()
15856
 
{
15857
 
 
15858
 
  case $as_dir in #(
15859
 
  -*) as_dir=./$as_dir;;
15860
 
  esac
15861
 
  test -d "$as_dir" || eval $as_mkdir_p || {
15862
 
    as_dirs=
15863
 
    while :; do
15864
 
      case $as_dir in #(
15865
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15866
 
      *) as_qdir=$as_dir;;
15867
 
      esac
15868
 
      as_dirs="'$as_qdir' $as_dirs"
15869
 
      as_dir=`$as_dirname -- "$as_dir" ||
15870
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15871
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15872
 
         X"$as_dir" : 'X\(//\)$' \| \
15873
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15874
 
$as_echo X"$as_dir" |
15875
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15876
 
            s//\1/
15877
 
            q
15878
 
          }
15879
 
          /^X\(\/\/\)[^/].*/{
15880
 
            s//\1/
15881
 
            q
15882
 
          }
15883
 
          /^X\(\/\/\)$/{
15884
 
            s//\1/
15885
 
            q
15886
 
          }
15887
 
          /^X\(\/\).*/{
15888
 
            s//\1/
15889
 
            q
15890
 
          }
15891
 
          s/.*/./; q'`
15892
 
      test -d "$as_dir" && break
15893
 
    done
15894
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15895
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15896
 
 
15897
 
 
15898
 
} # as_fn_mkdir_p
15899
 
if mkdir -p . 2>/dev/null; then
15900
 
  as_mkdir_p='mkdir -p "$as_dir"'
15901
 
else
15902
 
  test -d ./-p && rmdir ./-p
15903
 
  as_mkdir_p=false
15904
 
fi
15905
 
 
15906
 
if test -x / >/dev/null 2>&1; then
15907
 
  as_test_x='test -x'
15908
 
else
15909
 
  if ls -dL / >/dev/null 2>&1; then
15910
 
    as_ls_L_option=L
15911
 
  else
15912
 
    as_ls_L_option=
15913
 
  fi
15914
 
  as_test_x='
15915
 
    eval sh -c '\''
15916
 
      if test -d "$1"; then
15917
 
        test -d "$1/.";
15918
 
      else
15919
 
        case $1 in #(
15920
 
        -*)set "./$1";;
15921
 
        esac;
15922
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15923
 
        ???[sx]*):;;*)false;;esac;fi
15924
 
    '\'' sh
15925
 
  '
15926
 
fi
15927
 
as_executable_p=$as_test_x
15928
 
 
15929
 
# Sed expression to map a string onto a valid CPP name.
15930
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15931
 
 
15932
 
# Sed expression to map a string onto a valid variable name.
15933
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15934
 
 
15935
 
 
15936
 
exec 6>&1
15937
 
## ----------------------------------- ##
15938
 
## Main body of $CONFIG_STATUS script. ##
15939
 
## ----------------------------------- ##
15940
 
_ASEOF
15941
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15942
 
 
15943
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15944
 
# Save the log message, to keep $0 and so on meaningful, and to
15945
 
# report actual input values of CONFIG_FILES etc. instead of their
15946
 
# values after options handling.
15947
 
ac_log="
15948
 
This file was extended by nm-applet $as_me 0.9.6.2, which was
15949
 
generated by GNU Autoconf 2.68.  Invocation command line was
15950
 
 
15951
 
  CONFIG_FILES    = $CONFIG_FILES
15952
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
15953
 
  CONFIG_LINKS    = $CONFIG_LINKS
15954
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
15955
 
  $ $0 $@
15956
 
 
15957
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15958
 
"
15959
 
 
15960
 
_ACEOF
15961
 
 
15962
 
case $ac_config_files in *"
15963
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15964
 
esac
15965
 
 
15966
 
case $ac_config_headers in *"
15967
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15968
 
esac
15969
 
 
15970
 
 
15971
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15972
 
# Files that config.status was made for.
15973
 
config_files="$ac_config_files"
15974
 
config_headers="$ac_config_headers"
15975
 
config_commands="$ac_config_commands"
15976
 
 
15977
 
_ACEOF
15978
 
 
15979
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15980
 
ac_cs_usage="\
15981
 
\`$as_me' instantiates files and other configuration actions
15982
 
from templates according to the current configuration.  Unless the files
15983
 
and actions are specified as TAGs, all are instantiated by default.
15984
 
 
15985
 
Usage: $0 [OPTION]... [TAG]...
15986
 
 
15987
 
  -h, --help       print this help, then exit
15988
 
  -V, --version    print version number and configuration settings, then exit
15989
 
      --config     print configuration, then exit
15990
 
  -q, --quiet, --silent
15991
 
                   do not print progress messages
15992
 
  -d, --debug      don't remove temporary files
15993
 
      --recheck    update $as_me by reconfiguring in the same conditions
15994
 
      --file=FILE[:TEMPLATE]
15995
 
                   instantiate the configuration file FILE
15996
 
      --header=FILE[:TEMPLATE]
15997
 
                   instantiate the configuration header FILE
15998
 
 
15999
 
Configuration files:
16000
 
$config_files
16001
 
 
16002
 
Configuration headers:
16003
 
$config_headers
16004
 
 
16005
 
Configuration commands:
16006
 
$config_commands
16007
 
 
16008
 
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>."
16009
 
 
16010
 
_ACEOF
16011
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16012
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16013
 
ac_cs_version="\\
16014
 
nm-applet config.status 0.9.6.2
16015
 
configured by $0, generated by GNU Autoconf 2.68,
16016
 
  with options \\"\$ac_cs_config\\"
16017
 
 
16018
 
Copyright (C) 2010 Free Software Foundation, Inc.
16019
 
This config.status script is free software; the Free Software Foundation
16020
 
gives unlimited permission to copy, distribute and modify it."
16021
 
 
16022
 
ac_pwd='$ac_pwd'
16023
 
srcdir='$srcdir'
16024
 
INSTALL='$INSTALL'
16025
 
MKDIR_P='$MKDIR_P'
16026
 
AWK='$AWK'
16027
 
test -n "\$AWK" || AWK=awk
16028
 
_ACEOF
16029
 
 
16030
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16031
 
# The default lists apply if the user does not specify any file.
16032
 
ac_need_defaults=:
16033
 
while test $# != 0
16034
 
do
16035
 
  case $1 in
16036
 
  --*=?*)
16037
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16038
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16039
 
    ac_shift=:
16040
 
    ;;
16041
 
  --*=)
16042
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16043
 
    ac_optarg=
16044
 
    ac_shift=:
16045
 
    ;;
16046
 
  *)
16047
 
    ac_option=$1
16048
 
    ac_optarg=$2
16049
 
    ac_shift=shift
16050
 
    ;;
16051
 
  esac
16052
 
 
16053
 
  case $ac_option in
16054
 
  # Handling of the options.
16055
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16056
 
    ac_cs_recheck=: ;;
16057
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16058
 
    $as_echo "$ac_cs_version"; exit ;;
16059
 
  --config | --confi | --conf | --con | --co | --c )
16060
 
    $as_echo "$ac_cs_config"; exit ;;
16061
 
  --debug | --debu | --deb | --de | --d | -d )
16062
 
    debug=: ;;
16063
 
  --file | --fil | --fi | --f )
16064
 
    $ac_shift
16065
 
    case $ac_optarg in
16066
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16067
 
    '') as_fn_error $? "missing file argument" ;;
16068
 
    esac
16069
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16070
 
    ac_need_defaults=false;;
16071
 
  --header | --heade | --head | --hea )
16072
 
    $ac_shift
16073
 
    case $ac_optarg in
16074
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16075
 
    esac
16076
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16077
 
    ac_need_defaults=false;;
16078
 
  --he | --h)
16079
 
    # Conflict between --help and --header
16080
 
    as_fn_error $? "ambiguous option: \`$1'
16081
 
Try \`$0 --help' for more information.";;
16082
 
  --help | --hel | -h )
16083
 
    $as_echo "$ac_cs_usage"; exit ;;
16084
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16085
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16086
 
    ac_cs_silent=: ;;
16087
 
 
16088
 
  # This is an error.
16089
 
  -*) as_fn_error $? "unrecognized option: \`$1'
16090
 
Try \`$0 --help' for more information." ;;
16091
 
 
16092
 
  *) as_fn_append ac_config_targets " $1"
16093
 
     ac_need_defaults=false ;;
16094
 
 
16095
 
  esac
16096
 
  shift
16097
 
done
16098
 
 
16099
 
ac_configure_extra_args=
16100
 
 
16101
 
if $ac_cs_silent; then
16102
 
  exec 6>/dev/null
16103
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16104
 
fi
16105
 
 
16106
 
_ACEOF
16107
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16108
 
if \$ac_cs_recheck; then
16109
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16110
 
  shift
16111
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16112
 
  CONFIG_SHELL='$SHELL'
16113
 
  export CONFIG_SHELL
16114
 
  exec "\$@"
16115
 
fi
16116
 
 
16117
 
_ACEOF
16118
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16119
 
exec 5>>config.log
16120
 
{
16121
 
  echo
16122
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16123
 
## Running $as_me. ##
16124
 
_ASBOX
16125
 
  $as_echo "$ac_log"
16126
 
} >&5
16127
 
 
16128
 
_ACEOF
16129
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16130
 
#
16131
 
# INIT-COMMANDS
16132
 
#
16133
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16134
 
 
16135
 
 
16136
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
16137
 
# if CDPATH is set.
16138
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16139
 
 
16140
 
sed_quote_subst='$sed_quote_subst'
16141
 
double_quote_subst='$double_quote_subst'
16142
 
delay_variable_subst='$delay_variable_subst'
16143
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16144
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16145
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16146
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16147
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16148
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16149
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16150
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16151
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16152
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16153
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16154
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16155
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16156
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16157
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16158
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16159
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16160
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16161
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16162
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16163
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16164
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16165
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16166
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16167
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16168
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16169
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16170
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16171
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16172
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16173
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16174
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16175
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16176
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16177
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16178
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16179
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16180
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16181
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16182
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16183
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16184
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16185
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16186
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16187
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16188
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16189
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16190
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16191
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16192
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16193
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16194
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16195
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16196
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16197
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16198
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16199
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16200
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16201
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16202
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16203
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16204
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16205
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16206
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16207
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16208
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16209
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16210
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16211
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16212
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16213
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16214
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16215
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16216
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16217
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16218
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16219
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16220
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16221
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16222
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16223
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16224
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16225
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16226
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16227
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16228
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16229
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16230
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16231
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16232
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16233
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16234
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16235
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16236
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16237
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16238
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16239
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16240
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16241
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16242
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16243
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16244
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16245
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16246
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16247
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16248
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16249
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16250
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16251
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16252
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16253
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16254
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16255
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16256
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16257
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16258
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16259
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16260
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16261
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16262
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16263
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16264
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16265
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16266
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16267
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16268
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16269
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16270
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16271
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16272
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16273
 
 
16274
 
LTCC='$LTCC'
16275
 
LTCFLAGS='$LTCFLAGS'
16276
 
compiler='$compiler_DEFAULT'
16277
 
 
16278
 
# A function that is used when there is no print builtin or printf.
16279
 
func_fallback_echo ()
16280
 
{
16281
 
  eval 'cat <<_LTECHO_EOF
16282
 
\$1
16283
 
_LTECHO_EOF'
16284
 
}
16285
 
 
16286
 
# Quote evaled strings.
16287
 
for var in SHELL \
16288
 
ECHO \
16289
 
PATH_SEPARATOR \
16290
 
SED \
16291
 
GREP \
16292
 
EGREP \
16293
 
FGREP \
16294
 
LD \
16295
 
NM \
16296
 
LN_S \
16297
 
lt_SP2NL \
16298
 
lt_NL2SP \
16299
 
reload_flag \
16300
 
OBJDUMP \
16301
 
deplibs_check_method \
16302
 
file_magic_cmd \
16303
 
file_magic_glob \
16304
 
want_nocaseglob \
16305
 
DLLTOOL \
16306
 
sharedlib_from_linklib_cmd \
16307
 
AR \
16308
 
AR_FLAGS \
16309
 
archiver_list_spec \
16310
 
STRIP \
16311
 
RANLIB \
16312
 
CC \
16313
 
CFLAGS \
16314
 
compiler \
16315
 
lt_cv_sys_global_symbol_pipe \
16316
 
lt_cv_sys_global_symbol_to_cdecl \
16317
 
lt_cv_sys_global_symbol_to_c_name_address \
16318
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16319
 
nm_file_list_spec \
16320
 
lt_prog_compiler_no_builtin_flag \
16321
 
lt_prog_compiler_pic \
16322
 
lt_prog_compiler_wl \
16323
 
lt_prog_compiler_static \
16324
 
lt_cv_prog_compiler_c_o \
16325
 
need_locks \
16326
 
MANIFEST_TOOL \
16327
 
DSYMUTIL \
16328
 
NMEDIT \
16329
 
LIPO \
16330
 
OTOOL \
16331
 
OTOOL64 \
16332
 
shrext_cmds \
16333
 
export_dynamic_flag_spec \
16334
 
whole_archive_flag_spec \
16335
 
compiler_needs_object \
16336
 
with_gnu_ld \
16337
 
allow_undefined_flag \
16338
 
no_undefined_flag \
16339
 
hardcode_libdir_flag_spec \
16340
 
hardcode_libdir_separator \
16341
 
exclude_expsyms \
16342
 
include_expsyms \
16343
 
file_list_spec \
16344
 
variables_saved_for_relink \
16345
 
libname_spec \
16346
 
library_names_spec \
16347
 
soname_spec \
16348
 
install_override_mode \
16349
 
finish_eval \
16350
 
old_striplib \
16351
 
striplib; do
16352
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16353
 
    *[\\\\\\\`\\"\\\$]*)
16354
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16355
 
      ;;
16356
 
    *)
16357
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16358
 
      ;;
16359
 
    esac
16360
 
done
16361
 
 
16362
 
# Double-quote double-evaled strings.
16363
 
for var in reload_cmds \
16364
 
old_postinstall_cmds \
16365
 
old_postuninstall_cmds \
16366
 
old_archive_cmds \
16367
 
extract_expsyms_cmds \
16368
 
old_archive_from_new_cmds \
16369
 
old_archive_from_expsyms_cmds \
16370
 
archive_cmds \
16371
 
archive_expsym_cmds \
16372
 
module_cmds \
16373
 
module_expsym_cmds \
16374
 
export_symbols_cmds \
16375
 
prelink_cmds \
16376
 
postlink_cmds \
16377
 
postinstall_cmds \
16378
 
postuninstall_cmds \
16379
 
finish_cmds \
16380
 
sys_lib_search_path_spec \
16381
 
sys_lib_dlsearch_path_spec; do
16382
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16383
 
    *[\\\\\\\`\\"\\\$]*)
16384
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16385
 
      ;;
16386
 
    *)
16387
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16388
 
      ;;
16389
 
    esac
16390
 
done
16391
 
 
16392
 
ac_aux_dir='$ac_aux_dir'
16393
 
xsi_shell='$xsi_shell'
16394
 
lt_shell_append='$lt_shell_append'
16395
 
 
16396
 
# See if we are running on zsh, and set the options which allow our
16397
 
# commands through without removal of \ escapes INIT.
16398
 
if test -n "\${ZSH_VERSION+set}" ; then
16399
 
   setopt NO_GLOB_SUBST
16400
 
fi
16401
 
 
16402
 
 
16403
 
    PACKAGE='$PACKAGE'
16404
 
    VERSION='$VERSION'
16405
 
    TIMESTAMP='$TIMESTAMP'
16406
 
    RM='$RM'
16407
 
    ofile='$ofile'
16408
 
 
16409
 
 
16410
 
 
16411
 
 
16412
 
 
16413
 
_ACEOF
16414
 
 
16415
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16416
 
 
16417
 
# Handling of arguments.
16418
 
for ac_config_target in $ac_config_targets
16419
 
do
16420
 
  case $ac_config_target in
16421
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16422
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16423
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16424
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16425
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16426
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16427
 
    "src/libnm-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/libnm-gtk/Makefile" ;;
16428
 
    "src/libnm-gtk/libnm-gtk.pc") CONFIG_FILES="$CONFIG_FILES src/libnm-gtk/libnm-gtk.pc" ;;
16429
 
    "src/marshallers/Makefile") CONFIG_FILES="$CONFIG_FILES src/marshallers/Makefile" ;;
16430
 
    "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
16431
 
    "src/utils/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/tests/Makefile" ;;
16432
 
    "src/gconf-helpers/Makefile") CONFIG_FILES="$CONFIG_FILES src/gconf-helpers/Makefile" ;;
16433
 
    "src/gconf-helpers/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/gconf-helpers/tests/Makefile" ;;
16434
 
    "src/wireless-security/Makefile") CONFIG_FILES="$CONFIG_FILES src/wireless-security/Makefile" ;;
16435
 
    "src/connection-editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/connection-editor/Makefile" ;;
16436
 
    "src/gnome-bluetooth/Makefile") CONFIG_FILES="$CONFIG_FILES src/gnome-bluetooth/Makefile" ;;
16437
 
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
16438
 
    "icons/16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16/Makefile" ;;
16439
 
    "icons/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/22/Makefile" ;;
16440
 
    "icons/32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32/Makefile" ;;
16441
 
    "icons/48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48/Makefile" ;;
16442
 
    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
16443
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16444
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16445
 
 
16446
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16447
 
  esac
16448
 
done
16449
 
 
16450
 
 
16451
 
# If the user did not use the arguments to specify the items to instantiate,
16452
 
# then the envvar interface is used.  Set only those that are not.
16453
 
# We use the long form for the default assignment because of an extremely
16454
 
# bizarre bug on SunOS 4.1.3.
16455
 
if $ac_need_defaults; then
16456
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16457
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16458
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16459
 
fi
16460
 
 
16461
 
# Have a temporary directory for convenience.  Make it in the build tree
16462
 
# simply because there is no reason against having it here, and in addition,
16463
 
# creating and moving files from /tmp can sometimes cause problems.
16464
 
# Hook for its removal unless debugging.
16465
 
# Note that there is a small window in which the directory will not be cleaned:
16466
 
# after its creation but before its name has been assigned to `$tmp'.
16467
 
$debug ||
16468
 
{
16469
 
  tmp= ac_tmp=
16470
 
  trap 'exit_status=$?
16471
 
  : "${ac_tmp:=$tmp}"
16472
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16473
 
' 0
16474
 
  trap 'as_fn_exit 1' 1 2 13 15
16475
 
}
16476
 
# Create a (secure) tmp directory for tmp files.
16477
 
 
16478
 
{
16479
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16480
 
  test -d "$tmp"
16481
 
}  ||
16482
 
{
16483
 
  tmp=./conf$$-$RANDOM
16484
 
  (umask 077 && mkdir "$tmp")
16485
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16486
 
ac_tmp=$tmp
16487
 
 
16488
 
# Set up the scripts for CONFIG_FILES section.
16489
 
# No need to generate them if there are no CONFIG_FILES.
16490
 
# This happens for instance with `./config.status config.h'.
16491
 
if test -n "$CONFIG_FILES"; then
16492
 
 
16493
 
 
16494
 
ac_cr=`echo X | tr X '\015'`
16495
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16496
 
# But we know of no other shell where ac_cr would be empty at this
16497
 
# point, so we can use a bashism as a fallback.
16498
 
if test "x$ac_cr" = x; then
16499
 
  eval ac_cr=\$\'\\r\'
16500
 
fi
16501
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16502
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16503
 
  ac_cs_awk_cr='\\r'
16504
 
else
16505
 
  ac_cs_awk_cr=$ac_cr
16506
 
fi
16507
 
 
16508
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16509
 
_ACEOF
16510
 
 
16511
 
 
16512
 
{
16513
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
16514
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16515
 
  echo "_ACEOF"
16516
 
} >conf$$subs.sh ||
16517
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16518
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16519
 
ac_delim='%!_!# '
16520
 
for ac_last_try in false false false false false :; do
16521
 
  . ./conf$$subs.sh ||
16522
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16523
 
 
16524
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16525
 
  if test $ac_delim_n = $ac_delim_num; then
16526
 
    break
16527
 
  elif $ac_last_try; then
16528
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16529
 
  else
16530
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16531
 
  fi
16532
 
done
16533
 
rm -f conf$$subs.sh
16534
 
 
16535
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16536
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16537
 
_ACEOF
16538
 
sed -n '
16539
 
h
16540
 
s/^/S["/; s/!.*/"]=/
16541
 
p
16542
 
g
16543
 
s/^[^!]*!//
16544
 
:repl
16545
 
t repl
16546
 
s/'"$ac_delim"'$//
16547
 
t delim
16548
 
:nl
16549
 
h
16550
 
s/\(.\{148\}\)..*/\1/
16551
 
t more1
16552
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16553
 
p
16554
 
n
16555
 
b repl
16556
 
:more1
16557
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16558
 
p
16559
 
g
16560
 
s/.\{148\}//
16561
 
t nl
16562
 
:delim
16563
 
h
16564
 
s/\(.\{148\}\)..*/\1/
16565
 
t more2
16566
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
16567
 
p
16568
 
b
16569
 
:more2
16570
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16571
 
p
16572
 
g
16573
 
s/.\{148\}//
16574
 
t delim
16575
 
' <conf$$subs.awk | sed '
16576
 
/^[^""]/{
16577
 
  N
16578
 
  s/\n//
16579
 
}
16580
 
' >>$CONFIG_STATUS || ac_write_fail=1
16581
 
rm -f conf$$subs.awk
16582
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16583
 
_ACAWK
16584
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16585
 
  for (key in S) S_is_set[key] = 1
16586
 
  FS = ""
16587
 
 
16588
 
}
16589
 
{
16590
 
  line = $ 0
16591
 
  nfields = split(line, field, "@")
16592
 
  substed = 0
16593
 
  len = length(field[1])
16594
 
  for (i = 2; i < nfields; i++) {
16595
 
    key = field[i]
16596
 
    keylen = length(key)
16597
 
    if (S_is_set[key]) {
16598
 
      value = S[key]
16599
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16600
 
      len += length(value) + length(field[++i])
16601
 
      substed = 1
16602
 
    } else
16603
 
      len += 1 + keylen
16604
 
  }
16605
 
 
16606
 
  print line
16607
 
}
16608
 
 
16609
 
_ACAWK
16610
 
_ACEOF
16611
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16612
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16613
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16614
 
else
16615
 
  cat
16616
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16617
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16618
 
_ACEOF
16619
 
 
16620
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16621
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16622
 
# trailing colons and then remove the whole line if VPATH becomes empty
16623
 
# (actually we leave an empty line to preserve line numbers).
16624
 
if test "x$srcdir" = x.; then
16625
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16626
 
h
16627
 
s///
16628
 
s/^/:/
16629
 
s/[      ]*$/:/
16630
 
s/:\$(srcdir):/:/g
16631
 
s/:\${srcdir}:/:/g
16632
 
s/:@srcdir@:/:/g
16633
 
s/^:*//
16634
 
s/:*$//
16635
 
x
16636
 
s/\(=[   ]*\).*/\1/
16637
 
G
16638
 
s/\n//
16639
 
s/^[^=]*=[       ]*$//
16640
 
}'
16641
 
fi
16642
 
 
16643
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16644
 
fi # test -n "$CONFIG_FILES"
16645
 
 
16646
 
# Set up the scripts for CONFIG_HEADERS section.
16647
 
# No need to generate them if there are no CONFIG_HEADERS.
16648
 
# This happens for instance with `./config.status Makefile'.
16649
 
if test -n "$CONFIG_HEADERS"; then
16650
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16651
 
BEGIN {
16652
 
_ACEOF
16653
 
 
16654
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
16655
 
# here-document in config.status, that substitutes the proper values into
16656
 
# config.h.in to produce config.h.
16657
 
 
16658
 
# Create a delimiter string that does not exist in confdefs.h, to ease
16659
 
# handling of long lines.
16660
 
ac_delim='%!_!# '
16661
 
for ac_last_try in false false :; do
16662
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16663
 
  if test -z "$ac_tt"; then
16664
 
    break
16665
 
  elif $ac_last_try; then
16666
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16667
 
  else
16668
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16669
 
  fi
16670
 
done
16671
 
 
16672
 
# For the awk script, D is an array of macro values keyed by name,
16673
 
# likewise P contains macro parameters if any.  Preserve backslash
16674
 
# newline sequences.
16675
 
 
16676
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16677
 
sed -n '
16678
 
s/.\{148\}/&'"$ac_delim"'/g
16679
 
t rset
16680
 
:rset
16681
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
16682
 
t def
16683
 
d
16684
 
:def
16685
 
s/\\$//
16686
 
t bsnl
16687
 
s/["\\]/\\&/g
16688
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16689
 
D["\1"]=" \3"/p
16690
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16691
 
d
16692
 
:bsnl
16693
 
s/["\\]/\\&/g
16694
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16695
 
D["\1"]=" \3\\\\\\n"\\/p
16696
 
t cont
16697
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16698
 
t cont
16699
 
d
16700
 
:cont
16701
 
n
16702
 
s/.\{148\}/&'"$ac_delim"'/g
16703
 
t clear
16704
 
:clear
16705
 
s/\\$//
16706
 
t bsnlc
16707
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16708
 
d
16709
 
:bsnlc
16710
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16711
 
b cont
16712
 
' <confdefs.h | sed '
16713
 
s/'"$ac_delim"'/"\\\
16714
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16715
 
 
16716
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16717
 
  for (key in D) D_is_set[key] = 1
16718
 
  FS = ""
16719
 
}
16720
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16721
 
  line = \$ 0
16722
 
  split(line, arg, " ")
16723
 
  if (arg[1] == "#") {
16724
 
    defundef = arg[2]
16725
 
    mac1 = arg[3]
16726
 
  } else {
16727
 
    defundef = substr(arg[1], 2)
16728
 
    mac1 = arg[2]
16729
 
  }
16730
 
  split(mac1, mac2, "(") #)
16731
 
  macro = mac2[1]
16732
 
  prefix = substr(line, 1, index(line, defundef) - 1)
16733
 
  if (D_is_set[macro]) {
16734
 
    # Preserve the white space surrounding the "#".
16735
 
    print prefix "define", macro P[macro] D[macro]
16736
 
    next
16737
 
  } else {
16738
 
    # Replace #undef with comments.  This is necessary, for example,
16739
 
    # in the case of _POSIX_SOURCE, which is predefined and required
16740
 
    # on some systems where configure will not decide to define it.
16741
 
    if (defundef == "undef") {
16742
 
      print "/*", prefix defundef, macro, "*/"
16743
 
      next
16744
 
    }
16745
 
  }
16746
 
}
16747
 
{ print }
16748
 
_ACAWK
16749
 
_ACEOF
16750
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16751
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16752
 
fi # test -n "$CONFIG_HEADERS"
16753
 
 
16754
 
 
16755
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16756
 
shift
16757
 
for ac_tag
16758
 
do
16759
 
  case $ac_tag in
16760
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
16761
 
  esac
16762
 
  case $ac_mode$ac_tag in
16763
 
  :[FHL]*:*);;
16764
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16765
 
  :[FH]-) ac_tag=-:-;;
16766
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16767
 
  esac
16768
 
  ac_save_IFS=$IFS
16769
 
  IFS=:
16770
 
  set x $ac_tag
16771
 
  IFS=$ac_save_IFS
16772
 
  shift
16773
 
  ac_file=$1
16774
 
  shift
16775
 
 
16776
 
  case $ac_mode in
16777
 
  :L) ac_source=$1;;
16778
 
  :[FH])
16779
 
    ac_file_inputs=
16780
 
    for ac_f
16781
 
    do
16782
 
      case $ac_f in
16783
 
      -) ac_f="$ac_tmp/stdin";;
16784
 
      *) # Look for the file first in the build tree, then in the source tree
16785
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16786
 
         # because $ac_f cannot contain `:'.
16787
 
         test -f "$ac_f" ||
16788
 
           case $ac_f in
16789
 
           [\\/$]*) false;;
16790
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16791
 
           esac ||
16792
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16793
 
      esac
16794
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16795
 
      as_fn_append ac_file_inputs " '$ac_f'"
16796
 
    done
16797
 
 
16798
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16799
 
    # use $as_me), people would be surprised to read:
16800
 
    #    /* config.h.  Generated by config.status.  */
16801
 
    configure_input='Generated from '`
16802
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16803
 
        `' by configure.'
16804
 
    if test x"$ac_file" != x-; then
16805
 
      configure_input="$ac_file.  $configure_input"
16806
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16807
 
$as_echo "$as_me: creating $ac_file" >&6;}
16808
 
    fi
16809
 
    # Neutralize special characters interpreted by sed in replacement strings.
16810
 
    case $configure_input in #(
16811
 
    *\&* | *\|* | *\\* )
16812
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
16813
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16814
 
    *) ac_sed_conf_input=$configure_input;;
16815
 
    esac
16816
 
 
16817
 
    case $ac_tag in
16818
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16819
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16820
 
    esac
16821
 
    ;;
16822
 
  esac
16823
 
 
16824
 
  ac_dir=`$as_dirname -- "$ac_file" ||
16825
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16826
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
16827
 
         X"$ac_file" : 'X\(//\)$' \| \
16828
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16829
 
$as_echo X"$ac_file" |
16830
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16831
 
            s//\1/
16832
 
            q
16833
 
          }
16834
 
          /^X\(\/\/\)[^/].*/{
16835
 
            s//\1/
16836
 
            q
16837
 
          }
16838
 
          /^X\(\/\/\)$/{
16839
 
            s//\1/
16840
 
            q
16841
 
          }
16842
 
          /^X\(\/\).*/{
16843
 
            s//\1/
16844
 
            q
16845
 
          }
16846
 
          s/.*/./; q'`
16847
 
  as_dir="$ac_dir"; as_fn_mkdir_p
16848
 
  ac_builddir=.
16849
 
 
16850
 
case "$ac_dir" in
16851
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16852
 
*)
16853
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16854
 
  # A ".." for each directory in $ac_dir_suffix.
16855
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16856
 
  case $ac_top_builddir_sub in
16857
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16858
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16859
 
  esac ;;
16860
 
esac
16861
 
ac_abs_top_builddir=$ac_pwd
16862
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16863
 
# for backward compatibility:
16864
 
ac_top_builddir=$ac_top_build_prefix
16865
 
 
16866
 
case $srcdir in
16867
 
  .)  # We are building in place.
16868
 
    ac_srcdir=.
16869
 
    ac_top_srcdir=$ac_top_builddir_sub
16870
 
    ac_abs_top_srcdir=$ac_pwd ;;
16871
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
16872
 
    ac_srcdir=$srcdir$ac_dir_suffix;
16873
 
    ac_top_srcdir=$srcdir
16874
 
    ac_abs_top_srcdir=$srcdir ;;
16875
 
  *) # Relative name.
16876
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16877
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
16878
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16879
 
esac
16880
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16881
 
 
16882
 
 
16883
 
  case $ac_mode in
16884
 
  :F)
16885
 
  #
16886
 
  # CONFIG_FILE
16887
 
  #
16888
 
 
16889
 
  case $INSTALL in
16890
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16891
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16892
 
  esac
16893
 
  ac_MKDIR_P=$MKDIR_P
16894
 
  case $MKDIR_P in
16895
 
  [\\/$]* | ?:[\\/]* ) ;;
16896
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16897
 
  esac
16898
 
_ACEOF
16899
 
 
16900
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16901
 
# If the template does not know about datarootdir, expand it.
16902
 
# FIXME: This hack should be removed a few years after 2.60.
16903
 
ac_datarootdir_hack=; ac_datarootdir_seen=
16904
 
ac_sed_dataroot='
16905
 
/datarootdir/ {
16906
 
  p
16907
 
  q
16908
 
}
16909
 
/@datadir@/p
16910
 
/@docdir@/p
16911
 
/@infodir@/p
16912
 
/@localedir@/p
16913
 
/@mandir@/p'
16914
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16915
 
*datarootdir*) ac_datarootdir_seen=yes;;
16916
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16918
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16919
 
_ACEOF
16920
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16921
 
  ac_datarootdir_hack='
16922
 
  s&@datadir@&$datadir&g
16923
 
  s&@docdir@&$docdir&g
16924
 
  s&@infodir@&$infodir&g
16925
 
  s&@localedir@&$localedir&g
16926
 
  s&@mandir@&$mandir&g
16927
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
16928
 
esac
16929
 
_ACEOF
16930
 
 
16931
 
# Neutralize VPATH when `$srcdir' = `.'.
16932
 
# Shell code in configure.ac might set extrasub.
16933
 
# FIXME: do we really want to maintain this feature?
16934
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16935
 
ac_sed_extra="$ac_vpsub
16936
 
$extrasub
16937
 
_ACEOF
16938
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16939
 
:t
16940
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16941
 
s|@configure_input@|$ac_sed_conf_input|;t t
16942
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
16943
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16944
 
s&@srcdir@&$ac_srcdir&;t t
16945
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16946
 
s&@top_srcdir@&$ac_top_srcdir&;t t
16947
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16948
 
s&@builddir@&$ac_builddir&;t t
16949
 
s&@abs_builddir@&$ac_abs_builddir&;t t
16950
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16951
 
s&@INSTALL@&$ac_INSTALL&;t t
16952
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16953
 
$ac_datarootdir_hack
16954
 
"
16955
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16956
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16957
 
 
16958
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16959
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16960
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16961
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16963
 
which seems to be undefined.  Please make sure it is defined" >&5
16964
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16965
 
which seems to be undefined.  Please make sure it is defined" >&2;}
16966
 
 
16967
 
  rm -f "$ac_tmp/stdin"
16968
 
  case $ac_file in
16969
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16970
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16971
 
  esac \
16972
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16973
 
 ;;
16974
 
  :H)
16975
 
  #
16976
 
  # CONFIG_HEADER
16977
 
  #
16978
 
  if test x"$ac_file" != x-; then
16979
 
    {
16980
 
      $as_echo "/* $configure_input  */" \
16981
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16982
 
    } >"$ac_tmp/config.h" \
16983
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16984
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16985
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16986
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16987
 
    else
16988
 
      rm -f "$ac_file"
16989
 
      mv "$ac_tmp/config.h" "$ac_file" \
16990
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16991
 
    fi
16992
 
  else
16993
 
    $as_echo "/* $configure_input  */" \
16994
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16995
 
      || as_fn_error $? "could not create -" "$LINENO" 5
16996
 
  fi
16997
 
# Compute "$ac_file"'s index in $config_headers.
16998
 
_am_arg="$ac_file"
16999
 
_am_stamp_count=1
17000
 
for _am_header in $config_headers :; do
17001
 
  case $_am_header in
17002
 
    $_am_arg | $_am_arg:* )
17003
 
      break ;;
17004
 
    * )
17005
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17006
 
  esac
17007
 
done
17008
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17009
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17010
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
17011
 
         X"$_am_arg" : 'X\(//\)$' \| \
17012
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17013
 
$as_echo X"$_am_arg" |
17014
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17015
 
            s//\1/
17016
 
            q
17017
 
          }
17018
 
          /^X\(\/\/\)[^/].*/{
17019
 
            s//\1/
17020
 
            q
17021
 
          }
17022
 
          /^X\(\/\/\)$/{
17023
 
            s//\1/
17024
 
            q
17025
 
          }
17026
 
          /^X\(\/\).*/{
17027
 
            s//\1/
17028
 
            q
17029
 
          }
17030
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
17031
 
 ;;
17032
 
 
17033
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17034
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
17035
 
 ;;
17036
 
  esac
17037
 
 
17038
 
 
17039
 
  case $ac_file$ac_mode in
17040
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17041
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17042
 
  # are listed without --file.  Let's play safe and only enable the eval
17043
 
  # if we detect the quoting.
17044
 
  case $CONFIG_FILES in
17045
 
  *\'*) eval set x "$CONFIG_FILES" ;;
17046
 
  *)   set x $CONFIG_FILES ;;
17047
 
  esac
17048
 
  shift
17049
 
  for mf
17050
 
  do
17051
 
    # Strip MF so we end up with the name of the file.
17052
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17053
 
    # Check whether this is an Automake generated Makefile or not.
17054
 
    # We used to match only the files named `Makefile.in', but
17055
 
    # some people rename them; so instead we look at the file content.
17056
 
    # Grep'ing the first line is not enough: some people post-process
17057
 
    # each Makefile.in and add a new line on top of each file to say so.
17058
 
    # Grep'ing the whole file is not good either: AIX grep has a line
17059
 
    # limit of 2048, but all sed's we know have understand at least 4000.
17060
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17061
 
      dirpart=`$as_dirname -- "$mf" ||
17062
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17063
 
         X"$mf" : 'X\(//\)[^/]' \| \
17064
 
         X"$mf" : 'X\(//\)$' \| \
17065
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17066
 
$as_echo X"$mf" |
17067
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17068
 
            s//\1/
17069
 
            q
17070
 
          }
17071
 
          /^X\(\/\/\)[^/].*/{
17072
 
            s//\1/
17073
 
            q
17074
 
          }
17075
 
          /^X\(\/\/\)$/{
17076
 
            s//\1/
17077
 
            q
17078
 
          }
17079
 
          /^X\(\/\).*/{
17080
 
            s//\1/
17081
 
            q
17082
 
          }
17083
 
          s/.*/./; q'`
17084
 
    else
17085
 
      continue
17086
 
    fi
17087
 
    # Extract the definition of DEPDIR, am__include, and am__quote
17088
 
    # from the Makefile without running `make'.
17089
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17090
 
    test -z "$DEPDIR" && continue
17091
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17092
 
    test -z "am__include" && continue
17093
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17094
 
    # When using ansi2knr, U may be empty or an underscore; expand it
17095
 
    U=`sed -n 's/^U = //p' < "$mf"`
17096
 
    # Find all dependency output files, they are included files with
17097
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17098
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
17099
 
    # expansion.
17100
 
    for file in `sed -n "
17101
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17102
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17103
 
      # Make sure the directory exists.
17104
 
      test -f "$dirpart/$file" && continue
17105
 
      fdir=`$as_dirname -- "$file" ||
17106
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17107
 
         X"$file" : 'X\(//\)[^/]' \| \
17108
 
         X"$file" : 'X\(//\)$' \| \
17109
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17110
 
$as_echo X"$file" |
17111
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17112
 
            s//\1/
17113
 
            q
17114
 
          }
17115
 
          /^X\(\/\/\)[^/].*/{
17116
 
            s//\1/
17117
 
            q
17118
 
          }
17119
 
          /^X\(\/\/\)$/{
17120
 
            s//\1/
17121
 
            q
17122
 
          }
17123
 
          /^X\(\/\).*/{
17124
 
            s//\1/
17125
 
            q
17126
 
          }
17127
 
          s/.*/./; q'`
17128
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17129
 
      # echo "creating $dirpart/$file"
17130
 
      echo '# dummy' > "$dirpart/$file"
17131
 
    done
17132
 
  done
17133
 
}
17134
 
 ;;
17135
 
    "libtool":C)
17136
 
 
17137
 
    # See if we are running on zsh, and set the options which allow our
17138
 
    # commands through without removal of \ escapes.
17139
 
    if test -n "${ZSH_VERSION+set}" ; then
17140
 
      setopt NO_GLOB_SUBST
17141
 
    fi
17142
 
 
17143
 
    cfgfile="${ofile}T"
17144
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17145
 
    $RM "$cfgfile"
17146
 
 
17147
 
    cat <<_LT_EOF >> "$cfgfile"
17148
 
#! $SHELL
17149
 
 
17150
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17151
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17152
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17153
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17154
 
#
17155
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17156
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17157
 
#                 Foundation, Inc.
17158
 
#   Written by Gordon Matzigkeit, 1996
17159
 
#
17160
 
#   This file is part of GNU Libtool.
17161
 
#
17162
 
# GNU Libtool is free software; you can redistribute it and/or
17163
 
# modify it under the terms of the GNU General Public License as
17164
 
# published by the Free Software Foundation; either version 2 of
17165
 
# the License, or (at your option) any later version.
17166
 
#
17167
 
# As a special exception to the GNU General Public License,
17168
 
# if you distribute this file as part of a program or library that
17169
 
# is built using GNU Libtool, you may include this file under the
17170
 
# same distribution terms that you use for the rest of that program.
17171
 
#
17172
 
# GNU Libtool is distributed in the hope that it will be useful,
17173
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17174
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17175
 
# GNU General Public License for more details.
17176
 
#
17177
 
# You should have received a copy of the GNU General Public License
17178
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
17179
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17180
 
# obtained by writing to the Free Software Foundation, Inc.,
17181
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17182
 
 
17183
 
 
17184
 
# The names of the tagged configurations supported by this script.
17185
 
available_tags=""
17186
 
 
17187
 
# ### BEGIN LIBTOOL CONFIG
17188
 
 
17189
 
# Which release of libtool.m4 was used?
17190
 
macro_version=$macro_version
17191
 
macro_revision=$macro_revision
17192
 
 
17193
 
# Whether or not to build shared libraries.
17194
 
build_libtool_libs=$enable_shared
17195
 
 
17196
 
# Whether or not to build static libraries.
17197
 
build_old_libs=$enable_static
17198
 
 
17199
 
# What type of objects to build.
17200
 
pic_mode=$pic_mode
17201
 
 
17202
 
# Whether or not to optimize for fast installation.
17203
 
fast_install=$enable_fast_install
17204
 
 
17205
 
# Shell to use when invoking shell scripts.
17206
 
SHELL=$lt_SHELL
17207
 
 
17208
 
# An echo program that protects backslashes.
17209
 
ECHO=$lt_ECHO
17210
 
 
17211
 
# The PATH separator for the build system.
17212
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17213
 
 
17214
 
# The host system.
17215
 
host_alias=$host_alias
17216
 
host=$host
17217
 
host_os=$host_os
17218
 
 
17219
 
# The build system.
17220
 
build_alias=$build_alias
17221
 
build=$build
17222
 
build_os=$build_os
17223
 
 
17224
 
# A sed program that does not truncate output.
17225
 
SED=$lt_SED
17226
 
 
17227
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17228
 
Xsed="\$SED -e 1s/^X//"
17229
 
 
17230
 
# A grep program that handles long lines.
17231
 
GREP=$lt_GREP
17232
 
 
17233
 
# An ERE matcher.
17234
 
EGREP=$lt_EGREP
17235
 
 
17236
 
# A literal string matcher.
17237
 
FGREP=$lt_FGREP
17238
 
 
17239
 
# A BSD- or MS-compatible name lister.
17240
 
NM=$lt_NM
17241
 
 
17242
 
# Whether we need soft or hard links.
17243
 
LN_S=$lt_LN_S
17244
 
 
17245
 
# What is the maximum length of a command?
17246
 
max_cmd_len=$max_cmd_len
17247
 
 
17248
 
# Object file suffix (normally "o").
17249
 
objext=$ac_objext
17250
 
 
17251
 
# Executable file suffix (normally "").
17252
 
exeext=$exeext
17253
 
 
17254
 
# whether the shell understands "unset".
17255
 
lt_unset=$lt_unset
17256
 
 
17257
 
# turn spaces into newlines.
17258
 
SP2NL=$lt_lt_SP2NL
17259
 
 
17260
 
# turn newlines into spaces.
17261
 
NL2SP=$lt_lt_NL2SP
17262
 
 
17263
 
# convert \$build file names to \$host format.
17264
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
17265
 
 
17266
 
# convert \$build files to toolchain format.
17267
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17268
 
 
17269
 
# An object symbol dumper.
17270
 
OBJDUMP=$lt_OBJDUMP
17271
 
 
17272
 
# Method to check whether dependent libraries are shared objects.
17273
 
deplibs_check_method=$lt_deplibs_check_method
17274
 
 
17275
 
# Command to use when deplibs_check_method = "file_magic".
17276
 
file_magic_cmd=$lt_file_magic_cmd
17277
 
 
17278
 
# How to find potential files when deplibs_check_method = "file_magic".
17279
 
file_magic_glob=$lt_file_magic_glob
17280
 
 
17281
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17282
 
want_nocaseglob=$lt_want_nocaseglob
17283
 
 
17284
 
# DLL creation program.
17285
 
DLLTOOL=$lt_DLLTOOL
17286
 
 
17287
 
# Command to associate shared and link libraries.
17288
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17289
 
 
17290
 
# The archiver.
17291
 
AR=$lt_AR
17292
 
 
17293
 
# Flags to create an archive.
17294
 
AR_FLAGS=$lt_AR_FLAGS
17295
 
 
17296
 
# How to feed a file listing to the archiver.
17297
 
archiver_list_spec=$lt_archiver_list_spec
17298
 
 
17299
 
# A symbol stripping program.
17300
 
STRIP=$lt_STRIP
17301
 
 
17302
 
# Commands used to install an old-style archive.
17303
 
RANLIB=$lt_RANLIB
17304
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17305
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17306
 
 
17307
 
# Whether to use a lock for old archive extraction.
17308
 
lock_old_archive_extraction=$lock_old_archive_extraction
17309
 
 
17310
 
# A C compiler.
17311
 
LTCC=$lt_CC
17312
 
 
17313
 
# LTCC compiler flags.
17314
 
LTCFLAGS=$lt_CFLAGS
17315
 
 
17316
 
# Take the output of nm and produce a listing of raw symbols and C names.
17317
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17318
 
 
17319
 
# Transform the output of nm in a proper C declaration.
17320
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17321
 
 
17322
 
# Transform the output of nm in a C name address pair.
17323
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17324
 
 
17325
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
17326
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17327
 
 
17328
 
# Specify filename containing input files for \$NM.
17329
 
nm_file_list_spec=$lt_nm_file_list_spec
17330
 
 
17331
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
17332
 
lt_sysroot=$lt_sysroot
17333
 
 
17334
 
# The name of the directory that contains temporary libtool files.
17335
 
objdir=$objdir
17336
 
 
17337
 
# Used to examine libraries when file_magic_cmd begins with "file".
17338
 
MAGIC_CMD=$MAGIC_CMD
17339
 
 
17340
 
# Must we lock files when doing compilation?
17341
 
need_locks=$lt_need_locks
17342
 
 
17343
 
# Manifest tool.
17344
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17345
 
 
17346
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17347
 
DSYMUTIL=$lt_DSYMUTIL
17348
 
 
17349
 
# Tool to change global to local symbols on Mac OS X.
17350
 
NMEDIT=$lt_NMEDIT
17351
 
 
17352
 
# Tool to manipulate fat objects and archives on Mac OS X.
17353
 
LIPO=$lt_LIPO
17354
 
 
17355
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17356
 
OTOOL=$lt_OTOOL
17357
 
 
17358
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17359
 
OTOOL64=$lt_OTOOL64
17360
 
 
17361
 
# Old archive suffix (normally "a").
17362
 
libext=$libext
17363
 
 
17364
 
# Shared library suffix (normally ".so").
17365
 
shrext_cmds=$lt_shrext_cmds
17366
 
 
17367
 
# The commands to extract the exported symbol list from a shared archive.
17368
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17369
 
 
17370
 
# Variables whose values should be saved in libtool wrapper scripts and
17371
 
# restored at link time.
17372
 
variables_saved_for_relink=$lt_variables_saved_for_relink
17373
 
 
17374
 
# Do we need the "lib" prefix for modules?
17375
 
need_lib_prefix=$need_lib_prefix
17376
 
 
17377
 
# Do we need a version for libraries?
17378
 
need_version=$need_version
17379
 
 
17380
 
# Library versioning type.
17381
 
version_type=$version_type
17382
 
 
17383
 
# Shared library runtime path variable.
17384
 
runpath_var=$runpath_var
17385
 
 
17386
 
# Shared library path variable.
17387
 
shlibpath_var=$shlibpath_var
17388
 
 
17389
 
# Is shlibpath searched before the hard-coded library search path?
17390
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17391
 
 
17392
 
# Format of library name prefix.
17393
 
libname_spec=$lt_libname_spec
17394
 
 
17395
 
# List of archive names.  First name is the real one, the rest are links.
17396
 
# The last name is the one that the linker finds with -lNAME
17397
 
library_names_spec=$lt_library_names_spec
17398
 
 
17399
 
# The coded name of the library, if different from the real name.
17400
 
soname_spec=$lt_soname_spec
17401
 
 
17402
 
# Permission mode override for installation of shared libraries.
17403
 
install_override_mode=$lt_install_override_mode
17404
 
 
17405
 
# Command to use after installation of a shared archive.
17406
 
postinstall_cmds=$lt_postinstall_cmds
17407
 
 
17408
 
# Command to use after uninstallation of a shared archive.
17409
 
postuninstall_cmds=$lt_postuninstall_cmds
17410
 
 
17411
 
# Commands used to finish a libtool library installation in a directory.
17412
 
finish_cmds=$lt_finish_cmds
17413
 
 
17414
 
# As "finish_cmds", except a single script fragment to be evaled but
17415
 
# not shown.
17416
 
finish_eval=$lt_finish_eval
17417
 
 
17418
 
# Whether we should hardcode library paths into libraries.
17419
 
hardcode_into_libs=$hardcode_into_libs
17420
 
 
17421
 
# Compile-time system search path for libraries.
17422
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17423
 
 
17424
 
# Run-time system search path for libraries.
17425
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17426
 
 
17427
 
# Whether dlopen is supported.
17428
 
dlopen_support=$enable_dlopen
17429
 
 
17430
 
# Whether dlopen of programs is supported.
17431
 
dlopen_self=$enable_dlopen_self
17432
 
 
17433
 
# Whether dlopen of statically linked programs is supported.
17434
 
dlopen_self_static=$enable_dlopen_self_static
17435
 
 
17436
 
# Commands to strip libraries.
17437
 
old_striplib=$lt_old_striplib
17438
 
striplib=$lt_striplib
17439
 
 
17440
 
 
17441
 
# The linker used to build libraries.
17442
 
LD=$lt_LD
17443
 
 
17444
 
# How to create reloadable object files.
17445
 
reload_flag=$lt_reload_flag
17446
 
reload_cmds=$lt_reload_cmds
17447
 
 
17448
 
# Commands used to build an old-style archive.
17449
 
old_archive_cmds=$lt_old_archive_cmds
17450
 
 
17451
 
# A language specific compiler.
17452
 
CC=$lt_compiler
17453
 
 
17454
 
# Is the compiler the GNU compiler?
17455
 
with_gcc=$GCC
17456
 
 
17457
 
# Compiler flag to turn off builtin functions.
17458
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17459
 
 
17460
 
# Additional compiler flags for building library objects.
17461
 
pic_flag=$lt_lt_prog_compiler_pic
17462
 
 
17463
 
# How to pass a linker flag through the compiler.
17464
 
wl=$lt_lt_prog_compiler_wl
17465
 
 
17466
 
# Compiler flag to prevent dynamic linking.
17467
 
link_static_flag=$lt_lt_prog_compiler_static
17468
 
 
17469
 
# Does compiler simultaneously support -c and -o options?
17470
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17471
 
 
17472
 
# Whether or not to add -lc for building shared libraries.
17473
 
build_libtool_need_lc=$archive_cmds_need_lc
17474
 
 
17475
 
# Whether or not to disallow shared libs when runtime libs are static.
17476
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17477
 
 
17478
 
# Compiler flag to allow reflexive dlopens.
17479
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17480
 
 
17481
 
# Compiler flag to generate shared objects directly from archives.
17482
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17483
 
 
17484
 
# Whether the compiler copes with passing no objects directly.
17485
 
compiler_needs_object=$lt_compiler_needs_object
17486
 
 
17487
 
# Create an old-style archive from a shared archive.
17488
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17489
 
 
17490
 
# Create a temporary old-style archive to link instead of a shared archive.
17491
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17492
 
 
17493
 
# Commands used to build a shared archive.
17494
 
archive_cmds=$lt_archive_cmds
17495
 
archive_expsym_cmds=$lt_archive_expsym_cmds
17496
 
 
17497
 
# Commands used to build a loadable module if different from building
17498
 
# a shared archive.
17499
 
module_cmds=$lt_module_cmds
17500
 
module_expsym_cmds=$lt_module_expsym_cmds
17501
 
 
17502
 
# Whether we are building with GNU ld or not.
17503
 
with_gnu_ld=$lt_with_gnu_ld
17504
 
 
17505
 
# Flag that allows shared libraries with undefined symbols to be built.
17506
 
allow_undefined_flag=$lt_allow_undefined_flag
17507
 
 
17508
 
# Flag that enforces no undefined symbols.
17509
 
no_undefined_flag=$lt_no_undefined_flag
17510
 
 
17511
 
# Flag to hardcode \$libdir into a binary during linking.
17512
 
# This must work even if \$libdir does not exist
17513
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17514
 
 
17515
 
# Whether we need a single "-rpath" flag with a separated argument.
17516
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17517
 
 
17518
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17519
 
# DIR into the resulting binary.
17520
 
hardcode_direct=$hardcode_direct
17521
 
 
17522
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17523
 
# DIR into the resulting binary and the resulting library dependency is
17524
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17525
 
# library is relocated.
17526
 
hardcode_direct_absolute=$hardcode_direct_absolute
17527
 
 
17528
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17529
 
# into the resulting binary.
17530
 
hardcode_minus_L=$hardcode_minus_L
17531
 
 
17532
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17533
 
# into the resulting binary.
17534
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
17535
 
 
17536
 
# Set to "yes" if building a shared library automatically hardcodes DIR
17537
 
# into the library and all subsequent libraries and executables linked
17538
 
# against it.
17539
 
hardcode_automatic=$hardcode_automatic
17540
 
 
17541
 
# Set to yes if linker adds runtime paths of dependent libraries
17542
 
# to runtime path list.
17543
 
inherit_rpath=$inherit_rpath
17544
 
 
17545
 
# Whether libtool must link a program against all its dependency libraries.
17546
 
link_all_deplibs=$link_all_deplibs
17547
 
 
17548
 
# Set to "yes" if exported symbols are required.
17549
 
always_export_symbols=$always_export_symbols
17550
 
 
17551
 
# The commands to list exported symbols.
17552
 
export_symbols_cmds=$lt_export_symbols_cmds
17553
 
 
17554
 
# Symbols that should not be listed in the preloaded symbols.
17555
 
exclude_expsyms=$lt_exclude_expsyms
17556
 
 
17557
 
# Symbols that must always be exported.
17558
 
include_expsyms=$lt_include_expsyms
17559
 
 
17560
 
# Commands necessary for linking programs (against libraries) with templates.
17561
 
prelink_cmds=$lt_prelink_cmds
17562
 
 
17563
 
# Commands necessary for finishing linking programs.
17564
 
postlink_cmds=$lt_postlink_cmds
17565
 
 
17566
 
# Specify filename containing input files.
17567
 
file_list_spec=$lt_file_list_spec
17568
 
 
17569
 
# How to hardcode a shared library path into an executable.
17570
 
hardcode_action=$hardcode_action
17571
 
 
17572
 
# ### END LIBTOOL CONFIG
17573
 
 
17574
 
_LT_EOF
17575
 
 
17576
 
  case $host_os in
17577
 
  aix3*)
17578
 
    cat <<\_LT_EOF >> "$cfgfile"
17579
 
# AIX sometimes has problems with the GCC collect2 program.  For some
17580
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
17581
 
# vanish in a puff of smoke.
17582
 
if test "X${COLLECT_NAMES+set}" != Xset; then
17583
 
  COLLECT_NAMES=
17584
 
  export COLLECT_NAMES
17585
 
fi
17586
 
_LT_EOF
17587
 
    ;;
17588
 
  esac
17589
 
 
17590
 
 
17591
 
ltmain="$ac_aux_dir/ltmain.sh"
17592
 
 
17593
 
 
17594
 
  # We use sed instead of cat because bash on DJGPP gets confused if
17595
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17596
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
17597
 
  # is reportedly fixed, but why not run on old versions too?
17598
 
  sed '$q' "$ltmain" >> "$cfgfile" \
17599
 
     || (rm -f "$cfgfile"; exit 1)
17600
 
 
17601
 
  if test x"$xsi_shell" = xyes; then
17602
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17603
 
func_dirname ()\
17604
 
{\
17605
 
\    case ${1} in\
17606
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
17607
 
\      *  ) func_dirname_result="${3}" ;;\
17608
 
\    esac\
17609
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17610
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17611
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17612
 
test 0 -eq $? || _lt_function_replace_fail=:
17613
 
 
17614
 
 
17615
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17616
 
func_basename ()\
17617
 
{\
17618
 
\    func_basename_result="${1##*/}"\
17619
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17620
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17621
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17622
 
test 0 -eq $? || _lt_function_replace_fail=:
17623
 
 
17624
 
 
17625
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17626
 
func_dirname_and_basename ()\
17627
 
{\
17628
 
\    case ${1} in\
17629
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
17630
 
\      *  ) func_dirname_result="${3}" ;;\
17631
 
\    esac\
17632
 
\    func_basename_result="${1##*/}"\
17633
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17634
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17635
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17636
 
test 0 -eq $? || _lt_function_replace_fail=:
17637
 
 
17638
 
 
17639
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17640
 
func_stripname ()\
17641
 
{\
17642
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17643
 
\    # positional parameters, so assign one to ordinary parameter first.\
17644
 
\    func_stripname_result=${3}\
17645
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
17646
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
17647
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17648
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17649
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17650
 
test 0 -eq $? || _lt_function_replace_fail=:
17651
 
 
17652
 
 
17653
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17654
 
func_split_long_opt ()\
17655
 
{\
17656
 
\    func_split_long_opt_name=${1%%=*}\
17657
 
\    func_split_long_opt_arg=${1#*=}\
17658
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17659
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17660
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17661
 
test 0 -eq $? || _lt_function_replace_fail=:
17662
 
 
17663
 
 
17664
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17665
 
func_split_short_opt ()\
17666
 
{\
17667
 
\    func_split_short_opt_arg=${1#??}\
17668
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17669
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17670
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17671
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17672
 
test 0 -eq $? || _lt_function_replace_fail=:
17673
 
 
17674
 
 
17675
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17676
 
func_lo2o ()\
17677
 
{\
17678
 
\    case ${1} in\
17679
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17680
 
\      *)    func_lo2o_result=${1} ;;\
17681
 
\    esac\
17682
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17683
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17684
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17685
 
test 0 -eq $? || _lt_function_replace_fail=:
17686
 
 
17687
 
 
17688
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17689
 
func_xform ()\
17690
 
{\
17691
 
    func_xform_result=${1%.*}.lo\
17692
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17693
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17694
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17695
 
test 0 -eq $? || _lt_function_replace_fail=:
17696
 
 
17697
 
 
17698
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17699
 
func_arith ()\
17700
 
{\
17701
 
    func_arith_result=$(( $* ))\
17702
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17703
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17704
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17705
 
test 0 -eq $? || _lt_function_replace_fail=:
17706
 
 
17707
 
 
17708
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
17709
 
func_len ()\
17710
 
{\
17711
 
    func_len_result=${#1}\
17712
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17713
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17714
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17715
 
test 0 -eq $? || _lt_function_replace_fail=:
17716
 
 
17717
 
fi
17718
 
 
17719
 
if test x"$lt_shell_append" = xyes; then
17720
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
17721
 
func_append ()\
17722
 
{\
17723
 
    eval "${1}+=\\${2}"\
17724
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17725
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17726
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17727
 
test 0 -eq $? || _lt_function_replace_fail=:
17728
 
 
17729
 
 
17730
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17731
 
func_append_quoted ()\
17732
 
{\
17733
 
\    func_quote_for_eval "${2}"\
17734
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17735
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17736
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17737
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17738
 
test 0 -eq $? || _lt_function_replace_fail=:
17739
 
 
17740
 
 
17741
 
  # Save a `func_append' function call where possible by direct use of '+='
17742
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17743
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
17744
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17745
 
  test 0 -eq $? || _lt_function_replace_fail=:
17746
 
else
17747
 
  # Save a `func_append' function call even when '+=' is not available
17748
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17749
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
17750
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17751
 
  test 0 -eq $? || _lt_function_replace_fail=:
17752
 
fi
17753
 
 
17754
 
if test x"$_lt_function_replace_fail" = x":"; then
17755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17756
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17757
 
fi
17758
 
 
17759
 
 
17760
 
   mv -f "$cfgfile" "$ofile" ||
17761
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17762
 
  chmod +x "$ofile"
17763
 
 
17764
 
 ;;
17765
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17766
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17767
 
      esac ;;
17768
 
    "po/stamp-it":C)
17769
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17770
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17771
 
    fi
17772
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17773
 
    >"po/stamp-it.tmp"
17774
 
    sed '/^#/d
17775
 
         s/^[[].*] *//
17776
 
         /^[    ]*$/d
17777
 
        '"s|^|  $ac_top_srcdir/|" \
17778
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17779
 
 
17780
 
    sed '/^POTFILES =/,/[^\\]$/ {
17781
 
                /^POTFILES =/!d
17782
 
                r po/POTFILES
17783
 
          }
17784
 
         ' "po/Makefile.in" >"po/Makefile"
17785
 
    rm -f "po/Makefile.tmp"
17786
 
    mv "po/stamp-it.tmp" "po/stamp-it"
17787
 
   ;;
17788
 
 
17789
 
  esac
17790
 
done # for ac_tag
17791
 
 
17792
 
 
17793
 
as_fn_exit 0
17794
 
_ACEOF
17795
 
ac_clean_files=$ac_clean_files_save
17796
 
 
17797
 
test $ac_write_fail = 0 ||
17798
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17799
 
 
17800
 
 
17801
 
# configure is writing to config.log, and then calls config.status.
17802
 
# config.status does its own redirection, appending to config.log.
17803
 
# Unfortunately, on DOS this fails, as config.log is still kept open
17804
 
# by configure, so config.status won't be able to write to it; its
17805
 
# output is simply discarded.  So we exec the FD to /dev/null,
17806
 
# effectively closing config.log, so it can be properly (re)opened and
17807
 
# appended to by config.status.  When coming back to configure, we
17808
 
# need to make the FD available again.
17809
 
if test "$no_create" != yes; then
17810
 
  ac_cs_success=:
17811
 
  ac_config_status_args=
17812
 
  test "$silent" = yes &&
17813
 
    ac_config_status_args="$ac_config_status_args --quiet"
17814
 
  exec 5>/dev/null
17815
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17816
 
  exec 5>>config.log
17817
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17818
 
  # would make configure fail if this is the last instruction.
17819
 
  $ac_cs_success || as_fn_exit 1
17820
 
fi
17821
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17823
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17824
 
fi
17825
 
 
17826