~ubuntu-branches/ubuntu/vivid/xfce4-netload-plugin/vivid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc, Lionel Le Folgoc, Yves-Alexis Perez
  • Date: 2011-04-19 23:12:43 UTC
  • mfrom: (1.1.4 upstream) (9.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110419231243-tkce1b7gx8kjiu7h
Tags: 1.0.0-2
[ Lionel Le Folgoc ]
* Upload to unstable.
* debian/control:
  - add myself to Uploaders.
  - remove Simon and Emanuele from uploaders, thanks to them.

[ Yves-Alexis Perez ]
* debian/control:
  - update standards version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for xfce4-netload-plugin 0.4.0.
 
3
# Generated by GNU Autoconf 2.68 for xfce4-netload-plugin 1.0.0.
4
4
#
5
5
# Report bugs to <xfce-goodies-dev@lists.berlios.de>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
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
#
8
13
# This configure script is free software; the Free Software Foundation
9
14
# gives unlimited permission to copy, distribute and modify it.
10
 
## --------------------- ##
11
 
## M4sh Initialization.  ##
12
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
13
18
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
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 :
16
22
  emulate sh
17
23
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
25
  # is contrary to our usage.  Disable this feature.
20
26
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
24
 
DUALCASE=1; export DUALCASE # for MKS sh
25
 
 
26
 
# Support unset when possible.
27
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
 
  as_unset=unset
29
 
else
30
 
  as_unset=false
31
 
fi
32
 
 
33
 
 
34
 
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
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
36
126
PS1='$ '
37
127
PS2='> '
38
128
PS4='+ '
39
129
 
40
130
# NLS nuisances.
41
 
for as_var in \
42
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
 
  LC_TELEPHONE LC_TIME
 
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
  if (eval "$as_required") 2>/dev/null; then :
 
179
  as_have_required=yes
 
180
else
 
181
  as_have_required=no
 
182
fi
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
 
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
45
189
do
46
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
 
    eval $as_var=C; export $as_var
 
190
  IFS=$as_save_IFS
 
191
  test -z "$as_dir" && as_dir=.
 
192
  as_found=:
 
193
  case $as_dir in #(
 
194
         /*)
 
195
           for as_base in sh bash ksh sh5; do
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
 
205
           done;;
 
206
       esac
 
207
  as_found=false
 
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
 
213
IFS=$as_save_IFS
 
214
 
 
215
 
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
 
221
        BASH_ENV=/dev/null
 
222
        ENV=/dev/null
 
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
224
        export CONFIG_SHELL
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
232
fi
 
233
 
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
48
240
  else
49
 
    $as_unset $as_var
50
 
  fi
51
 
done
52
 
 
53
 
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: xfce-goodies-dev@lists.berlios.de about your system,
 
243
$0: including any error possibly output before this
 
244
$0: message. Then install a modern shell, or manually run
 
245
$0: the script under such a shell if you do have one."
 
246
  fi
 
247
  exit 1
 
248
fi
 
249
fi
 
250
fi
 
251
SHELL=${CONFIG_SHELL-/bin/sh}
 
252
export SHELL
 
253
# Unset more variables known to interfere with behavior of common tools.
 
254
CLICOLOR_FORCE= GREP_OPTIONS=
 
255
unset CLICOLOR_FORCE GREP_OPTIONS
 
256
 
 
257
## --------------------- ##
 
258
## M4sh Shell Functions. ##
 
259
## --------------------- ##
 
260
# as_fn_unset VAR
 
261
# ---------------
 
262
# Portably unset VAR.
 
263
as_fn_unset ()
 
264
{
 
265
  { eval $1=; unset $1;}
 
266
}
 
267
as_unset=as_fn_unset
 
268
 
 
269
# as_fn_set_status STATUS
 
270
# -----------------------
 
271
# Set $? to STATUS, without forking.
 
272
as_fn_set_status ()
 
273
{
 
274
  return $1
 
275
} # as_fn_set_status
 
276
 
 
277
# as_fn_exit STATUS
 
278
# -----------------
 
279
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
280
as_fn_exit ()
 
281
{
 
282
  set +e
 
283
  as_fn_set_status $1
 
284
  exit $1
 
285
} # as_fn_exit
 
286
 
 
287
# as_fn_mkdir_p
 
288
# -------------
 
289
# Create "$as_dir" as a directory, including parents if necessary.
 
290
as_fn_mkdir_p ()
 
291
{
 
292
 
 
293
  case $as_dir in #(
 
294
  -*) as_dir=./$as_dir;;
 
295
  esac
 
296
  test -d "$as_dir" || eval $as_mkdir_p || {
 
297
    as_dirs=
 
298
    while :; do
 
299
      case $as_dir in #(
 
300
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
301
      *) as_qdir=$as_dir;;
 
302
      esac
 
303
      as_dirs="'$as_qdir' $as_dirs"
 
304
      as_dir=`$as_dirname -- "$as_dir" ||
 
305
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
306
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
307
         X"$as_dir" : 'X\(//\)$' \| \
 
308
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
309
$as_echo X"$as_dir" |
 
310
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\/\)[^/].*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          /^X\(\/\/\)$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\).*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          s/.*/./; q'`
 
327
      test -d "$as_dir" && break
 
328
    done
 
329
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
330
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
331
 
 
332
 
 
333
} # as_fn_mkdir_p
 
334
# as_fn_append VAR VALUE
 
335
# ----------------------
 
336
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
337
# advantage of any shell optimizations that allow amortized linear growth over
 
338
# repeated appends, instead of the typical quadratic growth present in naive
 
339
# implementations.
 
340
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
341
  eval 'as_fn_append ()
 
342
  {
 
343
    eval $1+=\$2
 
344
  }'
 
345
else
 
346
  as_fn_append ()
 
347
  {
 
348
    eval $1=\$$1\$2
 
349
  }
 
350
fi # as_fn_append
 
351
 
 
352
# as_fn_arith ARG...
 
353
# ------------------
 
354
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
355
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
356
# must be portable across $(()) and expr.
 
357
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
358
  eval 'as_fn_arith ()
 
359
  {
 
360
    as_val=$(( $* ))
 
361
  }'
 
362
else
 
363
  as_fn_arith ()
 
364
  {
 
365
    as_val=`expr "$@" || test $? -eq 1`
 
366
  }
 
367
fi # as_fn_arith
 
368
 
 
369
 
 
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
371
# ----------------------------------------
 
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
374
# script with STATUS, using 1 if that was 0.
 
375
as_fn_error ()
 
376
{
 
377
  as_status=$1; test $as_status -eq 0 && as_status=1
 
378
  if test "$4"; then
 
379
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
380
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
381
  fi
 
382
  $as_echo "$as_me: error: $2" >&2
 
383
  as_fn_exit $as_status
 
384
} # as_fn_error
 
385
 
 
386
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
387
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
388
  as_expr=expr
56
389
else
57
390
  as_expr=false
58
391
fi
59
392
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
393
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
394
  as_basename=basename
62
395
else
63
396
  as_basename=false
64
397
fi
65
398
 
 
399
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
400
  as_dirname=dirname
 
401
else
 
402
  as_dirname=false
 
403
fi
66
404
 
67
 
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
405
as_me=`$as_basename -- "$0" ||
69
406
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
407
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
73
 
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
 
408
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
409
$as_echo X/"$0" |
 
410
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          /^X\/\(\/\/\)$/{
 
415
            s//\1/
 
416
            q
 
417
          }
 
418
          /^X\/\(\/\).*/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          s/.*/./; q'`
 
423
 
81
424
# Avoid depending upon Character Ranges.
82
425
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
426
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85
428
as_cr_digits='0123456789'
86
429
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
430
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
132
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
 
do
135
 
  IFS=$as_save_IFS
136
 
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
139
 
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
154
 
done
155
 
;;
156
 
  esac
157
 
 
158
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
164
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
431
 
 
432
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
433
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
434
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
435
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
436
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
437
  sed -n '
 
438
    p
 
439
    /[$]LINENO/=
 
440
  ' <$as_myself |
167
441
    sed '
 
442
      s/[$]LINENO.*/&-/
 
443
      t lineno
 
444
      b
 
445
      :lineno
168
446
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
447
      :loop
 
448
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
449
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
450
      s/-\n.*//
175
451
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
177
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
 
   { (exit 1); exit 1; }; }
 
452
  chmod +x "$as_me.lineno" ||
 
453
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
179
454
 
180
455
  # Don't try to exec as it changes $[0], causing all sort of problems
181
456
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
457
  # original and so on.  Autoconf is especially sensitive to this).
 
458
  . "./$as_me.lineno"
184
459
  # Exit status is that of the last command.
185
460
  exit
186
461
}
187
462
 
188
 
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
463
ECHO_C= ECHO_N= ECHO_T=
 
464
case `echo -n x` in #(((((
 
465
-n*)
 
466
  case `echo 'xy\c'` in
 
467
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
468
  xy)  ECHO_C='\c';;
 
469
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
470
       ECHO_T=' ';;
 
471
  esac;;
 
472
*)
 
473
  ECHO_N='-n';;
194
474
esac
195
475
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
197
 
  as_expr=expr
 
476
rm -f conf$$ conf$$.exe conf$$.file
 
477
if test -d conf$$.dir; then
 
478
  rm -f conf$$.dir/conf$$.file
198
479
else
199
 
  as_expr=false
 
480
  rm -f conf$$.dir
 
481
  mkdir conf$$.dir 2>/dev/null
200
482
fi
201
 
 
202
 
rm -f conf$$ conf$$.exe conf$$.file
203
 
echo >conf$$.file
204
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
483
if (echo >conf$$.file) 2>/dev/null; then
 
484
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
485
    as_ln_s='ln -s'
 
486
    # ... but there are two gotchas:
 
487
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
488
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
489
    # In both cases, we have to default to `cp -p'.
 
490
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
491
      as_ln_s='cp -p'
 
492
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
493
    as_ln_s=ln
 
494
  else
209
495
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
496
  fi
213
 
elif ln conf$$.file conf$$ 2>/dev/null; then
214
 
  as_ln_s=ln
215
497
else
216
498
  as_ln_s='cp -p'
217
499
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
500
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
501
rmdir conf$$.dir 2>/dev/null
219
502
 
220
503
if mkdir -p . 2>/dev/null; then
221
 
  as_mkdir_p=:
 
504
  as_mkdir_p='mkdir -p "$as_dir"'
222
505
else
223
506
  test -d ./-p && rmdir ./-p
224
507
  as_mkdir_p=false
225
508
fi
226
509
 
227
 
as_executable_p="test -f"
 
510
if test -x / >/dev/null 2>&1; then
 
511
  as_test_x='test -x'
 
512
else
 
513
  if ls -dL / >/dev/null 2>&1; then
 
514
    as_ls_L_option=L
 
515
  else
 
516
    as_ls_L_option=
 
517
  fi
 
518
  as_test_x='
 
519
    eval sh -c '\''
 
520
      if test -d "$1"; then
 
521
        test -d "$1/.";
 
522
      else
 
523
        case $1 in #(
 
524
        -*)set "./$1";;
 
525
        esac;
 
526
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
527
        ???[sx]*):;;*)false;;esac;fi
 
528
    '\'' sh
 
529
  '
 
530
fi
 
531
as_executable_p=$as_test_x
228
532
 
229
533
# Sed expression to map a string onto a valid CPP name.
230
534
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
538
 
235
539
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
 
540
test -n "$DJDIR" || exec 7<&0 </dev/null
 
541
exec 6>&1
245
542
 
246
543
# Name of the host.
247
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
544
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
248
545
# so uname gets run too.
249
546
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
547
 
251
 
exec 6>&1
252
 
 
253
548
#
254
549
# Initializations.
255
550
#
256
551
ac_default_prefix=/usr/local
 
552
ac_clean_files=
257
553
ac_config_libobj_dir=.
 
554
LIBOBJS=
258
555
cross_compiling=no
259
556
subdirs=
260
557
MFLAGS=
261
558
MAKEFLAGS=
262
 
SHELL=${CONFIG_SHELL-/bin/sh}
263
 
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
559
 
269
560
# Identity of this package.
270
561
PACKAGE_NAME='xfce4-netload-plugin'
271
562
PACKAGE_TARNAME='xfce4-netload-plugin'
272
 
PACKAGE_VERSION='0.4.0'
273
 
PACKAGE_STRING='xfce4-netload-plugin 0.4.0'
 
563
PACKAGE_VERSION='1.0.0'
 
564
PACKAGE_STRING='xfce4-netload-plugin 1.0.0'
274
565
PACKAGE_BUGREPORT='xfce-goodies-dev@lists.berlios.de'
 
566
PACKAGE_URL=''
275
567
 
276
568
# Factoring default headers for most tests.
277
569
ac_includes_default="\
278
570
#include <stdio.h>
279
 
#if HAVE_SYS_TYPES_H
 
571
#ifdef HAVE_SYS_TYPES_H
280
572
# include <sys/types.h>
281
573
#endif
282
 
#if HAVE_SYS_STAT_H
 
574
#ifdef HAVE_SYS_STAT_H
283
575
# include <sys/stat.h>
284
576
#endif
285
 
#if STDC_HEADERS
 
577
#ifdef STDC_HEADERS
286
578
# include <stdlib.h>
287
579
# include <stddef.h>
288
580
#else
289
 
# if HAVE_STDLIB_H
 
581
# ifdef HAVE_STDLIB_H
290
582
#  include <stdlib.h>
291
583
# endif
292
584
#endif
293
 
#if HAVE_STRING_H
294
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
585
#ifdef HAVE_STRING_H
 
586
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
295
587
#  include <memory.h>
296
588
# endif
297
589
# include <string.h>
298
590
#endif
299
 
#if HAVE_STRINGS_H
 
591
#ifdef HAVE_STRINGS_H
300
592
# include <strings.h>
301
593
#endif
302
 
#if HAVE_INTTYPES_H
 
594
#ifdef HAVE_INTTYPES_H
303
595
# include <inttypes.h>
304
 
#else
305
 
# if HAVE_STDINT_H
306
 
#  include <stdint.h>
307
 
# endif
308
 
#endif
309
 
#if HAVE_UNISTD_H
 
596
#endif
 
597
#ifdef HAVE_STDINT_H
 
598
# include <stdint.h>
 
599
#endif
 
600
#ifdef HAVE_UNISTD_H
310
601
# include <unistd.h>
311
602
#endif"
312
603
 
313
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT CPP EGREP OS SOLLIBS PKG_CONFIG LIBXFCE4PANEL_VERSION LIBXFCE4PANEL_CFLAGS LIBXFCE4PANEL_LIBS LIBXFCE4PANEL_REQUIRED_VERSION GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS localedir XGETTEXT_ARGS LIBOBJS LTLIBOBJS'
 
604
ac_subst_vars='am__EXEEXT_FALSE
 
605
am__EXEEXT_TRUE
 
606
LTLIBOBJS
 
607
LIBOBJS
 
608
XGETTEXT_ARGS
 
609
MKINSTALLDIRS
 
610
POSUB
 
611
POFILES
 
612
PO_IN_DATADIR_FALSE
 
613
PO_IN_DATADIR_TRUE
 
614
INTLLIBS
 
615
INSTOBJEXT
 
616
GMOFILES
 
617
CATOBJEXT
 
618
CATALOGS
 
619
MSGFMT_OPTS
 
620
GETTEXT_PACKAGE
 
621
LIBXFCEGUI4_REQUIRED_VERSION
 
622
LIBXFCEGUI4_LIBS
 
623
LIBXFCEGUI4_CFLAGS
 
624
LIBXFCEGUI4_VERSION
 
625
LIBXFCE4PANEL_REQUIRED_VERSION
 
626
LIBXFCE4PANEL_LIBS
 
627
LIBXFCE4PANEL_CFLAGS
 
628
LIBXFCE4PANEL_VERSION
 
629
PKG_CONFIG
 
630
SOLLIBS
 
631
OS
 
632
EGREP
 
633
GREP
 
634
CPP
 
635
DATADIRNAME
 
636
ALL_LINGUAS
 
637
INTLTOOL_PERL
 
638
GMSGFMT
 
639
MSGFMT
 
640
MSGMERGE
 
641
XGETTEXT
 
642
INTLTOOL_POLICY_RULE
 
643
INTLTOOL_SERVICE_RULE
 
644
INTLTOOL_THEME_RULE
 
645
INTLTOOL_SCHEMAS_RULE
 
646
INTLTOOL_CAVES_RULE
 
647
INTLTOOL_XML_NOMERGE_RULE
 
648
INTLTOOL_XML_RULE
 
649
INTLTOOL_KBD_RULE
 
650
INTLTOOL_XAM_RULE
 
651
INTLTOOL_UI_RULE
 
652
INTLTOOL_SOUNDLIST_RULE
 
653
INTLTOOL_SHEET_RULE
 
654
INTLTOOL_SERVER_RULE
 
655
INTLTOOL_PONG_RULE
 
656
INTLTOOL_OAF_RULE
 
657
INTLTOOL_PROP_RULE
 
658
INTLTOOL_KEYS_RULE
 
659
INTLTOOL_DIRECTORY_RULE
 
660
INTLTOOL_DESKTOP_RULE
 
661
INTLTOOL_EXTRACT
 
662
INTLTOOL_MERGE
 
663
INTLTOOL_UPDATE
 
664
USE_NLS
 
665
am__fastdepCC_FALSE
 
666
am__fastdepCC_TRUE
 
667
CCDEPMODE
 
668
AMDEPBACKSLASH
 
669
AMDEP_FALSE
 
670
AMDEP_TRUE
 
671
am__quote
 
672
am__include
 
673
DEPDIR
 
674
OBJEXT
 
675
EXEEXT
 
676
ac_ct_CC
 
677
CPPFLAGS
 
678
LDFLAGS
 
679
CFLAGS
 
680
CC
 
681
MAINT
 
682
MAINTAINER_MODE_FALSE
 
683
MAINTAINER_MODE_TRUE
 
684
am__untar
 
685
am__tar
 
686
AMTAR
 
687
am__leading_dot
 
688
SET_MAKE
 
689
AWK
 
690
mkdir_p
 
691
MKDIR_P
 
692
INSTALL_STRIP_PROGRAM
 
693
STRIP
 
694
install_sh
 
695
MAKEINFO
 
696
AUTOHEADER
 
697
AUTOMAKE
 
698
AUTOCONF
 
699
ACLOCAL
 
700
VERSION
 
701
PACKAGE
 
702
CYGPATH_W
 
703
am__isrc
 
704
INSTALL_DATA
 
705
INSTALL_SCRIPT
 
706
INSTALL_PROGRAM
 
707
target_alias
 
708
host_alias
 
709
build_alias
 
710
LIBS
 
711
ECHO_T
 
712
ECHO_N
 
713
ECHO_C
 
714
DEFS
 
715
mandir
 
716
localedir
 
717
libdir
 
718
psdir
 
719
pdfdir
 
720
dvidir
 
721
htmldir
 
722
infodir
 
723
docdir
 
724
oldincludedir
 
725
includedir
 
726
localstatedir
 
727
sharedstatedir
 
728
sysconfdir
 
729
datadir
 
730
datarootdir
 
731
libexecdir
 
732
sbindir
 
733
bindir
 
734
program_transform_name
 
735
prefix
 
736
exec_prefix
 
737
PACKAGE_URL
 
738
PACKAGE_BUGREPORT
 
739
PACKAGE_STRING
 
740
PACKAGE_VERSION
 
741
PACKAGE_TARNAME
 
742
PACKAGE_NAME
 
743
PATH_SEPARATOR
 
744
SHELL'
314
745
ac_subst_files=''
 
746
ac_user_opts='
 
747
enable_option_checking
 
748
enable_maintainer_mode
 
749
enable_dependency_tracking
 
750
enable_nls
 
751
with_locales_dir
 
752
enable_debug
 
753
'
 
754
      ac_precious_vars='build_alias
 
755
host_alias
 
756
target_alias
 
757
CC
 
758
CFLAGS
 
759
LDFLAGS
 
760
LIBS
 
761
CPPFLAGS
 
762
CPP'
 
763
 
315
764
 
316
765
# Initialize some variables set by options.
317
766
ac_init_help=
318
767
ac_init_version=false
 
768
ac_unrecognized_opts=
 
769
ac_unrecognized_sep=
319
770
# The variables have the same names as the options, with
320
771
# dashes changed to underlines.
321
772
cache_file=/dev/null
338
789
# and all the variables that are supposed to be based on exec_prefix
339
790
# by default will actually change.
340
791
# Use braces instead of parens because sh, perl, etc. also accept them.
 
792
# (The list follows the same order as the GNU Coding Standards.)
341
793
bindir='${exec_prefix}/bin'
342
794
sbindir='${exec_prefix}/sbin'
343
795
libexecdir='${exec_prefix}/libexec'
344
 
datadir='${prefix}/share'
 
796
datarootdir='${prefix}/share'
 
797
datadir='${datarootdir}'
345
798
sysconfdir='${prefix}/etc'
346
799
sharedstatedir='${prefix}/com'
347
800
localstatedir='${prefix}/var'
348
 
libdir='${exec_prefix}/lib'
349
801
includedir='${prefix}/include'
350
802
oldincludedir='/usr/include'
351
 
infodir='${prefix}/info'
352
 
mandir='${prefix}/man'
 
803
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
804
infodir='${datarootdir}/info'
 
805
htmldir='${docdir}'
 
806
dvidir='${docdir}'
 
807
pdfdir='${docdir}'
 
808
psdir='${docdir}'
 
809
libdir='${exec_prefix}/lib'
 
810
localedir='${datarootdir}/locale'
 
811
mandir='${datarootdir}/man'
353
812
 
354
813
ac_prev=
 
814
ac_dashdash=
355
815
for ac_option
356
816
do
357
817
  # If the previous option needs an argument, assign it.
358
818
  if test -n "$ac_prev"; then
359
 
    eval "$ac_prev=\$ac_option"
 
819
    eval $ac_prev=\$ac_option
360
820
    ac_prev=
361
821
    continue
362
822
  fi
363
823
 
364
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
824
  case $ac_option in
 
825
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
826
  *=)   ac_optarg= ;;
 
827
  *)    ac_optarg=yes ;;
 
828
  esac
365
829
 
366
830
  # Accept the important Cygnus configure options, so we can diagnose typos.
367
831
 
368
 
  case $ac_option in
 
832
  case $ac_dashdash$ac_option in
 
833
  --)
 
834
    ac_dashdash=yes ;;
369
835
 
370
836
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
371
837
    ac_prev=bindir ;;
387
853
  --config-cache | -C)
388
854
    cache_file=config.cache ;;
389
855
 
390
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
856
  -datadir | --datadir | --datadi | --datad)
391
857
    ac_prev=datadir ;;
392
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393
 
  | --da=*)
 
858
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
394
859
    datadir=$ac_optarg ;;
395
860
 
 
861
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
862
  | --dataroo | --dataro | --datar)
 
863
    ac_prev=datarootdir ;;
 
864
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
865
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
866
    datarootdir=$ac_optarg ;;
 
867
 
396
868
  -disable-* | --disable-*)
397
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
869
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
870
    # Reject names that are not valid shell variable names.
399
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
 
   { (exit 1); exit 1; }; }
402
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
 
    eval "enable_$ac_feature=no" ;;
 
871
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
872
      as_fn_error $? "invalid feature name: $ac_useropt"
 
873
    ac_useropt_orig=$ac_useropt
 
874
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
875
    case $ac_user_opts in
 
876
      *"
 
877
"enable_$ac_useropt"
 
878
"*) ;;
 
879
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
880
         ac_unrecognized_sep=', ';;
 
881
    esac
 
882
    eval enable_$ac_useropt=no ;;
 
883
 
 
884
  -docdir | --docdir | --docdi | --doc | --do)
 
885
    ac_prev=docdir ;;
 
886
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
887
    docdir=$ac_optarg ;;
 
888
 
 
889
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
890
    ac_prev=dvidir ;;
 
891
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
892
    dvidir=$ac_optarg ;;
404
893
 
405
894
  -enable-* | --enable-*)
406
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
895
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
896
    # Reject names that are not valid shell variable names.
408
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
 
   { (exit 1); exit 1; }; }
411
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412
 
    case $ac_option in
413
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414
 
      *) ac_optarg=yes ;;
 
897
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
898
      as_fn_error $? "invalid feature name: $ac_useropt"
 
899
    ac_useropt_orig=$ac_useropt
 
900
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
901
    case $ac_user_opts in
 
902
      *"
 
903
"enable_$ac_useropt"
 
904
"*) ;;
 
905
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
906
         ac_unrecognized_sep=', ';;
415
907
    esac
416
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
908
    eval enable_$ac_useropt=\$ac_optarg ;;
417
909
 
418
910
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
911
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
440
932
  -host=* | --host=* | --hos=* | --ho=*)
441
933
    host_alias=$ac_optarg ;;
442
934
 
 
935
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
936
    ac_prev=htmldir ;;
 
937
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
938
  | --ht=*)
 
939
    htmldir=$ac_optarg ;;
 
940
 
443
941
  -includedir | --includedir | --includedi | --included | --include \
444
942
  | --includ | --inclu | --incl | --inc)
445
943
    ac_prev=includedir ;;
464
962
  | --libexe=* | --libex=* | --libe=*)
465
963
    libexecdir=$ac_optarg ;;
466
964
 
 
965
  -localedir | --localedir | --localedi | --localed | --locale)
 
966
    ac_prev=localedir ;;
 
967
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
968
    localedir=$ac_optarg ;;
 
969
 
467
970
  -localstatedir | --localstatedir | --localstatedi | --localstated \
468
 
  | --localstate | --localstat | --localsta | --localst \
469
 
  | --locals | --local | --loca | --loc | --lo)
 
971
  | --localstate | --localstat | --localsta | --localst | --locals)
470
972
    ac_prev=localstatedir ;;
471
973
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
974
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
474
975
    localstatedir=$ac_optarg ;;
475
976
 
476
977
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
535
1036
  | --progr-tra=* | --program-tr=* | --program-t=*)
536
1037
    program_transform_name=$ac_optarg ;;
537
1038
 
 
1039
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1040
    ac_prev=pdfdir ;;
 
1041
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1042
    pdfdir=$ac_optarg ;;
 
1043
 
 
1044
  -psdir | --psdir | --psdi | --psd | --ps)
 
1045
    ac_prev=psdir ;;
 
1046
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1047
    psdir=$ac_optarg ;;
 
1048
 
538
1049
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
1050
  | -silent | --silent | --silen | --sile | --sil)
540
1051
    silent=yes ;;
585
1096
    ac_init_version=: ;;
586
1097
 
587
1098
  -with-* | --with-*)
588
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1099
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
1100
    # Reject names that are not valid shell variable names.
590
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
592
 
   { (exit 1); exit 1; }; }
593
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
594
 
    case $ac_option in
595
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596
 
      *) ac_optarg=yes ;;
 
1101
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1102
      as_fn_error $? "invalid package name: $ac_useropt"
 
1103
    ac_useropt_orig=$ac_useropt
 
1104
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1105
    case $ac_user_opts in
 
1106
      *"
 
1107
"with_$ac_useropt"
 
1108
"*) ;;
 
1109
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1110
         ac_unrecognized_sep=', ';;
597
1111
    esac
598
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1112
    eval with_$ac_useropt=\$ac_optarg ;;
599
1113
 
600
1114
  -without-* | --without-*)
601
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1115
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
1116
    # Reject names that are not valid shell variable names.
603
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
605
 
   { (exit 1); exit 1; }; }
606
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
607
 
    eval "with_$ac_package=no" ;;
 
1117
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1118
      as_fn_error $? "invalid package name: $ac_useropt"
 
1119
    ac_useropt_orig=$ac_useropt
 
1120
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1121
    case $ac_user_opts in
 
1122
      *"
 
1123
"with_$ac_useropt"
 
1124
"*) ;;
 
1125
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1126
         ac_unrecognized_sep=', ';;
 
1127
    esac
 
1128
    eval with_$ac_useropt=no ;;
608
1129
 
609
1130
  --x)
610
1131
    # Obsolete; use --with-x.
624
1145
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
1146
    x_libraries=$ac_optarg ;;
626
1147
 
627
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
628
 
Try \`$0 --help' for more information." >&2
629
 
   { (exit 1); exit 1; }; }
 
1148
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1149
Try \`$0 --help' for more information"
630
1150
    ;;
631
1151
 
632
1152
  *=*)
633
1153
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
1154
    # Reject names that are not valid shell variable names.
635
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
 
   { (exit 1); exit 1; }; }
638
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
 
    eval "$ac_envvar='$ac_optarg'"
 
1155
    case $ac_envvar in #(
 
1156
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1157
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1158
    esac
 
1159
    eval $ac_envvar=\$ac_optarg
640
1160
    export $ac_envvar ;;
641
1161
 
642
1162
  *)
643
1163
    # FIXME: should be removed in autoconf 3.0.
644
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1164
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
1165
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1166
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1167
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
648
1168
    ;;
649
1169
 
650
1170
  esac
652
1172
 
653
1173
if test -n "$ac_prev"; then
654
1174
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
656
 
   { (exit 1); exit 1; }; }
657
 
fi
658
 
 
659
 
# Be sure to have absolute paths.
660
 
for ac_var in exec_prefix prefix
661
 
do
662
 
  eval ac_val=$`echo $ac_var`
663
 
  case $ac_val in
664
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
 
   { (exit 1); exit 1; }; };;
667
 
  esac
668
 
done
669
 
 
670
 
# Be sure to have absolute paths.
671
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
 
              localstatedir libdir includedir oldincludedir infodir mandir
673
 
do
674
 
  eval ac_val=$`echo $ac_var`
675
 
  case $ac_val in
676
 
    [\\/$]* | ?:[\\/]* ) ;;
677
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
 
   { (exit 1); exit 1; }; };;
679
 
  esac
 
1175
  as_fn_error $? "missing argument to $ac_option"
 
1176
fi
 
1177
 
 
1178
if test -n "$ac_unrecognized_opts"; then
 
1179
  case $enable_option_checking in
 
1180
    no) ;;
 
1181
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1182
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1183
  esac
 
1184
fi
 
1185
 
 
1186
# Check all directory arguments for consistency.
 
1187
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1188
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1189
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1190
                libdir localedir mandir
 
1191
do
 
1192
  eval ac_val=\$$ac_var
 
1193
  # Remove trailing slashes.
 
1194
  case $ac_val in
 
1195
    */ )
 
1196
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1197
      eval $ac_var=\$ac_val;;
 
1198
  esac
 
1199
  # Be sure to have absolute directory names.
 
1200
  case $ac_val in
 
1201
    [\\/$]* | ?:[\\/]* )  continue;;
 
1202
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1203
  esac
 
1204
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
680
1205
done
681
1206
 
682
1207
# There might be people who depend on the old broken behavior: `$host'
690
1215
if test "x$host_alias" != x; then
691
1216
  if test "x$build_alias" = x; then
692
1217
    cross_compiling=maybe
693
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1218
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1219
    If a cross compiler is detected then cross compile mode will be used" >&2
695
1220
  elif test "x$build_alias" != "x$host_alias"; then
696
1221
    cross_compiling=yes
697
1222
  fi
703
1228
test "$silent" = yes && exec 6>/dev/null
704
1229
 
705
1230
 
 
1231
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1232
ac_ls_di=`ls -di .` &&
 
1233
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1234
  as_fn_error $? "working directory cannot be determined"
 
1235
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1236
  as_fn_error $? "pwd does not report name of working directory"
 
1237
 
 
1238
 
706
1239
# Find the source files, if location was not specified.
707
1240
if test -z "$srcdir"; then
708
1241
  ac_srcdir_defaulted=yes
709
 
  # Try the directory containing this script, then its parent.
710
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
711
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
 
         X"$0" : 'X\(//\)[^/]' \| \
713
 
         X"$0" : 'X\(//\)$' \| \
714
 
         X"$0" : 'X\(/\)' \| \
715
 
         .     : '\(.\)' 2>/dev/null ||
716
 
echo X"$0" |
717
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
 
          /^X\(\/\/\)$/{ s//\1/; q; }
720
 
          /^X\(\/\).*/{ s//\1/; q; }
721
 
          s/.*/./; q'`
 
1242
  # Try the directory containing this script, then the parent directory.
 
1243
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1244
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1245
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1246
         X"$as_myself" : 'X\(//\)$' \| \
 
1247
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1248
$as_echo X"$as_myself" |
 
1249
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1250
            s//\1/
 
1251
            q
 
1252
          }
 
1253
          /^X\(\/\/\)[^/].*/{
 
1254
            s//\1/
 
1255
            q
 
1256
          }
 
1257
          /^X\(\/\/\)$/{
 
1258
            s//\1/
 
1259
            q
 
1260
          }
 
1261
          /^X\(\/\).*/{
 
1262
            s//\1/
 
1263
            q
 
1264
          }
 
1265
          s/.*/./; q'`
722
1266
  srcdir=$ac_confdir
723
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1267
  if test ! -r "$srcdir/$ac_unique_file"; then
724
1268
    srcdir=..
725
1269
  fi
726
1270
else
727
1271
  ac_srcdir_defaulted=no
728
1272
fi
729
 
if test ! -r $srcdir/$ac_unique_file; then
730
 
  if test "$ac_srcdir_defaulted" = yes; then
731
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
 
   { (exit 1); exit 1; }; }
733
 
  else
734
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
 
   { (exit 1); exit 1; }; }
736
 
  fi
737
 
fi
738
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
 
   { (exit 1); exit 1; }; }
741
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
 
ac_env_build_alias_set=${build_alias+set}
743
 
ac_env_build_alias_value=$build_alias
744
 
ac_cv_env_build_alias_set=${build_alias+set}
745
 
ac_cv_env_build_alias_value=$build_alias
746
 
ac_env_host_alias_set=${host_alias+set}
747
 
ac_env_host_alias_value=$host_alias
748
 
ac_cv_env_host_alias_set=${host_alias+set}
749
 
ac_cv_env_host_alias_value=$host_alias
750
 
ac_env_target_alias_set=${target_alias+set}
751
 
ac_env_target_alias_value=$target_alias
752
 
ac_cv_env_target_alias_set=${target_alias+set}
753
 
ac_cv_env_target_alias_value=$target_alias
754
 
ac_env_CC_set=${CC+set}
755
 
ac_env_CC_value=$CC
756
 
ac_cv_env_CC_set=${CC+set}
757
 
ac_cv_env_CC_value=$CC
758
 
ac_env_CFLAGS_set=${CFLAGS+set}
759
 
ac_env_CFLAGS_value=$CFLAGS
760
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
761
 
ac_cv_env_CFLAGS_value=$CFLAGS
762
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
 
ac_env_LDFLAGS_value=$LDFLAGS
764
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
 
ac_env_CPPFLAGS_value=$CPPFLAGS
768
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
 
ac_env_CPP_set=${CPP+set}
771
 
ac_env_CPP_value=$CPP
772
 
ac_cv_env_CPP_set=${CPP+set}
773
 
ac_cv_env_CPP_value=$CPP
 
1273
if test ! -r "$srcdir/$ac_unique_file"; then
 
1274
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1275
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1276
fi
 
1277
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1278
ac_abs_confdir=`(
 
1279
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1280
        pwd)`
 
1281
# When building in place, set srcdir=.
 
1282
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1283
  srcdir=.
 
1284
fi
 
1285
# Remove unnecessary trailing slashes from srcdir.
 
1286
# Double slashes in file names in object file debugging info
 
1287
# mess up M-x gdb in Emacs.
 
1288
case $srcdir in
 
1289
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1290
esac
 
1291
for ac_var in $ac_precious_vars; do
 
1292
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1293
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1294
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1295
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1296
done
774
1297
 
775
1298
#
776
1299
# Report the --help message.
779
1302
  # Omit some internal or obsolete options to make the list less imposing.
780
1303
  # This message is too long to be a string in the A/UX 3.1 sh.
781
1304
  cat <<_ACEOF
782
 
\`configure' configures xfce4-netload-plugin 0.4.0 to adapt to many kinds of systems.
 
1305
\`configure' configures xfce4-netload-plugin 1.0.0 to adapt to many kinds of systems.
783
1306
 
784
1307
Usage: $0 [OPTION]... [VAR=VALUE]...
785
1308
 
793
1316
      --help=short        display options specific to this package
794
1317
      --help=recursive    display the short help of all the included packages
795
1318
  -V, --version           display version information and exit
796
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1319
  -q, --quiet, --silent   do not print \`checking ...' messages
797
1320
      --cache-file=FILE   cache test results in FILE [disabled]
798
1321
  -C, --config-cache      alias for \`--cache-file=config.cache'
799
1322
  -n, --no-create         do not create output files
800
1323
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
801
1324
 
802
 
_ACEOF
803
 
 
804
 
  cat <<_ACEOF
805
1325
Installation directories:
806
1326
  --prefix=PREFIX         install architecture-independent files in PREFIX
807
 
                          [$ac_default_prefix]
 
1327
                          [$ac_default_prefix]
808
1328
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
809
 
                          [PREFIX]
 
1329
                          [PREFIX]
810
1330
 
811
1331
By default, \`make install' will install all the files in
812
1332
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
816
1336
For better control, use the options below.
817
1337
 
818
1338
Fine tuning of the installation directories:
819
 
  --bindir=DIR           user executables [EPREFIX/bin]
820
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
821
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
822
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
823
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
824
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
825
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
826
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
827
 
  --includedir=DIR       C header files [PREFIX/include]
828
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
829
 
  --infodir=DIR          info documentation [PREFIX/info]
830
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1339
  --bindir=DIR            user executables [EPREFIX/bin]
 
1340
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1341
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1342
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1343
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1344
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1345
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1346
  --includedir=DIR        C header files [PREFIX/include]
 
1347
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1348
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1349
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1350
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1351
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1352
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1353
  --docdir=DIR            documentation root
 
1354
                          [DATAROOTDIR/doc/xfce4-netload-plugin]
 
1355
  --htmldir=DIR           html documentation [DOCDIR]
 
1356
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1357
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1358
  --psdir=DIR             ps documentation [DOCDIR]
831
1359
_ACEOF
832
1360
 
833
1361
  cat <<\_ACEOF
841
1369
 
842
1370
if test -n "$ac_init_help"; then
843
1371
  case $ac_init_help in
844
 
     short | recursive ) echo "Configuration of xfce4-netload-plugin 0.4.0:";;
 
1372
     short | recursive ) echo "Configuration of xfce4-netload-plugin 1.0.0:";;
845
1373
   esac
846
1374
  cat <<\_ACEOF
847
1375
 
848
1376
Optional Features:
 
1377
  --disable-option-checking  ignore unrecognized --enable/--with options
849
1378
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
850
1379
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
851
1380
  --enable-maintainer-mode  enable make rules and dependencies not useful
852
1381
                          (and sometimes confusing) to the casual installer
853
1382
  --disable-dependency-tracking  speeds up one-time build
854
1383
  --enable-dependency-tracking   do not reject slow dependency extractors
855
 
  --enable-debug=yes|no|full
856
 
                          Build with debugging support
857
 
  --disable-debug         Include no debugging support default
 
1384
  --disable-nls           do not use Native Language Support
 
1385
  --enable-debug[=no|minimum|yes|full]
 
1386
                          Build with debugging support [default=[]]
 
1387
  --disable-debug         Include no debugging support
858
1388
 
859
1389
Optional Packages:
860
1390
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
868
1398
  CFLAGS      C compiler flags
869
1399
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
870
1400
              nonstandard directory <lib dir>
871
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
872
 
              headers in a nonstandard directory <include dir>
 
1401
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1402
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1403
              you have headers in a nonstandard directory <include dir>
873
1404
  CPP         C preprocessor
874
1405
 
875
1406
Use these variables to override the choices made by `configure' or to help
877
1408
 
878
1409
Report bugs to <xfce-goodies-dev@lists.berlios.de>.
879
1410
_ACEOF
 
1411
ac_status=$?
880
1412
fi
881
1413
 
882
1414
if test "$ac_init_help" = "recursive"; then
883
1415
  # If there are subdirs, report their specific --help.
884
 
  ac_popdir=`pwd`
885
1416
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886
 
    test -d $ac_dir || continue
 
1417
    test -d "$ac_dir" ||
 
1418
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1419
      continue
887
1420
    ac_builddir=.
888
1421
 
889
 
if test "$ac_dir" != .; then
890
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891
 
  # A "../" for each directory in $ac_dir_suffix.
892
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893
 
else
894
 
  ac_dir_suffix= ac_top_builddir=
895
 
fi
 
1422
case "$ac_dir" in
 
1423
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1424
*)
 
1425
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1426
  # A ".." for each directory in $ac_dir_suffix.
 
1427
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1428
  case $ac_top_builddir_sub in
 
1429
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1430
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1431
  esac ;;
 
1432
esac
 
1433
ac_abs_top_builddir=$ac_pwd
 
1434
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1435
# for backward compatibility:
 
1436
ac_top_builddir=$ac_top_build_prefix
896
1437
 
897
1438
case $srcdir in
898
 
  .)  # No --srcdir option.  We are building in place.
 
1439
  .)  # We are building in place.
899
1440
    ac_srcdir=.
900
 
    if test -z "$ac_top_builddir"; then
901
 
       ac_top_srcdir=.
902
 
    else
903
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904
 
    fi ;;
905
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1441
    ac_top_srcdir=$ac_top_builddir_sub
 
1442
    ac_abs_top_srcdir=$ac_pwd ;;
 
1443
  [\\/]* | ?:[\\/]* )  # Absolute name.
906
1444
    ac_srcdir=$srcdir$ac_dir_suffix;
907
 
    ac_top_srcdir=$srcdir ;;
908
 
  *) # Relative path.
909
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
911
 
esac
912
 
 
913
 
# Do not use `cd foo && pwd` to compute absolute paths, because
914
 
# the directories may not exist.
915
 
case `pwd` in
916
 
.) ac_abs_builddir="$ac_dir";;
917
 
*)
918
 
  case "$ac_dir" in
919
 
  .) ac_abs_builddir=`pwd`;;
920
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
922
 
  esac;;
923
 
esac
924
 
case $ac_abs_builddir in
925
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
926
 
*)
927
 
  case ${ac_top_builddir}. in
928
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
929
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
931
 
  esac;;
932
 
esac
933
 
case $ac_abs_builddir in
934
 
.) ac_abs_srcdir=$ac_srcdir;;
935
 
*)
936
 
  case $ac_srcdir in
937
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
938
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
940
 
  esac;;
941
 
esac
942
 
case $ac_abs_builddir in
943
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
944
 
*)
945
 
  case $ac_top_srcdir in
946
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
947
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
949
 
  esac;;
950
 
esac
951
 
 
952
 
    cd $ac_dir
953
 
    # Check for guested configure; otherwise get Cygnus style configure.
954
 
    if test -f $ac_srcdir/configure.gnu; then
955
 
      echo
956
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
957
 
    elif test -f $ac_srcdir/configure; then
958
 
      echo
959
 
      $SHELL $ac_srcdir/configure  --help=recursive
960
 
    elif test -f $ac_srcdir/configure.ac ||
961
 
           test -f $ac_srcdir/configure.in; then
962
 
      echo
963
 
      $ac_configure --help
 
1445
    ac_top_srcdir=$srcdir
 
1446
    ac_abs_top_srcdir=$srcdir ;;
 
1447
  *) # Relative name.
 
1448
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1449
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1450
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1451
esac
 
1452
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1453
 
 
1454
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1455
    # Check for guested configure.
 
1456
    if test -f "$ac_srcdir/configure.gnu"; then
 
1457
      echo &&
 
1458
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1459
    elif test -f "$ac_srcdir/configure"; then
 
1460
      echo &&
 
1461
      $SHELL "$ac_srcdir/configure" --help=recursive
964
1462
    else
965
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966
 
    fi
967
 
    cd $ac_popdir
 
1463
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1464
    fi || ac_status=$?
 
1465
    cd "$ac_pwd" || { ac_status=$?; break; }
968
1466
  done
969
1467
fi
970
1468
 
971
 
test -n "$ac_init_help" && exit 0
 
1469
test -n "$ac_init_help" && exit $ac_status
972
1470
if $ac_init_version; then
973
1471
  cat <<\_ACEOF
974
 
xfce4-netload-plugin configure 0.4.0
975
 
generated by GNU Autoconf 2.59
 
1472
xfce4-netload-plugin configure 1.0.0
 
1473
generated by GNU Autoconf 2.68
976
1474
 
977
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1475
Copyright (C) 2010 Free Software Foundation, Inc.
978
1476
This configure script is free software; the Free Software Foundation
979
1477
gives unlimited permission to copy, distribute and modify it.
980
1478
_ACEOF
981
 
  exit 0
982
 
fi
983
 
exec 5>config.log
984
 
cat >&5 <<_ACEOF
 
1479
  exit
 
1480
fi
 
1481
 
 
1482
## ------------------------ ##
 
1483
## Autoconf initialization. ##
 
1484
## ------------------------ ##
 
1485
 
 
1486
# ac_fn_c_try_compile LINENO
 
1487
# --------------------------
 
1488
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1489
ac_fn_c_try_compile ()
 
1490
{
 
1491
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1492
  rm -f conftest.$ac_objext
 
1493
  if { { ac_try="$ac_compile"
 
1494
case "(($ac_try" in
 
1495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1496
  *) ac_try_echo=$ac_try;;
 
1497
esac
 
1498
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1499
$as_echo "$ac_try_echo"; } >&5
 
1500
  (eval "$ac_compile") 2>conftest.err
 
1501
  ac_status=$?
 
1502
  if test -s conftest.err; then
 
1503
    grep -v '^ *+' conftest.err >conftest.er1
 
1504
    cat conftest.er1 >&5
 
1505
    mv -f conftest.er1 conftest.err
 
1506
  fi
 
1507
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1508
  test $ac_status = 0; } && {
 
1509
         test -z "$ac_c_werror_flag" ||
 
1510
         test ! -s conftest.err
 
1511
       } && test -s conftest.$ac_objext; then :
 
1512
  ac_retval=0
 
1513
else
 
1514
  $as_echo "$as_me: failed program was:" >&5
 
1515
sed 's/^/| /' conftest.$ac_ext >&5
 
1516
 
 
1517
        ac_retval=1
 
1518
fi
 
1519
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1520
  as_fn_set_status $ac_retval
 
1521
 
 
1522
} # ac_fn_c_try_compile
 
1523
 
 
1524
# ac_fn_c_try_link LINENO
 
1525
# -----------------------
 
1526
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1527
ac_fn_c_try_link ()
 
1528
{
 
1529
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1530
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1531
  if { { ac_try="$ac_link"
 
1532
case "(($ac_try" in
 
1533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1534
  *) ac_try_echo=$ac_try;;
 
1535
esac
 
1536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1537
$as_echo "$ac_try_echo"; } >&5
 
1538
  (eval "$ac_link") 2>conftest.err
 
1539
  ac_status=$?
 
1540
  if test -s conftest.err; then
 
1541
    grep -v '^ *+' conftest.err >conftest.er1
 
1542
    cat conftest.er1 >&5
 
1543
    mv -f conftest.er1 conftest.err
 
1544
  fi
 
1545
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1546
  test $ac_status = 0; } && {
 
1547
         test -z "$ac_c_werror_flag" ||
 
1548
         test ! -s conftest.err
 
1549
       } && test -s conftest$ac_exeext && {
 
1550
         test "$cross_compiling" = yes ||
 
1551
         $as_test_x conftest$ac_exeext
 
1552
       }; then :
 
1553
  ac_retval=0
 
1554
else
 
1555
  $as_echo "$as_me: failed program was:" >&5
 
1556
sed 's/^/| /' conftest.$ac_ext >&5
 
1557
 
 
1558
        ac_retval=1
 
1559
fi
 
1560
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1561
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1562
  # interfere with the next link command; also delete a directory that is
 
1563
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1564
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1565
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1566
  as_fn_set_status $ac_retval
 
1567
 
 
1568
} # ac_fn_c_try_link
 
1569
 
 
1570
# ac_fn_c_check_func LINENO FUNC VAR
 
1571
# ----------------------------------
 
1572
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1573
ac_fn_c_check_func ()
 
1574
{
 
1575
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1576
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1577
$as_echo_n "checking for $2... " >&6; }
 
1578
if eval \${$3+:} false; then :
 
1579
  $as_echo_n "(cached) " >&6
 
1580
else
 
1581
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1582
/* end confdefs.h.  */
 
1583
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1584
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1585
#define $2 innocuous_$2
 
1586
 
 
1587
/* System header to define __stub macros and hopefully few prototypes,
 
1588
    which can conflict with char $2 (); below.
 
1589
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1590
    <limits.h> exists even on freestanding compilers.  */
 
1591
 
 
1592
#ifdef __STDC__
 
1593
# include <limits.h>
 
1594
#else
 
1595
# include <assert.h>
 
1596
#endif
 
1597
 
 
1598
#undef $2
 
1599
 
 
1600
/* Override any GCC internal prototype to avoid an error.
 
1601
   Use char because int might match the return type of a GCC
 
1602
   builtin and then its argument prototype would still apply.  */
 
1603
#ifdef __cplusplus
 
1604
extern "C"
 
1605
#endif
 
1606
char $2 ();
 
1607
/* The GNU C library defines this for functions which it implements
 
1608
    to always fail with ENOSYS.  Some functions are actually named
 
1609
    something starting with __ and the normal name is an alias.  */
 
1610
#if defined __stub_$2 || defined __stub___$2
 
1611
choke me
 
1612
#endif
 
1613
 
 
1614
int
 
1615
main ()
 
1616
{
 
1617
return $2 ();
 
1618
  ;
 
1619
  return 0;
 
1620
}
 
1621
_ACEOF
 
1622
if ac_fn_c_try_link "$LINENO"; then :
 
1623
  eval "$3=yes"
 
1624
else
 
1625
  eval "$3=no"
 
1626
fi
 
1627
rm -f core conftest.err conftest.$ac_objext \
 
1628
    conftest$ac_exeext conftest.$ac_ext
 
1629
fi
 
1630
eval ac_res=\$$3
 
1631
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1632
$as_echo "$ac_res" >&6; }
 
1633
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1634
 
 
1635
} # ac_fn_c_check_func
 
1636
 
 
1637
# ac_fn_c_try_cpp LINENO
 
1638
# ----------------------
 
1639
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1640
ac_fn_c_try_cpp ()
 
1641
{
 
1642
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1643
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1644
case "(($ac_try" in
 
1645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1646
  *) ac_try_echo=$ac_try;;
 
1647
esac
 
1648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1649
$as_echo "$ac_try_echo"; } >&5
 
1650
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1651
  ac_status=$?
 
1652
  if test -s conftest.err; then
 
1653
    grep -v '^ *+' conftest.err >conftest.er1
 
1654
    cat conftest.er1 >&5
 
1655
    mv -f conftest.er1 conftest.err
 
1656
  fi
 
1657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1658
  test $ac_status = 0; } > conftest.i && {
 
1659
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1660
         test ! -s conftest.err
 
1661
       }; then :
 
1662
  ac_retval=0
 
1663
else
 
1664
  $as_echo "$as_me: failed program was:" >&5
 
1665
sed 's/^/| /' conftest.$ac_ext >&5
 
1666
 
 
1667
    ac_retval=1
 
1668
fi
 
1669
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1670
  as_fn_set_status $ac_retval
 
1671
 
 
1672
} # ac_fn_c_try_cpp
 
1673
 
 
1674
# ac_fn_c_try_run LINENO
 
1675
# ----------------------
 
1676
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1677
# that executables *can* be run.
 
1678
ac_fn_c_try_run ()
 
1679
{
 
1680
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1681
  if { { ac_try="$ac_link"
 
1682
case "(($ac_try" in
 
1683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1684
  *) ac_try_echo=$ac_try;;
 
1685
esac
 
1686
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1687
$as_echo "$ac_try_echo"; } >&5
 
1688
  (eval "$ac_link") 2>&5
 
1689
  ac_status=$?
 
1690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1691
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1692
  { { case "(($ac_try" in
 
1693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1694
  *) ac_try_echo=$ac_try;;
 
1695
esac
 
1696
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1697
$as_echo "$ac_try_echo"; } >&5
 
1698
  (eval "$ac_try") 2>&5
 
1699
  ac_status=$?
 
1700
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1701
  test $ac_status = 0; }; }; then :
 
1702
  ac_retval=0
 
1703
else
 
1704
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1705
       $as_echo "$as_me: failed program was:" >&5
 
1706
sed 's/^/| /' conftest.$ac_ext >&5
 
1707
 
 
1708
       ac_retval=$ac_status
 
1709
fi
 
1710
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1711
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1712
  as_fn_set_status $ac_retval
 
1713
 
 
1714
} # ac_fn_c_try_run
 
1715
 
 
1716
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1717
# -------------------------------------------------------
 
1718
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1719
# the include files in INCLUDES and setting the cache variable VAR
 
1720
# accordingly.
 
1721
ac_fn_c_check_header_mongrel ()
 
1722
{
 
1723
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1724
  if eval \${$3+:} false; then :
 
1725
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1726
$as_echo_n "checking for $2... " >&6; }
 
1727
if eval \${$3+:} false; then :
 
1728
  $as_echo_n "(cached) " >&6
 
1729
fi
 
1730
eval ac_res=\$$3
 
1731
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1732
$as_echo "$ac_res" >&6; }
 
1733
else
 
1734
  # Is the header compilable?
 
1735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1736
$as_echo_n "checking $2 usability... " >&6; }
 
1737
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1738
/* end confdefs.h.  */
 
1739
$4
 
1740
#include <$2>
 
1741
_ACEOF
 
1742
if ac_fn_c_try_compile "$LINENO"; then :
 
1743
  ac_header_compiler=yes
 
1744
else
 
1745
  ac_header_compiler=no
 
1746
fi
 
1747
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1749
$as_echo "$ac_header_compiler" >&6; }
 
1750
 
 
1751
# Is the header present?
 
1752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1753
$as_echo_n "checking $2 presence... " >&6; }
 
1754
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1755
/* end confdefs.h.  */
 
1756
#include <$2>
 
1757
_ACEOF
 
1758
if ac_fn_c_try_cpp "$LINENO"; then :
 
1759
  ac_header_preproc=yes
 
1760
else
 
1761
  ac_header_preproc=no
 
1762
fi
 
1763
rm -f conftest.err conftest.i conftest.$ac_ext
 
1764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1765
$as_echo "$ac_header_preproc" >&6; }
 
1766
 
 
1767
# So?  What about this header?
 
1768
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1769
  yes:no: )
 
1770
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1771
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1772
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1773
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1774
    ;;
 
1775
  no:yes:* )
 
1776
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1777
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1778
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1779
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1780
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1781
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1782
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1783
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1784
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1785
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1786
( $as_echo "## ------------------------------------------------ ##
 
1787
## Report this to xfce-goodies-dev@lists.berlios.de ##
 
1788
## ------------------------------------------------ ##"
 
1789
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1790
    ;;
 
1791
esac
 
1792
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1793
$as_echo_n "checking for $2... " >&6; }
 
1794
if eval \${$3+:} false; then :
 
1795
  $as_echo_n "(cached) " >&6
 
1796
else
 
1797
  eval "$3=\$ac_header_compiler"
 
1798
fi
 
1799
eval ac_res=\$$3
 
1800
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1801
$as_echo "$ac_res" >&6; }
 
1802
fi
 
1803
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1804
 
 
1805
} # ac_fn_c_check_header_mongrel
 
1806
 
 
1807
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1808
# -------------------------------------------------------
 
1809
# Tests whether HEADER exists and can be compiled using the include files in
 
1810
# INCLUDES, setting the cache variable VAR accordingly.
 
1811
ac_fn_c_check_header_compile ()
 
1812
{
 
1813
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1814
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1815
$as_echo_n "checking for $2... " >&6; }
 
1816
if eval \${$3+:} false; then :
 
1817
  $as_echo_n "(cached) " >&6
 
1818
else
 
1819
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1820
/* end confdefs.h.  */
 
1821
$4
 
1822
#include <$2>
 
1823
_ACEOF
 
1824
if ac_fn_c_try_compile "$LINENO"; then :
 
1825
  eval "$3=yes"
 
1826
else
 
1827
  eval "$3=no"
 
1828
fi
 
1829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1830
fi
 
1831
eval ac_res=\$$3
 
1832
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1833
$as_echo "$ac_res" >&6; }
 
1834
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1835
 
 
1836
} # ac_fn_c_check_header_compile
 
1837
 
 
1838
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
1839
# -------------------------------------------
 
1840
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
1841
# variable VAR accordingly.
 
1842
ac_fn_c_check_type ()
 
1843
{
 
1844
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1846
$as_echo_n "checking for $2... " >&6; }
 
1847
if eval \${$3+:} false; then :
 
1848
  $as_echo_n "(cached) " >&6
 
1849
else
 
1850
  eval "$3=no"
 
1851
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1852
/* end confdefs.h.  */
 
1853
$4
 
1854
int
 
1855
main ()
 
1856
{
 
1857
if (sizeof ($2))
 
1858
         return 0;
 
1859
  ;
 
1860
  return 0;
 
1861
}
 
1862
_ACEOF
 
1863
if ac_fn_c_try_compile "$LINENO"; then :
 
1864
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1865
/* end confdefs.h.  */
 
1866
$4
 
1867
int
 
1868
main ()
 
1869
{
 
1870
if (sizeof (($2)))
 
1871
            return 0;
 
1872
  ;
 
1873
  return 0;
 
1874
}
 
1875
_ACEOF
 
1876
if ac_fn_c_try_compile "$LINENO"; then :
 
1877
 
 
1878
else
 
1879
  eval "$3=yes"
 
1880
fi
 
1881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1882
fi
 
1883
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1884
fi
 
1885
eval ac_res=\$$3
 
1886
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1887
$as_echo "$ac_res" >&6; }
 
1888
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1889
 
 
1890
} # ac_fn_c_check_type
 
1891
cat >config.log <<_ACEOF
985
1892
This file contains any messages produced by compilers while
986
1893
running configure, to aid debugging if configure makes a mistake.
987
1894
 
988
 
It was created by xfce4-netload-plugin $as_me 0.4.0, which was
989
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1895
It was created by xfce4-netload-plugin $as_me 1.0.0, which was
 
1896
generated by GNU Autoconf 2.68.  Invocation command line was
990
1897
 
991
1898
  $ $0 $@
992
1899
 
993
1900
_ACEOF
 
1901
exec 5>>config.log
994
1902
{
995
1903
cat <<_ASUNAME
996
1904
## --------- ##
1009
1917
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1010
1918
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1011
1919
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1012
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1920
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1013
1921
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1014
1922
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1015
1923
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1021
1929
do
1022
1930
  IFS=$as_save_IFS
1023
1931
  test -z "$as_dir" && as_dir=.
1024
 
  echo "PATH: $as_dir"
1025
 
done
 
1932
    $as_echo "PATH: $as_dir"
 
1933
  done
 
1934
IFS=$as_save_IFS
1026
1935
 
1027
1936
} >&5
1028
1937
 
1044
1953
ac_configure_args=
1045
1954
ac_configure_args0=
1046
1955
ac_configure_args1=
1047
 
ac_sep=
1048
1956
ac_must_keep_next=false
1049
1957
for ac_pass in 1 2
1050
1958
do
1055
1963
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056
1964
    | -silent | --silent | --silen | --sile | --sil)
1057
1965
      continue ;;
1058
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1966
    *\'*)
 
1967
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1060
1968
    esac
1061
1969
    case $ac_pass in
1062
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1970
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1063
1971
    2)
1064
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1972
      as_fn_append ac_configure_args1 " '$ac_arg'"
1065
1973
      if test $ac_must_keep_next = true; then
1066
1974
        ac_must_keep_next=false # Got value, back to normal.
1067
1975
      else
1077
1985
          -* ) ac_must_keep_next=true ;;
1078
1986
        esac
1079
1987
      fi
1080
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081
 
      # Get rid of the leading space.
1082
 
      ac_sep=" "
 
1988
      as_fn_append ac_configure_args " '$ac_arg'"
1083
1989
      ;;
1084
1990
    esac
1085
1991
  done
1086
1992
done
1087
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1993
{ ac_configure_args0=; unset ac_configure_args0;}
 
1994
{ ac_configure_args1=; unset ac_configure_args1;}
1089
1995
 
1090
1996
# When interrupted or exit'd, cleanup temporary files, and complete
1091
1997
# config.log.  We remove comments because anyway the quotes in there
1092
1998
# would cause problems or look ugly.
1093
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1094
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1999
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2000
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1095
2001
trap 'exit_status=$?
1096
2002
  # Save into config.log some information that might help in debugging.
1097
2003
  {
1098
2004
    echo
1099
2005
 
1100
 
    cat <<\_ASBOX
1101
 
## ---------------- ##
 
2006
    $as_echo "## ---------------- ##
1102
2007
## Cache variables. ##
1103
 
## ---------------- ##
1104
 
_ASBOX
 
2008
## ---------------- ##"
1105
2009
    echo
1106
2010
    # The following way of writing the cache mishandles newlines in values,
1107
 
{
 
2011
(
 
2012
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2013
    eval ac_val=\$$ac_var
 
2014
    case $ac_val in #(
 
2015
    *${as_nl}*)
 
2016
      case $ac_var in #(
 
2017
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2018
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2019
      esac
 
2020
      case $ac_var in #(
 
2021
      _ | IFS | as_nl) ;; #(
 
2022
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2023
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2024
      esac ;;
 
2025
    esac
 
2026
  done
1108
2027
  (set) 2>&1 |
1109
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110
 
    *ac_space=\ *)
 
2028
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2029
    *${as_nl}ac_space=\ *)
1111
2030
      sed -n \
1112
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114
 
      ;;
 
2031
        "s/'\''/'\''\\\\'\'''\''/g;
 
2032
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2033
      ;; #(
1115
2034
    *)
1116
 
      sed -n \
1117
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2035
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1118
2036
      ;;
1119
 
    esac;
1120
 
}
 
2037
    esac |
 
2038
    sort
 
2039
)
1121
2040
    echo
1122
2041
 
1123
 
    cat <<\_ASBOX
1124
 
## ----------------- ##
 
2042
    $as_echo "## ----------------- ##
1125
2043
## Output variables. ##
1126
 
## ----------------- ##
1127
 
_ASBOX
 
2044
## ----------------- ##"
1128
2045
    echo
1129
2046
    for ac_var in $ac_subst_vars
1130
2047
    do
1131
 
      eval ac_val=$`echo $ac_var`
1132
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
2048
      eval ac_val=\$$ac_var
 
2049
      case $ac_val in
 
2050
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2051
      esac
 
2052
      $as_echo "$ac_var='\''$ac_val'\''"
1133
2053
    done | sort
1134
2054
    echo
1135
2055
 
1136
2056
    if test -n "$ac_subst_files"; then
1137
 
      cat <<\_ASBOX
1138
 
## ------------- ##
1139
 
## Output files. ##
1140
 
## ------------- ##
1141
 
_ASBOX
 
2057
      $as_echo "## ------------------- ##
 
2058
## File substitutions. ##
 
2059
## ------------------- ##"
1142
2060
      echo
1143
2061
      for ac_var in $ac_subst_files
1144
2062
      do
1145
 
        eval ac_val=$`echo $ac_var`
1146
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
2063
        eval ac_val=\$$ac_var
 
2064
        case $ac_val in
 
2065
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2066
        esac
 
2067
        $as_echo "$ac_var='\''$ac_val'\''"
1147
2068
      done | sort
1148
2069
      echo
1149
2070
    fi
1150
2071
 
1151
2072
    if test -s confdefs.h; then
1152
 
      cat <<\_ASBOX
1153
 
## ----------- ##
 
2073
      $as_echo "## ----------- ##
1154
2074
## confdefs.h. ##
1155
 
## ----------- ##
1156
 
_ASBOX
 
2075
## ----------- ##"
1157
2076
      echo
1158
 
      sed "/^$/d" confdefs.h | sort
 
2077
      cat confdefs.h
1159
2078
      echo
1160
2079
    fi
1161
2080
    test "$ac_signal" != 0 &&
1162
 
      echo "$as_me: caught signal $ac_signal"
1163
 
    echo "$as_me: exit $exit_status"
 
2081
      $as_echo "$as_me: caught signal $ac_signal"
 
2082
    $as_echo "$as_me: exit $exit_status"
1164
2083
  } >&5
1165
 
  rm -f core *.core &&
1166
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
2084
  rm -f core *.core core.conftest.* &&
 
2085
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1167
2086
    exit $exit_status
1168
 
     ' 0
 
2087
' 0
1169
2088
for ac_signal in 1 2 13 15; do
1170
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2089
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1171
2090
done
1172
2091
ac_signal=0
1173
2092
 
1174
2093
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1175
 
rm -rf conftest* confdefs.h
1176
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177
 
echo >confdefs.h
 
2094
rm -f -r conftest* confdefs.h
 
2095
 
 
2096
$as_echo "/* confdefs.h */" > confdefs.h
1178
2097
 
1179
2098
# Predefined preprocessor variables.
1180
2099
 
1182
2101
#define PACKAGE_NAME "$PACKAGE_NAME"
1183
2102
_ACEOF
1184
2103
 
1185
 
 
1186
2104
cat >>confdefs.h <<_ACEOF
1187
2105
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188
2106
_ACEOF
1189
2107
 
1190
 
 
1191
2108
cat >>confdefs.h <<_ACEOF
1192
2109
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1193
2110
_ACEOF
1194
2111
 
1195
 
 
1196
2112
cat >>confdefs.h <<_ACEOF
1197
2113
#define PACKAGE_STRING "$PACKAGE_STRING"
1198
2114
_ACEOF
1199
2115
 
1200
 
 
1201
2116
cat >>confdefs.h <<_ACEOF
1202
2117
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203
2118
_ACEOF
1204
2119
 
 
2120
cat >>confdefs.h <<_ACEOF
 
2121
#define PACKAGE_URL "$PACKAGE_URL"
 
2122
_ACEOF
 
2123
 
1205
2124
 
1206
2125
# Let the site file select an alternate cache file if it wants to.
1207
 
# Prefer explicitly selected file to automatically selected ones.
1208
 
if test -z "$CONFIG_SITE"; then
1209
 
  if test "x$prefix" != xNONE; then
1210
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211
 
  else
1212
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213
 
  fi
 
2126
# Prefer an explicitly selected file to automatically selected ones.
 
2127
ac_site_file1=NONE
 
2128
ac_site_file2=NONE
 
2129
if test -n "$CONFIG_SITE"; then
 
2130
  # We do not want a PATH search for config.site.
 
2131
  case $CONFIG_SITE in #((
 
2132
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2133
    */*) ac_site_file1=$CONFIG_SITE;;
 
2134
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2135
  esac
 
2136
elif test "x$prefix" != xNONE; then
 
2137
  ac_site_file1=$prefix/share/config.site
 
2138
  ac_site_file2=$prefix/etc/config.site
 
2139
else
 
2140
  ac_site_file1=$ac_default_prefix/share/config.site
 
2141
  ac_site_file2=$ac_default_prefix/etc/config.site
1214
2142
fi
1215
 
for ac_site_file in $CONFIG_SITE; do
1216
 
  if test -r "$ac_site_file"; then
1217
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2143
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2144
do
 
2145
  test "x$ac_site_file" = xNONE && continue
 
2146
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2147
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2148
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1219
2149
    sed 's/^/| /' "$ac_site_file" >&5
1220
 
    . "$ac_site_file"
 
2150
    . "$ac_site_file" \
 
2151
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2153
as_fn_error $? "failed to load site script $ac_site_file
 
2154
See \`config.log' for more details" "$LINENO" 5; }
1221
2155
  fi
1222
2156
done
1223
2157
 
1224
2158
if test -r "$cache_file"; then
1225
 
  # Some versions of bash will fail to source /dev/null (special
1226
 
  # files actually), so we avoid doing that.
1227
 
  if test -f "$cache_file"; then
1228
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2159
  # Some versions of bash will fail to source /dev/null (special files
 
2160
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2161
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2162
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2163
$as_echo "$as_me: loading cache $cache_file" >&6;}
1230
2164
    case $cache_file in
1231
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1232
 
      *)                      . ./$cache_file;;
 
2165
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2166
      *)                      . "./$cache_file";;
1233
2167
    esac
1234
2168
  fi
1235
2169
else
1236
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2170
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2171
$as_echo "$as_me: creating cache $cache_file" >&6;}
1238
2172
  >$cache_file
1239
2173
fi
1240
2174
 
1241
2175
# Check that the precious variables saved in the cache have kept the same
1242
2176
# value.
1243
2177
ac_cache_corrupted=false
1244
 
for ac_var in `(set) 2>&1 |
1245
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2178
for ac_var in $ac_precious_vars; do
1246
2179
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247
2180
  eval ac_new_set=\$ac_env_${ac_var}_set
1248
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2181
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2182
  eval ac_new_val=\$ac_env_${ac_var}_value
1250
2183
  case $ac_old_set,$ac_new_set in
1251
2184
    set,)
1252
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1253
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2185
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2186
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1254
2187
      ac_cache_corrupted=: ;;
1255
2188
    ,set)
1256
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1257
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2189
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2190
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258
2191
      ac_cache_corrupted=: ;;
1259
2192
    ,);;
1260
2193
    *)
1261
2194
      if test "x$ac_old_val" != "x$ac_new_val"; then
1262
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1263
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1264
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1265
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1266
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1267
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1268
 
        ac_cache_corrupted=:
 
2195
        # differences in whitespace do not lead to failure.
 
2196
        ac_old_val_w=`echo x $ac_old_val`
 
2197
        ac_new_val_w=`echo x $ac_new_val`
 
2198
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2199
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2200
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2201
          ac_cache_corrupted=:
 
2202
        else
 
2203
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2204
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2205
          eval $ac_var=\$ac_old_val
 
2206
        fi
 
2207
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2208
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2209
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2210
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1269
2211
      fi;;
1270
2212
  esac
1271
2213
  # Pass precious variables to config.status.
1272
2214
  if test "$ac_new_set" = set; then
1273
2215
    case $ac_new_val in
1274
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2216
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1276
2217
    *) ac_arg=$ac_var=$ac_new_val ;;
1277
2218
    esac
1278
2219
    case " $ac_configure_args " in
1279
2220
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1280
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2221
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1281
2222
    esac
1282
2223
  fi
1283
2224
done
1284
2225
if $ac_cache_corrupted; then
1285
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1288
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289
 
   { (exit 1); exit 1; }; }
 
2226
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2228
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2229
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2230
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1290
2231
fi
 
2232
## -------------------- ##
 
2233
## Main body of script. ##
 
2234
## -------------------- ##
1291
2235
 
1292
2236
ac_ext=c
1293
2237
ac_cpp='$CPP $CPPFLAGS'
1297
2241
 
1298
2242
 
1299
2243
 
1300
 
 
1301
 
 
1302
 
 
1303
 
 
1304
 
 
1305
 
 
1306
 
 
1307
 
 
1308
 
 
1309
 
 
1310
 
 
1311
 
 
1312
 
 
1313
 
 
1314
 
 
1315
 
 
1316
 
 
1317
 
 
1318
 
 
1319
 
 
1320
 
 
1321
 
 
1322
 
 
1323
 
 
1324
 
 
1325
 
NETLOAD_VERSION=0.4.0
1326
 
am__api_version="1.9"
 
2244
NETLOAD_VERSION=1.0.0
 
2245
am__api_version='1.11'
 
2246
 
1327
2247
ac_aux_dir=
1328
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1329
 
  if test -f $ac_dir/install-sh; then
 
2248
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2249
  if test -f "$ac_dir/install-sh"; then
1330
2250
    ac_aux_dir=$ac_dir
1331
2251
    ac_install_sh="$ac_aux_dir/install-sh -c"
1332
2252
    break
1333
 
  elif test -f $ac_dir/install.sh; then
 
2253
  elif test -f "$ac_dir/install.sh"; then
1334
2254
    ac_aux_dir=$ac_dir
1335
2255
    ac_install_sh="$ac_aux_dir/install.sh -c"
1336
2256
    break
1337
 
  elif test -f $ac_dir/shtool; then
 
2257
  elif test -f "$ac_dir/shtool"; then
1338
2258
    ac_aux_dir=$ac_dir
1339
2259
    ac_install_sh="$ac_aux_dir/shtool install -c"
1340
2260
    break
1341
2261
  fi
1342
2262
done
1343
2263
if test -z "$ac_aux_dir"; then
1344
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1345
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1346
 
   { (exit 1); exit 1; }; }
 
2264
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1347
2265
fi
1348
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1349
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1350
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2266
 
 
2267
# These three variables are undocumented and unsupported,
 
2268
# and are intended to be withdrawn in a future Autoconf release.
 
2269
# They can cause serious problems if a builder's source tree is in a directory
 
2270
# whose full name contains unusual characters.
 
2271
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2272
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2273
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2274
 
1351
2275
 
1352
2276
# Find a good install program.  We prefer a C program (faster),
1353
2277
# so one script is as good as another.  But avoid the broken or
1362
2286
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1363
2287
# OS/2's system install, which has a completely different semantic
1364
2288
# ./install, which can be erroneously created by make from ./install.sh.
1365
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1366
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2289
# Reject install programs that cannot install multiple files.
 
2290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2291
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1367
2292
if test -z "$INSTALL"; then
1368
 
if test "${ac_cv_path_install+set}" = set; then
1369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2293
if ${ac_cv_path_install+:} false; then :
 
2294
  $as_echo_n "(cached) " >&6
1370
2295
else
1371
2296
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1372
2297
for as_dir in $PATH
1373
2298
do
1374
2299
  IFS=$as_save_IFS
1375
2300
  test -z "$as_dir" && as_dir=.
1376
 
  # Account for people who put trailing slashes in PATH elements.
1377
 
case $as_dir/ in
1378
 
  ./ | .// | /cC/* | \
 
2301
    # Account for people who put trailing slashes in PATH elements.
 
2302
case $as_dir/ in #((
 
2303
  ./ | .// | /[cC]/* | \
1379
2304
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1380
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2305
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1381
2306
  /usr/ucb/* ) ;;
1382
2307
  *)
1383
2308
    # OSF1 and SCO ODT 3.0 have their own names for install.
1385
2310
    # by default.
1386
2311
    for ac_prog in ginstall scoinst install; do
1387
2312
      for ac_exec_ext in '' $ac_executable_extensions; do
1388
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2313
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1389
2314
          if test $ac_prog = install &&
1390
2315
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1391
2316
            # AIX install.  It has an incompatible calling convention.
1395
2320
            # program-specific install script used by HP pwplus--don't use.
1396
2321
            :
1397
2322
          else
1398
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1399
 
            break 3
 
2323
            rm -rf conftest.one conftest.two conftest.dir
 
2324
            echo one > conftest.one
 
2325
            echo two > conftest.two
 
2326
            mkdir conftest.dir
 
2327
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2328
              test -s conftest.one && test -s conftest.two &&
 
2329
              test -s conftest.dir/conftest.one &&
 
2330
              test -s conftest.dir/conftest.two
 
2331
            then
 
2332
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2333
              break 3
 
2334
            fi
1400
2335
          fi
1401
2336
        fi
1402
2337
      done
1403
2338
    done
1404
2339
    ;;
1405
2340
esac
1406
 
done
1407
 
 
 
2341
 
 
2342
  done
 
2343
IFS=$as_save_IFS
 
2344
 
 
2345
rm -rf conftest.one conftest.two conftest.dir
1408
2346
 
1409
2347
fi
1410
2348
  if test "${ac_cv_path_install+set}" = set; then
1411
2349
    INSTALL=$ac_cv_path_install
1412
2350
  else
1413
 
    # As a last resort, use the slow shell script.  We don't cache a
1414
 
    # path for INSTALL within a source directory, because that will
 
2351
    # As a last resort, use the slow shell script.  Don't cache a
 
2352
    # value for INSTALL within a source directory, because that will
1415
2353
    # break other packages using the cache if that directory is
1416
 
    # removed, or if the path is relative.
 
2354
    # removed, or if the value is a relative name.
1417
2355
    INSTALL=$ac_install_sh
1418
2356
  fi
1419
2357
fi
1420
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1421
 
echo "${ECHO_T}$INSTALL" >&6
 
2358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2359
$as_echo "$INSTALL" >&6; }
1422
2360
 
1423
2361
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1424
2362
# It thinks the first close brace ends the variable substitution.
1428
2366
 
1429
2367
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1430
2368
 
1431
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1432
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2370
$as_echo_n "checking whether build environment is sane... " >&6; }
1433
2371
# Just in case
1434
2372
sleep 1
1435
2373
echo timestamp > conftest.file
 
2374
# Reject unsafe characters in $srcdir or the absolute working directory
 
2375
# name.  Accept space and tab only in the latter.
 
2376
am_lf='
 
2377
'
 
2378
case `pwd` in
 
2379
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2380
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2381
esac
 
2382
case $srcdir in
 
2383
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2384
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2385
esac
 
2386
 
1436
2387
# Do `set' in a subshell so we don't clobber the current shell's
1437
2388
# arguments.  Must try -L first in case configure is actually a
1438
2389
# symlink; some systems play weird games with the mod time of symlinks
1439
2390
# (eg FreeBSD returns the mod time of the symlink's containing
1440
2391
# directory).
1441
2392
if (
1442
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2393
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1443
2394
   if test "$*" = "X"; then
1444
2395
      # -L didn't work.
1445
 
      set X `ls -t $srcdir/configure conftest.file`
 
2396
      set X `ls -t "$srcdir/configure" conftest.file`
1446
2397
   fi
1447
2398
   rm -f conftest.file
1448
2399
   if test "$*" != "X $srcdir/configure conftest.file" \
1452
2403
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1453
2404
      # broken ls alias from the environment.  This has actually
1454
2405
      # happened.  Such a system could not be considered "sane".
1455
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1456
 
alias in your environment" >&5
1457
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1458
 
alias in your environment" >&2;}
1459
 
   { (exit 1); exit 1; }; }
 
2406
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2407
alias in your environment" "$LINENO" 5
1460
2408
   fi
1461
2409
 
1462
2410
   test "$2" = conftest.file
1465
2413
   # Ok.
1466
2414
   :
1467
2415
else
1468
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1469
 
Check your system clock" >&5
1470
 
echo "$as_me: error: newly created file is older than distributed files!
1471
 
Check your system clock" >&2;}
1472
 
   { (exit 1); exit 1; }; }
 
2416
   as_fn_error $? "newly created file is older than distributed files!
 
2417
Check your system clock" "$LINENO" 5
1473
2418
fi
1474
 
echo "$as_me:$LINENO: result: yes" >&5
1475
 
echo "${ECHO_T}yes" >&6
 
2419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2420
$as_echo "yes" >&6; }
1476
2421
test "$program_prefix" != NONE &&
1477
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2422
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1478
2423
# Use a double $ so make ignores it.
1479
2424
test "$program_suffix" != NONE &&
1480
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1481
 
# Double any \ or $.  echo might interpret backslashes.
 
2425
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2426
# Double any \ or $.
1482
2427
# By default was `s,x,x', remove it if useless.
1483
 
cat <<\_ACEOF >conftest.sed
1484
 
s/[\\$]/&&/g;s/;s,x,x,$//
1485
 
_ACEOF
1486
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1487
 
rm conftest.sed
 
2428
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2429
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1488
2430
 
1489
2431
# expand $ac_aux_dir to an absolute path
1490
2432
am_aux_dir=`cd $ac_aux_dir && pwd`
1491
2433
 
1492
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2434
if test x"${MISSING+set}" != xset; then
 
2435
  case $am_aux_dir in
 
2436
  *\ * | *\     *)
 
2437
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2438
  *)
 
2439
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2440
  esac
 
2441
fi
1493
2442
# Use eval to expand $SHELL
1494
2443
if eval "$MISSING --run true"; then
1495
2444
  am_missing_run="$MISSING --run "
1496
2445
else
1497
2446
  am_missing_run=
1498
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1499
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1500
 
fi
1501
 
 
1502
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1503
 
  # We used to keeping the `.' as first argument, in order to
1504
 
  # allow $(mkdir_p) to be used without argument.  As in
1505
 
  #   $(mkdir_p) $(somedir)
1506
 
  # where $(somedir) is conditionally defined.  However this is wrong
1507
 
  # for two reasons:
1508
 
  #  1. if the package is installed by a user who cannot write `.'
1509
 
  #     make install will fail,
1510
 
  #  2. the above comment should most certainly read
1511
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1512
 
  #     so it does not work when $(somedir) is undefined and
1513
 
  #     $(DESTDIR) is not.
1514
 
  #  To support the latter case, we have to write
1515
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1516
 
  #  so the `.' trick is pointless.
1517
 
  mkdir_p='mkdir -p --'
1518
 
else
1519
 
  # On NextStep and OpenStep, the `mkdir' command does not
1520
 
  # recognize any option.  It will interpret all options as
1521
 
  # directories to create, and then abort because `.' already
1522
 
  # exists.
1523
 
  for d in ./-p ./--version;
1524
 
  do
1525
 
    test -d $d && rmdir $d
1526
 
  done
1527
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1528
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1529
 
    mkdir_p='$(mkinstalldirs)'
1530
 
  else
1531
 
    mkdir_p='$(install_sh) -d'
1532
 
  fi
1533
 
fi
 
2447
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2448
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2449
fi
 
2450
 
 
2451
if test x"${install_sh}" != xset; then
 
2452
  case $am_aux_dir in
 
2453
  *\ * | *\     *)
 
2454
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2455
  *)
 
2456
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2457
  esac
 
2458
fi
 
2459
 
 
2460
# Installed binaries are usually stripped using `strip' when the user
 
2461
# run `make install-strip'.  However `strip' might not be the right
 
2462
# tool to use in cross-compilation environments, therefore Automake
 
2463
# will honor the `STRIP' environment variable to overrule this program.
 
2464
if test "$cross_compiling" != no; then
 
2465
  if test -n "$ac_tool_prefix"; then
 
2466
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2467
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2469
$as_echo_n "checking for $ac_word... " >&6; }
 
2470
if ${ac_cv_prog_STRIP+:} false; then :
 
2471
  $as_echo_n "(cached) " >&6
 
2472
else
 
2473
  if test -n "$STRIP"; then
 
2474
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2475
else
 
2476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2477
for as_dir in $PATH
 
2478
do
 
2479
  IFS=$as_save_IFS
 
2480
  test -z "$as_dir" && as_dir=.
 
2481
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2483
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2484
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2485
    break 2
 
2486
  fi
 
2487
done
 
2488
  done
 
2489
IFS=$as_save_IFS
 
2490
 
 
2491
fi
 
2492
fi
 
2493
STRIP=$ac_cv_prog_STRIP
 
2494
if test -n "$STRIP"; then
 
2495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2496
$as_echo "$STRIP" >&6; }
 
2497
else
 
2498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2499
$as_echo "no" >&6; }
 
2500
fi
 
2501
 
 
2502
 
 
2503
fi
 
2504
if test -z "$ac_cv_prog_STRIP"; then
 
2505
  ac_ct_STRIP=$STRIP
 
2506
  # Extract the first word of "strip", so it can be a program name with args.
 
2507
set dummy strip; ac_word=$2
 
2508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2509
$as_echo_n "checking for $ac_word... " >&6; }
 
2510
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2511
  $as_echo_n "(cached) " >&6
 
2512
else
 
2513
  if test -n "$ac_ct_STRIP"; then
 
2514
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2515
else
 
2516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2517
for as_dir in $PATH
 
2518
do
 
2519
  IFS=$as_save_IFS
 
2520
  test -z "$as_dir" && as_dir=.
 
2521
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2523
    ac_cv_prog_ac_ct_STRIP="strip"
 
2524
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2525
    break 2
 
2526
  fi
 
2527
done
 
2528
  done
 
2529
IFS=$as_save_IFS
 
2530
 
 
2531
fi
 
2532
fi
 
2533
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2534
if test -n "$ac_ct_STRIP"; then
 
2535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2536
$as_echo "$ac_ct_STRIP" >&6; }
 
2537
else
 
2538
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2539
$as_echo "no" >&6; }
 
2540
fi
 
2541
 
 
2542
  if test "x$ac_ct_STRIP" = x; then
 
2543
    STRIP=":"
 
2544
  else
 
2545
    case $cross_compiling:$ac_tool_warned in
 
2546
yes:)
 
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2548
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2549
ac_tool_warned=yes ;;
 
2550
esac
 
2551
    STRIP=$ac_ct_STRIP
 
2552
  fi
 
2553
else
 
2554
  STRIP="$ac_cv_prog_STRIP"
 
2555
fi
 
2556
 
 
2557
fi
 
2558
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2559
 
 
2560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2561
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2562
if test -z "$MKDIR_P"; then
 
2563
  if ${ac_cv_path_mkdir+:} false; then :
 
2564
  $as_echo_n "(cached) " >&6
 
2565
else
 
2566
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2567
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2568
do
 
2569
  IFS=$as_save_IFS
 
2570
  test -z "$as_dir" && as_dir=.
 
2571
    for ac_prog in mkdir gmkdir; do
 
2572
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2573
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2574
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2575
             'mkdir (GNU coreutils) '* | \
 
2576
             'mkdir (coreutils) '* | \
 
2577
             'mkdir (fileutils) '4.1*)
 
2578
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2579
               break 3;;
 
2580
           esac
 
2581
         done
 
2582
       done
 
2583
  done
 
2584
IFS=$as_save_IFS
 
2585
 
 
2586
fi
 
2587
 
 
2588
  test -d ./--version && rmdir ./--version
 
2589
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2590
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2591
  else
 
2592
    # As a last resort, use the slow shell script.  Don't cache a
 
2593
    # value for MKDIR_P within a source directory, because that will
 
2594
    # break other packages using the cache if that directory is
 
2595
    # removed, or if the value is a relative name.
 
2596
    MKDIR_P="$ac_install_sh -d"
 
2597
  fi
 
2598
fi
 
2599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2600
$as_echo "$MKDIR_P" >&6; }
 
2601
 
 
2602
mkdir_p="$MKDIR_P"
 
2603
case $mkdir_p in
 
2604
  [\\/$]* | ?:[\\/]*) ;;
 
2605
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2606
esac
1534
2607
 
1535
2608
for ac_prog in gawk mawk nawk awk
1536
2609
do
1537
2610
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1538
2611
set dummy $ac_prog; ac_word=$2
1539
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1540
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1541
 
if test "${ac_cv_prog_AWK+set}" = set; then
1542
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2613
$as_echo_n "checking for $ac_word... " >&6; }
 
2614
if ${ac_cv_prog_AWK+:} false; then :
 
2615
  $as_echo_n "(cached) " >&6
1543
2616
else
1544
2617
  if test -n "$AWK"; then
1545
2618
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1549
2622
do
1550
2623
  IFS=$as_save_IFS
1551
2624
  test -z "$as_dir" && as_dir=.
1552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1553
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2625
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2626
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1554
2627
    ac_cv_prog_AWK="$ac_prog"
1555
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2628
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1556
2629
    break 2
1557
2630
  fi
1558
2631
done
1559
 
done
 
2632
  done
 
2633
IFS=$as_save_IFS
1560
2634
 
1561
2635
fi
1562
2636
fi
1563
2637
AWK=$ac_cv_prog_AWK
1564
2638
if test -n "$AWK"; then
1565
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1566
 
echo "${ECHO_T}$AWK" >&6
 
2639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2640
$as_echo "$AWK" >&6; }
1567
2641
else
1568
 
  echo "$as_me:$LINENO: result: no" >&5
1569
 
echo "${ECHO_T}no" >&6
 
2642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2643
$as_echo "no" >&6; }
1570
2644
fi
1571
2645
 
 
2646
 
1572
2647
  test -n "$AWK" && break
1573
2648
done
1574
2649
 
1575
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1576
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1577
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1578
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1579
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2651
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2652
set x ${MAKE-make}
 
2653
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2654
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2655
  $as_echo_n "(cached) " >&6
1580
2656
else
1581
2657
  cat >conftest.make <<\_ACEOF
 
2658
SHELL = /bin/sh
1582
2659
all:
1583
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2660
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1584
2661
_ACEOF
1585
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1586
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1587
 
if test -n "$ac_maketemp"; then
1588
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1589
 
else
1590
 
  eval ac_cv_prog_make_${ac_make}_set=no
1591
 
fi
 
2662
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2663
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2664
  *@@@%%%=?*=@@@%%%*)
 
2665
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2666
  *)
 
2667
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2668
esac
1592
2669
rm -f conftest.make
1593
2670
fi
1594
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1595
 
  echo "$as_me:$LINENO: result: yes" >&5
1596
 
echo "${ECHO_T}yes" >&6
 
2671
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2673
$as_echo "yes" >&6; }
1597
2674
  SET_MAKE=
1598
2675
else
1599
 
  echo "$as_me:$LINENO: result: no" >&5
1600
 
echo "${ECHO_T}no" >&6
 
2676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2677
$as_echo "no" >&6; }
1601
2678
  SET_MAKE="MAKE=${MAKE-make}"
1602
2679
fi
1603
2680
 
1610
2687
fi
1611
2688
rmdir .tst 2>/dev/null
1612
2689
 
1613
 
# test to see if srcdir already configured
1614
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1615
 
   test -f $srcdir/config.status; then
1616
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1617
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1618
 
   { (exit 1); exit 1; }; }
 
2690
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2691
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2692
  # is not polluted with repeated "-I."
 
2693
  am__isrc=' -I$(srcdir)'
 
2694
  # test to see if srcdir already configured
 
2695
  if test -f $srcdir/config.status; then
 
2696
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2697
  fi
1619
2698
fi
1620
2699
 
1621
2700
# test whether we have cygpath
1658
2737
 
1659
2738
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1660
2739
 
1661
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1662
 
 
1663
 
# Installed binaries are usually stripped using `strip' when the user
1664
 
# run `make install-strip'.  However `strip' might not be the right
1665
 
# tool to use in cross-compilation environments, therefore Automake
1666
 
# will honor the `STRIP' environment variable to overrule this program.
1667
 
if test "$cross_compiling" != no; then
1668
 
  if test -n "$ac_tool_prefix"; then
1669
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1670
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1671
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1672
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1673
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1675
 
else
1676
 
  if test -n "$STRIP"; then
1677
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1678
 
else
1679
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1680
 
for as_dir in $PATH
1681
 
do
1682
 
  IFS=$as_save_IFS
1683
 
  test -z "$as_dir" && as_dir=.
1684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1685
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1686
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1687
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1688
 
    break 2
1689
 
  fi
1690
 
done
1691
 
done
1692
 
 
1693
 
fi
1694
 
fi
1695
 
STRIP=$ac_cv_prog_STRIP
1696
 
if test -n "$STRIP"; then
1697
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1698
 
echo "${ECHO_T}$STRIP" >&6
1699
 
else
1700
 
  echo "$as_me:$LINENO: result: no" >&5
1701
 
echo "${ECHO_T}no" >&6
1702
 
fi
1703
 
 
1704
 
fi
1705
 
if test -z "$ac_cv_prog_STRIP"; then
1706
 
  ac_ct_STRIP=$STRIP
1707
 
  # Extract the first word of "strip", so it can be a program name with args.
1708
 
set dummy strip; ac_word=$2
1709
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1711
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1713
 
else
1714
 
  if test -n "$ac_ct_STRIP"; then
1715
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1716
 
else
1717
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718
 
for as_dir in $PATH
1719
 
do
1720
 
  IFS=$as_save_IFS
1721
 
  test -z "$as_dir" && as_dir=.
1722
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1723
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724
 
    ac_cv_prog_ac_ct_STRIP="strip"
1725
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726
 
    break 2
1727
 
  fi
1728
 
done
1729
 
done
1730
 
 
1731
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1732
 
fi
1733
 
fi
1734
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1735
 
if test -n "$ac_ct_STRIP"; then
1736
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1737
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
1738
 
else
1739
 
  echo "$as_me:$LINENO: result: no" >&5
1740
 
echo "${ECHO_T}no" >&6
1741
 
fi
1742
 
 
1743
 
  STRIP=$ac_ct_STRIP
1744
 
else
1745
 
  STRIP="$ac_cv_prog_STRIP"
1746
 
fi
1747
 
 
1748
 
fi
1749
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1750
 
 
1751
2740
# We need awk for the "check" target.  The system "awk" is bad on
1752
2741
# some platforms.
1753
2742
# Always define AMTAR for backward compatibility.
1760
2749
 
1761
2750
 
1762
2751
 
1763
 
          ac_config_headers="$ac_config_headers config.h"
1764
 
 
1765
 
 
1766
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1767
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1768
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1769
 
if test "${enable_maintainer_mode+set}" = set; then
1770
 
  enableval="$enable_maintainer_mode"
1771
 
  USE_MAINTAINER_MODE=$enableval
 
2752
ac_config_headers="$ac_config_headers config.h"
 
2753
 
 
2754
 
 
2755
 
 
2756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2757
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2758
    # Check whether --enable-maintainer-mode was given.
 
2759
if test "${enable_maintainer_mode+set}" = set; then :
 
2760
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1772
2761
else
1773
2762
  USE_MAINTAINER_MODE=no
1774
 
fi;
1775
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1776
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1777
 
 
1778
 
 
1779
 
if test $USE_MAINTAINER_MODE = yes; then
 
2763
fi
 
2764
 
 
2765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2766
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2767
   if test $USE_MAINTAINER_MODE = yes; then
1780
2768
  MAINTAINER_MODE_TRUE=
1781
2769
  MAINTAINER_MODE_FALSE='#'
1782
2770
else
1796
2784
if test -n "$ac_tool_prefix"; then
1797
2785
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1798
2786
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1799
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1800
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1801
 
if test "${ac_cv_prog_CC+set}" = set; then
1802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2788
$as_echo_n "checking for $ac_word... " >&6; }
 
2789
if ${ac_cv_prog_CC+:} false; then :
 
2790
  $as_echo_n "(cached) " >&6
1803
2791
else
1804
2792
  if test -n "$CC"; then
1805
2793
  ac_cv_prog_CC="$CC" # Let the user override the test.
1809
2797
do
1810
2798
  IFS=$as_save_IFS
1811
2799
  test -z "$as_dir" && as_dir=.
1812
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1813
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2800
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1814
2802
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1815
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2803
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1816
2804
    break 2
1817
2805
  fi
1818
2806
done
1819
 
done
 
2807
  done
 
2808
IFS=$as_save_IFS
1820
2809
 
1821
2810
fi
1822
2811
fi
1823
2812
CC=$ac_cv_prog_CC
1824
2813
if test -n "$CC"; then
1825
 
  echo "$as_me:$LINENO: result: $CC" >&5
1826
 
echo "${ECHO_T}$CC" >&6
 
2814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2815
$as_echo "$CC" >&6; }
1827
2816
else
1828
 
  echo "$as_me:$LINENO: result: no" >&5
1829
 
echo "${ECHO_T}no" >&6
 
2817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2818
$as_echo "no" >&6; }
1830
2819
fi
 
2820
 
1831
2821
 
1832
2822
fi
1833
2823
if test -z "$ac_cv_prog_CC"; then
1834
2824
  ac_ct_CC=$CC
1835
2825
  # Extract the first word of "gcc", so it can be a program name with args.
1836
2826
set dummy gcc; ac_word=$2
1837
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1838
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2828
$as_echo_n "checking for $ac_word... " >&6; }
 
2829
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2830
  $as_echo_n "(cached) " >&6
1841
2831
else
1842
2832
  if test -n "$ac_ct_CC"; then
1843
2833
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1847
2837
do
1848
2838
  IFS=$as_save_IFS
1849
2839
  test -z "$as_dir" && as_dir=.
1850
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1851
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2840
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2841
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1852
2842
    ac_cv_prog_ac_ct_CC="gcc"
1853
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2843
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1854
2844
    break 2
1855
2845
  fi
1856
2846
done
1857
 
done
 
2847
  done
 
2848
IFS=$as_save_IFS
1858
2849
 
1859
2850
fi
1860
2851
fi
1861
2852
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1862
2853
if test -n "$ac_ct_CC"; then
1863
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1864
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2855
$as_echo "$ac_ct_CC" >&6; }
1865
2856
else
1866
 
  echo "$as_me:$LINENO: result: no" >&5
1867
 
echo "${ECHO_T}no" >&6
 
2857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2858
$as_echo "no" >&6; }
1868
2859
fi
1869
2860
 
1870
 
  CC=$ac_ct_CC
 
2861
  if test "x$ac_ct_CC" = x; then
 
2862
    CC=""
 
2863
  else
 
2864
    case $cross_compiling:$ac_tool_warned in
 
2865
yes:)
 
2866
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2867
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2868
ac_tool_warned=yes ;;
 
2869
esac
 
2870
    CC=$ac_ct_CC
 
2871
  fi
1871
2872
else
1872
2873
  CC="$ac_cv_prog_CC"
1873
2874
fi
1874
2875
 
1875
2876
if test -z "$CC"; then
1876
 
  if test -n "$ac_tool_prefix"; then
1877
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2877
          if test -n "$ac_tool_prefix"; then
 
2878
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1878
2879
set dummy ${ac_tool_prefix}cc; ac_word=$2
1879
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1880
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1881
 
if test "${ac_cv_prog_CC+set}" = set; then
1882
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2881
$as_echo_n "checking for $ac_word... " >&6; }
 
2882
if ${ac_cv_prog_CC+:} false; then :
 
2883
  $as_echo_n "(cached) " >&6
1883
2884
else
1884
2885
  if test -n "$CC"; then
1885
2886
  ac_cv_prog_CC="$CC" # Let the user override the test.
1889
2890
do
1890
2891
  IFS=$as_save_IFS
1891
2892
  test -z "$as_dir" && as_dir=.
1892
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1893
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2893
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1894
2895
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1895
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2896
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1896
2897
    break 2
1897
2898
  fi
1898
2899
done
1899
 
done
 
2900
  done
 
2901
IFS=$as_save_IFS
1900
2902
 
1901
2903
fi
1902
2904
fi
1903
2905
CC=$ac_cv_prog_CC
1904
2906
if test -n "$CC"; then
1905
 
  echo "$as_me:$LINENO: result: $CC" >&5
1906
 
echo "${ECHO_T}$CC" >&6
1907
 
else
1908
 
  echo "$as_me:$LINENO: result: no" >&5
1909
 
echo "${ECHO_T}no" >&6
1910
 
fi
1911
 
 
1912
 
fi
1913
 
if test -z "$ac_cv_prog_CC"; then
1914
 
  ac_ct_CC=$CC
1915
 
  # Extract the first word of "cc", so it can be a program name with args.
1916
 
set dummy cc; ac_word=$2
1917
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1918
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1921
 
else
1922
 
  if test -n "$ac_ct_CC"; then
1923
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1924
 
else
1925
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926
 
for as_dir in $PATH
1927
 
do
1928
 
  IFS=$as_save_IFS
1929
 
  test -z "$as_dir" && as_dir=.
1930
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1931
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932
 
    ac_cv_prog_ac_ct_CC="cc"
1933
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934
 
    break 2
 
2907
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2908
$as_echo "$CC" >&6; }
 
2909
else
 
2910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2911
$as_echo "no" >&6; }
 
2912
fi
 
2913
 
 
2914
 
1935
2915
  fi
1936
 
done
1937
 
done
1938
 
 
1939
 
fi
1940
 
fi
1941
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1942
 
if test -n "$ac_ct_CC"; then
1943
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1944
 
echo "${ECHO_T}$ac_ct_CC" >&6
1945
 
else
1946
 
  echo "$as_me:$LINENO: result: no" >&5
1947
 
echo "${ECHO_T}no" >&6
1948
 
fi
1949
 
 
1950
 
  CC=$ac_ct_CC
1951
 
else
1952
 
  CC="$ac_cv_prog_CC"
1953
 
fi
1954
 
 
1955
2916
fi
1956
2917
if test -z "$CC"; then
1957
2918
  # Extract the first word of "cc", so it can be a program name with args.
1958
2919
set dummy cc; ac_word=$2
1959
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1960
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1961
 
if test "${ac_cv_prog_CC+set}" = set; then
1962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2921
$as_echo_n "checking for $ac_word... " >&6; }
 
2922
if ${ac_cv_prog_CC+:} false; then :
 
2923
  $as_echo_n "(cached) " >&6
1963
2924
else
1964
2925
  if test -n "$CC"; then
1965
2926
  ac_cv_prog_CC="$CC" # Let the user override the test.
1970
2931
do
1971
2932
  IFS=$as_save_IFS
1972
2933
  test -z "$as_dir" && as_dir=.
1973
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1974
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2934
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2935
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975
2936
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1976
2937
       ac_prog_rejected=yes
1977
2938
       continue
1978
2939
     fi
1979
2940
    ac_cv_prog_CC="cc"
1980
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2941
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1981
2942
    break 2
1982
2943
  fi
1983
2944
done
1984
 
done
 
2945
  done
 
2946
IFS=$as_save_IFS
1985
2947
 
1986
2948
if test $ac_prog_rejected = yes; then
1987
2949
  # We found a bogon in the path, so make sure we never use it.
1999
2961
fi
2000
2962
CC=$ac_cv_prog_CC
2001
2963
if test -n "$CC"; then
2002
 
  echo "$as_me:$LINENO: result: $CC" >&5
2003
 
echo "${ECHO_T}$CC" >&6
 
2964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2965
$as_echo "$CC" >&6; }
2004
2966
else
2005
 
  echo "$as_me:$LINENO: result: no" >&5
2006
 
echo "${ECHO_T}no" >&6
 
2967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2968
$as_echo "no" >&6; }
2007
2969
fi
 
2970
 
2008
2971
 
2009
2972
fi
2010
2973
if test -z "$CC"; then
2011
2974
  if test -n "$ac_tool_prefix"; then
2012
 
  for ac_prog in cl
 
2975
  for ac_prog in cl.exe
2013
2976
  do
2014
2977
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2015
2978
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2016
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2017
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018
 
if test "${ac_cv_prog_CC+set}" = set; then
2019
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2980
$as_echo_n "checking for $ac_word... " >&6; }
 
2981
if ${ac_cv_prog_CC+:} false; then :
 
2982
  $as_echo_n "(cached) " >&6
2020
2983
else
2021
2984
  if test -n "$CC"; then
2022
2985
  ac_cv_prog_CC="$CC" # Let the user override the test.
2026
2989
do
2027
2990
  IFS=$as_save_IFS
2028
2991
  test -z "$as_dir" && as_dir=.
2029
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2030
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2992
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2031
2994
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2032
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2033
2996
    break 2
2034
2997
  fi
2035
2998
done
2036
 
done
 
2999
  done
 
3000
IFS=$as_save_IFS
2037
3001
 
2038
3002
fi
2039
3003
fi
2040
3004
CC=$ac_cv_prog_CC
2041
3005
if test -n "$CC"; then
2042
 
  echo "$as_me:$LINENO: result: $CC" >&5
2043
 
echo "${ECHO_T}$CC" >&6
 
3006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3007
$as_echo "$CC" >&6; }
2044
3008
else
2045
 
  echo "$as_me:$LINENO: result: no" >&5
2046
 
echo "${ECHO_T}no" >&6
 
3009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3010
$as_echo "no" >&6; }
2047
3011
fi
2048
3012
 
 
3013
 
2049
3014
    test -n "$CC" && break
2050
3015
  done
2051
3016
fi
2052
3017
if test -z "$CC"; then
2053
3018
  ac_ct_CC=$CC
2054
 
  for ac_prog in cl
 
3019
  for ac_prog in cl.exe
2055
3020
do
2056
3021
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2057
3022
set dummy $ac_prog; ac_word=$2
2058
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2059
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2060
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3024
$as_echo_n "checking for $ac_word... " >&6; }
 
3025
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3026
  $as_echo_n "(cached) " >&6
2062
3027
else
2063
3028
  if test -n "$ac_ct_CC"; then
2064
3029
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2068
3033
do
2069
3034
  IFS=$as_save_IFS
2070
3035
  test -z "$as_dir" && as_dir=.
2071
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2072
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3036
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3037
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2073
3038
    ac_cv_prog_ac_ct_CC="$ac_prog"
2074
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3039
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2075
3040
    break 2
2076
3041
  fi
2077
3042
done
2078
 
done
 
3043
  done
 
3044
IFS=$as_save_IFS
2079
3045
 
2080
3046
fi
2081
3047
fi
2082
3048
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2083
3049
if test -n "$ac_ct_CC"; then
2084
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2085
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3051
$as_echo "$ac_ct_CC" >&6; }
2086
3052
else
2087
 
  echo "$as_me:$LINENO: result: no" >&5
2088
 
echo "${ECHO_T}no" >&6
 
3053
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3054
$as_echo "no" >&6; }
2089
3055
fi
2090
3056
 
 
3057
 
2091
3058
  test -n "$ac_ct_CC" && break
2092
3059
done
2093
3060
 
2094
 
  CC=$ac_ct_CC
2095
 
fi
2096
 
 
2097
 
fi
2098
 
 
2099
 
 
2100
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2101
 
See \`config.log' for more details." >&5
2102
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2103
 
See \`config.log' for more details." >&2;}
2104
 
   { (exit 1); exit 1; }; }
 
3061
  if test "x$ac_ct_CC" = x; then
 
3062
    CC=""
 
3063
  else
 
3064
    case $cross_compiling:$ac_tool_warned in
 
3065
yes:)
 
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3067
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3068
ac_tool_warned=yes ;;
 
3069
esac
 
3070
    CC=$ac_ct_CC
 
3071
  fi
 
3072
fi
 
3073
 
 
3074
fi
 
3075
 
 
3076
 
 
3077
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3078
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3079
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3080
See \`config.log' for more details" "$LINENO" 5; }
2105
3081
 
2106
3082
# Provide some information about the compiler.
2107
 
echo "$as_me:$LINENO:" \
2108
 
     "checking for C compiler version" >&5
2109
 
ac_compiler=`set X $ac_compile; echo $2`
2110
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2111
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2112
 
  ac_status=$?
2113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114
 
  (exit $ac_status); }
2115
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2116
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2117
 
  ac_status=$?
2118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119
 
  (exit $ac_status); }
2120
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2121
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2122
 
  ac_status=$?
2123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124
 
  (exit $ac_status); }
 
3083
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3084
set X $ac_compile
 
3085
ac_compiler=$2
 
3086
for ac_option in --version -v -V -qversion; do
 
3087
  { { ac_try="$ac_compiler $ac_option >&5"
 
3088
case "(($ac_try" in
 
3089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3090
  *) ac_try_echo=$ac_try;;
 
3091
esac
 
3092
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3093
$as_echo "$ac_try_echo"; } >&5
 
3094
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3095
  ac_status=$?
 
3096
  if test -s conftest.err; then
 
3097
    sed '10a\
 
3098
... rest of stderr output deleted ...
 
3099
         10q' conftest.err >conftest.er1
 
3100
    cat conftest.er1 >&5
 
3101
  fi
 
3102
  rm -f conftest.er1 conftest.err
 
3103
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3104
  test $ac_status = 0; }
 
3105
done
2125
3106
 
2126
 
cat >conftest.$ac_ext <<_ACEOF
2127
 
/* confdefs.h.  */
2128
 
_ACEOF
2129
 
cat confdefs.h >>conftest.$ac_ext
2130
 
cat >>conftest.$ac_ext <<_ACEOF
 
3107
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131
3108
/* end confdefs.h.  */
2132
3109
 
2133
3110
int
2139
3116
}
2140
3117
_ACEOF
2141
3118
ac_clean_files_save=$ac_clean_files
2142
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3119
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2143
3120
# Try to create an executable without -o first, disregard a.out.
2144
3121
# It will help us diagnose broken compilers, and finding out an intuition
2145
3122
# of exeext.
2146
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2147
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2148
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2149
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2150
 
  (eval $ac_link_default) 2>&5
 
3123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3124
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3125
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3126
 
 
3127
# The possible output files:
 
3128
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3129
 
 
3130
ac_rmfiles=
 
3131
for ac_file in $ac_files
 
3132
do
 
3133
  case $ac_file in
 
3134
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3135
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3136
  esac
 
3137
done
 
3138
rm -f $ac_rmfiles
 
3139
 
 
3140
if { { ac_try="$ac_link_default"
 
3141
case "(($ac_try" in
 
3142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3143
  *) ac_try_echo=$ac_try;;
 
3144
esac
 
3145
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3146
$as_echo "$ac_try_echo"; } >&5
 
3147
  (eval "$ac_link_default") 2>&5
2151
3148
  ac_status=$?
2152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153
 
  (exit $ac_status); }; then
2154
 
  # Find the output, starting from the most likely.  This scheme is
2155
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2156
 
# resort.
2157
 
 
2158
 
# Be careful to initialize this variable, since it used to be cached.
2159
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2160
 
ac_cv_exeext=
2161
 
# b.out is created by i960 compilers.
2162
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3149
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3150
  test $ac_status = 0; }; then :
 
3151
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3152
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3153
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3154
# so that the user can short-circuit this test for compilers unknown to
 
3155
# Autoconf.
 
3156
for ac_file in $ac_files ''
2163
3157
do
2164
3158
  test -f "$ac_file" || continue
2165
3159
  case $ac_file in
2166
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2167
 
        ;;
2168
 
    conftest.$ac_ext )
2169
 
        # This is the source file.
 
3160
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2170
3161
        ;;
2171
3162
    [ab].out )
2172
3163
        # We found the default executable, but exeext='' is most
2173
3164
        # certainly right.
2174
3165
        break;;
2175
3166
    *.* )
2176
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2177
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2178
 
        # but it would be cool to find out if it's true.  Does anybody
2179
 
        # maintain Libtool? --akim.
2180
 
        export ac_cv_exeext
 
3167
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3168
        then :; else
 
3169
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3170
        fi
 
3171
        # We set ac_cv_exeext here because the later test for it is not
 
3172
        # safe: cross compilers may not add the suffix if given an `-o'
 
3173
        # argument, so we may need to know it at that point already.
 
3174
        # Even if this section looks crufty: it has the advantage of
 
3175
        # actually working.
2181
3176
        break;;
2182
3177
    * )
2183
3178
        break;;
2184
3179
  esac
2185
3180
done
 
3181
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3182
 
2186
3183
else
2187
 
  echo "$as_me: failed program was:" >&5
 
3184
  ac_file=''
 
3185
fi
 
3186
if test -z "$ac_file"; then :
 
3187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3188
$as_echo "no" >&6; }
 
3189
$as_echo "$as_me: failed program was:" >&5
2188
3190
sed 's/^/| /' conftest.$ac_ext >&5
2189
3191
 
2190
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2191
 
See \`config.log' for more details." >&5
2192
 
echo "$as_me: error: C compiler cannot create executables
2193
 
See \`config.log' for more details." >&2;}
2194
 
   { (exit 77); exit 77; }; }
 
3192
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3193
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3194
as_fn_error 77 "C compiler cannot create executables
 
3195
See \`config.log' for more details" "$LINENO" 5; }
 
3196
else
 
3197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3198
$as_echo "yes" >&6; }
2195
3199
fi
2196
 
 
 
3200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3201
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3203
$as_echo "$ac_file" >&6; }
2197
3204
ac_exeext=$ac_cv_exeext
2198
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2199
 
echo "${ECHO_T}$ac_file" >&6
2200
 
 
2201
 
# Check the compiler produces executables we can run.  If not, either
2202
 
# the compiler is broken, or we cross compile.
2203
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2204
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2205
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2206
 
# If not cross compiling, check that we can run a simple program.
2207
 
if test "$cross_compiling" != yes; then
2208
 
  if { ac_try='./$ac_file'
2209
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210
 
  (eval $ac_try) 2>&5
2211
 
  ac_status=$?
2212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213
 
  (exit $ac_status); }; }; then
2214
 
    cross_compiling=no
2215
 
  else
2216
 
    if test "$cross_compiling" = maybe; then
2217
 
        cross_compiling=yes
2218
 
    else
2219
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2220
 
If you meant to cross compile, use \`--host'.
2221
 
See \`config.log' for more details." >&5
2222
 
echo "$as_me: error: cannot run C compiled programs.
2223
 
If you meant to cross compile, use \`--host'.
2224
 
See \`config.log' for more details." >&2;}
2225
 
   { (exit 1); exit 1; }; }
2226
 
    fi
2227
 
  fi
2228
 
fi
2229
 
echo "$as_me:$LINENO: result: yes" >&5
2230
 
echo "${ECHO_T}yes" >&6
2231
 
 
2232
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3205
 
 
3206
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2233
3207
ac_clean_files=$ac_clean_files_save
2234
 
# Check the compiler produces executables we can run.  If not, either
2235
 
# the compiler is broken, or we cross compile.
2236
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2237
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2238
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2239
 
echo "${ECHO_T}$cross_compiling" >&6
2240
 
 
2241
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2242
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2243
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2244
 
  (eval $ac_link) 2>&5
 
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3209
$as_echo_n "checking for suffix of executables... " >&6; }
 
3210
if { { ac_try="$ac_link"
 
3211
case "(($ac_try" in
 
3212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3213
  *) ac_try_echo=$ac_try;;
 
3214
esac
 
3215
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3216
$as_echo "$ac_try_echo"; } >&5
 
3217
  (eval "$ac_link") 2>&5
2245
3218
  ac_status=$?
2246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247
 
  (exit $ac_status); }; then
 
3219
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3220
  test $ac_status = 0; }; then :
2248
3221
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2249
3222
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2250
3223
# work properly (i.e., refer to `conftest.exe'), while it won't with
2252
3225
for ac_file in conftest.exe conftest conftest.*; do
2253
3226
  test -f "$ac_file" || continue
2254
3227
  case $ac_file in
2255
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3228
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2256
3229
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2257
 
          export ac_cv_exeext
2258
3230
          break;;
2259
3231
    * ) break;;
2260
3232
  esac
2261
3233
done
2262
3234
else
2263
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2264
 
See \`config.log' for more details." >&5
2265
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2266
 
See \`config.log' for more details." >&2;}
2267
 
   { (exit 1); exit 1; }; }
 
3235
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3236
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3237
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3238
See \`config.log' for more details" "$LINENO" 5; }
2268
3239
fi
2269
 
 
2270
 
rm -f conftest$ac_cv_exeext
2271
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2272
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3240
rm -f conftest conftest$ac_cv_exeext
 
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3242
$as_echo "$ac_cv_exeext" >&6; }
2273
3243
 
2274
3244
rm -f conftest.$ac_ext
2275
3245
EXEEXT=$ac_cv_exeext
2276
3246
ac_exeext=$EXEEXT
2277
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2278
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2279
 
if test "${ac_cv_objext+set}" = set; then
2280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3247
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3248
/* end confdefs.h.  */
 
3249
#include <stdio.h>
 
3250
int
 
3251
main ()
 
3252
{
 
3253
FILE *f = fopen ("conftest.out", "w");
 
3254
 return ferror (f) || fclose (f) != 0;
 
3255
 
 
3256
  ;
 
3257
  return 0;
 
3258
}
 
3259
_ACEOF
 
3260
ac_clean_files="$ac_clean_files conftest.out"
 
3261
# Check that the compiler produces executables we can run.  If not, either
 
3262
# the compiler is broken, or we cross compile.
 
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3264
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3265
if test "$cross_compiling" != yes; then
 
3266
  { { ac_try="$ac_link"
 
3267
case "(($ac_try" in
 
3268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3269
  *) ac_try_echo=$ac_try;;
 
3270
esac
 
3271
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3272
$as_echo "$ac_try_echo"; } >&5
 
3273
  (eval "$ac_link") 2>&5
 
3274
  ac_status=$?
 
3275
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3276
  test $ac_status = 0; }
 
3277
  if { ac_try='./conftest$ac_cv_exeext'
 
3278
  { { case "(($ac_try" in
 
3279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3280
  *) ac_try_echo=$ac_try;;
 
3281
esac
 
3282
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3283
$as_echo "$ac_try_echo"; } >&5
 
3284
  (eval "$ac_try") 2>&5
 
3285
  ac_status=$?
 
3286
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3287
  test $ac_status = 0; }; }; then
 
3288
    cross_compiling=no
 
3289
  else
 
3290
    if test "$cross_compiling" = maybe; then
 
3291
        cross_compiling=yes
 
3292
    else
 
3293
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3294
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3295
as_fn_error $? "cannot run C compiled programs.
 
3296
If you meant to cross compile, use \`--host'.
 
3297
See \`config.log' for more details" "$LINENO" 5; }
 
3298
    fi
 
3299
  fi
 
3300
fi
 
3301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3302
$as_echo "$cross_compiling" >&6; }
 
3303
 
 
3304
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3305
ac_clean_files=$ac_clean_files_save
 
3306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3307
$as_echo_n "checking for suffix of object files... " >&6; }
 
3308
if ${ac_cv_objext+:} false; then :
 
3309
  $as_echo_n "(cached) " >&6
2281
3310
else
2282
 
  cat >conftest.$ac_ext <<_ACEOF
2283
 
/* confdefs.h.  */
2284
 
_ACEOF
2285
 
cat confdefs.h >>conftest.$ac_ext
2286
 
cat >>conftest.$ac_ext <<_ACEOF
 
3311
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287
3312
/* end confdefs.h.  */
2288
3313
 
2289
3314
int
2295
3320
}
2296
3321
_ACEOF
2297
3322
rm -f conftest.o conftest.obj
2298
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299
 
  (eval $ac_compile) 2>&5
 
3323
if { { ac_try="$ac_compile"
 
3324
case "(($ac_try" in
 
3325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3326
  *) ac_try_echo=$ac_try;;
 
3327
esac
 
3328
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3329
$as_echo "$ac_try_echo"; } >&5
 
3330
  (eval "$ac_compile") 2>&5
2300
3331
  ac_status=$?
2301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302
 
  (exit $ac_status); }; then
2303
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3332
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3333
  test $ac_status = 0; }; then :
 
3334
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3335
  test -f "$ac_file" || continue;
2304
3336
  case $ac_file in
2305
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3337
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2306
3338
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2307
3339
       break;;
2308
3340
  esac
2309
3341
done
2310
3342
else
2311
 
  echo "$as_me: failed program was:" >&5
 
3343
  $as_echo "$as_me: failed program was:" >&5
2312
3344
sed 's/^/| /' conftest.$ac_ext >&5
2313
3345
 
2314
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2315
 
See \`config.log' for more details." >&5
2316
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2317
 
See \`config.log' for more details." >&2;}
2318
 
   { (exit 1); exit 1; }; }
 
3346
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3348
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3349
See \`config.log' for more details" "$LINENO" 5; }
2319
3350
fi
2320
 
 
2321
3351
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2322
3352
fi
2323
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2324
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3354
$as_echo "$ac_cv_objext" >&6; }
2325
3355
OBJEXT=$ac_cv_objext
2326
3356
ac_objext=$OBJEXT
2327
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2328
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2329
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3358
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3359
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3360
  $as_echo_n "(cached) " >&6
2331
3361
else
2332
 
  cat >conftest.$ac_ext <<_ACEOF
2333
 
/* confdefs.h.  */
2334
 
_ACEOF
2335
 
cat confdefs.h >>conftest.$ac_ext
2336
 
cat >>conftest.$ac_ext <<_ACEOF
 
3362
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337
3363
/* end confdefs.h.  */
2338
3364
 
2339
3365
int
2347
3373
  return 0;
2348
3374
}
2349
3375
_ACEOF
2350
 
rm -f conftest.$ac_objext
2351
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2352
 
  (eval $ac_compile) 2>conftest.er1
2353
 
  ac_status=$?
2354
 
  grep -v '^ *+' conftest.er1 >conftest.err
2355
 
  rm -f conftest.er1
2356
 
  cat conftest.err >&5
2357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
 
  (exit $ac_status); } &&
2359
 
         { ac_try='test -z "$ac_c_werror_flag"
2360
 
                         || test ! -s conftest.err'
2361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362
 
  (eval $ac_try) 2>&5
2363
 
  ac_status=$?
2364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365
 
  (exit $ac_status); }; } &&
2366
 
         { ac_try='test -s conftest.$ac_objext'
2367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368
 
  (eval $ac_try) 2>&5
2369
 
  ac_status=$?
2370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371
 
  (exit $ac_status); }; }; then
 
3376
if ac_fn_c_try_compile "$LINENO"; then :
2372
3377
  ac_compiler_gnu=yes
2373
3378
else
2374
 
  echo "$as_me: failed program was:" >&5
2375
 
sed 's/^/| /' conftest.$ac_ext >&5
2376
 
 
2377
 
ac_compiler_gnu=no
 
3379
  ac_compiler_gnu=no
2378
3380
fi
2379
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3381
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380
3382
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2381
3383
 
2382
3384
fi
2383
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2384
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2385
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3386
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3387
if test $ac_compiler_gnu = yes; then
 
3388
  GCC=yes
 
3389
else
 
3390
  GCC=
 
3391
fi
2386
3392
ac_test_CFLAGS=${CFLAGS+set}
2387
3393
ac_save_CFLAGS=$CFLAGS
2388
 
CFLAGS="-g"
2389
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2390
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2391
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2393
 
else
2394
 
  cat >conftest.$ac_ext <<_ACEOF
2395
 
/* confdefs.h.  */
2396
 
_ACEOF
2397
 
cat confdefs.h >>conftest.$ac_ext
2398
 
cat >>conftest.$ac_ext <<_ACEOF
2399
 
/* end confdefs.h.  */
2400
 
 
2401
 
int
2402
 
main ()
2403
 
{
2404
 
 
2405
 
  ;
2406
 
  return 0;
2407
 
}
2408
 
_ACEOF
2409
 
rm -f conftest.$ac_objext
2410
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411
 
  (eval $ac_compile) 2>conftest.er1
2412
 
  ac_status=$?
2413
 
  grep -v '^ *+' conftest.er1 >conftest.err
2414
 
  rm -f conftest.er1
2415
 
  cat conftest.err >&5
2416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417
 
  (exit $ac_status); } &&
2418
 
         { ac_try='test -z "$ac_c_werror_flag"
2419
 
                         || test ! -s conftest.err'
2420
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421
 
  (eval $ac_try) 2>&5
2422
 
  ac_status=$?
2423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424
 
  (exit $ac_status); }; } &&
2425
 
         { ac_try='test -s conftest.$ac_objext'
2426
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427
 
  (eval $ac_try) 2>&5
2428
 
  ac_status=$?
2429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430
 
  (exit $ac_status); }; }; then
2431
 
  ac_cv_prog_cc_g=yes
2432
 
else
2433
 
  echo "$as_me: failed program was:" >&5
2434
 
sed 's/^/| /' conftest.$ac_ext >&5
2435
 
 
2436
 
ac_cv_prog_cc_g=no
2437
 
fi
2438
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2439
 
fi
2440
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2441
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3395
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3396
if ${ac_cv_prog_cc_g+:} false; then :
 
3397
  $as_echo_n "(cached) " >&6
 
3398
else
 
3399
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3400
   ac_c_werror_flag=yes
 
3401
   ac_cv_prog_cc_g=no
 
3402
   CFLAGS="-g"
 
3403
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3404
/* end confdefs.h.  */
 
3405
 
 
3406
int
 
3407
main ()
 
3408
{
 
3409
 
 
3410
  ;
 
3411
  return 0;
 
3412
}
 
3413
_ACEOF
 
3414
if ac_fn_c_try_compile "$LINENO"; then :
 
3415
  ac_cv_prog_cc_g=yes
 
3416
else
 
3417
  CFLAGS=""
 
3418
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3419
/* end confdefs.h.  */
 
3420
 
 
3421
int
 
3422
main ()
 
3423
{
 
3424
 
 
3425
  ;
 
3426
  return 0;
 
3427
}
 
3428
_ACEOF
 
3429
if ac_fn_c_try_compile "$LINENO"; then :
 
3430
 
 
3431
else
 
3432
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3433
         CFLAGS="-g"
 
3434
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3435
/* end confdefs.h.  */
 
3436
 
 
3437
int
 
3438
main ()
 
3439
{
 
3440
 
 
3441
  ;
 
3442
  return 0;
 
3443
}
 
3444
_ACEOF
 
3445
if ac_fn_c_try_compile "$LINENO"; then :
 
3446
  ac_cv_prog_cc_g=yes
 
3447
fi
 
3448
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3449
fi
 
3450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3451
fi
 
3452
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3453
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3454
fi
 
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3456
$as_echo "$ac_cv_prog_cc_g" >&6; }
2442
3457
if test "$ac_test_CFLAGS" = set; then
2443
3458
  CFLAGS=$ac_save_CFLAGS
2444
3459
elif test $ac_cv_prog_cc_g = yes; then
2454
3469
    CFLAGS=
2455
3470
  fi
2456
3471
fi
2457
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2458
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2459
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2460
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3473
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3474
if ${ac_cv_prog_cc_c89+:} false; then :
 
3475
  $as_echo_n "(cached) " >&6
2461
3476
else
2462
 
  ac_cv_prog_cc_stdc=no
 
3477
  ac_cv_prog_cc_c89=no
2463
3478
ac_save_CC=$CC
2464
 
cat >conftest.$ac_ext <<_ACEOF
2465
 
/* confdefs.h.  */
2466
 
_ACEOF
2467
 
cat confdefs.h >>conftest.$ac_ext
2468
 
cat >>conftest.$ac_ext <<_ACEOF
 
3479
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469
3480
/* end confdefs.h.  */
2470
3481
#include <stdarg.h>
2471
3482
#include <stdio.h>
2493
3504
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2494
3505
   function prototypes and stuff, but not '\xHH' hex character constants.
2495
3506
   These don't provoke an error unfortunately, instead are silently treated
2496
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3507
   as 'x'.  The following induces an error, until -std is added to get
2497
3508
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2498
3509
   array size at least.  It's necessary to write '\x00'==0 to get something
2499
 
   that's true only with -std1.  */
 
3510
   that's true only with -std.  */
2500
3511
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2501
3512
 
 
3513
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3514
   inside strings and character constants.  */
 
3515
#define FOO(x) 'x'
 
3516
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3517
 
2502
3518
int test (int i, double x);
2503
3519
struct s1 {int (*f) (int a);};
2504
3520
struct s2 {int (*f) (double a);};
2513
3529
  return 0;
2514
3530
}
2515
3531
_ACEOF
2516
 
# Don't try gcc -ansi; that turns off useful extensions and
2517
 
# breaks some systems' header files.
2518
 
# AIX                   -qlanglvl=ansi
2519
 
# Ultrix and OSF/1      -std1
2520
 
# HP-UX 10.20 and later -Ae
2521
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2522
 
# SVR4                  -Xc -D__EXTENSIONS__
2523
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3532
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3533
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2524
3534
do
2525
3535
  CC="$ac_save_CC $ac_arg"
2526
 
  rm -f conftest.$ac_objext
2527
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528
 
  (eval $ac_compile) 2>conftest.er1
2529
 
  ac_status=$?
2530
 
  grep -v '^ *+' conftest.er1 >conftest.err
2531
 
  rm -f conftest.er1
2532
 
  cat conftest.err >&5
2533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534
 
  (exit $ac_status); } &&
2535
 
         { ac_try='test -z "$ac_c_werror_flag"
2536
 
                         || test ! -s conftest.err'
2537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538
 
  (eval $ac_try) 2>&5
2539
 
  ac_status=$?
2540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541
 
  (exit $ac_status); }; } &&
2542
 
         { ac_try='test -s conftest.$ac_objext'
2543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544
 
  (eval $ac_try) 2>&5
2545
 
  ac_status=$?
2546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547
 
  (exit $ac_status); }; }; then
2548
 
  ac_cv_prog_cc_stdc=$ac_arg
2549
 
break
2550
 
else
2551
 
  echo "$as_me: failed program was:" >&5
2552
 
sed 's/^/| /' conftest.$ac_ext >&5
2553
 
 
 
3536
  if ac_fn_c_try_compile "$LINENO"; then :
 
3537
  ac_cv_prog_cc_c89=$ac_arg
2554
3538
fi
2555
 
rm -f conftest.err conftest.$ac_objext
 
3539
rm -f core conftest.err conftest.$ac_objext
 
3540
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2556
3541
done
2557
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3542
rm -f conftest.$ac_ext
2558
3543
CC=$ac_save_CC
2559
3544
 
2560
3545
fi
2561
 
 
2562
 
case "x$ac_cv_prog_cc_stdc" in
2563
 
  x|xno)
2564
 
    echo "$as_me:$LINENO: result: none needed" >&5
2565
 
echo "${ECHO_T}none needed" >&6 ;;
 
3546
# AC_CACHE_VAL
 
3547
case "x$ac_cv_prog_cc_c89" in
 
3548
  x)
 
3549
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3550
$as_echo "none needed" >&6; } ;;
 
3551
  xno)
 
3552
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3553
$as_echo "unsupported" >&6; } ;;
2566
3554
  *)
2567
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2568
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2569
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3555
    CC="$CC $ac_cv_prog_cc_c89"
 
3556
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3557
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2570
3558
esac
2571
 
 
2572
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2573
 
# in C++ we need to declare it.  In case someone uses the same compiler
2574
 
# for both compiling C and C++ we need to have the C++ compiler decide
2575
 
# the declaration of exit, since it's the most demanding environment.
2576
 
cat >conftest.$ac_ext <<_ACEOF
2577
 
#ifndef __cplusplus
2578
 
  choke me
2579
 
#endif
2580
 
_ACEOF
2581
 
rm -f conftest.$ac_objext
2582
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2583
 
  (eval $ac_compile) 2>conftest.er1
2584
 
  ac_status=$?
2585
 
  grep -v '^ *+' conftest.er1 >conftest.err
2586
 
  rm -f conftest.er1
2587
 
  cat conftest.err >&5
2588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
 
  (exit $ac_status); } &&
2590
 
         { ac_try='test -z "$ac_c_werror_flag"
2591
 
                         || test ! -s conftest.err'
2592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593
 
  (eval $ac_try) 2>&5
2594
 
  ac_status=$?
2595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596
 
  (exit $ac_status); }; } &&
2597
 
         { ac_try='test -s conftest.$ac_objext'
2598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599
 
  (eval $ac_try) 2>&5
2600
 
  ac_status=$?
2601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
 
  (exit $ac_status); }; }; then
2603
 
  for ac_declaration in \
2604
 
   '' \
2605
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2606
 
   'extern "C" void std::exit (int); using std::exit;' \
2607
 
   'extern "C" void exit (int) throw ();' \
2608
 
   'extern "C" void exit (int);' \
2609
 
   'void exit (int);'
2610
 
do
2611
 
  cat >conftest.$ac_ext <<_ACEOF
2612
 
/* confdefs.h.  */
2613
 
_ACEOF
2614
 
cat confdefs.h >>conftest.$ac_ext
2615
 
cat >>conftest.$ac_ext <<_ACEOF
2616
 
/* end confdefs.h.  */
2617
 
$ac_declaration
2618
 
#include <stdlib.h>
2619
 
int
2620
 
main ()
2621
 
{
2622
 
exit (42);
2623
 
  ;
2624
 
  return 0;
2625
 
}
2626
 
_ACEOF
2627
 
rm -f conftest.$ac_objext
2628
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2629
 
  (eval $ac_compile) 2>conftest.er1
2630
 
  ac_status=$?
2631
 
  grep -v '^ *+' conftest.er1 >conftest.err
2632
 
  rm -f conftest.er1
2633
 
  cat conftest.err >&5
2634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635
 
  (exit $ac_status); } &&
2636
 
         { ac_try='test -z "$ac_c_werror_flag"
2637
 
                         || test ! -s conftest.err'
2638
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639
 
  (eval $ac_try) 2>&5
2640
 
  ac_status=$?
2641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642
 
  (exit $ac_status); }; } &&
2643
 
         { ac_try='test -s conftest.$ac_objext'
2644
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645
 
  (eval $ac_try) 2>&5
2646
 
  ac_status=$?
2647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648
 
  (exit $ac_status); }; }; then
2649
 
  :
2650
 
else
2651
 
  echo "$as_me: failed program was:" >&5
2652
 
sed 's/^/| /' conftest.$ac_ext >&5
2653
 
 
2654
 
continue
2655
 
fi
2656
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2657
 
  cat >conftest.$ac_ext <<_ACEOF
2658
 
/* confdefs.h.  */
2659
 
_ACEOF
2660
 
cat confdefs.h >>conftest.$ac_ext
2661
 
cat >>conftest.$ac_ext <<_ACEOF
2662
 
/* end confdefs.h.  */
2663
 
$ac_declaration
2664
 
int
2665
 
main ()
2666
 
{
2667
 
exit (42);
2668
 
  ;
2669
 
  return 0;
2670
 
}
2671
 
_ACEOF
2672
 
rm -f conftest.$ac_objext
2673
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674
 
  (eval $ac_compile) 2>conftest.er1
2675
 
  ac_status=$?
2676
 
  grep -v '^ *+' conftest.er1 >conftest.err
2677
 
  rm -f conftest.er1
2678
 
  cat conftest.err >&5
2679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680
 
  (exit $ac_status); } &&
2681
 
         { ac_try='test -z "$ac_c_werror_flag"
2682
 
                         || test ! -s conftest.err'
2683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684
 
  (eval $ac_try) 2>&5
2685
 
  ac_status=$?
2686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687
 
  (exit $ac_status); }; } &&
2688
 
         { ac_try='test -s conftest.$ac_objext'
2689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690
 
  (eval $ac_try) 2>&5
2691
 
  ac_status=$?
2692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693
 
  (exit $ac_status); }; }; then
2694
 
  break
2695
 
else
2696
 
  echo "$as_me: failed program was:" >&5
2697
 
sed 's/^/| /' conftest.$ac_ext >&5
2698
 
 
2699
 
fi
2700
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2701
 
done
2702
 
rm -f conftest*
2703
 
if test -n "$ac_declaration"; then
2704
 
  echo '#ifdef __cplusplus' >>confdefs.h
2705
 
  echo $ac_declaration      >>confdefs.h
2706
 
  echo '#endif'             >>confdefs.h
2707
 
fi
2708
 
 
2709
 
else
2710
 
  echo "$as_me: failed program was:" >&5
2711
 
sed 's/^/| /' conftest.$ac_ext >&5
2712
 
 
2713
 
fi
2714
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3559
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3560
 
 
3561
fi
 
3562
 
2715
3563
ac_ext=c
2716
3564
ac_cpp='$CPP $CPPFLAGS'
2717
3565
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2719
3567
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2720
3568
DEPDIR="${am__leading_dot}deps"
2721
3569
 
2722
 
          ac_config_commands="$ac_config_commands depfiles"
 
3570
ac_config_commands="$ac_config_commands depfiles"
2723
3571
 
2724
3572
 
2725
3573
am_make=${MAKE-make}
2726
3574
cat > confinc << 'END'
2727
3575
am__doit:
2728
 
        @echo done
 
3576
        @echo this is the am__doit target
2729
3577
.PHONY: am__doit
2730
3578
END
2731
3579
# If we don't find an include directive, just comment out the code.
2732
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2733
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3581
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2734
3582
am__include="#"
2735
3583
am__quote=
2736
3584
_am_result=none
2737
3585
# First try GNU make style include.
2738
3586
echo "include confinc" > confmf
2739
 
# We grep out `Entering directory' and `Leaving directory'
2740
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2741
 
# In particular we don't look at `^make:' because GNU make might
2742
 
# be invoked under some other name (usually "gmake"), in which
2743
 
# case it prints its new name instead of `make'.
2744
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2745
 
   am__include=include
2746
 
   am__quote=
2747
 
   _am_result=GNU
2748
 
fi
 
3587
# Ignore all kinds of additional output from `make'.
 
3588
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3589
*the\ am__doit\ target*)
 
3590
  am__include=include
 
3591
  am__quote=
 
3592
  _am_result=GNU
 
3593
  ;;
 
3594
esac
2749
3595
# Now try BSD make style include.
2750
3596
if test "$am__include" = "#"; then
2751
3597
   echo '.include "confinc"' > confmf
2752
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2753
 
      am__include=.include
2754
 
      am__quote="\""
2755
 
      _am_result=BSD
2756
 
   fi
 
3598
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3599
   *the\ am__doit\ target*)
 
3600
     am__include=.include
 
3601
     am__quote="\""
 
3602
     _am_result=BSD
 
3603
     ;;
 
3604
   esac
2757
3605
fi
2758
3606
 
2759
3607
 
2760
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2761
 
echo "${ECHO_T}$_am_result" >&6
 
3608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3609
$as_echo "$_am_result" >&6; }
2762
3610
rm -f confinc confmf
2763
3611
 
2764
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2765
 
if test "${enable_dependency_tracking+set}" = set; then
2766
 
  enableval="$enable_dependency_tracking"
 
3612
# Check whether --enable-dependency-tracking was given.
 
3613
if test "${enable_dependency_tracking+set}" = set; then :
 
3614
  enableval=$enable_dependency_tracking;
 
3615
fi
2767
3616
 
2768
 
fi;
2769
3617
if test "x$enable_dependency_tracking" != xno; then
2770
3618
  am_depcomp="$ac_aux_dir/depcomp"
2771
3619
  AMDEPBACKSLASH='\'
2772
3620
fi
2773
 
 
2774
 
 
2775
 
if test "x$enable_dependency_tracking" != xno; then
 
3621
 if test "x$enable_dependency_tracking" != xno; then
2776
3622
  AMDEP_TRUE=
2777
3623
  AMDEP_FALSE='#'
2778
3624
else
2782
3628
 
2783
3629
 
2784
3630
 
2785
 
 
2786
3631
depcc="$CC"   am_compiler_list=
2787
3632
 
2788
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2789
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2790
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3634
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3635
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3636
  $as_echo_n "(cached) " >&6
2792
3637
else
2793
3638
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2794
3639
  # We make a subdir and do the tests there.  Otherwise we can end up
2813
3658
  if test "$am_compiler_list" = ""; then
2814
3659
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2815
3660
  fi
 
3661
  am__universal=false
 
3662
  case " $depcc " in #(
 
3663
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3664
     esac
 
3665
 
2816
3666
  for depmode in $am_compiler_list; do
2817
3667
    # Setup a source with many dependencies, because some compilers
2818
3668
    # like to wrap large dependency lists on column 80 (with \), and
2830
3680
    done
2831
3681
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2832
3682
 
 
3683
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3684
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3685
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3686
    # versions had trouble with output in subdirs
 
3687
    am__obj=sub/conftest.${OBJEXT-o}
 
3688
    am__minus_obj="-o $am__obj"
2833
3689
    case $depmode in
 
3690
    gcc)
 
3691
      # This depmode causes a compiler race in universal mode.
 
3692
      test "$am__universal" = false || continue
 
3693
      ;;
2834
3694
    nosideeffect)
2835
3695
      # after this tag, mechanisms are not by side-effect, so they'll
2836
3696
      # only be used when explicitly requested
2840
3700
        break
2841
3701
      fi
2842
3702
      ;;
 
3703
    msvisualcpp | msvcmsys)
 
3704
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3705
      # not run yet.  These depmodes are late enough in the game, and
 
3706
      # so weak that their functioning should not be impacted.
 
3707
      am__obj=conftest.${OBJEXT-o}
 
3708
      am__minus_obj=
 
3709
      ;;
2843
3710
    none) break ;;
2844
3711
    esac
2845
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2846
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
2847
 
    # handle `-M -o', and we need to detect this.
2848
3712
    if depmode=$depmode \
2849
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3713
       source=sub/conftest.c object=$am__obj \
2850
3714
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2851
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3715
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2852
3716
         >/dev/null 2>conftest.err &&
 
3717
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2853
3718
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2854
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3719
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2855
3720
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2856
3721
      # icc doesn't choke on unknown options, it will just issue warnings
2857
3722
      # or remarks (even with -Werror).  So we grep stderr for any message
2875
3740
fi
2876
3741
 
2877
3742
fi
2878
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2879
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3744
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2880
3745
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2881
3746
 
2882
 
 
2883
 
 
2884
 
if
 
3747
 if
2885
3748
  test "x$enable_dependency_tracking" != xno \
2886
3749
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2887
3750
  am__fastdepCC_TRUE=
2892
3755
fi
2893
3756
 
2894
3757
 
2895
 
# Find a good install program.  We prefer a C program (faster),
2896
 
# so one script is as good as another.  But avoid the broken or
2897
 
# incompatible versions:
2898
 
# SysV /etc/install, /usr/sbin/install
2899
 
# SunOS /usr/etc/install
2900
 
# IRIX /sbin/install
2901
 
# AIX /bin/install
2902
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2903
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2904
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2905
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2906
 
# OS/2's system install, which has a completely different semantic
2907
 
# ./install, which can be erroneously created by make from ./install.sh.
2908
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2909
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2910
 
if test -z "$INSTALL"; then
2911
 
if test "${ac_cv_path_install+set}" = set; then
2912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3758
 
 
3759
 
 
3760
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
3761
$as_echo_n "checking whether NLS is requested... " >&6; }
 
3762
    # Check whether --enable-nls was given.
 
3763
if test "${enable_nls+set}" = set; then :
 
3764
  enableval=$enable_nls; USE_NLS=$enableval
2913
3765
else
2914
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915
 
for as_dir in $PATH
2916
 
do
2917
 
  IFS=$as_save_IFS
2918
 
  test -z "$as_dir" && as_dir=.
2919
 
  # Account for people who put trailing slashes in PATH elements.
2920
 
case $as_dir/ in
2921
 
  ./ | .// | /cC/* | \
2922
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2923
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2924
 
  /usr/ucb/* ) ;;
2925
 
  *)
2926
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2927
 
    # Don't use installbsd from OSF since it installs stuff as root
2928
 
    # by default.
2929
 
    for ac_prog in ginstall scoinst install; do
2930
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2931
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2932
 
          if test $ac_prog = install &&
2933
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2934
 
            # AIX install.  It has an incompatible calling convention.
2935
 
            :
2936
 
          elif test $ac_prog = install &&
2937
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2938
 
            # program-specific install script used by HP pwplus--don't use.
2939
 
            :
2940
 
          else
2941
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2942
 
            break 3
2943
 
          fi
2944
 
        fi
2945
 
      done
2946
 
    done
 
3766
  USE_NLS=yes
 
3767
fi
 
3768
 
 
3769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
3770
$as_echo "$USE_NLS" >&6; }
 
3771
 
 
3772
 
 
3773
 
 
3774
 
 
3775
 
 
3776
case "$am__api_version" in
 
3777
    1.01234)
 
3778
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
3779
    ;;
 
3780
    *)
2947
3781
    ;;
2948
3782
esac
2949
 
done
2950
 
 
2951
 
 
2952
 
fi
2953
 
  if test "${ac_cv_path_install+set}" = set; then
2954
 
    INSTALL=$ac_cv_path_install
2955
 
  else
2956
 
    # As a last resort, use the slow shell script.  We don't cache a
2957
 
    # path for INSTALL within a source directory, because that will
2958
 
    # break other packages using the cache if that directory is
2959
 
    # removed, or if the path is relative.
2960
 
    INSTALL=$ac_install_sh
2961
 
  fi
2962
 
fi
2963
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
2964
 
echo "${ECHO_T}$INSTALL" >&6
2965
 
 
2966
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2967
 
# It thinks the first close brace ends the variable substitution.
2968
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2969
 
 
2970
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2971
 
 
2972
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2973
 
 
2974
 
 
2975
3783
 
2976
3784
if test -n ""; then
2977
 
    echo "$as_me:$LINENO: checking for intltool >= " >&5
2978
 
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
2979
 
 
2980
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
2981
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }'  < ${ac_aux_dir}/intltool-update.in`
2982
 
 
2983
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
2984
 
 
2985
 
 
2986
 
    if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
2987
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
2988
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
2989
 
    else
2990
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool  or later." >&5
2991
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool  or later." >&6
2992
 
        exit 1
2993
 
    fi
 
3785
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
 
3786
$as_echo_n "checking for intltool >= ... " >&6; }
 
3787
 
 
3788
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
3789
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
3790
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
3791
 
 
3792
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3793
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
3794
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
3795
        as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
 
3796
fi
 
3797
 
 
3798
# Extract the first word of "intltool-update", so it can be a program name with args.
 
3799
set dummy intltool-update; ac_word=$2
 
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3801
$as_echo_n "checking for $ac_word... " >&6; }
 
3802
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
3803
  $as_echo_n "(cached) " >&6
 
3804
else
 
3805
  case $INTLTOOL_UPDATE in
 
3806
  [\\/]* | ?:[\\/]*)
 
3807
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
3808
  ;;
 
3809
  *)
 
3810
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3811
for as_dir in $PATH
 
3812
do
 
3813
  IFS=$as_save_IFS
 
3814
  test -z "$as_dir" && as_dir=.
 
3815
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3816
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3817
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
3818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3819
    break 2
 
3820
  fi
 
3821
done
 
3822
  done
 
3823
IFS=$as_save_IFS
 
3824
 
 
3825
  ;;
 
3826
esac
 
3827
fi
 
3828
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
3829
if test -n "$INTLTOOL_UPDATE"; then
 
3830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
3831
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
3832
else
 
3833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3834
$as_echo "no" >&6; }
 
3835
fi
 
3836
 
 
3837
 
 
3838
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
3839
set dummy intltool-merge; ac_word=$2
 
3840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3841
$as_echo_n "checking for $ac_word... " >&6; }
 
3842
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
3843
  $as_echo_n "(cached) " >&6
 
3844
else
 
3845
  case $INTLTOOL_MERGE in
 
3846
  [\\/]* | ?:[\\/]*)
 
3847
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
3848
  ;;
 
3849
  *)
 
3850
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3851
for as_dir in $PATH
 
3852
do
 
3853
  IFS=$as_save_IFS
 
3854
  test -z "$as_dir" && as_dir=.
 
3855
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3856
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3857
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
3858
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3859
    break 2
 
3860
  fi
 
3861
done
 
3862
  done
 
3863
IFS=$as_save_IFS
 
3864
 
 
3865
  ;;
 
3866
esac
 
3867
fi
 
3868
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
3869
if test -n "$INTLTOOL_MERGE"; then
 
3870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
3871
$as_echo "$INTLTOOL_MERGE" >&6; }
 
3872
else
 
3873
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3874
$as_echo "no" >&6; }
 
3875
fi
 
3876
 
 
3877
 
 
3878
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
3879
set dummy intltool-extract; ac_word=$2
 
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3881
$as_echo_n "checking for $ac_word... " >&6; }
 
3882
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
3883
  $as_echo_n "(cached) " >&6
 
3884
else
 
3885
  case $INTLTOOL_EXTRACT in
 
3886
  [\\/]* | ?:[\\/]*)
 
3887
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
3888
  ;;
 
3889
  *)
 
3890
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3891
for as_dir in $PATH
 
3892
do
 
3893
  IFS=$as_save_IFS
 
3894
  test -z "$as_dir" && as_dir=.
 
3895
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3896
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3897
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
3898
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3899
    break 2
 
3900
  fi
 
3901
done
 
3902
  done
 
3903
IFS=$as_save_IFS
 
3904
 
 
3905
  ;;
 
3906
esac
 
3907
fi
 
3908
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
3909
if test -n "$INTLTOOL_EXTRACT"; then
 
3910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
3911
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
3912
else
 
3913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3914
$as_echo "no" >&6; }
 
3915
fi
 
3916
 
 
3917
 
 
3918
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
3919
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
2994
3920
fi
2995
3921
 
2996
3922
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3010
3936
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3011
3937
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3012
3938
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3013
 
 
3014
 
 
3015
 
 
3016
 
 
3017
 
 
3018
 
 
3019
 
 
3020
 
 
3021
 
 
3022
 
 
3023
 
 
3024
 
 
3025
 
 
3026
 
 
3027
 
 
3028
 
 
3029
 
 
3030
 
 
3031
 
 
3032
 
# Use the tools built into the package, not the ones that are installed.
3033
 
 
3034
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3035
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3036
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3037
 
 
3038
 
 
3039
 
 
3040
 
 
 
3939
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3940
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3941
 
 
3942
 
 
3943
 
 
3944
 
 
3945
 
 
3946
 
 
3947
 
 
3948
 
 
3949
 
 
3950
 
 
3951
 
 
3952
 
 
3953
 
 
3954
 
 
3955
 
 
3956
 
 
3957
 
 
3958
 
 
3959
 
 
3960
 
 
3961
 
 
3962
 
 
3963
 
 
3964
 
 
3965
 
 
3966
 
 
3967
 
 
3968
 
 
3969
 
 
3970
 
 
3971
 
 
3972
 
 
3973
 
 
3974
 
 
3975
 
 
3976
 
 
3977
 
 
3978
 
 
3979
 
 
3980
 
 
3981
 
 
3982
 
 
3983
 
 
3984
 
 
3985
 
 
3986
 
 
3987
 
 
3988
 
 
3989
 
 
3990
 
 
3991
 
 
3992
 
 
3993
 
 
3994
 
 
3995
 
 
3996
 
 
3997
 
 
3998
 
 
3999
 
 
4000
 
 
4001
 
 
4002
 
 
4003
 
 
4004
 
 
4005
 
 
4006
 
 
4007
 
 
4008
 
 
4009
 
 
4010
 
 
4011
 
 
4012
 
 
4013
 
 
4014
 
 
4015
 
 
4016
 
 
4017
 
 
4018
 
 
4019
 
 
4020
 
 
4021
 
 
4022
 
 
4023
 
 
4024
 
 
4025
 
 
4026
 
 
4027
 
 
4028
 
 
4029
 
 
4030
 
 
4031
 
 
4032
 
 
4033
 
 
4034
 
 
4035
 
 
4036
 
 
4037
 
 
4038
# Check the gettext tools to make sure they are GNU
 
4039
# Extract the first word of "xgettext", so it can be a program name with args.
 
4040
set dummy xgettext; ac_word=$2
 
4041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4042
$as_echo_n "checking for $ac_word... " >&6; }
 
4043
if ${ac_cv_path_XGETTEXT+:} false; then :
 
4044
  $as_echo_n "(cached) " >&6
 
4045
else
 
4046
  case $XGETTEXT in
 
4047
  [\\/]* | ?:[\\/]*)
 
4048
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
4049
  ;;
 
4050
  *)
 
4051
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4052
for as_dir in $PATH
 
4053
do
 
4054
  IFS=$as_save_IFS
 
4055
  test -z "$as_dir" && as_dir=.
 
4056
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4058
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4060
    break 2
 
4061
  fi
 
4062
done
 
4063
  done
 
4064
IFS=$as_save_IFS
 
4065
 
 
4066
  ;;
 
4067
esac
 
4068
fi
 
4069
XGETTEXT=$ac_cv_path_XGETTEXT
 
4070
if test -n "$XGETTEXT"; then
 
4071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
4072
$as_echo "$XGETTEXT" >&6; }
 
4073
else
 
4074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4075
$as_echo "no" >&6; }
 
4076
fi
 
4077
 
 
4078
 
 
4079
# Extract the first word of "msgmerge", so it can be a program name with args.
 
4080
set dummy msgmerge; ac_word=$2
 
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4082
$as_echo_n "checking for $ac_word... " >&6; }
 
4083
if ${ac_cv_path_MSGMERGE+:} false; then :
 
4084
  $as_echo_n "(cached) " >&6
 
4085
else
 
4086
  case $MSGMERGE in
 
4087
  [\\/]* | ?:[\\/]*)
 
4088
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
4089
  ;;
 
4090
  *)
 
4091
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4092
for as_dir in $PATH
 
4093
do
 
4094
  IFS=$as_save_IFS
 
4095
  test -z "$as_dir" && as_dir=.
 
4096
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4098
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
4099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4100
    break 2
 
4101
  fi
 
4102
done
 
4103
  done
 
4104
IFS=$as_save_IFS
 
4105
 
 
4106
  ;;
 
4107
esac
 
4108
fi
 
4109
MSGMERGE=$ac_cv_path_MSGMERGE
 
4110
if test -n "$MSGMERGE"; then
 
4111
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
4112
$as_echo "$MSGMERGE" >&6; }
 
4113
else
 
4114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4115
$as_echo "no" >&6; }
 
4116
fi
 
4117
 
 
4118
 
 
4119
# Extract the first word of "msgfmt", so it can be a program name with args.
 
4120
set dummy msgfmt; ac_word=$2
 
4121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4122
$as_echo_n "checking for $ac_word... " >&6; }
 
4123
if ${ac_cv_path_MSGFMT+:} false; then :
 
4124
  $as_echo_n "(cached) " >&6
 
4125
else
 
4126
  case $MSGFMT in
 
4127
  [\\/]* | ?:[\\/]*)
 
4128
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4129
  ;;
 
4130
  *)
 
4131
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4132
for as_dir in $PATH
 
4133
do
 
4134
  IFS=$as_save_IFS
 
4135
  test -z "$as_dir" && as_dir=.
 
4136
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4138
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4140
    break 2
 
4141
  fi
 
4142
done
 
4143
  done
 
4144
IFS=$as_save_IFS
 
4145
 
 
4146
  ;;
 
4147
esac
 
4148
fi
 
4149
MSGFMT=$ac_cv_path_MSGFMT
 
4150
if test -n "$MSGFMT"; then
 
4151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
4152
$as_echo "$MSGFMT" >&6; }
 
4153
else
 
4154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4155
$as_echo "no" >&6; }
 
4156
fi
 
4157
 
 
4158
 
 
4159
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
4160
set dummy gmsgfmt; ac_word=$2
 
4161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4162
$as_echo_n "checking for $ac_word... " >&6; }
 
4163
if ${ac_cv_path_GMSGFMT+:} false; then :
 
4164
  $as_echo_n "(cached) " >&6
 
4165
else
 
4166
  case $GMSGFMT in
 
4167
  [\\/]* | ?:[\\/]*)
 
4168
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
4169
  ;;
 
4170
  *)
 
4171
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4172
for as_dir in $PATH
 
4173
do
 
4174
  IFS=$as_save_IFS
 
4175
  test -z "$as_dir" && as_dir=.
 
4176
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4178
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4180
    break 2
 
4181
  fi
 
4182
done
 
4183
  done
 
4184
IFS=$as_save_IFS
 
4185
 
 
4186
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
4187
  ;;
 
4188
esac
 
4189
fi
 
4190
GMSGFMT=$ac_cv_path_GMSGFMT
 
4191
if test -n "$GMSGFMT"; then
 
4192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
4193
$as_echo "$GMSGFMT" >&6; }
 
4194
else
 
4195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4196
$as_echo "no" >&6; }
 
4197
fi
 
4198
 
 
4199
 
 
4200
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
4201
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4202
fi
 
4203
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
4204
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
4205
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
4206
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
4207
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4208
fi
3041
4209
 
3042
4210
# Extract the first word of "perl", so it can be a program name with args.
3043
4211
set dummy perl; ac_word=$2
3044
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3045
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4213
$as_echo_n "checking for $ac_word... " >&6; }
 
4214
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
4215
  $as_echo_n "(cached) " >&6
3048
4216
else
3049
4217
  case $INTLTOOL_PERL in
3050
4218
  [\\/]* | ?:[\\/]*)
3056
4224
do
3057
4225
  IFS=$as_save_IFS
3058
4226
  test -z "$as_dir" && as_dir=.
3059
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3060
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4227
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061
4229
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3062
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4230
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063
4231
    break 2
3064
4232
  fi
3065
4233
done
3066
 
done
 
4234
  done
 
4235
IFS=$as_save_IFS
3067
4236
 
3068
4237
  ;;
3069
4238
esac
3070
4239
fi
3071
4240
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3072
 
 
3073
4241
if test -n "$INTLTOOL_PERL"; then
3074
 
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3075
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
4242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
4243
$as_echo "$INTLTOOL_PERL" >&6; }
3076
4244
else
3077
 
  echo "$as_me:$LINENO: result: no" >&5
3078
 
echo "${ECHO_T}no" >&6
 
4245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4246
$as_echo "no" >&6; }
3079
4247
fi
3080
4248
 
 
4249
 
3081
4250
if test -z "$INTLTOOL_PERL"; then
3082
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3083
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
3084
 
   { (exit 1); exit 1; }; }
 
4251
   as_fn_error $? "perl not found" "$LINENO" 5
3085
4252
fi
3086
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3087
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3088
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
3089
 
   { (exit 1); exit 1; }; }
 
4253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
4254
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
4255
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
4256
if test $? -ne 0; then
 
4257
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
4258
else
 
4259
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
4260
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
4261
$as_echo "$IT_PERL_VERSION" >&6; }
3090
4262
fi
3091
4263
if test "x" != "xno-xml"; then
3092
 
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
3093
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
4264
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
4265
$as_echo_n "checking for XML::Parser... " >&6; }
3094
4266
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3095
 
       echo "$as_me:$LINENO: result: ok" >&5
3096
 
echo "${ECHO_T}ok" >&6
 
4267
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
4268
$as_echo "ok" >&6; }
3097
4269
   else
3098
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3099
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3100
 
   { (exit 1); exit 1; }; }
 
4270
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3101
4271
   fi
3102
4272
fi
3103
4273
 
3104
 
# Extract the first word of "iconv", so it can be a program name with args.
3105
 
set dummy iconv; ac_word=$2
3106
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3107
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108
 
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
3109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3110
 
else
3111
 
  case $INTLTOOL_ICONV in
3112
 
  [\\/]* | ?:[\\/]*)
3113
 
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
3114
 
  ;;
3115
 
  *)
3116
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117
 
for as_dir in $PATH
3118
 
do
3119
 
  IFS=$as_save_IFS
3120
 
  test -z "$as_dir" && as_dir=.
3121
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3122
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3123
 
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
3124
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3125
 
    break 2
3126
 
  fi
3127
 
done
3128
 
done
3129
 
 
3130
 
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
3131
 
  ;;
3132
 
esac
3133
 
fi
3134
 
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
3135
 
 
3136
 
if test -n "$INTLTOOL_ICONV"; then
3137
 
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
3138
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
3139
 
else
3140
 
  echo "$as_me:$LINENO: result: no" >&5
3141
 
echo "${ECHO_T}no" >&6
3142
 
fi
3143
 
 
3144
 
# Extract the first word of "msgfmt", so it can be a program name with args.
3145
 
set dummy msgfmt; ac_word=$2
3146
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3147
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3148
 
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
3149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3150
 
else
3151
 
  case $INTLTOOL_MSGFMT in
3152
 
  [\\/]* | ?:[\\/]*)
3153
 
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
3154
 
  ;;
3155
 
  *)
3156
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157
 
for as_dir in $PATH
3158
 
do
3159
 
  IFS=$as_save_IFS
3160
 
  test -z "$as_dir" && as_dir=.
3161
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3162
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163
 
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3164
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165
 
    break 2
3166
 
  fi
3167
 
done
3168
 
done
3169
 
 
3170
 
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
3171
 
  ;;
3172
 
esac
3173
 
fi
3174
 
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
3175
 
 
3176
 
if test -n "$INTLTOOL_MSGFMT"; then
3177
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
3178
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
3179
 
else
3180
 
  echo "$as_me:$LINENO: result: no" >&5
3181
 
echo "${ECHO_T}no" >&6
3182
 
fi
3183
 
 
3184
 
# Extract the first word of "msgmerge", so it can be a program name with args.
3185
 
set dummy msgmerge; ac_word=$2
3186
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3187
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3188
 
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
3189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3190
 
else
3191
 
  case $INTLTOOL_MSGMERGE in
3192
 
  [\\/]* | ?:[\\/]*)
3193
 
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
3194
 
  ;;
3195
 
  *)
3196
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197
 
for as_dir in $PATH
3198
 
do
3199
 
  IFS=$as_save_IFS
3200
 
  test -z "$as_dir" && as_dir=.
3201
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3202
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203
 
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3204
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3205
 
    break 2
3206
 
  fi
3207
 
done
3208
 
done
3209
 
 
3210
 
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
3211
 
  ;;
3212
 
esac
3213
 
fi
3214
 
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
3215
 
 
3216
 
if test -n "$INTLTOOL_MSGMERGE"; then
3217
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
3218
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
3219
 
else
3220
 
  echo "$as_me:$LINENO: result: no" >&5
3221
 
echo "${ECHO_T}no" >&6
3222
 
fi
3223
 
 
3224
 
# Extract the first word of "xgettext", so it can be a program name with args.
3225
 
set dummy xgettext; ac_word=$2
3226
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3227
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3228
 
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
3229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3230
 
else
3231
 
  case $INTLTOOL_XGETTEXT in
3232
 
  [\\/]* | ?:[\\/]*)
3233
 
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
3234
 
  ;;
3235
 
  *)
3236
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237
 
for as_dir in $PATH
3238
 
do
3239
 
  IFS=$as_save_IFS
3240
 
  test -z "$as_dir" && as_dir=.
3241
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3242
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243
 
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3244
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3245
 
    break 2
3246
 
  fi
3247
 
done
3248
 
done
3249
 
 
3250
 
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
3251
 
  ;;
3252
 
esac
3253
 
fi
3254
 
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
3255
 
 
3256
 
if test -n "$INTLTOOL_XGETTEXT"; then
3257
 
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
3258
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
3259
 
else
3260
 
  echo "$as_me:$LINENO: result: no" >&5
3261
 
echo "${ECHO_T}no" >&6
3262
 
fi
3263
 
 
3264
 
 
3265
 
# Remove file type tags (using []) from po/POTFILES.
3266
 
 
3267
 
 
3268
 
 
3269
 
 
3270
 
 
3271
 
 
3272
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
3273
 
  # Keeping the `.' argument allows $(mkdir_p) to be used without
3274
 
  # argument.  Indeed, we sometimes output rules like
3275
 
  #   $(mkdir_p) $(somedir)
3276
 
  # where $(somedir) is conditionally defined.
3277
 
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
3278
 
  # expensive solution, as it forces Make to start a sub-shell.)
3279
 
  mkdir_p='mkdir -p -- .'
3280
 
else
3281
 
  # On NextStep and OpenStep, the `mkdir' command does not
3282
 
  # recognize any option.  It will interpret all options as
3283
 
  # directories to create, and then abort because `.' already
3284
 
  # exists.
3285
 
  for d in ./-p ./--version;
3286
 
  do
3287
 
    test -d $d && rmdir $d
3288
 
  done
3289
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3290
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
3291
 
    mkdir_p='$(mkinstalldirs)'
3292
 
  else
3293
 
    mkdir_p='$(install_sh) -d'
3294
 
  fi
3295
 
fi
3296
 
 
3297
 
 
3298
 
 
3299
 
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
3300
 
 
3301
 
          ac_config_commands="$ac_config_commands intltool"
 
4274
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
4275
 
 
4276
 
 
4277
# Set DATADIRNAME correctly if it is not set yet
 
4278
# (copied from glib-gettext.m4)
 
4279
if test -z "$DATADIRNAME"; then
 
4280
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4281
/* end confdefs.h.  */
 
4282
 
 
4283
int
 
4284
main ()
 
4285
{
 
4286
extern int _nl_msg_cat_cntr;
 
4287
                       return _nl_msg_cat_cntr
 
4288
  ;
 
4289
  return 0;
 
4290
}
 
4291
_ACEOF
 
4292
if ac_fn_c_try_link "$LINENO"; then :
 
4293
  DATADIRNAME=share
 
4294
else
 
4295
  case $host in
 
4296
    *-*-solaris*)
 
4297
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4298
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
4299
  DATADIRNAME=share
 
4300
else
 
4301
  DATADIRNAME=lib
 
4302
fi
 
4303
 
 
4304
    ;;
 
4305
    *)
 
4306
    DATADIRNAME=lib
 
4307
    ;;
 
4308
    esac
 
4309
fi
 
4310
rm -f core conftest.err conftest.$ac_objext \
 
4311
    conftest$ac_exeext conftest.$ac_ext
 
4312
fi
 
4313
 
3302
4314
 
3303
4315
 
3304
4316
 
3309
4321
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3310
4322
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3311
4323
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3313
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4325
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3314
4326
# On Suns, sometimes $CPP names a directory.
3315
4327
if test -n "$CPP" && test -d "$CPP"; then
3316
4328
  CPP=
3317
4329
fi
3318
4330
if test -z "$CPP"; then
3319
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4331
  if ${ac_cv_prog_CPP+:} false; then :
 
4332
  $as_echo_n "(cached) " >&6
3321
4333
else
3322
4334
      # Double quotes because CPP needs to be expanded
3323
4335
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3331
4343
  # <limits.h> exists even on freestanding compilers.
3332
4344
  # On the NeXT, cc -E runs the code through the compiler's parser,
3333
4345
  # not just through cpp. "Syntax error" is here to catch this case.
3334
 
  cat >conftest.$ac_ext <<_ACEOF
3335
 
/* confdefs.h.  */
3336
 
_ACEOF
3337
 
cat confdefs.h >>conftest.$ac_ext
3338
 
cat >>conftest.$ac_ext <<_ACEOF
 
4346
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339
4347
/* end confdefs.h.  */
3340
4348
#ifdef __STDC__
3341
4349
# include <limits.h>
3344
4352
#endif
3345
4353
                     Syntax error
3346
4354
_ACEOF
3347
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3348
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3349
 
  ac_status=$?
3350
 
  grep -v '^ *+' conftest.er1 >conftest.err
3351
 
  rm -f conftest.er1
3352
 
  cat conftest.err >&5
3353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354
 
  (exit $ac_status); } >/dev/null; then
3355
 
  if test -s conftest.err; then
3356
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3357
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3358
 
  else
3359
 
    ac_cpp_err=
3360
 
  fi
3361
 
else
3362
 
  ac_cpp_err=yes
3363
 
fi
3364
 
if test -z "$ac_cpp_err"; then
3365
 
  :
3366
 
else
3367
 
  echo "$as_me: failed program was:" >&5
3368
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4355
if ac_fn_c_try_cpp "$LINENO"; then :
3369
4356
 
 
4357
else
3370
4358
  # Broken: fails on valid input.
3371
4359
continue
3372
4360
fi
3373
 
rm -f conftest.err conftest.$ac_ext
 
4361
rm -f conftest.err conftest.i conftest.$ac_ext
3374
4362
 
3375
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4363
  # OK, works on sane cases.  Now check whether nonexistent headers
3376
4364
  # can be detected and how.
3377
 
  cat >conftest.$ac_ext <<_ACEOF
3378
 
/* confdefs.h.  */
3379
 
_ACEOF
3380
 
cat confdefs.h >>conftest.$ac_ext
3381
 
cat >>conftest.$ac_ext <<_ACEOF
 
4365
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382
4366
/* end confdefs.h.  */
3383
4367
#include <ac_nonexistent.h>
3384
4368
_ACEOF
3385
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3386
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3387
 
  ac_status=$?
3388
 
  grep -v '^ *+' conftest.er1 >conftest.err
3389
 
  rm -f conftest.er1
3390
 
  cat conftest.err >&5
3391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392
 
  (exit $ac_status); } >/dev/null; then
3393
 
  if test -s conftest.err; then
3394
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3395
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3396
 
  else
3397
 
    ac_cpp_err=
3398
 
  fi
3399
 
else
3400
 
  ac_cpp_err=yes
3401
 
fi
3402
 
if test -z "$ac_cpp_err"; then
 
4369
if ac_fn_c_try_cpp "$LINENO"; then :
3403
4370
  # Broken: success on invalid input.
3404
4371
continue
3405
4372
else
3406
 
  echo "$as_me: failed program was:" >&5
3407
 
sed 's/^/| /' conftest.$ac_ext >&5
3408
 
 
3409
4373
  # Passes both tests.
3410
4374
ac_preproc_ok=:
3411
4375
break
3412
4376
fi
3413
 
rm -f conftest.err conftest.$ac_ext
 
4377
rm -f conftest.err conftest.i conftest.$ac_ext
3414
4378
 
3415
4379
done
3416
4380
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3417
 
rm -f conftest.err conftest.$ac_ext
3418
 
if $ac_preproc_ok; then
 
4381
rm -f conftest.i conftest.err conftest.$ac_ext
 
4382
if $ac_preproc_ok; then :
3419
4383
  break
3420
4384
fi
3421
4385
 
3427
4391
else
3428
4392
  ac_cv_prog_CPP=$CPP
3429
4393
fi
3430
 
echo "$as_me:$LINENO: result: $CPP" >&5
3431
 
echo "${ECHO_T}$CPP" >&6
 
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4395
$as_echo "$CPP" >&6; }
3432
4396
ac_preproc_ok=false
3433
4397
for ac_c_preproc_warn_flag in '' yes
3434
4398
do
3438
4402
  # <limits.h> exists even on freestanding compilers.
3439
4403
  # On the NeXT, cc -E runs the code through the compiler's parser,
3440
4404
  # not just through cpp. "Syntax error" is here to catch this case.
3441
 
  cat >conftest.$ac_ext <<_ACEOF
3442
 
/* confdefs.h.  */
3443
 
_ACEOF
3444
 
cat confdefs.h >>conftest.$ac_ext
3445
 
cat >>conftest.$ac_ext <<_ACEOF
 
4405
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446
4406
/* end confdefs.h.  */
3447
4407
#ifdef __STDC__
3448
4408
# include <limits.h>
3451
4411
#endif
3452
4412
                     Syntax error
3453
4413
_ACEOF
3454
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3455
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3456
 
  ac_status=$?
3457
 
  grep -v '^ *+' conftest.er1 >conftest.err
3458
 
  rm -f conftest.er1
3459
 
  cat conftest.err >&5
3460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461
 
  (exit $ac_status); } >/dev/null; then
3462
 
  if test -s conftest.err; then
3463
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3464
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3465
 
  else
3466
 
    ac_cpp_err=
3467
 
  fi
3468
 
else
3469
 
  ac_cpp_err=yes
3470
 
fi
3471
 
if test -z "$ac_cpp_err"; then
3472
 
  :
3473
 
else
3474
 
  echo "$as_me: failed program was:" >&5
3475
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4414
if ac_fn_c_try_cpp "$LINENO"; then :
3476
4415
 
 
4416
else
3477
4417
  # Broken: fails on valid input.
3478
4418
continue
3479
4419
fi
3480
 
rm -f conftest.err conftest.$ac_ext
 
4420
rm -f conftest.err conftest.i conftest.$ac_ext
3481
4421
 
3482
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4422
  # OK, works on sane cases.  Now check whether nonexistent headers
3483
4423
  # can be detected and how.
3484
 
  cat >conftest.$ac_ext <<_ACEOF
3485
 
/* confdefs.h.  */
3486
 
_ACEOF
3487
 
cat confdefs.h >>conftest.$ac_ext
3488
 
cat >>conftest.$ac_ext <<_ACEOF
 
4424
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489
4425
/* end confdefs.h.  */
3490
4426
#include <ac_nonexistent.h>
3491
4427
_ACEOF
3492
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3493
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3494
 
  ac_status=$?
3495
 
  grep -v '^ *+' conftest.er1 >conftest.err
3496
 
  rm -f conftest.er1
3497
 
  cat conftest.err >&5
3498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499
 
  (exit $ac_status); } >/dev/null; then
3500
 
  if test -s conftest.err; then
3501
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3502
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3503
 
  else
3504
 
    ac_cpp_err=
3505
 
  fi
3506
 
else
3507
 
  ac_cpp_err=yes
3508
 
fi
3509
 
if test -z "$ac_cpp_err"; then
 
4428
if ac_fn_c_try_cpp "$LINENO"; then :
3510
4429
  # Broken: success on invalid input.
3511
4430
continue
3512
4431
else
3513
 
  echo "$as_me: failed program was:" >&5
3514
 
sed 's/^/| /' conftest.$ac_ext >&5
3515
 
 
3516
4432
  # Passes both tests.
3517
4433
ac_preproc_ok=:
3518
4434
break
3519
4435
fi
3520
 
rm -f conftest.err conftest.$ac_ext
 
4436
rm -f conftest.err conftest.i conftest.$ac_ext
3521
4437
 
3522
4438
done
3523
4439
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3524
 
rm -f conftest.err conftest.$ac_ext
3525
 
if $ac_preproc_ok; then
3526
 
  :
 
4440
rm -f conftest.i conftest.err conftest.$ac_ext
 
4441
if $ac_preproc_ok; then :
 
4442
 
3527
4443
else
3528
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3529
 
See \`config.log' for more details." >&5
3530
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3531
 
See \`config.log' for more details." >&2;}
3532
 
   { (exit 1); exit 1; }; }
 
4444
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4445
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4446
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4447
See \`config.log' for more details" "$LINENO" 5; }
3533
4448
fi
3534
4449
 
3535
4450
ac_ext=c
3539
4454
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540
4455
 
3541
4456
 
3542
 
echo "$as_me:$LINENO: checking for egrep" >&5
3543
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3544
 
if test "${ac_cv_prog_egrep+set}" = set; then
3545
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3546
 
else
3547
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3548
 
    then ac_cv_prog_egrep='grep -E'
3549
 
    else ac_cv_prog_egrep='egrep'
3550
 
    fi
3551
 
fi
3552
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3553
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3554
 
 EGREP=$ac_cv_prog_egrep
3555
 
 
3556
 
 
3557
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3558
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3559
 
if test "${ac_cv_header_stdc+set}" = set; then
3560
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3561
 
else
3562
 
  cat >conftest.$ac_ext <<_ACEOF
3563
 
/* confdefs.h.  */
3564
 
_ACEOF
3565
 
cat confdefs.h >>conftest.$ac_ext
3566
 
cat >>conftest.$ac_ext <<_ACEOF
 
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4458
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4459
if ${ac_cv_path_GREP+:} false; then :
 
4460
  $as_echo_n "(cached) " >&6
 
4461
else
 
4462
  if test -z "$GREP"; then
 
4463
  ac_path_GREP_found=false
 
4464
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4465
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4466
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4467
do
 
4468
  IFS=$as_save_IFS
 
4469
  test -z "$as_dir" && as_dir=.
 
4470
    for ac_prog in grep ggrep; do
 
4471
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4472
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4473
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4474
# Check for GNU ac_path_GREP and select it if it is found.
 
4475
  # Check for GNU $ac_path_GREP
 
4476
case `"$ac_path_GREP" --version 2>&1` in
 
4477
*GNU*)
 
4478
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4479
*)
 
4480
  ac_count=0
 
4481
  $as_echo_n 0123456789 >"conftest.in"
 
4482
  while :
 
4483
  do
 
4484
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4485
    mv "conftest.tmp" "conftest.in"
 
4486
    cp "conftest.in" "conftest.nl"
 
4487
    $as_echo 'GREP' >> "conftest.nl"
 
4488
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4489
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4490
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4491
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4492
      # Best one so far, save it but keep looking for a better one
 
4493
      ac_cv_path_GREP="$ac_path_GREP"
 
4494
      ac_path_GREP_max=$ac_count
 
4495
    fi
 
4496
    # 10*(2^10) chars as input seems more than enough
 
4497
    test $ac_count -gt 10 && break
 
4498
  done
 
4499
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4500
esac
 
4501
 
 
4502
      $ac_path_GREP_found && break 3
 
4503
    done
 
4504
  done
 
4505
  done
 
4506
IFS=$as_save_IFS
 
4507
  if test -z "$ac_cv_path_GREP"; then
 
4508
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4509
  fi
 
4510
else
 
4511
  ac_cv_path_GREP=$GREP
 
4512
fi
 
4513
 
 
4514
fi
 
4515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4516
$as_echo "$ac_cv_path_GREP" >&6; }
 
4517
 GREP="$ac_cv_path_GREP"
 
4518
 
 
4519
 
 
4520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4521
$as_echo_n "checking for egrep... " >&6; }
 
4522
if ${ac_cv_path_EGREP+:} false; then :
 
4523
  $as_echo_n "(cached) " >&6
 
4524
else
 
4525
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4526
   then ac_cv_path_EGREP="$GREP -E"
 
4527
   else
 
4528
     if test -z "$EGREP"; then
 
4529
  ac_path_EGREP_found=false
 
4530
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4531
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4532
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4533
do
 
4534
  IFS=$as_save_IFS
 
4535
  test -z "$as_dir" && as_dir=.
 
4536
    for ac_prog in egrep; do
 
4537
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4538
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4539
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4540
# Check for GNU ac_path_EGREP and select it if it is found.
 
4541
  # Check for GNU $ac_path_EGREP
 
4542
case `"$ac_path_EGREP" --version 2>&1` in
 
4543
*GNU*)
 
4544
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4545
*)
 
4546
  ac_count=0
 
4547
  $as_echo_n 0123456789 >"conftest.in"
 
4548
  while :
 
4549
  do
 
4550
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4551
    mv "conftest.tmp" "conftest.in"
 
4552
    cp "conftest.in" "conftest.nl"
 
4553
    $as_echo 'EGREP' >> "conftest.nl"
 
4554
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4555
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4556
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4557
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4558
      # Best one so far, save it but keep looking for a better one
 
4559
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4560
      ac_path_EGREP_max=$ac_count
 
4561
    fi
 
4562
    # 10*(2^10) chars as input seems more than enough
 
4563
    test $ac_count -gt 10 && break
 
4564
  done
 
4565
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4566
esac
 
4567
 
 
4568
      $ac_path_EGREP_found && break 3
 
4569
    done
 
4570
  done
 
4571
  done
 
4572
IFS=$as_save_IFS
 
4573
  if test -z "$ac_cv_path_EGREP"; then
 
4574
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4575
  fi
 
4576
else
 
4577
  ac_cv_path_EGREP=$EGREP
 
4578
fi
 
4579
 
 
4580
   fi
 
4581
fi
 
4582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4583
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4584
 EGREP="$ac_cv_path_EGREP"
 
4585
 
 
4586
 
 
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4588
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4589
if ${ac_cv_header_stdc+:} false; then :
 
4590
  $as_echo_n "(cached) " >&6
 
4591
else
 
4592
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567
4593
/* end confdefs.h.  */
3568
4594
#include <stdlib.h>
3569
4595
#include <stdarg.h>
3578
4604
  return 0;
3579
4605
}
3580
4606
_ACEOF
3581
 
rm -f conftest.$ac_objext
3582
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3583
 
  (eval $ac_compile) 2>conftest.er1
3584
 
  ac_status=$?
3585
 
  grep -v '^ *+' conftest.er1 >conftest.err
3586
 
  rm -f conftest.er1
3587
 
  cat conftest.err >&5
3588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589
 
  (exit $ac_status); } &&
3590
 
         { ac_try='test -z "$ac_c_werror_flag"
3591
 
                         || test ! -s conftest.err'
3592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593
 
  (eval $ac_try) 2>&5
3594
 
  ac_status=$?
3595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596
 
  (exit $ac_status); }; } &&
3597
 
         { ac_try='test -s conftest.$ac_objext'
3598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599
 
  (eval $ac_try) 2>&5
3600
 
  ac_status=$?
3601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602
 
  (exit $ac_status); }; }; then
 
4607
if ac_fn_c_try_compile "$LINENO"; then :
3603
4608
  ac_cv_header_stdc=yes
3604
4609
else
3605
 
  echo "$as_me: failed program was:" >&5
3606
 
sed 's/^/| /' conftest.$ac_ext >&5
3607
 
 
3608
 
ac_cv_header_stdc=no
 
4610
  ac_cv_header_stdc=no
3609
4611
fi
3610
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4612
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611
4613
 
3612
4614
if test $ac_cv_header_stdc = yes; then
3613
4615
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3614
 
  cat >conftest.$ac_ext <<_ACEOF
3615
 
/* confdefs.h.  */
3616
 
_ACEOF
3617
 
cat confdefs.h >>conftest.$ac_ext
3618
 
cat >>conftest.$ac_ext <<_ACEOF
 
4616
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619
4617
/* end confdefs.h.  */
3620
4618
#include <string.h>
3621
4619
 
3622
4620
_ACEOF
3623
4621
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3624
 
  $EGREP "memchr" >/dev/null 2>&1; then
3625
 
  :
 
4622
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4623
 
3626
4624
else
3627
4625
  ac_cv_header_stdc=no
3628
4626
fi
3632
4630
 
3633
4631
if test $ac_cv_header_stdc = yes; then
3634
4632
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3635
 
  cat >conftest.$ac_ext <<_ACEOF
3636
 
/* confdefs.h.  */
3637
 
_ACEOF
3638
 
cat confdefs.h >>conftest.$ac_ext
3639
 
cat >>conftest.$ac_ext <<_ACEOF
 
4633
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640
4634
/* end confdefs.h.  */
3641
4635
#include <stdlib.h>
3642
4636
 
3643
4637
_ACEOF
3644
4638
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3645
 
  $EGREP "free" >/dev/null 2>&1; then
3646
 
  :
 
4639
  $EGREP "free" >/dev/null 2>&1; then :
 
4640
 
3647
4641
else
3648
4642
  ac_cv_header_stdc=no
3649
4643
fi
3653
4647
 
3654
4648
if test $ac_cv_header_stdc = yes; then
3655
4649
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3656
 
  if test "$cross_compiling" = yes; then
 
4650
  if test "$cross_compiling" = yes; then :
3657
4651
  :
3658
4652
else
3659
 
  cat >conftest.$ac_ext <<_ACEOF
3660
 
/* confdefs.h.  */
3661
 
_ACEOF
3662
 
cat confdefs.h >>conftest.$ac_ext
3663
 
cat >>conftest.$ac_ext <<_ACEOF
 
4653
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664
4654
/* end confdefs.h.  */
3665
4655
#include <ctype.h>
 
4656
#include <stdlib.h>
3666
4657
#if ((' ' & 0x0FF) == 0x020)
3667
4658
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3668
4659
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3682
4673
  for (i = 0; i < 256; i++)
3683
4674
    if (XOR (islower (i), ISLOWER (i))
3684
4675
        || toupper (i) != TOUPPER (i))
3685
 
      exit(2);
3686
 
  exit (0);
 
4676
      return 2;
 
4677
  return 0;
3687
4678
}
3688
4679
_ACEOF
3689
 
rm -f conftest$ac_exeext
3690
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3691
 
  (eval $ac_link) 2>&5
3692
 
  ac_status=$?
3693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696
 
  (eval $ac_try) 2>&5
3697
 
  ac_status=$?
3698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699
 
  (exit $ac_status); }; }; then
3700
 
  :
 
4680
if ac_fn_c_try_run "$LINENO"; then :
 
4681
 
3701
4682
else
3702
 
  echo "$as_me: program exited with status $ac_status" >&5
3703
 
echo "$as_me: failed program was:" >&5
3704
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4683
  ac_cv_header_stdc=no
 
4684
fi
 
4685
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4686
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4687
fi
3705
4688
 
3706
 
( exit $ac_status )
3707
 
ac_cv_header_stdc=no
3708
 
fi
3709
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3710
 
fi
3711
 
fi
3712
 
fi
3713
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3714
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4689
fi
 
4690
fi
 
4691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4692
$as_echo "$ac_cv_header_stdc" >&6; }
3715
4693
if test $ac_cv_header_stdc = yes; then
3716
4694
 
3717
 
cat >>confdefs.h <<\_ACEOF
3718
 
#define STDC_HEADERS 1
3719
 
_ACEOF
 
4695
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3720
4696
 
3721
4697
fi
3722
4698
 
3723
4699
 
3724
4700
 
3725
4701
 
3726
 
 
3727
4702
for ac_func in gethostname
3728
 
do
3729
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3730
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3731
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3732
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3734
 
else
3735
 
  cat >conftest.$ac_ext <<_ACEOF
3736
 
/* confdefs.h.  */
3737
 
_ACEOF
3738
 
cat confdefs.h >>conftest.$ac_ext
3739
 
cat >>conftest.$ac_ext <<_ACEOF
3740
 
/* end confdefs.h.  */
3741
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3742
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3743
 
#define $ac_func innocuous_$ac_func
3744
 
 
3745
 
/* System header to define __stub macros and hopefully few prototypes,
3746
 
    which can conflict with char $ac_func (); below.
3747
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3748
 
    <limits.h> exists even on freestanding compilers.  */
3749
 
 
3750
 
#ifdef __STDC__
3751
 
# include <limits.h>
3752
 
#else
3753
 
# include <assert.h>
3754
 
#endif
3755
 
 
3756
 
#undef $ac_func
3757
 
 
3758
 
/* Override any gcc2 internal prototype to avoid an error.  */
3759
 
#ifdef __cplusplus
3760
 
extern "C"
3761
 
{
3762
 
#endif
3763
 
/* We use char because int might match the return type of a gcc2
3764
 
   builtin and then its argument prototype would still apply.  */
3765
 
char $ac_func ();
3766
 
/* The GNU C library defines this for functions which it implements
3767
 
    to always fail with ENOSYS.  Some functions are actually named
3768
 
    something starting with __ and the normal name is an alias.  */
3769
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3770
 
choke me
3771
 
#else
3772
 
char (*f) () = $ac_func;
3773
 
#endif
3774
 
#ifdef __cplusplus
3775
 
}
3776
 
#endif
3777
 
 
3778
 
int
3779
 
main ()
3780
 
{
3781
 
return f != $ac_func;
3782
 
  ;
3783
 
  return 0;
3784
 
}
3785
 
_ACEOF
3786
 
rm -f conftest.$ac_objext conftest$ac_exeext
3787
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3788
 
  (eval $ac_link) 2>conftest.er1
3789
 
  ac_status=$?
3790
 
  grep -v '^ *+' conftest.er1 >conftest.err
3791
 
  rm -f conftest.er1
3792
 
  cat conftest.err >&5
3793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794
 
  (exit $ac_status); } &&
3795
 
         { ac_try='test -z "$ac_c_werror_flag"
3796
 
                         || test ! -s conftest.err'
3797
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798
 
  (eval $ac_try) 2>&5
3799
 
  ac_status=$?
3800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801
 
  (exit $ac_status); }; } &&
3802
 
         { ac_try='test -s conftest$ac_exeext'
3803
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804
 
  (eval $ac_try) 2>&5
3805
 
  ac_status=$?
3806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807
 
  (exit $ac_status); }; }; then
3808
 
  eval "$as_ac_var=yes"
3809
 
else
3810
 
  echo "$as_me: failed program was:" >&5
3811
 
sed 's/^/| /' conftest.$ac_ext >&5
3812
 
 
3813
 
eval "$as_ac_var=no"
3814
 
fi
3815
 
rm -f conftest.err conftest.$ac_objext \
3816
 
      conftest$ac_exeext conftest.$ac_ext
3817
 
fi
3818
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3819
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3820
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4703
do :
 
4704
  ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
 
4705
if test "x$ac_cv_func_gethostname" = xyes; then :
3821
4706
  cat >>confdefs.h <<_ACEOF
3822
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4707
#define HAVE_GETHOSTNAME 1
3823
4708
_ACEOF
3824
4709
 
3825
4710
fi
3826
4711
done
3827
4712
 
3828
 
 
3829
4713
for ac_func in memset
3830
 
do
3831
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3832
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3833
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3834
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3835
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3836
 
else
3837
 
  cat >conftest.$ac_ext <<_ACEOF
3838
 
/* confdefs.h.  */
3839
 
_ACEOF
3840
 
cat confdefs.h >>conftest.$ac_ext
3841
 
cat >>conftest.$ac_ext <<_ACEOF
3842
 
/* end confdefs.h.  */
3843
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3844
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3845
 
#define $ac_func innocuous_$ac_func
3846
 
 
3847
 
/* System header to define __stub macros and hopefully few prototypes,
3848
 
    which can conflict with char $ac_func (); below.
3849
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3850
 
    <limits.h> exists even on freestanding compilers.  */
3851
 
 
3852
 
#ifdef __STDC__
3853
 
# include <limits.h>
3854
 
#else
3855
 
# include <assert.h>
3856
 
#endif
3857
 
 
3858
 
#undef $ac_func
3859
 
 
3860
 
/* Override any gcc2 internal prototype to avoid an error.  */
3861
 
#ifdef __cplusplus
3862
 
extern "C"
3863
 
{
3864
 
#endif
3865
 
/* We use char because int might match the return type of a gcc2
3866
 
   builtin and then its argument prototype would still apply.  */
3867
 
char $ac_func ();
3868
 
/* The GNU C library defines this for functions which it implements
3869
 
    to always fail with ENOSYS.  Some functions are actually named
3870
 
    something starting with __ and the normal name is an alias.  */
3871
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3872
 
choke me
3873
 
#else
3874
 
char (*f) () = $ac_func;
3875
 
#endif
3876
 
#ifdef __cplusplus
3877
 
}
3878
 
#endif
3879
 
 
3880
 
int
3881
 
main ()
3882
 
{
3883
 
return f != $ac_func;
3884
 
  ;
3885
 
  return 0;
3886
 
}
3887
 
_ACEOF
3888
 
rm -f conftest.$ac_objext conftest$ac_exeext
3889
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3890
 
  (eval $ac_link) 2>conftest.er1
3891
 
  ac_status=$?
3892
 
  grep -v '^ *+' conftest.er1 >conftest.err
3893
 
  rm -f conftest.er1
3894
 
  cat conftest.err >&5
3895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896
 
  (exit $ac_status); } &&
3897
 
         { ac_try='test -z "$ac_c_werror_flag"
3898
 
                         || test ! -s conftest.err'
3899
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900
 
  (eval $ac_try) 2>&5
3901
 
  ac_status=$?
3902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903
 
  (exit $ac_status); }; } &&
3904
 
         { ac_try='test -s conftest$ac_exeext'
3905
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906
 
  (eval $ac_try) 2>&5
3907
 
  ac_status=$?
3908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909
 
  (exit $ac_status); }; }; then
3910
 
  eval "$as_ac_var=yes"
3911
 
else
3912
 
  echo "$as_me: failed program was:" >&5
3913
 
sed 's/^/| /' conftest.$ac_ext >&5
3914
 
 
3915
 
eval "$as_ac_var=no"
3916
 
fi
3917
 
rm -f conftest.err conftest.$ac_objext \
3918
 
      conftest$ac_exeext conftest.$ac_ext
3919
 
fi
3920
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3921
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3922
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4714
do :
 
4715
  ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
 
4716
if test "x$ac_cv_func_memset" = xyes; then :
3923
4717
  cat >>confdefs.h <<_ACEOF
3924
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4718
#define HAVE_MEMSET 1
3925
4719
_ACEOF
3926
4720
 
3927
4721
fi
3928
4722
done
3929
4723
 
3930
 
 
3931
4724
for ac_func in socket
3932
 
do
3933
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3934
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3935
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3936
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3938
 
else
3939
 
  cat >conftest.$ac_ext <<_ACEOF
3940
 
/* confdefs.h.  */
3941
 
_ACEOF
3942
 
cat confdefs.h >>conftest.$ac_ext
3943
 
cat >>conftest.$ac_ext <<_ACEOF
3944
 
/* end confdefs.h.  */
3945
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3946
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3947
 
#define $ac_func innocuous_$ac_func
3948
 
 
3949
 
/* System header to define __stub macros and hopefully few prototypes,
3950
 
    which can conflict with char $ac_func (); below.
3951
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3952
 
    <limits.h> exists even on freestanding compilers.  */
3953
 
 
3954
 
#ifdef __STDC__
3955
 
# include <limits.h>
3956
 
#else
3957
 
# include <assert.h>
3958
 
#endif
3959
 
 
3960
 
#undef $ac_func
3961
 
 
3962
 
/* Override any gcc2 internal prototype to avoid an error.  */
3963
 
#ifdef __cplusplus
3964
 
extern "C"
3965
 
{
3966
 
#endif
3967
 
/* We use char because int might match the return type of a gcc2
3968
 
   builtin and then its argument prototype would still apply.  */
3969
 
char $ac_func ();
3970
 
/* The GNU C library defines this for functions which it implements
3971
 
    to always fail with ENOSYS.  Some functions are actually named
3972
 
    something starting with __ and the normal name is an alias.  */
3973
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3974
 
choke me
3975
 
#else
3976
 
char (*f) () = $ac_func;
3977
 
#endif
3978
 
#ifdef __cplusplus
3979
 
}
3980
 
#endif
3981
 
 
3982
 
int
3983
 
main ()
3984
 
{
3985
 
return f != $ac_func;
3986
 
  ;
3987
 
  return 0;
3988
 
}
3989
 
_ACEOF
3990
 
rm -f conftest.$ac_objext conftest$ac_exeext
3991
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3992
 
  (eval $ac_link) 2>conftest.er1
3993
 
  ac_status=$?
3994
 
  grep -v '^ *+' conftest.er1 >conftest.err
3995
 
  rm -f conftest.er1
3996
 
  cat conftest.err >&5
3997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998
 
  (exit $ac_status); } &&
3999
 
         { ac_try='test -z "$ac_c_werror_flag"
4000
 
                         || test ! -s conftest.err'
4001
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002
 
  (eval $ac_try) 2>&5
4003
 
  ac_status=$?
4004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005
 
  (exit $ac_status); }; } &&
4006
 
         { ac_try='test -s conftest$ac_exeext'
4007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008
 
  (eval $ac_try) 2>&5
4009
 
  ac_status=$?
4010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011
 
  (exit $ac_status); }; }; then
4012
 
  eval "$as_ac_var=yes"
4013
 
else
4014
 
  echo "$as_me: failed program was:" >&5
4015
 
sed 's/^/| /' conftest.$ac_ext >&5
4016
 
 
4017
 
eval "$as_ac_var=no"
4018
 
fi
4019
 
rm -f conftest.err conftest.$ac_objext \
4020
 
      conftest$ac_exeext conftest.$ac_ext
4021
 
fi
4022
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4023
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4024
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4725
do :
 
4726
  ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
 
4727
if test "x$ac_cv_func_socket" = xyes; then :
4025
4728
  cat >>confdefs.h <<_ACEOF
4026
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4729
#define HAVE_SOCKET 1
4027
4730
_ACEOF
4028
4731
 
4029
4732
fi
4030
4733
done
4031
4734
 
4032
 
 
4033
4735
for ac_func in strstr
4034
 
do
4035
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4036
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4037
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4038
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4040
 
else
4041
 
  cat >conftest.$ac_ext <<_ACEOF
4042
 
/* confdefs.h.  */
4043
 
_ACEOF
4044
 
cat confdefs.h >>conftest.$ac_ext
4045
 
cat >>conftest.$ac_ext <<_ACEOF
4046
 
/* end confdefs.h.  */
4047
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4048
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4049
 
#define $ac_func innocuous_$ac_func
4050
 
 
4051
 
/* System header to define __stub macros and hopefully few prototypes,
4052
 
    which can conflict with char $ac_func (); below.
4053
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4054
 
    <limits.h> exists even on freestanding compilers.  */
4055
 
 
4056
 
#ifdef __STDC__
4057
 
# include <limits.h>
4058
 
#else
4059
 
# include <assert.h>
4060
 
#endif
4061
 
 
4062
 
#undef $ac_func
4063
 
 
4064
 
/* Override any gcc2 internal prototype to avoid an error.  */
4065
 
#ifdef __cplusplus
4066
 
extern "C"
4067
 
{
4068
 
#endif
4069
 
/* We use char because int might match the return type of a gcc2
4070
 
   builtin and then its argument prototype would still apply.  */
4071
 
char $ac_func ();
4072
 
/* The GNU C library defines this for functions which it implements
4073
 
    to always fail with ENOSYS.  Some functions are actually named
4074
 
    something starting with __ and the normal name is an alias.  */
4075
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4076
 
choke me
4077
 
#else
4078
 
char (*f) () = $ac_func;
4079
 
#endif
4080
 
#ifdef __cplusplus
4081
 
}
4082
 
#endif
4083
 
 
4084
 
int
4085
 
main ()
4086
 
{
4087
 
return f != $ac_func;
4088
 
  ;
4089
 
  return 0;
4090
 
}
4091
 
_ACEOF
4092
 
rm -f conftest.$ac_objext conftest$ac_exeext
4093
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4094
 
  (eval $ac_link) 2>conftest.er1
4095
 
  ac_status=$?
4096
 
  grep -v '^ *+' conftest.er1 >conftest.err
4097
 
  rm -f conftest.er1
4098
 
  cat conftest.err >&5
4099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100
 
  (exit $ac_status); } &&
4101
 
         { ac_try='test -z "$ac_c_werror_flag"
4102
 
                         || test ! -s conftest.err'
4103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104
 
  (eval $ac_try) 2>&5
4105
 
  ac_status=$?
4106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
 
  (exit $ac_status); }; } &&
4108
 
         { ac_try='test -s conftest$ac_exeext'
4109
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110
 
  (eval $ac_try) 2>&5
4111
 
  ac_status=$?
4112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113
 
  (exit $ac_status); }; }; then
4114
 
  eval "$as_ac_var=yes"
4115
 
else
4116
 
  echo "$as_me: failed program was:" >&5
4117
 
sed 's/^/| /' conftest.$ac_ext >&5
4118
 
 
4119
 
eval "$as_ac_var=no"
4120
 
fi
4121
 
rm -f conftest.err conftest.$ac_objext \
4122
 
      conftest$ac_exeext conftest.$ac_ext
4123
 
fi
4124
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4125
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4126
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4736
do :
 
4737
  ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
 
4738
if test "x$ac_cv_func_strstr" = xyes; then :
4127
4739
  cat >>confdefs.h <<_ACEOF
4128
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4740
#define HAVE_STRSTR 1
4129
4741
_ACEOF
4130
4742
 
4131
4743
fi
4132
4744
done
4133
4745
 
4134
 
 
4135
4746
for ac_func in malloc
4136
 
do
4137
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4138
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4139
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4140
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4142
 
else
4143
 
  cat >conftest.$ac_ext <<_ACEOF
4144
 
/* confdefs.h.  */
4145
 
_ACEOF
4146
 
cat confdefs.h >>conftest.$ac_ext
4147
 
cat >>conftest.$ac_ext <<_ACEOF
4148
 
/* end confdefs.h.  */
4149
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4150
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4151
 
#define $ac_func innocuous_$ac_func
4152
 
 
4153
 
/* System header to define __stub macros and hopefully few prototypes,
4154
 
    which can conflict with char $ac_func (); below.
4155
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4156
 
    <limits.h> exists even on freestanding compilers.  */
4157
 
 
4158
 
#ifdef __STDC__
4159
 
# include <limits.h>
4160
 
#else
4161
 
# include <assert.h>
4162
 
#endif
4163
 
 
4164
 
#undef $ac_func
4165
 
 
4166
 
/* Override any gcc2 internal prototype to avoid an error.  */
4167
 
#ifdef __cplusplus
4168
 
extern "C"
4169
 
{
4170
 
#endif
4171
 
/* We use char because int might match the return type of a gcc2
4172
 
   builtin and then its argument prototype would still apply.  */
4173
 
char $ac_func ();
4174
 
/* The GNU C library defines this for functions which it implements
4175
 
    to always fail with ENOSYS.  Some functions are actually named
4176
 
    something starting with __ and the normal name is an alias.  */
4177
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4178
 
choke me
4179
 
#else
4180
 
char (*f) () = $ac_func;
4181
 
#endif
4182
 
#ifdef __cplusplus
4183
 
}
4184
 
#endif
4185
 
 
4186
 
int
4187
 
main ()
4188
 
{
4189
 
return f != $ac_func;
4190
 
  ;
4191
 
  return 0;
4192
 
}
4193
 
_ACEOF
4194
 
rm -f conftest.$ac_objext conftest$ac_exeext
4195
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4196
 
  (eval $ac_link) 2>conftest.er1
4197
 
  ac_status=$?
4198
 
  grep -v '^ *+' conftest.er1 >conftest.err
4199
 
  rm -f conftest.er1
4200
 
  cat conftest.err >&5
4201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202
 
  (exit $ac_status); } &&
4203
 
         { ac_try='test -z "$ac_c_werror_flag"
4204
 
                         || test ! -s conftest.err'
4205
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206
 
  (eval $ac_try) 2>&5
4207
 
  ac_status=$?
4208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209
 
  (exit $ac_status); }; } &&
4210
 
         { ac_try='test -s conftest$ac_exeext'
4211
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212
 
  (eval $ac_try) 2>&5
4213
 
  ac_status=$?
4214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215
 
  (exit $ac_status); }; }; then
4216
 
  eval "$as_ac_var=yes"
4217
 
else
4218
 
  echo "$as_me: failed program was:" >&5
4219
 
sed 's/^/| /' conftest.$ac_ext >&5
4220
 
 
4221
 
eval "$as_ac_var=no"
4222
 
fi
4223
 
rm -f conftest.err conftest.$ac_objext \
4224
 
      conftest$ac_exeext conftest.$ac_ext
4225
 
fi
4226
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4227
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4228
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4747
do :
 
4748
  ac_fn_c_check_func "$LINENO" "malloc" "ac_cv_func_malloc"
 
4749
if test "x$ac_cv_func_malloc" = xyes; then :
4229
4750
  cat >>confdefs.h <<_ACEOF
4230
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4751
#define HAVE_MALLOC 1
4231
4752
_ACEOF
4232
4753
 
4233
4754
fi
4234
4755
done
4235
4756
 
4236
 
 
4237
4757
for ac_func in bzero
4238
 
do
4239
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4240
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4241
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4242
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4244
 
else
4245
 
  cat >conftest.$ac_ext <<_ACEOF
4246
 
/* confdefs.h.  */
4247
 
_ACEOF
4248
 
cat confdefs.h >>conftest.$ac_ext
4249
 
cat >>conftest.$ac_ext <<_ACEOF
4250
 
/* end confdefs.h.  */
4251
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4252
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4253
 
#define $ac_func innocuous_$ac_func
4254
 
 
4255
 
/* System header to define __stub macros and hopefully few prototypes,
4256
 
    which can conflict with char $ac_func (); below.
4257
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4258
 
    <limits.h> exists even on freestanding compilers.  */
4259
 
 
4260
 
#ifdef __STDC__
4261
 
# include <limits.h>
4262
 
#else
4263
 
# include <assert.h>
4264
 
#endif
4265
 
 
4266
 
#undef $ac_func
4267
 
 
4268
 
/* Override any gcc2 internal prototype to avoid an error.  */
4269
 
#ifdef __cplusplus
4270
 
extern "C"
4271
 
{
4272
 
#endif
4273
 
/* We use char because int might match the return type of a gcc2
4274
 
   builtin and then its argument prototype would still apply.  */
4275
 
char $ac_func ();
4276
 
/* The GNU C library defines this for functions which it implements
4277
 
    to always fail with ENOSYS.  Some functions are actually named
4278
 
    something starting with __ and the normal name is an alias.  */
4279
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4280
 
choke me
4281
 
#else
4282
 
char (*f) () = $ac_func;
4283
 
#endif
4284
 
#ifdef __cplusplus
4285
 
}
4286
 
#endif
4287
 
 
4288
 
int
4289
 
main ()
4290
 
{
4291
 
return f != $ac_func;
4292
 
  ;
4293
 
  return 0;
4294
 
}
4295
 
_ACEOF
4296
 
rm -f conftest.$ac_objext conftest$ac_exeext
4297
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298
 
  (eval $ac_link) 2>conftest.er1
4299
 
  ac_status=$?
4300
 
  grep -v '^ *+' conftest.er1 >conftest.err
4301
 
  rm -f conftest.er1
4302
 
  cat conftest.err >&5
4303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304
 
  (exit $ac_status); } &&
4305
 
         { ac_try='test -z "$ac_c_werror_flag"
4306
 
                         || test ! -s conftest.err'
4307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308
 
  (eval $ac_try) 2>&5
4309
 
  ac_status=$?
4310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311
 
  (exit $ac_status); }; } &&
4312
 
         { ac_try='test -s conftest$ac_exeext'
4313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4314
 
  (eval $ac_try) 2>&5
4315
 
  ac_status=$?
4316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
 
  (exit $ac_status); }; }; then
4318
 
  eval "$as_ac_var=yes"
4319
 
else
4320
 
  echo "$as_me: failed program was:" >&5
4321
 
sed 's/^/| /' conftest.$ac_ext >&5
4322
 
 
4323
 
eval "$as_ac_var=no"
4324
 
fi
4325
 
rm -f conftest.err conftest.$ac_objext \
4326
 
      conftest$ac_exeext conftest.$ac_ext
4327
 
fi
4328
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4329
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4330
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4758
do :
 
4759
  ac_fn_c_check_func "$LINENO" "bzero" "ac_cv_func_bzero"
 
4760
if test "x$ac_cv_func_bzero" = xyes; then :
4331
4761
  cat >>confdefs.h <<_ACEOF
4332
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4762
#define HAVE_BZERO 1
4333
4763
_ACEOF
4334
4764
 
4335
4765
fi
4336
4766
done
4337
4767
 
4338
4768
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4339
 
 
4340
 
 
4341
 
 
4342
 
 
4343
 
 
4344
 
 
4345
 
 
4346
 
 
4347
 
 
4348
4769
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4349
4770
                  inttypes.h stdint.h unistd.h
4350
 
do
4351
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4352
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4353
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4354
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4356
 
else
4357
 
  cat >conftest.$ac_ext <<_ACEOF
4358
 
/* confdefs.h.  */
4359
 
_ACEOF
4360
 
cat confdefs.h >>conftest.$ac_ext
4361
 
cat >>conftest.$ac_ext <<_ACEOF
4362
 
/* end confdefs.h.  */
4363
 
$ac_includes_default
4364
 
 
4365
 
#include <$ac_header>
4366
 
_ACEOF
4367
 
rm -f conftest.$ac_objext
4368
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4369
 
  (eval $ac_compile) 2>conftest.er1
4370
 
  ac_status=$?
4371
 
  grep -v '^ *+' conftest.er1 >conftest.err
4372
 
  rm -f conftest.er1
4373
 
  cat conftest.err >&5
4374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
 
  (exit $ac_status); } &&
4376
 
         { ac_try='test -z "$ac_c_werror_flag"
4377
 
                         || test ! -s conftest.err'
4378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379
 
  (eval $ac_try) 2>&5
4380
 
  ac_status=$?
4381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382
 
  (exit $ac_status); }; } &&
4383
 
         { ac_try='test -s conftest.$ac_objext'
4384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385
 
  (eval $ac_try) 2>&5
4386
 
  ac_status=$?
4387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388
 
  (exit $ac_status); }; }; then
4389
 
  eval "$as_ac_Header=yes"
4390
 
else
4391
 
  echo "$as_me: failed program was:" >&5
4392
 
sed 's/^/| /' conftest.$ac_ext >&5
4393
 
 
4394
 
eval "$as_ac_Header=no"
4395
 
fi
4396
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4397
 
fi
4398
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4399
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4400
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4771
do :
 
4772
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4773
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4774
"
 
4775
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4401
4776
  cat >>confdefs.h <<_ACEOF
4402
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4777
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4403
4778
_ACEOF
4404
4779
 
4405
4780
fi
4407
4782
done
4408
4783
 
4409
4784
 
4410
 
 
4411
4785
for ac_header in arpa/inet.h
4412
 
do
4413
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4414
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4415
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4416
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4417
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4418
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4419
 
fi
4420
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4421
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4422
 
else
4423
 
  # Is the header compilable?
4424
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4425
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4426
 
cat >conftest.$ac_ext <<_ACEOF
4427
 
/* confdefs.h.  */
4428
 
_ACEOF
4429
 
cat confdefs.h >>conftest.$ac_ext
4430
 
cat >>conftest.$ac_ext <<_ACEOF
4431
 
/* end confdefs.h.  */
4432
 
$ac_includes_default
4433
 
#include <$ac_header>
4434
 
_ACEOF
4435
 
rm -f conftest.$ac_objext
4436
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4437
 
  (eval $ac_compile) 2>conftest.er1
4438
 
  ac_status=$?
4439
 
  grep -v '^ *+' conftest.er1 >conftest.err
4440
 
  rm -f conftest.er1
4441
 
  cat conftest.err >&5
4442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443
 
  (exit $ac_status); } &&
4444
 
         { ac_try='test -z "$ac_c_werror_flag"
4445
 
                         || test ! -s conftest.err'
4446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447
 
  (eval $ac_try) 2>&5
4448
 
  ac_status=$?
4449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450
 
  (exit $ac_status); }; } &&
4451
 
         { ac_try='test -s conftest.$ac_objext'
4452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453
 
  (eval $ac_try) 2>&5
4454
 
  ac_status=$?
4455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456
 
  (exit $ac_status); }; }; then
4457
 
  ac_header_compiler=yes
4458
 
else
4459
 
  echo "$as_me: failed program was:" >&5
4460
 
sed 's/^/| /' conftest.$ac_ext >&5
4461
 
 
4462
 
ac_header_compiler=no
4463
 
fi
4464
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4465
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4466
 
echo "${ECHO_T}$ac_header_compiler" >&6
4467
 
 
4468
 
# Is the header present?
4469
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4470
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4471
 
cat >conftest.$ac_ext <<_ACEOF
4472
 
/* confdefs.h.  */
4473
 
_ACEOF
4474
 
cat confdefs.h >>conftest.$ac_ext
4475
 
cat >>conftest.$ac_ext <<_ACEOF
4476
 
/* end confdefs.h.  */
4477
 
#include <$ac_header>
4478
 
_ACEOF
4479
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4480
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4481
 
  ac_status=$?
4482
 
  grep -v '^ *+' conftest.er1 >conftest.err
4483
 
  rm -f conftest.er1
4484
 
  cat conftest.err >&5
4485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486
 
  (exit $ac_status); } >/dev/null; then
4487
 
  if test -s conftest.err; then
4488
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4489
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4490
 
  else
4491
 
    ac_cpp_err=
4492
 
  fi
4493
 
else
4494
 
  ac_cpp_err=yes
4495
 
fi
4496
 
if test -z "$ac_cpp_err"; then
4497
 
  ac_header_preproc=yes
4498
 
else
4499
 
  echo "$as_me: failed program was:" >&5
4500
 
sed 's/^/| /' conftest.$ac_ext >&5
4501
 
 
4502
 
  ac_header_preproc=no
4503
 
fi
4504
 
rm -f conftest.err conftest.$ac_ext
4505
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4506
 
echo "${ECHO_T}$ac_header_preproc" >&6
4507
 
 
4508
 
# So?  What about this header?
4509
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4510
 
  yes:no: )
4511
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4512
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4513
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4514
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4515
 
    ac_header_preproc=yes
4516
 
    ;;
4517
 
  no:yes:* )
4518
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4519
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4520
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4521
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4522
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4523
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4524
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4525
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4526
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4527
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4528
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4529
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4530
 
    (
4531
 
      cat <<\_ASBOX
4532
 
## ------------------------------------------------ ##
4533
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
4534
 
## ------------------------------------------------ ##
4535
 
_ASBOX
4536
 
    ) |
4537
 
      sed "s/^/$as_me: WARNING:     /" >&2
4538
 
    ;;
4539
 
esac
4540
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4541
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4542
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4544
 
else
4545
 
  eval "$as_ac_Header=\$ac_header_preproc"
4546
 
fi
4547
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4548
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4549
 
 
4550
 
fi
4551
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4786
do :
 
4787
  ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
 
4788
if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
4552
4789
  cat >>confdefs.h <<_ACEOF
4553
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4790
#define HAVE_ARPA_INET_H 1
4554
4791
_ACEOF
4555
4792
 
4556
4793
fi
4557
4794
 
4558
4795
done
4559
4796
 
4560
 
 
4561
4797
for ac_header in netinet/in.h
4562
 
do
4563
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4564
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4565
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4566
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4567
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4569
 
fi
4570
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4571
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4572
 
else
4573
 
  # Is the header compilable?
4574
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4575
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4576
 
cat >conftest.$ac_ext <<_ACEOF
4577
 
/* confdefs.h.  */
4578
 
_ACEOF
4579
 
cat confdefs.h >>conftest.$ac_ext
4580
 
cat >>conftest.$ac_ext <<_ACEOF
4581
 
/* end confdefs.h.  */
4582
 
$ac_includes_default
4583
 
#include <$ac_header>
4584
 
_ACEOF
4585
 
rm -f conftest.$ac_objext
4586
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587
 
  (eval $ac_compile) 2>conftest.er1
4588
 
  ac_status=$?
4589
 
  grep -v '^ *+' conftest.er1 >conftest.err
4590
 
  rm -f conftest.er1
4591
 
  cat conftest.err >&5
4592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593
 
  (exit $ac_status); } &&
4594
 
         { ac_try='test -z "$ac_c_werror_flag"
4595
 
                         || test ! -s conftest.err'
4596
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597
 
  (eval $ac_try) 2>&5
4598
 
  ac_status=$?
4599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600
 
  (exit $ac_status); }; } &&
4601
 
         { ac_try='test -s conftest.$ac_objext'
4602
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603
 
  (eval $ac_try) 2>&5
4604
 
  ac_status=$?
4605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606
 
  (exit $ac_status); }; }; then
4607
 
  ac_header_compiler=yes
4608
 
else
4609
 
  echo "$as_me: failed program was:" >&5
4610
 
sed 's/^/| /' conftest.$ac_ext >&5
4611
 
 
4612
 
ac_header_compiler=no
4613
 
fi
4614
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4615
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4616
 
echo "${ECHO_T}$ac_header_compiler" >&6
4617
 
 
4618
 
# Is the header present?
4619
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4620
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4621
 
cat >conftest.$ac_ext <<_ACEOF
4622
 
/* confdefs.h.  */
4623
 
_ACEOF
4624
 
cat confdefs.h >>conftest.$ac_ext
4625
 
cat >>conftest.$ac_ext <<_ACEOF
4626
 
/* end confdefs.h.  */
4627
 
#include <$ac_header>
4628
 
_ACEOF
4629
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4630
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4631
 
  ac_status=$?
4632
 
  grep -v '^ *+' conftest.er1 >conftest.err
4633
 
  rm -f conftest.er1
4634
 
  cat conftest.err >&5
4635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636
 
  (exit $ac_status); } >/dev/null; then
4637
 
  if test -s conftest.err; then
4638
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4639
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4640
 
  else
4641
 
    ac_cpp_err=
4642
 
  fi
4643
 
else
4644
 
  ac_cpp_err=yes
4645
 
fi
4646
 
if test -z "$ac_cpp_err"; then
4647
 
  ac_header_preproc=yes
4648
 
else
4649
 
  echo "$as_me: failed program was:" >&5
4650
 
sed 's/^/| /' conftest.$ac_ext >&5
4651
 
 
4652
 
  ac_header_preproc=no
4653
 
fi
4654
 
rm -f conftest.err conftest.$ac_ext
4655
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4656
 
echo "${ECHO_T}$ac_header_preproc" >&6
4657
 
 
4658
 
# So?  What about this header?
4659
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4660
 
  yes:no: )
4661
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4662
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4663
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4664
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4665
 
    ac_header_preproc=yes
4666
 
    ;;
4667
 
  no:yes:* )
4668
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4669
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4670
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4671
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4672
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4673
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4674
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4675
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4676
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4677
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4678
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4679
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4680
 
    (
4681
 
      cat <<\_ASBOX
4682
 
## ------------------------------------------------ ##
4683
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
4684
 
## ------------------------------------------------ ##
4685
 
_ASBOX
4686
 
    ) |
4687
 
      sed "s/^/$as_me: WARNING:     /" >&2
4688
 
    ;;
4689
 
esac
4690
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4691
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4692
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4694
 
else
4695
 
  eval "$as_ac_Header=\$ac_header_preproc"
4696
 
fi
4697
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4698
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4699
 
 
4700
 
fi
4701
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4798
do :
 
4799
  ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
 
4800
if test "x$ac_cv_header_netinet_in_h" = xyes; then :
4702
4801
  cat >>confdefs.h <<_ACEOF
4703
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4802
#define HAVE_NETINET_IN_H 1
4704
4803
_ACEOF
4705
4804
 
4706
4805
fi
4707
4806
 
4708
4807
done
4709
4808
 
4710
 
 
4711
4809
for ac_header in stdlib.h
4712
 
do
4713
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4714
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4715
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4716
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4717
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4719
 
fi
4720
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4721
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4722
 
else
4723
 
  # Is the header compilable?
4724
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4725
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4726
 
cat >conftest.$ac_ext <<_ACEOF
4727
 
/* confdefs.h.  */
4728
 
_ACEOF
4729
 
cat confdefs.h >>conftest.$ac_ext
4730
 
cat >>conftest.$ac_ext <<_ACEOF
4731
 
/* end confdefs.h.  */
4732
 
$ac_includes_default
4733
 
#include <$ac_header>
4734
 
_ACEOF
4735
 
rm -f conftest.$ac_objext
4736
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737
 
  (eval $ac_compile) 2>conftest.er1
4738
 
  ac_status=$?
4739
 
  grep -v '^ *+' conftest.er1 >conftest.err
4740
 
  rm -f conftest.er1
4741
 
  cat conftest.err >&5
4742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743
 
  (exit $ac_status); } &&
4744
 
         { ac_try='test -z "$ac_c_werror_flag"
4745
 
                         || test ! -s conftest.err'
4746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747
 
  (eval $ac_try) 2>&5
4748
 
  ac_status=$?
4749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750
 
  (exit $ac_status); }; } &&
4751
 
         { ac_try='test -s conftest.$ac_objext'
4752
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753
 
  (eval $ac_try) 2>&5
4754
 
  ac_status=$?
4755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756
 
  (exit $ac_status); }; }; then
4757
 
  ac_header_compiler=yes
4758
 
else
4759
 
  echo "$as_me: failed program was:" >&5
4760
 
sed 's/^/| /' conftest.$ac_ext >&5
4761
 
 
4762
 
ac_header_compiler=no
4763
 
fi
4764
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4765
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4766
 
echo "${ECHO_T}$ac_header_compiler" >&6
4767
 
 
4768
 
# Is the header present?
4769
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4770
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4771
 
cat >conftest.$ac_ext <<_ACEOF
4772
 
/* confdefs.h.  */
4773
 
_ACEOF
4774
 
cat confdefs.h >>conftest.$ac_ext
4775
 
cat >>conftest.$ac_ext <<_ACEOF
4776
 
/* end confdefs.h.  */
4777
 
#include <$ac_header>
4778
 
_ACEOF
4779
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4780
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4781
 
  ac_status=$?
4782
 
  grep -v '^ *+' conftest.er1 >conftest.err
4783
 
  rm -f conftest.er1
4784
 
  cat conftest.err >&5
4785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786
 
  (exit $ac_status); } >/dev/null; then
4787
 
  if test -s conftest.err; then
4788
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4789
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4790
 
  else
4791
 
    ac_cpp_err=
4792
 
  fi
4793
 
else
4794
 
  ac_cpp_err=yes
4795
 
fi
4796
 
if test -z "$ac_cpp_err"; then
4797
 
  ac_header_preproc=yes
4798
 
else
4799
 
  echo "$as_me: failed program was:" >&5
4800
 
sed 's/^/| /' conftest.$ac_ext >&5
4801
 
 
4802
 
  ac_header_preproc=no
4803
 
fi
4804
 
rm -f conftest.err conftest.$ac_ext
4805
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4806
 
echo "${ECHO_T}$ac_header_preproc" >&6
4807
 
 
4808
 
# So?  What about this header?
4809
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4810
 
  yes:no: )
4811
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4812
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4813
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4814
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4815
 
    ac_header_preproc=yes
4816
 
    ;;
4817
 
  no:yes:* )
4818
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4819
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4820
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4821
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4822
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4823
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4824
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4825
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4826
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4827
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4828
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4829
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4830
 
    (
4831
 
      cat <<\_ASBOX
4832
 
## ------------------------------------------------ ##
4833
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
4834
 
## ------------------------------------------------ ##
4835
 
_ASBOX
4836
 
    ) |
4837
 
      sed "s/^/$as_me: WARNING:     /" >&2
4838
 
    ;;
4839
 
esac
4840
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4841
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4842
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4844
 
else
4845
 
  eval "$as_ac_Header=\$ac_header_preproc"
4846
 
fi
4847
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4848
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4849
 
 
4850
 
fi
4851
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4810
do :
 
4811
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
4812
if test "x$ac_cv_header_stdlib_h" = xyes; then :
4852
4813
  cat >>confdefs.h <<_ACEOF
4853
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4814
#define HAVE_STDLIB_H 1
4854
4815
_ACEOF
4855
4816
 
4856
4817
fi
4857
4818
 
4858
4819
done
4859
4820
 
4860
 
 
4861
4821
for ac_header in string.h
4862
 
do
4863
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4864
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4865
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4866
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4867
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4869
 
fi
4870
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4871
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4872
 
else
4873
 
  # Is the header compilable?
4874
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4875
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4876
 
cat >conftest.$ac_ext <<_ACEOF
4877
 
/* confdefs.h.  */
4878
 
_ACEOF
4879
 
cat confdefs.h >>conftest.$ac_ext
4880
 
cat >>conftest.$ac_ext <<_ACEOF
4881
 
/* end confdefs.h.  */
4882
 
$ac_includes_default
4883
 
#include <$ac_header>
4884
 
_ACEOF
4885
 
rm -f conftest.$ac_objext
4886
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4887
 
  (eval $ac_compile) 2>conftest.er1
4888
 
  ac_status=$?
4889
 
  grep -v '^ *+' conftest.er1 >conftest.err
4890
 
  rm -f conftest.er1
4891
 
  cat conftest.err >&5
4892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893
 
  (exit $ac_status); } &&
4894
 
         { ac_try='test -z "$ac_c_werror_flag"
4895
 
                         || test ! -s conftest.err'
4896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897
 
  (eval $ac_try) 2>&5
4898
 
  ac_status=$?
4899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900
 
  (exit $ac_status); }; } &&
4901
 
         { ac_try='test -s conftest.$ac_objext'
4902
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903
 
  (eval $ac_try) 2>&5
4904
 
  ac_status=$?
4905
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906
 
  (exit $ac_status); }; }; then
4907
 
  ac_header_compiler=yes
4908
 
else
4909
 
  echo "$as_me: failed program was:" >&5
4910
 
sed 's/^/| /' conftest.$ac_ext >&5
4911
 
 
4912
 
ac_header_compiler=no
4913
 
fi
4914
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4915
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4916
 
echo "${ECHO_T}$ac_header_compiler" >&6
4917
 
 
4918
 
# Is the header present?
4919
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4920
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4921
 
cat >conftest.$ac_ext <<_ACEOF
4922
 
/* confdefs.h.  */
4923
 
_ACEOF
4924
 
cat confdefs.h >>conftest.$ac_ext
4925
 
cat >>conftest.$ac_ext <<_ACEOF
4926
 
/* end confdefs.h.  */
4927
 
#include <$ac_header>
4928
 
_ACEOF
4929
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4930
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4931
 
  ac_status=$?
4932
 
  grep -v '^ *+' conftest.er1 >conftest.err
4933
 
  rm -f conftest.er1
4934
 
  cat conftest.err >&5
4935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936
 
  (exit $ac_status); } >/dev/null; then
4937
 
  if test -s conftest.err; then
4938
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4939
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4940
 
  else
4941
 
    ac_cpp_err=
4942
 
  fi
4943
 
else
4944
 
  ac_cpp_err=yes
4945
 
fi
4946
 
if test -z "$ac_cpp_err"; then
4947
 
  ac_header_preproc=yes
4948
 
else
4949
 
  echo "$as_me: failed program was:" >&5
4950
 
sed 's/^/| /' conftest.$ac_ext >&5
4951
 
 
4952
 
  ac_header_preproc=no
4953
 
fi
4954
 
rm -f conftest.err conftest.$ac_ext
4955
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4956
 
echo "${ECHO_T}$ac_header_preproc" >&6
4957
 
 
4958
 
# So?  What about this header?
4959
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4960
 
  yes:no: )
4961
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4962
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4963
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4964
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4965
 
    ac_header_preproc=yes
4966
 
    ;;
4967
 
  no:yes:* )
4968
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4969
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4970
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4971
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4972
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4973
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4974
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4975
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4976
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4977
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4978
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4979
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4980
 
    (
4981
 
      cat <<\_ASBOX
4982
 
## ------------------------------------------------ ##
4983
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
4984
 
## ------------------------------------------------ ##
4985
 
_ASBOX
4986
 
    ) |
4987
 
      sed "s/^/$as_me: WARNING:     /" >&2
4988
 
    ;;
4989
 
esac
4990
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4991
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4992
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4994
 
else
4995
 
  eval "$as_ac_Header=\$ac_header_preproc"
4996
 
fi
4997
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4998
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4999
 
 
5000
 
fi
5001
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4822
do :
 
4823
  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
 
4824
if test "x$ac_cv_header_string_h" = xyes; then :
5002
4825
  cat >>confdefs.h <<_ACEOF
5003
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4826
#define HAVE_STRING_H 1
5004
4827
_ACEOF
5005
4828
 
5006
4829
fi
5007
4830
 
5008
4831
done
5009
4832
 
5010
 
 
5011
4833
for ac_header in sys/ioctl.h
5012
 
do
5013
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5014
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5015
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5016
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5017
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5019
 
fi
5020
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5021
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5022
 
else
5023
 
  # Is the header compilable?
5024
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5025
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5026
 
cat >conftest.$ac_ext <<_ACEOF
5027
 
/* confdefs.h.  */
5028
 
_ACEOF
5029
 
cat confdefs.h >>conftest.$ac_ext
5030
 
cat >>conftest.$ac_ext <<_ACEOF
5031
 
/* end confdefs.h.  */
5032
 
$ac_includes_default
5033
 
#include <$ac_header>
5034
 
_ACEOF
5035
 
rm -f conftest.$ac_objext
5036
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037
 
  (eval $ac_compile) 2>conftest.er1
5038
 
  ac_status=$?
5039
 
  grep -v '^ *+' conftest.er1 >conftest.err
5040
 
  rm -f conftest.er1
5041
 
  cat conftest.err >&5
5042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043
 
  (exit $ac_status); } &&
5044
 
         { ac_try='test -z "$ac_c_werror_flag"
5045
 
                         || test ! -s conftest.err'
5046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047
 
  (eval $ac_try) 2>&5
5048
 
  ac_status=$?
5049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050
 
  (exit $ac_status); }; } &&
5051
 
         { ac_try='test -s conftest.$ac_objext'
5052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053
 
  (eval $ac_try) 2>&5
5054
 
  ac_status=$?
5055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056
 
  (exit $ac_status); }; }; then
5057
 
  ac_header_compiler=yes
5058
 
else
5059
 
  echo "$as_me: failed program was:" >&5
5060
 
sed 's/^/| /' conftest.$ac_ext >&5
5061
 
 
5062
 
ac_header_compiler=no
5063
 
fi
5064
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5065
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5066
 
echo "${ECHO_T}$ac_header_compiler" >&6
5067
 
 
5068
 
# Is the header present?
5069
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5070
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5071
 
cat >conftest.$ac_ext <<_ACEOF
5072
 
/* confdefs.h.  */
5073
 
_ACEOF
5074
 
cat confdefs.h >>conftest.$ac_ext
5075
 
cat >>conftest.$ac_ext <<_ACEOF
5076
 
/* end confdefs.h.  */
5077
 
#include <$ac_header>
5078
 
_ACEOF
5079
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5080
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5081
 
  ac_status=$?
5082
 
  grep -v '^ *+' conftest.er1 >conftest.err
5083
 
  rm -f conftest.er1
5084
 
  cat conftest.err >&5
5085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086
 
  (exit $ac_status); } >/dev/null; then
5087
 
  if test -s conftest.err; then
5088
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5089
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5090
 
  else
5091
 
    ac_cpp_err=
5092
 
  fi
5093
 
else
5094
 
  ac_cpp_err=yes
5095
 
fi
5096
 
if test -z "$ac_cpp_err"; then
5097
 
  ac_header_preproc=yes
5098
 
else
5099
 
  echo "$as_me: failed program was:" >&5
5100
 
sed 's/^/| /' conftest.$ac_ext >&5
5101
 
 
5102
 
  ac_header_preproc=no
5103
 
fi
5104
 
rm -f conftest.err conftest.$ac_ext
5105
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5106
 
echo "${ECHO_T}$ac_header_preproc" >&6
5107
 
 
5108
 
# So?  What about this header?
5109
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5110
 
  yes:no: )
5111
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5112
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5113
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5114
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5115
 
    ac_header_preproc=yes
5116
 
    ;;
5117
 
  no:yes:* )
5118
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5119
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5120
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5121
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5122
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5123
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5124
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5125
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5126
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5127
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5128
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5129
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5130
 
    (
5131
 
      cat <<\_ASBOX
5132
 
## ------------------------------------------------ ##
5133
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
5134
 
## ------------------------------------------------ ##
5135
 
_ASBOX
5136
 
    ) |
5137
 
      sed "s/^/$as_me: WARNING:     /" >&2
5138
 
    ;;
5139
 
esac
5140
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5141
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5142
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5144
 
else
5145
 
  eval "$as_ac_Header=\$ac_header_preproc"
5146
 
fi
5147
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5148
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5149
 
 
5150
 
fi
5151
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4834
do :
 
4835
  ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
 
4836
if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
5152
4837
  cat >>confdefs.h <<_ACEOF
5153
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4838
#define HAVE_SYS_IOCTL_H 1
5154
4839
_ACEOF
5155
4840
 
5156
4841
fi
5157
4842
 
5158
4843
done
5159
4844
 
5160
 
 
5161
4845
for ac_header in sys/param.h
5162
 
do
5163
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5164
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5165
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5166
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5167
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5169
 
fi
5170
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5171
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5172
 
else
5173
 
  # Is the header compilable?
5174
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5175
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5176
 
cat >conftest.$ac_ext <<_ACEOF
5177
 
/* confdefs.h.  */
5178
 
_ACEOF
5179
 
cat confdefs.h >>conftest.$ac_ext
5180
 
cat >>conftest.$ac_ext <<_ACEOF
5181
 
/* end confdefs.h.  */
5182
 
$ac_includes_default
5183
 
#include <$ac_header>
5184
 
_ACEOF
5185
 
rm -f conftest.$ac_objext
5186
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5187
 
  (eval $ac_compile) 2>conftest.er1
5188
 
  ac_status=$?
5189
 
  grep -v '^ *+' conftest.er1 >conftest.err
5190
 
  rm -f conftest.er1
5191
 
  cat conftest.err >&5
5192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193
 
  (exit $ac_status); } &&
5194
 
         { ac_try='test -z "$ac_c_werror_flag"
5195
 
                         || test ! -s conftest.err'
5196
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197
 
  (eval $ac_try) 2>&5
5198
 
  ac_status=$?
5199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
 
  (exit $ac_status); }; } &&
5201
 
         { ac_try='test -s conftest.$ac_objext'
5202
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203
 
  (eval $ac_try) 2>&5
5204
 
  ac_status=$?
5205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206
 
  (exit $ac_status); }; }; then
5207
 
  ac_header_compiler=yes
5208
 
else
5209
 
  echo "$as_me: failed program was:" >&5
5210
 
sed 's/^/| /' conftest.$ac_ext >&5
5211
 
 
5212
 
ac_header_compiler=no
5213
 
fi
5214
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5215
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5216
 
echo "${ECHO_T}$ac_header_compiler" >&6
5217
 
 
5218
 
# Is the header present?
5219
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5220
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5221
 
cat >conftest.$ac_ext <<_ACEOF
5222
 
/* confdefs.h.  */
5223
 
_ACEOF
5224
 
cat confdefs.h >>conftest.$ac_ext
5225
 
cat >>conftest.$ac_ext <<_ACEOF
5226
 
/* end confdefs.h.  */
5227
 
#include <$ac_header>
5228
 
_ACEOF
5229
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5230
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5231
 
  ac_status=$?
5232
 
  grep -v '^ *+' conftest.er1 >conftest.err
5233
 
  rm -f conftest.er1
5234
 
  cat conftest.err >&5
5235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236
 
  (exit $ac_status); } >/dev/null; then
5237
 
  if test -s conftest.err; then
5238
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5239
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5240
 
  else
5241
 
    ac_cpp_err=
5242
 
  fi
5243
 
else
5244
 
  ac_cpp_err=yes
5245
 
fi
5246
 
if test -z "$ac_cpp_err"; then
5247
 
  ac_header_preproc=yes
5248
 
else
5249
 
  echo "$as_me: failed program was:" >&5
5250
 
sed 's/^/| /' conftest.$ac_ext >&5
5251
 
 
5252
 
  ac_header_preproc=no
5253
 
fi
5254
 
rm -f conftest.err conftest.$ac_ext
5255
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5256
 
echo "${ECHO_T}$ac_header_preproc" >&6
5257
 
 
5258
 
# So?  What about this header?
5259
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5260
 
  yes:no: )
5261
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5262
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5263
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5264
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5265
 
    ac_header_preproc=yes
5266
 
    ;;
5267
 
  no:yes:* )
5268
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5269
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5270
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5271
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5272
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5273
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5274
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5275
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5276
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5277
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5278
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5279
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5280
 
    (
5281
 
      cat <<\_ASBOX
5282
 
## ------------------------------------------------ ##
5283
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
5284
 
## ------------------------------------------------ ##
5285
 
_ASBOX
5286
 
    ) |
5287
 
      sed "s/^/$as_me: WARNING:     /" >&2
5288
 
    ;;
5289
 
esac
5290
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5291
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5292
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5294
 
else
5295
 
  eval "$as_ac_Header=\$ac_header_preproc"
5296
 
fi
5297
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5298
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5299
 
 
5300
 
fi
5301
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4846
do :
 
4847
  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
 
4848
if test "x$ac_cv_header_sys_param_h" = xyes; then :
5302
4849
  cat >>confdefs.h <<_ACEOF
5303
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4850
#define HAVE_SYS_PARAM_H 1
5304
4851
_ACEOF
5305
4852
 
5306
4853
fi
5307
4854
 
5308
4855
done
5309
4856
 
5310
 
 
5311
4857
for ac_header in sys/socket.h
5312
 
do
5313
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5314
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5315
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5316
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5317
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5319
 
fi
5320
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5321
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5322
 
else
5323
 
  # Is the header compilable?
5324
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5325
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5326
 
cat >conftest.$ac_ext <<_ACEOF
5327
 
/* confdefs.h.  */
5328
 
_ACEOF
5329
 
cat confdefs.h >>conftest.$ac_ext
5330
 
cat >>conftest.$ac_ext <<_ACEOF
5331
 
/* end confdefs.h.  */
5332
 
$ac_includes_default
5333
 
#include <$ac_header>
5334
 
_ACEOF
5335
 
rm -f conftest.$ac_objext
5336
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5337
 
  (eval $ac_compile) 2>conftest.er1
5338
 
  ac_status=$?
5339
 
  grep -v '^ *+' conftest.er1 >conftest.err
5340
 
  rm -f conftest.er1
5341
 
  cat conftest.err >&5
5342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
 
  (exit $ac_status); } &&
5344
 
         { ac_try='test -z "$ac_c_werror_flag"
5345
 
                         || test ! -s conftest.err'
5346
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347
 
  (eval $ac_try) 2>&5
5348
 
  ac_status=$?
5349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350
 
  (exit $ac_status); }; } &&
5351
 
         { ac_try='test -s conftest.$ac_objext'
5352
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353
 
  (eval $ac_try) 2>&5
5354
 
  ac_status=$?
5355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356
 
  (exit $ac_status); }; }; then
5357
 
  ac_header_compiler=yes
5358
 
else
5359
 
  echo "$as_me: failed program was:" >&5
5360
 
sed 's/^/| /' conftest.$ac_ext >&5
5361
 
 
5362
 
ac_header_compiler=no
5363
 
fi
5364
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5365
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5366
 
echo "${ECHO_T}$ac_header_compiler" >&6
5367
 
 
5368
 
# Is the header present?
5369
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5370
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5371
 
cat >conftest.$ac_ext <<_ACEOF
5372
 
/* confdefs.h.  */
5373
 
_ACEOF
5374
 
cat confdefs.h >>conftest.$ac_ext
5375
 
cat >>conftest.$ac_ext <<_ACEOF
5376
 
/* end confdefs.h.  */
5377
 
#include <$ac_header>
5378
 
_ACEOF
5379
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5380
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5381
 
  ac_status=$?
5382
 
  grep -v '^ *+' conftest.er1 >conftest.err
5383
 
  rm -f conftest.er1
5384
 
  cat conftest.err >&5
5385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386
 
  (exit $ac_status); } >/dev/null; then
5387
 
  if test -s conftest.err; then
5388
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5389
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5390
 
  else
5391
 
    ac_cpp_err=
5392
 
  fi
5393
 
else
5394
 
  ac_cpp_err=yes
5395
 
fi
5396
 
if test -z "$ac_cpp_err"; then
5397
 
  ac_header_preproc=yes
5398
 
else
5399
 
  echo "$as_me: failed program was:" >&5
5400
 
sed 's/^/| /' conftest.$ac_ext >&5
5401
 
 
5402
 
  ac_header_preproc=no
5403
 
fi
5404
 
rm -f conftest.err conftest.$ac_ext
5405
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5406
 
echo "${ECHO_T}$ac_header_preproc" >&6
5407
 
 
5408
 
# So?  What about this header?
5409
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5410
 
  yes:no: )
5411
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5412
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5413
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5414
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5415
 
    ac_header_preproc=yes
5416
 
    ;;
5417
 
  no:yes:* )
5418
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5419
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5420
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5421
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5422
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5423
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5424
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5425
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5426
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5427
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5428
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5429
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5430
 
    (
5431
 
      cat <<\_ASBOX
5432
 
## ------------------------------------------------ ##
5433
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
5434
 
## ------------------------------------------------ ##
5435
 
_ASBOX
5436
 
    ) |
5437
 
      sed "s/^/$as_me: WARNING:     /" >&2
5438
 
    ;;
5439
 
esac
5440
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5441
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5442
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5443
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5444
 
else
5445
 
  eval "$as_ac_Header=\$ac_header_preproc"
5446
 
fi
5447
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5448
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5449
 
 
5450
 
fi
5451
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4858
do :
 
4859
  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
 
4860
if test "x$ac_cv_header_sys_socket_h" = xyes; then :
5452
4861
  cat >>confdefs.h <<_ACEOF
5453
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4862
#define HAVE_SYS_SOCKET_H 1
5454
4863
_ACEOF
5455
4864
 
5456
4865
fi
5457
4866
 
5458
4867
done
5459
4868
 
5460
 
 
5461
4869
for ac_header in sys/time.h
5462
 
do
5463
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5464
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5465
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5466
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5467
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5468
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5469
 
fi
5470
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5471
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5472
 
else
5473
 
  # Is the header compilable?
5474
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5475
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5476
 
cat >conftest.$ac_ext <<_ACEOF
5477
 
/* confdefs.h.  */
5478
 
_ACEOF
5479
 
cat confdefs.h >>conftest.$ac_ext
5480
 
cat >>conftest.$ac_ext <<_ACEOF
5481
 
/* end confdefs.h.  */
5482
 
$ac_includes_default
5483
 
#include <$ac_header>
5484
 
_ACEOF
5485
 
rm -f conftest.$ac_objext
5486
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487
 
  (eval $ac_compile) 2>conftest.er1
5488
 
  ac_status=$?
5489
 
  grep -v '^ *+' conftest.er1 >conftest.err
5490
 
  rm -f conftest.er1
5491
 
  cat conftest.err >&5
5492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493
 
  (exit $ac_status); } &&
5494
 
         { ac_try='test -z "$ac_c_werror_flag"
5495
 
                         || test ! -s conftest.err'
5496
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497
 
  (eval $ac_try) 2>&5
5498
 
  ac_status=$?
5499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500
 
  (exit $ac_status); }; } &&
5501
 
         { ac_try='test -s conftest.$ac_objext'
5502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503
 
  (eval $ac_try) 2>&5
5504
 
  ac_status=$?
5505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506
 
  (exit $ac_status); }; }; then
5507
 
  ac_header_compiler=yes
5508
 
else
5509
 
  echo "$as_me: failed program was:" >&5
5510
 
sed 's/^/| /' conftest.$ac_ext >&5
5511
 
 
5512
 
ac_header_compiler=no
5513
 
fi
5514
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5515
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5516
 
echo "${ECHO_T}$ac_header_compiler" >&6
5517
 
 
5518
 
# Is the header present?
5519
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5520
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5521
 
cat >conftest.$ac_ext <<_ACEOF
5522
 
/* confdefs.h.  */
5523
 
_ACEOF
5524
 
cat confdefs.h >>conftest.$ac_ext
5525
 
cat >>conftest.$ac_ext <<_ACEOF
5526
 
/* end confdefs.h.  */
5527
 
#include <$ac_header>
5528
 
_ACEOF
5529
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5530
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5531
 
  ac_status=$?
5532
 
  grep -v '^ *+' conftest.er1 >conftest.err
5533
 
  rm -f conftest.er1
5534
 
  cat conftest.err >&5
5535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536
 
  (exit $ac_status); } >/dev/null; then
5537
 
  if test -s conftest.err; then
5538
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5539
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5540
 
  else
5541
 
    ac_cpp_err=
5542
 
  fi
5543
 
else
5544
 
  ac_cpp_err=yes
5545
 
fi
5546
 
if test -z "$ac_cpp_err"; then
5547
 
  ac_header_preproc=yes
5548
 
else
5549
 
  echo "$as_me: failed program was:" >&5
5550
 
sed 's/^/| /' conftest.$ac_ext >&5
5551
 
 
5552
 
  ac_header_preproc=no
5553
 
fi
5554
 
rm -f conftest.err conftest.$ac_ext
5555
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5556
 
echo "${ECHO_T}$ac_header_preproc" >&6
5557
 
 
5558
 
# So?  What about this header?
5559
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5560
 
  yes:no: )
5561
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5562
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5563
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5564
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5565
 
    ac_header_preproc=yes
5566
 
    ;;
5567
 
  no:yes:* )
5568
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5569
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5570
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5571
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5572
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5573
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5574
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5575
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5576
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5577
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5578
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5579
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5580
 
    (
5581
 
      cat <<\_ASBOX
5582
 
## ------------------------------------------------ ##
5583
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
5584
 
## ------------------------------------------------ ##
5585
 
_ASBOX
5586
 
    ) |
5587
 
      sed "s/^/$as_me: WARNING:     /" >&2
5588
 
    ;;
5589
 
esac
5590
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5591
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5592
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5594
 
else
5595
 
  eval "$as_ac_Header=\$ac_header_preproc"
5596
 
fi
5597
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5598
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5599
 
 
5600
 
fi
5601
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4870
do :
 
4871
  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
 
4872
if test "x$ac_cv_header_sys_time_h" = xyes; then :
5602
4873
  cat >>confdefs.h <<_ACEOF
5603
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4874
#define HAVE_SYS_TIME_H 1
5604
4875
_ACEOF
5605
4876
 
5606
4877
fi
5607
4878
 
5608
4879
done
5609
4880
 
5610
 
 
5611
4881
for ac_header in unistd.h
5612
 
do
5613
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5614
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5615
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5616
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5617
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5619
 
fi
5620
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5621
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5622
 
else
5623
 
  # Is the header compilable?
5624
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5625
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5626
 
cat >conftest.$ac_ext <<_ACEOF
5627
 
/* confdefs.h.  */
5628
 
_ACEOF
5629
 
cat confdefs.h >>conftest.$ac_ext
5630
 
cat >>conftest.$ac_ext <<_ACEOF
5631
 
/* end confdefs.h.  */
5632
 
$ac_includes_default
5633
 
#include <$ac_header>
5634
 
_ACEOF
5635
 
rm -f conftest.$ac_objext
5636
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5637
 
  (eval $ac_compile) 2>conftest.er1
5638
 
  ac_status=$?
5639
 
  grep -v '^ *+' conftest.er1 >conftest.err
5640
 
  rm -f conftest.er1
5641
 
  cat conftest.err >&5
5642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643
 
  (exit $ac_status); } &&
5644
 
         { ac_try='test -z "$ac_c_werror_flag"
5645
 
                         || test ! -s conftest.err'
5646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647
 
  (eval $ac_try) 2>&5
5648
 
  ac_status=$?
5649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650
 
  (exit $ac_status); }; } &&
5651
 
         { ac_try='test -s conftest.$ac_objext'
5652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653
 
  (eval $ac_try) 2>&5
5654
 
  ac_status=$?
5655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656
 
  (exit $ac_status); }; }; then
5657
 
  ac_header_compiler=yes
5658
 
else
5659
 
  echo "$as_me: failed program was:" >&5
5660
 
sed 's/^/| /' conftest.$ac_ext >&5
5661
 
 
5662
 
ac_header_compiler=no
5663
 
fi
5664
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5665
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5666
 
echo "${ECHO_T}$ac_header_compiler" >&6
5667
 
 
5668
 
# Is the header present?
5669
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5670
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5671
 
cat >conftest.$ac_ext <<_ACEOF
5672
 
/* confdefs.h.  */
5673
 
_ACEOF
5674
 
cat confdefs.h >>conftest.$ac_ext
5675
 
cat >>conftest.$ac_ext <<_ACEOF
5676
 
/* end confdefs.h.  */
5677
 
#include <$ac_header>
5678
 
_ACEOF
5679
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5680
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5681
 
  ac_status=$?
5682
 
  grep -v '^ *+' conftest.er1 >conftest.err
5683
 
  rm -f conftest.er1
5684
 
  cat conftest.err >&5
5685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686
 
  (exit $ac_status); } >/dev/null; then
5687
 
  if test -s conftest.err; then
5688
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5689
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5690
 
  else
5691
 
    ac_cpp_err=
5692
 
  fi
5693
 
else
5694
 
  ac_cpp_err=yes
5695
 
fi
5696
 
if test -z "$ac_cpp_err"; then
5697
 
  ac_header_preproc=yes
5698
 
else
5699
 
  echo "$as_me: failed program was:" >&5
5700
 
sed 's/^/| /' conftest.$ac_ext >&5
5701
 
 
5702
 
  ac_header_preproc=no
5703
 
fi
5704
 
rm -f conftest.err conftest.$ac_ext
5705
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5706
 
echo "${ECHO_T}$ac_header_preproc" >&6
5707
 
 
5708
 
# So?  What about this header?
5709
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5710
 
  yes:no: )
5711
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5712
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5713
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5714
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5715
 
    ac_header_preproc=yes
5716
 
    ;;
5717
 
  no:yes:* )
5718
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5719
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5720
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5721
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5722
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5723
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5724
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5725
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5726
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5727
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5728
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5729
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5730
 
    (
5731
 
      cat <<\_ASBOX
5732
 
## ------------------------------------------------ ##
5733
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
5734
 
## ------------------------------------------------ ##
5735
 
_ASBOX
5736
 
    ) |
5737
 
      sed "s/^/$as_me: WARNING:     /" >&2
5738
 
    ;;
5739
 
esac
5740
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5741
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5742
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5744
 
else
5745
 
  eval "$as_ac_Header=\$ac_header_preproc"
5746
 
fi
5747
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5748
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5749
 
 
5750
 
fi
5751
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4882
do :
 
4883
  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
 
4884
if test "x$ac_cv_header_unistd_h" = xyes; then :
5752
4885
  cat >>confdefs.h <<_ACEOF
5753
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4886
#define HAVE_UNISTD_H 1
5754
4887
_ACEOF
5755
4888
 
5756
4889
fi
5757
4890
 
5758
4891
done
5759
4892
 
5760
 
 
5761
4893
for ac_header in sys/sockio.h
5762
 
do
5763
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5764
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5765
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5766
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5767
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5768
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5769
 
fi
5770
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5771
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5772
 
else
5773
 
  # Is the header compilable?
5774
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5775
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5776
 
cat >conftest.$ac_ext <<_ACEOF
5777
 
/* confdefs.h.  */
5778
 
_ACEOF
5779
 
cat confdefs.h >>conftest.$ac_ext
5780
 
cat >>conftest.$ac_ext <<_ACEOF
5781
 
/* end confdefs.h.  */
5782
 
$ac_includes_default
5783
 
#include <$ac_header>
5784
 
_ACEOF
5785
 
rm -f conftest.$ac_objext
5786
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5787
 
  (eval $ac_compile) 2>conftest.er1
5788
 
  ac_status=$?
5789
 
  grep -v '^ *+' conftest.er1 >conftest.err
5790
 
  rm -f conftest.er1
5791
 
  cat conftest.err >&5
5792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793
 
  (exit $ac_status); } &&
5794
 
         { ac_try='test -z "$ac_c_werror_flag"
5795
 
                         || test ! -s conftest.err'
5796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797
 
  (eval $ac_try) 2>&5
5798
 
  ac_status=$?
5799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800
 
  (exit $ac_status); }; } &&
5801
 
         { ac_try='test -s conftest.$ac_objext'
5802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803
 
  (eval $ac_try) 2>&5
5804
 
  ac_status=$?
5805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806
 
  (exit $ac_status); }; }; then
5807
 
  ac_header_compiler=yes
5808
 
else
5809
 
  echo "$as_me: failed program was:" >&5
5810
 
sed 's/^/| /' conftest.$ac_ext >&5
5811
 
 
5812
 
ac_header_compiler=no
5813
 
fi
5814
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5815
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5816
 
echo "${ECHO_T}$ac_header_compiler" >&6
5817
 
 
5818
 
# Is the header present?
5819
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5820
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5821
 
cat >conftest.$ac_ext <<_ACEOF
5822
 
/* confdefs.h.  */
5823
 
_ACEOF
5824
 
cat confdefs.h >>conftest.$ac_ext
5825
 
cat >>conftest.$ac_ext <<_ACEOF
5826
 
/* end confdefs.h.  */
5827
 
#include <$ac_header>
5828
 
_ACEOF
5829
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5830
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5831
 
  ac_status=$?
5832
 
  grep -v '^ *+' conftest.er1 >conftest.err
5833
 
  rm -f conftest.er1
5834
 
  cat conftest.err >&5
5835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
 
  (exit $ac_status); } >/dev/null; then
5837
 
  if test -s conftest.err; then
5838
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5839
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5840
 
  else
5841
 
    ac_cpp_err=
5842
 
  fi
5843
 
else
5844
 
  ac_cpp_err=yes
5845
 
fi
5846
 
if test -z "$ac_cpp_err"; then
5847
 
  ac_header_preproc=yes
5848
 
else
5849
 
  echo "$as_me: failed program was:" >&5
5850
 
sed 's/^/| /' conftest.$ac_ext >&5
5851
 
 
5852
 
  ac_header_preproc=no
5853
 
fi
5854
 
rm -f conftest.err conftest.$ac_ext
5855
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5856
 
echo "${ECHO_T}$ac_header_preproc" >&6
5857
 
 
5858
 
# So?  What about this header?
5859
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5860
 
  yes:no: )
5861
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5862
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5863
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5864
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5865
 
    ac_header_preproc=yes
5866
 
    ;;
5867
 
  no:yes:* )
5868
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5869
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5870
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5871
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5872
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5873
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5874
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5875
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5876
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5877
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5878
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5879
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5880
 
    (
5881
 
      cat <<\_ASBOX
5882
 
## ------------------------------------------------ ##
5883
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
5884
 
## ------------------------------------------------ ##
5885
 
_ASBOX
5886
 
    ) |
5887
 
      sed "s/^/$as_me: WARNING:     /" >&2
5888
 
    ;;
5889
 
esac
5890
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5891
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5892
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5894
 
else
5895
 
  eval "$as_ac_Header=\$ac_header_preproc"
5896
 
fi
5897
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5898
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5899
 
 
5900
 
fi
5901
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4894
do :
 
4895
  ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
 
4896
if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
5902
4897
  cat >>confdefs.h <<_ACEOF
5903
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4898
#define HAVE_SYS_SOCKIO_H 1
5904
4899
_ACEOF
5905
4900
 
5906
4901
fi
5907
4902
 
5908
4903
done
5909
4904
 
5910
 
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5911
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5912
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then
5913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
4906
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 
4907
if ${ac_cv_header_sys_wait_h+:} false; then :
 
4908
  $as_echo_n "(cached) " >&6
5914
4909
else
5915
 
  cat >conftest.$ac_ext <<_ACEOF
5916
 
/* confdefs.h.  */
5917
 
_ACEOF
5918
 
cat confdefs.h >>conftest.$ac_ext
5919
 
cat >>conftest.$ac_ext <<_ACEOF
 
4910
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920
4911
/* end confdefs.h.  */
5921
4912
#include <sys/types.h>
5922
4913
#include <sys/wait.h>
5923
4914
#ifndef WEXITSTATUS
5924
 
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 
4915
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5925
4916
#endif
5926
4917
#ifndef WIFEXITED
5927
4918
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5937
4928
  return 0;
5938
4929
}
5939
4930
_ACEOF
5940
 
rm -f conftest.$ac_objext
5941
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5942
 
  (eval $ac_compile) 2>conftest.er1
5943
 
  ac_status=$?
5944
 
  grep -v '^ *+' conftest.er1 >conftest.err
5945
 
  rm -f conftest.er1
5946
 
  cat conftest.err >&5
5947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948
 
  (exit $ac_status); } &&
5949
 
         { ac_try='test -z "$ac_c_werror_flag"
5950
 
                         || test ! -s conftest.err'
5951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952
 
  (eval $ac_try) 2>&5
5953
 
  ac_status=$?
5954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955
 
  (exit $ac_status); }; } &&
5956
 
         { ac_try='test -s conftest.$ac_objext'
5957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958
 
  (eval $ac_try) 2>&5
5959
 
  ac_status=$?
5960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961
 
  (exit $ac_status); }; }; then
 
4931
if ac_fn_c_try_compile "$LINENO"; then :
5962
4932
  ac_cv_header_sys_wait_h=yes
5963
4933
else
5964
 
  echo "$as_me: failed program was:" >&5
5965
 
sed 's/^/| /' conftest.$ac_ext >&5
5966
 
 
5967
 
ac_cv_header_sys_wait_h=no
5968
 
fi
5969
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5970
 
fi
5971
 
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5972
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 
4934
  ac_cv_header_sys_wait_h=no
 
4935
fi
 
4936
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4937
fi
 
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 
4939
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
5973
4940
if test $ac_cv_header_sys_wait_h = yes; then
5974
4941
 
5975
 
cat >>confdefs.h <<\_ACEOF
5976
 
#define HAVE_SYS_WAIT_H 1
5977
 
_ACEOF
 
4942
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
5978
4943
 
5979
4944
fi
5980
4945
 
5981
4946
if test $ac_cv_c_compiler_gnu = yes; then
5982
 
    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5983
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
5984
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4947
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
 
4948
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
 
4949
if ${ac_cv_prog_gcc_traditional+:} false; then :
 
4950
  $as_echo_n "(cached) " >&6
5986
4951
else
5987
4952
    ac_pattern="Autoconf.*'x'"
5988
 
  cat >conftest.$ac_ext <<_ACEOF
5989
 
/* confdefs.h.  */
5990
 
_ACEOF
5991
 
cat confdefs.h >>conftest.$ac_ext
5992
 
cat >>conftest.$ac_ext <<_ACEOF
 
4953
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993
4954
/* end confdefs.h.  */
5994
4955
#include <sgtty.h>
5995
4956
Autoconf TIOCGETP
5996
4957
_ACEOF
5997
4958
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5998
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
4959
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5999
4960
  ac_cv_prog_gcc_traditional=yes
6000
4961
else
6001
4962
  ac_cv_prog_gcc_traditional=no
6004
4965
 
6005
4966
 
6006
4967
  if test $ac_cv_prog_gcc_traditional = no; then
6007
 
    cat >conftest.$ac_ext <<_ACEOF
6008
 
/* confdefs.h.  */
6009
 
_ACEOF
6010
 
cat confdefs.h >>conftest.$ac_ext
6011
 
cat >>conftest.$ac_ext <<_ACEOF
 
4968
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012
4969
/* end confdefs.h.  */
6013
4970
#include <termio.h>
6014
4971
Autoconf TCGETA
6015
4972
_ACEOF
6016
4973
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6017
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
4974
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6018
4975
  ac_cv_prog_gcc_traditional=yes
6019
4976
fi
6020
4977
rm -f conftest*
6021
4978
 
6022
4979
  fi
6023
4980
fi
6024
 
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6025
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
 
4981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
 
4982
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
6026
4983
  if test $ac_cv_prog_gcc_traditional = yes; then
6027
4984
    CC="$CC -traditional"
6028
4985
  fi
6029
4986
fi
6030
4987
 
6031
 
echo "$as_me:$LINENO: checking for size_t" >&5
6032
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6033
 
if test "${ac_cv_type_size_t+set}" = set; then
6034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6035
 
else
6036
 
  cat >conftest.$ac_ext <<_ACEOF
6037
 
/* confdefs.h.  */
6038
 
_ACEOF
6039
 
cat confdefs.h >>conftest.$ac_ext
6040
 
cat >>conftest.$ac_ext <<_ACEOF
6041
 
/* end confdefs.h.  */
6042
 
$ac_includes_default
6043
 
int
6044
 
main ()
6045
 
{
6046
 
if ((size_t *) 0)
6047
 
  return 0;
6048
 
if (sizeof (size_t))
6049
 
  return 0;
6050
 
  ;
6051
 
  return 0;
6052
 
}
6053
 
_ACEOF
6054
 
rm -f conftest.$ac_objext
6055
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6056
 
  (eval $ac_compile) 2>conftest.er1
6057
 
  ac_status=$?
6058
 
  grep -v '^ *+' conftest.er1 >conftest.err
6059
 
  rm -f conftest.er1
6060
 
  cat conftest.err >&5
6061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062
 
  (exit $ac_status); } &&
6063
 
         { ac_try='test -z "$ac_c_werror_flag"
6064
 
                         || test ! -s conftest.err'
6065
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066
 
  (eval $ac_try) 2>&5
6067
 
  ac_status=$?
6068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069
 
  (exit $ac_status); }; } &&
6070
 
         { ac_try='test -s conftest.$ac_objext'
6071
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072
 
  (eval $ac_try) 2>&5
6073
 
  ac_status=$?
6074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
 
  (exit $ac_status); }; }; then
6076
 
  ac_cv_type_size_t=yes
6077
 
else
6078
 
  echo "$as_me: failed program was:" >&5
6079
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4988
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
4989
if test "x$ac_cv_type_size_t" = xyes; then :
6080
4990
 
6081
 
ac_cv_type_size_t=no
6082
 
fi
6083
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6084
 
fi
6085
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6086
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
6087
 
if test $ac_cv_type_size_t = yes; then
6088
 
  :
6089
4991
else
6090
4992
 
6091
4993
cat >>confdefs.h <<_ACEOF
6092
 
#define size_t unsigned
 
4994
#define size_t unsigned int
6093
4995
_ACEOF
6094
4996
 
6095
4997
fi
6096
4998
 
6097
4999
 
6098
 
echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
6099
 
echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
6100
 
if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
6101
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
 
5001
$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
 
5002
if ${ac_cv_lib_kstat_kstat_open+:} false; then :
 
5003
  $as_echo_n "(cached) " >&6
6102
5004
else
6103
5005
  ac_check_lib_save_LIBS=$LIBS
6104
5006
LIBS="-lkstat  $LIBS"
6105
 
cat >conftest.$ac_ext <<_ACEOF
6106
 
/* confdefs.h.  */
6107
 
_ACEOF
6108
 
cat confdefs.h >>conftest.$ac_ext
6109
 
cat >>conftest.$ac_ext <<_ACEOF
 
5007
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110
5008
/* end confdefs.h.  */
6111
5009
 
6112
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5010
/* Override any GCC internal prototype to avoid an error.
 
5011
   Use char because int might match the return type of a GCC
 
5012
   builtin and then its argument prototype would still apply.  */
6113
5013
#ifdef __cplusplus
6114
5014
extern "C"
6115
5015
#endif
6116
 
/* We use char because int might match the return type of a gcc2
6117
 
   builtin and then its argument prototype would still apply.  */
6118
5016
char kstat_open ();
6119
5017
int
6120
5018
main ()
6121
5019
{
6122
 
kstat_open ();
 
5020
return kstat_open ();
6123
5021
  ;
6124
5022
  return 0;
6125
5023
}
6126
5024
_ACEOF
6127
 
rm -f conftest.$ac_objext conftest$ac_exeext
6128
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6129
 
  (eval $ac_link) 2>conftest.er1
6130
 
  ac_status=$?
6131
 
  grep -v '^ *+' conftest.er1 >conftest.err
6132
 
  rm -f conftest.er1
6133
 
  cat conftest.err >&5
6134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135
 
  (exit $ac_status); } &&
6136
 
         { ac_try='test -z "$ac_c_werror_flag"
6137
 
                         || test ! -s conftest.err'
6138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139
 
  (eval $ac_try) 2>&5
6140
 
  ac_status=$?
6141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142
 
  (exit $ac_status); }; } &&
6143
 
         { ac_try='test -s conftest$ac_exeext'
6144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145
 
  (eval $ac_try) 2>&5
6146
 
  ac_status=$?
6147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148
 
  (exit $ac_status); }; }; then
 
5025
if ac_fn_c_try_link "$LINENO"; then :
6149
5026
  ac_cv_lib_kstat_kstat_open=yes
6150
5027
else
6151
 
  echo "$as_me: failed program was:" >&5
6152
 
sed 's/^/| /' conftest.$ac_ext >&5
6153
 
 
6154
 
ac_cv_lib_kstat_kstat_open=no
 
5028
  ac_cv_lib_kstat_kstat_open=no
6155
5029
fi
6156
 
rm -f conftest.err conftest.$ac_objext \
6157
 
      conftest$ac_exeext conftest.$ac_ext
 
5030
rm -f core conftest.err conftest.$ac_objext \
 
5031
    conftest$ac_exeext conftest.$ac_ext
6158
5032
LIBS=$ac_check_lib_save_LIBS
6159
5033
fi
6160
 
echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
6161
 
echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
6162
 
if test $ac_cv_lib_kstat_kstat_open = yes; then
 
5034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
 
5035
$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
 
5036
if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
6163
5037
  SOLLIBS="-lkstat -lsocket"
6164
5038
else
6165
5039
  SOLLIBS=""
6166
5040
fi
6167
5041
 
6168
 
echo "$as_me:$LINENO: checking for kstat_open in -lnsl" >&5
6169
 
echo $ECHO_N "checking for kstat_open in -lnsl... $ECHO_C" >&6
6170
 
if test "${ac_cv_lib_nsl_kstat_open+set}" = set; then
6171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lnsl" >&5
 
5043
$as_echo_n "checking for kstat_open in -lnsl... " >&6; }
 
5044
if ${ac_cv_lib_nsl_kstat_open+:} false; then :
 
5045
  $as_echo_n "(cached) " >&6
6172
5046
else
6173
5047
  ac_check_lib_save_LIBS=$LIBS
6174
5048
LIBS="-lnsl  $LIBS"
6175
 
cat >conftest.$ac_ext <<_ACEOF
6176
 
/* confdefs.h.  */
6177
 
_ACEOF
6178
 
cat confdefs.h >>conftest.$ac_ext
6179
 
cat >>conftest.$ac_ext <<_ACEOF
 
5049
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180
5050
/* end confdefs.h.  */
6181
5051
 
6182
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5052
/* Override any GCC internal prototype to avoid an error.
 
5053
   Use char because int might match the return type of a GCC
 
5054
   builtin and then its argument prototype would still apply.  */
6183
5055
#ifdef __cplusplus
6184
5056
extern "C"
6185
5057
#endif
6186
 
/* We use char because int might match the return type of a gcc2
6187
 
   builtin and then its argument prototype would still apply.  */
6188
5058
char kstat_open ();
6189
5059
int
6190
5060
main ()
6191
5061
{
6192
 
kstat_open ();
 
5062
return kstat_open ();
6193
5063
  ;
6194
5064
  return 0;
6195
5065
}
6196
5066
_ACEOF
6197
 
rm -f conftest.$ac_objext conftest$ac_exeext
6198
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6199
 
  (eval $ac_link) 2>conftest.er1
6200
 
  ac_status=$?
6201
 
  grep -v '^ *+' conftest.er1 >conftest.err
6202
 
  rm -f conftest.er1
6203
 
  cat conftest.err >&5
6204
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205
 
  (exit $ac_status); } &&
6206
 
         { ac_try='test -z "$ac_c_werror_flag"
6207
 
                         || test ! -s conftest.err'
6208
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209
 
  (eval $ac_try) 2>&5
6210
 
  ac_status=$?
6211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212
 
  (exit $ac_status); }; } &&
6213
 
         { ac_try='test -s conftest$ac_exeext'
6214
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215
 
  (eval $ac_try) 2>&5
6216
 
  ac_status=$?
6217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218
 
  (exit $ac_status); }; }; then
 
5067
if ac_fn_c_try_link "$LINENO"; then :
6219
5068
  ac_cv_lib_nsl_kstat_open=yes
6220
5069
else
6221
 
  echo "$as_me: failed program was:" >&5
6222
 
sed 's/^/| /' conftest.$ac_ext >&5
6223
 
 
6224
 
ac_cv_lib_nsl_kstat_open=no
 
5070
  ac_cv_lib_nsl_kstat_open=no
6225
5071
fi
6226
 
rm -f conftest.err conftest.$ac_objext \
6227
 
      conftest$ac_exeext conftest.$ac_ext
 
5072
rm -f core conftest.err conftest.$ac_objext \
 
5073
    conftest$ac_exeext conftest.$ac_ext
6228
5074
LIBS=$ac_check_lib_save_LIBS
6229
5075
fi
6230
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_kstat_open" >&5
6231
 
echo "${ECHO_T}$ac_cv_lib_nsl_kstat_open" >&6
6232
 
if test $ac_cv_lib_nsl_kstat_open = yes; then
 
5076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_kstat_open" >&5
 
5077
$as_echo "$ac_cv_lib_nsl_kstat_open" >&6; }
 
5078
if test "x$ac_cv_lib_nsl_kstat_open" = xyes; then :
6233
5079
  SOLLIBS="$SOLLIBS -linet_ntop"
6234
5080
else
6235
5081
  SOLLIBS="$SOLLIBS"
6246
5092
  if test x"$PKG_CONFIG" = x""; then
6247
5093
    # Extract the first word of "pkg-config", so it can be a program name with args.
6248
5094
set dummy pkg-config; ac_word=$2
6249
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6250
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6251
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5096
$as_echo_n "checking for $ac_word... " >&6; }
 
5097
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
5098
  $as_echo_n "(cached) " >&6
6253
5099
else
6254
5100
  case $PKG_CONFIG in
6255
5101
  [\\/]* | ?:[\\/]*)
6261
5107
do
6262
5108
  IFS=$as_save_IFS
6263
5109
  test -z "$as_dir" && as_dir=.
6264
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6265
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5110
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266
5112
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6267
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5113
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268
5114
    break 2
6269
5115
  fi
6270
5116
done
6271
 
done
 
5117
  done
 
5118
IFS=$as_save_IFS
6272
5119
 
6273
5120
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6274
5121
  ;;
6275
5122
esac
6276
5123
fi
6277
5124
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6278
 
 
6279
5125
if test -n "$PKG_CONFIG"; then
6280
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6281
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
5126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
5127
$as_echo "$PKG_CONFIG" >&6; }
6282
5128
else
6283
 
  echo "$as_me:$LINENO: result: no" >&5
6284
 
echo "${ECHO_T}no" >&6
 
5129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5130
$as_echo "no" >&6; }
6285
5131
fi
6286
5132
 
6287
5133
 
 
5134
 
6288
5135
    if test x"$PKG_CONFIG" = x"no"; then
6289
5136
      echo "*** The pkg-config utility could not be found on your system."
6290
5137
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
6298
5145
    fi
6299
5146
 
6300
5147
    # check pkg-config version
6301
 
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
6302
 
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
5148
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
5149
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
6303
5150
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
6304
5151
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
6305
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
6306
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
5152
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
5153
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
6307
5154
    else
6308
5155
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
6309
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
6310
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
5156
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
5157
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
6311
5158
      echo "*** Your version of pkg-config is too old. You need atleast"
6312
5159
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
6313
5160
      echo "*** from the freedesktop.org software repository at"
6319
5166
  fi
6320
5167
 
6321
5168
 
6322
 
  echo "$as_me:$LINENO: checking for libxfce4panel-1.0 >= 4.3.20" >&5
6323
 
echo $ECHO_N "checking for libxfce4panel-1.0 >= 4.3.20... $ECHO_C" >&6
 
5169
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-1.0 >= 4.3.20" >&5
 
5170
$as_echo_n "checking for libxfce4panel-1.0 >= 4.3.20... " >&6; }
6324
5171
  if $PKG_CONFIG "--atleast-version=4.3.20" "libxfce4panel-1.0" >/dev/null 2>&1; then
6325
5172
    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
6326
 
    echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_VERSION" >&5
6327
 
echo "${ECHO_T}$LIBXFCE4PANEL_VERSION" >&6
 
5173
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
 
5174
$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
6328
5175
 
6329
 
    echo "$as_me:$LINENO: checking LIBXFCE4PANEL_CFLAGS" >&5
6330
 
echo $ECHO_N "checking LIBXFCE4PANEL_CFLAGS... $ECHO_C" >&6
 
5176
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
 
5177
$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
6331
5178
    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-1.0"`
6332
 
    echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_CFLAGS" >&5
6333
 
echo "${ECHO_T}$LIBXFCE4PANEL_CFLAGS" >&6
 
5179
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
 
5180
$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
6334
5181
 
6335
 
    echo "$as_me:$LINENO: checking LIBXFCE4PANEL_LIBS" >&5
6336
 
echo $ECHO_N "checking LIBXFCE4PANEL_LIBS... $ECHO_C" >&6
 
5182
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
 
5183
$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
6337
5184
    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-1.0"`
6338
 
    echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_LIBS" >&5
6339
 
echo "${ECHO_T}$LIBXFCE4PANEL_LIBS" >&6
 
5185
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
 
5186
$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
6340
5187
 
6341
5188
    LIBXFCE4PANEL_REQUIRED_VERSION=4.3.20
6342
5189
 
6347
5194
 
6348
5195
 
6349
5196
  elif $PKG_CONFIG --exists "libxfce4panel-1.0" >/dev/null 2>&1; then
6350
 
    xdg_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
6351
 
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
6352
 
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
5197
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
 
5198
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
 
5199
$as_echo "found, but $xdt_cv_version" >&6; }
6353
5200
 
6354
5201
 
6355
5202
      echo "*** The required package libxfce4panel-1.0 was found on your system,"
6361
5208
      exit 1
6362
5209
 
6363
5210
  else
6364
 
    echo "$as_me:$LINENO: result: not found" >&5
6365
 
echo "${ECHO_T}not found" >&6
 
5211
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 
5212
$as_echo "not found" >&6; }
6366
5213
 
6367
5214
 
6368
5215
      echo "*** The required package libxfce4panel-1.0 was not found on your system."
6376
5223
 
6377
5224
 
6378
5225
 
 
5226
 
 
5227
  # minimum supported version of pkg-config
 
5228
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
5229
 
 
5230
  # lookup pkg-config utility
 
5231
  if test x"$PKG_CONFIG" = x""; then
 
5232
    # Extract the first word of "pkg-config", so it can be a program name with args.
 
5233
set dummy pkg-config; ac_word=$2
 
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5235
$as_echo_n "checking for $ac_word... " >&6; }
 
5236
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
5237
  $as_echo_n "(cached) " >&6
 
5238
else
 
5239
  case $PKG_CONFIG in
 
5240
  [\\/]* | ?:[\\/]*)
 
5241
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
5242
  ;;
 
5243
  *)
 
5244
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5245
for as_dir in $PATH
 
5246
do
 
5247
  IFS=$as_save_IFS
 
5248
  test -z "$as_dir" && as_dir=.
 
5249
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5251
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
5252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5253
    break 2
 
5254
  fi
 
5255
done
 
5256
  done
 
5257
IFS=$as_save_IFS
 
5258
 
 
5259
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
5260
  ;;
 
5261
esac
 
5262
fi
 
5263
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
5264
if test -n "$PKG_CONFIG"; then
 
5265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
5266
$as_echo "$PKG_CONFIG" >&6; }
 
5267
else
 
5268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5269
$as_echo "no" >&6; }
 
5270
fi
 
5271
 
 
5272
 
 
5273
 
 
5274
    if test x"$PKG_CONFIG" = x"no"; then
 
5275
      echo "*** The pkg-config utility could not be found on your system."
 
5276
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
5277
      echo "*** environment variable to the full path to pkg-config."
 
5278
      echo "*** You can download pkg-config from the freedesktop.org"
 
5279
      echo "*** software repository at"
 
5280
      echo "***"
 
5281
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
5282
      echo "***"
 
5283
      exit 1
 
5284
    fi
 
5285
 
 
5286
    # check pkg-config version
 
5287
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
5288
$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
 
5289
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
5290
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
5291
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
5292
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
 
5293
    else
 
5294
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
5295
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
5296
$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
 
5297
      echo "*** Your version of pkg-config is too old. You need atleast"
 
5298
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
5299
      echo "*** from the freedesktop.org software repository at"
 
5300
      echo "***"
 
5301
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
5302
      echo "***"
 
5303
      exit 1
 
5304
    fi
 
5305
  fi
 
5306
 
 
5307
 
 
5308
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfcegui4-1.0 >= 4.4.0" >&5
 
5309
$as_echo_n "checking for libxfcegui4-1.0 >= 4.4.0... " >&6; }
 
5310
  if $PKG_CONFIG "--atleast-version=4.4.0" "libxfcegui4-1.0" >/dev/null 2>&1; then
 
5311
    LIBXFCEGUI4_VERSION=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
 
5312
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCEGUI4_VERSION" >&5
 
5313
$as_echo "$LIBXFCEGUI4_VERSION" >&6; }
 
5314
 
 
5315
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCEGUI4_CFLAGS" >&5
 
5316
$as_echo_n "checking LIBXFCEGUI4_CFLAGS... " >&6; }
 
5317
    LIBXFCEGUI4_CFLAGS=`$PKG_CONFIG --cflags "libxfcegui4-1.0"`
 
5318
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCEGUI4_CFLAGS" >&5
 
5319
$as_echo "$LIBXFCEGUI4_CFLAGS" >&6; }
 
5320
 
 
5321
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCEGUI4_LIBS" >&5
 
5322
$as_echo_n "checking LIBXFCEGUI4_LIBS... " >&6; }
 
5323
    LIBXFCEGUI4_LIBS=`$PKG_CONFIG --libs "libxfcegui4-1.0"`
 
5324
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCEGUI4_LIBS" >&5
 
5325
$as_echo "$LIBXFCEGUI4_LIBS" >&6; }
 
5326
 
 
5327
    LIBXFCEGUI4_REQUIRED_VERSION=4.4.0
 
5328
 
 
5329
 
 
5330
 
 
5331
 
 
5332
 
 
5333
 
 
5334
 
 
5335
  elif $PKG_CONFIG --exists "libxfcegui4-1.0" >/dev/null 2>&1; then
 
5336
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
 
5337
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
 
5338
$as_echo "found, but $xdt_cv_version" >&6; }
 
5339
 
 
5340
 
 
5341
      echo "*** The required package libxfcegui4-1.0 was found on your system,"
 
5342
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
5343
      echo "*** Please upgrade libxfcegui4-1.0 to atleast version 4.4.0, or adjust"
 
5344
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
5345
      echo "*** the new version of the package in a nonstandard prefix so"
 
5346
      echo "*** pkg-config is able to find it."
 
5347
      exit 1
 
5348
 
 
5349
  else
 
5350
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 
5351
$as_echo "not found" >&6; }
 
5352
 
 
5353
 
 
5354
      echo "*** The required package libxfcegui4-1.0 was not found on your system."
 
5355
      echo "*** Please install libxfcegui4-1.0 (atleast version 4.4.0) or adjust"
 
5356
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
5357
      echo "*** installed the package in a nonstandard prefix so that"
 
5358
      echo "*** pkg-config is able to find it."
 
5359
      exit 1
 
5360
 
 
5361
  fi
 
5362
 
 
5363
 
 
5364
 
6379
5365
    GETTEXT_PACKAGE=xfce4-netload-plugin
6380
5366
 
6381
5367
cat >>confdefs.h <<_ACEOF
6384
5370
 
6385
5371
 
6386
5372
 
6387
 
    ALL_LINGUAS="ca de fr ko lt pl uk"
6388
 
 
6389
 
 
6390
 
for ac_header in locale.h
6391
 
do
6392
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6393
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6394
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6395
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6396
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6398
 
fi
6399
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6400
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6401
 
else
6402
 
  # Is the header compilable?
6403
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6404
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6405
 
cat >conftest.$ac_ext <<_ACEOF
6406
 
/* confdefs.h.  */
6407
 
_ACEOF
6408
 
cat confdefs.h >>conftest.$ac_ext
6409
 
cat >>conftest.$ac_ext <<_ACEOF
6410
 
/* end confdefs.h.  */
6411
 
$ac_includes_default
6412
 
#include <$ac_header>
6413
 
_ACEOF
6414
 
rm -f conftest.$ac_objext
6415
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6416
 
  (eval $ac_compile) 2>conftest.er1
6417
 
  ac_status=$?
6418
 
  grep -v '^ *+' conftest.er1 >conftest.err
6419
 
  rm -f conftest.er1
6420
 
  cat conftest.err >&5
6421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422
 
  (exit $ac_status); } &&
6423
 
         { ac_try='test -z "$ac_c_werror_flag"
6424
 
                         || test ! -s conftest.err'
6425
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426
 
  (eval $ac_try) 2>&5
6427
 
  ac_status=$?
6428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429
 
  (exit $ac_status); }; } &&
6430
 
         { ac_try='test -s conftest.$ac_objext'
6431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432
 
  (eval $ac_try) 2>&5
6433
 
  ac_status=$?
6434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435
 
  (exit $ac_status); }; }; then
6436
 
  ac_header_compiler=yes
6437
 
else
6438
 
  echo "$as_me: failed program was:" >&5
6439
 
sed 's/^/| /' conftest.$ac_ext >&5
6440
 
 
6441
 
ac_header_compiler=no
6442
 
fi
6443
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6444
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6445
 
echo "${ECHO_T}$ac_header_compiler" >&6
6446
 
 
6447
 
# Is the header present?
6448
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6449
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6450
 
cat >conftest.$ac_ext <<_ACEOF
6451
 
/* confdefs.h.  */
6452
 
_ACEOF
6453
 
cat confdefs.h >>conftest.$ac_ext
6454
 
cat >>conftest.$ac_ext <<_ACEOF
6455
 
/* end confdefs.h.  */
6456
 
#include <$ac_header>
6457
 
_ACEOF
6458
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6459
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6460
 
  ac_status=$?
6461
 
  grep -v '^ *+' conftest.er1 >conftest.err
6462
 
  rm -f conftest.er1
6463
 
  cat conftest.err >&5
6464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465
 
  (exit $ac_status); } >/dev/null; then
6466
 
  if test -s conftest.err; then
6467
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6468
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6469
 
  else
6470
 
    ac_cpp_err=
6471
 
  fi
6472
 
else
6473
 
  ac_cpp_err=yes
6474
 
fi
6475
 
if test -z "$ac_cpp_err"; then
6476
 
  ac_header_preproc=yes
6477
 
else
6478
 
  echo "$as_me: failed program was:" >&5
6479
 
sed 's/^/| /' conftest.$ac_ext >&5
6480
 
 
6481
 
  ac_header_preproc=no
6482
 
fi
6483
 
rm -f conftest.err conftest.$ac_ext
6484
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6485
 
echo "${ECHO_T}$ac_header_preproc" >&6
6486
 
 
6487
 
# So?  What about this header?
6488
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6489
 
  yes:no: )
6490
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6491
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6492
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6493
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6494
 
    ac_header_preproc=yes
6495
 
    ;;
6496
 
  no:yes:* )
6497
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6498
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6499
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6500
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6501
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6502
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6503
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6504
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6505
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6506
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6507
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6508
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6509
 
    (
6510
 
      cat <<\_ASBOX
6511
 
## ------------------------------------------------ ##
6512
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
6513
 
## ------------------------------------------------ ##
6514
 
_ASBOX
6515
 
    ) |
6516
 
      sed "s/^/$as_me: WARNING:     /" >&2
6517
 
    ;;
6518
 
esac
6519
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6520
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6521
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6522
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6523
 
else
6524
 
  eval "$as_ac_Header=\$ac_header_preproc"
6525
 
fi
6526
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6527
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6528
 
 
6529
 
fi
6530
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5373
    ALL_LINGUAS="ast ca cs da de el en_GB eo es eu fi fr gl hu id it ja kk ko lt lv nb pa pl pt_BR pt ru sq sv tr ug uk ur_PK ur vi zh_CN "
 
5374
 
 
5375
   for ac_header in locale.h
 
5376
do :
 
5377
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
5378
if test "x$ac_cv_header_locale_h" = xyes; then :
6531
5379
  cat >>confdefs.h <<_ACEOF
6532
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5380
#define HAVE_LOCALE_H 1
6533
5381
_ACEOF
6534
5382
 
6535
5383
fi
6537
5385
done
6538
5386
 
6539
5387
    if test $ac_cv_header_locale_h = yes; then
6540
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6541
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6542
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5388
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
5389
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
5390
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
5391
  $as_echo_n "(cached) " >&6
6544
5392
else
6545
 
  cat >conftest.$ac_ext <<_ACEOF
6546
 
/* confdefs.h.  */
6547
 
_ACEOF
6548
 
cat confdefs.h >>conftest.$ac_ext
6549
 
cat >>conftest.$ac_ext <<_ACEOF
 
5393
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550
5394
/* end confdefs.h.  */
6551
5395
#include <locale.h>
6552
5396
int
6557
5401
  return 0;
6558
5402
}
6559
5403
_ACEOF
6560
 
rm -f conftest.$ac_objext conftest$ac_exeext
6561
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6562
 
  (eval $ac_link) 2>conftest.er1
6563
 
  ac_status=$?
6564
 
  grep -v '^ *+' conftest.er1 >conftest.err
6565
 
  rm -f conftest.er1
6566
 
  cat conftest.err >&5
6567
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568
 
  (exit $ac_status); } &&
6569
 
         { ac_try='test -z "$ac_c_werror_flag"
6570
 
                         || test ! -s conftest.err'
6571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572
 
  (eval $ac_try) 2>&5
6573
 
  ac_status=$?
6574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575
 
  (exit $ac_status); }; } &&
6576
 
         { ac_try='test -s conftest$ac_exeext'
6577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578
 
  (eval $ac_try) 2>&5
6579
 
  ac_status=$?
6580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581
 
  (exit $ac_status); }; }; then
 
5404
if ac_fn_c_try_link "$LINENO"; then :
6582
5405
  am_cv_val_LC_MESSAGES=yes
6583
5406
else
6584
 
  echo "$as_me: failed program was:" >&5
6585
 
sed 's/^/| /' conftest.$ac_ext >&5
6586
 
 
6587
 
am_cv_val_LC_MESSAGES=no
6588
 
fi
6589
 
rm -f conftest.err conftest.$ac_objext \
6590
 
      conftest$ac_exeext conftest.$ac_ext
6591
 
fi
6592
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6593
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
5407
  am_cv_val_LC_MESSAGES=no
 
5408
fi
 
5409
rm -f core conftest.err conftest.$ac_objext \
 
5410
    conftest$ac_exeext conftest.$ac_ext
 
5411
fi
 
5412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
5413
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6594
5414
    if test $am_cv_val_LC_MESSAGES = yes; then
6595
5415
 
6596
 
cat >>confdefs.h <<\_ACEOF
6597
 
#define HAVE_LC_MESSAGES 1
6598
 
_ACEOF
 
5416
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
6599
5417
 
6600
5418
    fi
6601
5419
  fi
6608
5426
    XGETTEXT=:
6609
5427
    INTLLIBS=
6610
5428
 
6611
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
6612
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
6613
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6614
 
if test "${ac_cv_header_libintl_h+set}" = set; then
6615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6616
 
fi
6617
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6618
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6619
 
else
6620
 
  # Is the header compilable?
6621
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
6622
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
6623
 
cat >conftest.$ac_ext <<_ACEOF
6624
 
/* confdefs.h.  */
6625
 
_ACEOF
6626
 
cat confdefs.h >>conftest.$ac_ext
6627
 
cat >>conftest.$ac_ext <<_ACEOF
6628
 
/* end confdefs.h.  */
6629
 
$ac_includes_default
6630
 
#include <libintl.h>
6631
 
_ACEOF
6632
 
rm -f conftest.$ac_objext
6633
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6634
 
  (eval $ac_compile) 2>conftest.er1
6635
 
  ac_status=$?
6636
 
  grep -v '^ *+' conftest.er1 >conftest.err
6637
 
  rm -f conftest.er1
6638
 
  cat conftest.err >&5
6639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
 
  (exit $ac_status); } &&
6641
 
         { ac_try='test -z "$ac_c_werror_flag"
6642
 
                         || test ! -s conftest.err'
6643
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644
 
  (eval $ac_try) 2>&5
6645
 
  ac_status=$?
6646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647
 
  (exit $ac_status); }; } &&
6648
 
         { ac_try='test -s conftest.$ac_objext'
6649
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650
 
  (eval $ac_try) 2>&5
6651
 
  ac_status=$?
6652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653
 
  (exit $ac_status); }; }; then
6654
 
  ac_header_compiler=yes
6655
 
else
6656
 
  echo "$as_me: failed program was:" >&5
6657
 
sed 's/^/| /' conftest.$ac_ext >&5
6658
 
 
6659
 
ac_header_compiler=no
6660
 
fi
6661
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6662
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6663
 
echo "${ECHO_T}$ac_header_compiler" >&6
6664
 
 
6665
 
# Is the header present?
6666
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
6667
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
6668
 
cat >conftest.$ac_ext <<_ACEOF
6669
 
/* confdefs.h.  */
6670
 
_ACEOF
6671
 
cat confdefs.h >>conftest.$ac_ext
6672
 
cat >>conftest.$ac_ext <<_ACEOF
6673
 
/* end confdefs.h.  */
6674
 
#include <libintl.h>
6675
 
_ACEOF
6676
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6677
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6678
 
  ac_status=$?
6679
 
  grep -v '^ *+' conftest.er1 >conftest.err
6680
 
  rm -f conftest.er1
6681
 
  cat conftest.err >&5
6682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683
 
  (exit $ac_status); } >/dev/null; then
6684
 
  if test -s conftest.err; then
6685
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6686
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6687
 
  else
6688
 
    ac_cpp_err=
6689
 
  fi
6690
 
else
6691
 
  ac_cpp_err=yes
6692
 
fi
6693
 
if test -z "$ac_cpp_err"; then
6694
 
  ac_header_preproc=yes
6695
 
else
6696
 
  echo "$as_me: failed program was:" >&5
6697
 
sed 's/^/| /' conftest.$ac_ext >&5
6698
 
 
6699
 
  ac_header_preproc=no
6700
 
fi
6701
 
rm -f conftest.err conftest.$ac_ext
6702
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6703
 
echo "${ECHO_T}$ac_header_preproc" >&6
6704
 
 
6705
 
# So?  What about this header?
6706
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6707
 
  yes:no: )
6708
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6709
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6710
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6711
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6712
 
    ac_header_preproc=yes
6713
 
    ;;
6714
 
  no:yes:* )
6715
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6716
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6717
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
6718
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
6719
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6720
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6721
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
6722
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6723
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6724
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6725
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6726
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6727
 
    (
6728
 
      cat <<\_ASBOX
6729
 
## ------------------------------------------------ ##
6730
 
## Report this to xfce-goodies-dev@lists.berlios.de ##
6731
 
## ------------------------------------------------ ##
6732
 
_ASBOX
6733
 
    ) |
6734
 
      sed "s/^/$as_me: WARNING:     /" >&2
6735
 
    ;;
6736
 
esac
6737
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
6738
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6739
 
if test "${ac_cv_header_libintl_h+set}" = set; then
6740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6741
 
else
6742
 
  ac_cv_header_libintl_h=$ac_header_preproc
6743
 
fi
6744
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6745
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6746
 
 
6747
 
fi
6748
 
if test $ac_cv_header_libintl_h = yes; then
 
5429
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
5430
if test "x$ac_cv_header_libintl_h" = xyes; then :
6749
5431
  gt_cv_func_dgettext_libintl="no"
6750
5432
      libintl_extra_libs=""
6751
5433
 
6752
5434
      #
6753
5435
      # First check in libc
6754
5436
      #
6755
 
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6756
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
6757
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
6758
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5437
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
5438
$as_echo_n "checking for ngettext in libc... " >&6; }
 
5439
if ${gt_cv_func_ngettext_libc+:} false; then :
 
5440
  $as_echo_n "(cached) " >&6
6759
5441
else
6760
 
  cat >conftest.$ac_ext <<_ACEOF
6761
 
/* confdefs.h.  */
6762
 
_ACEOF
6763
 
cat confdefs.h >>conftest.$ac_ext
6764
 
cat >>conftest.$ac_ext <<_ACEOF
 
5442
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765
5443
/* end confdefs.h.  */
6766
5444
 
6767
5445
#include <libintl.h>
6774
5452
  return 0;
6775
5453
}
6776
5454
_ACEOF
6777
 
rm -f conftest.$ac_objext conftest$ac_exeext
6778
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6779
 
  (eval $ac_link) 2>conftest.er1
6780
 
  ac_status=$?
6781
 
  grep -v '^ *+' conftest.er1 >conftest.err
6782
 
  rm -f conftest.er1
6783
 
  cat conftest.err >&5
6784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785
 
  (exit $ac_status); } &&
6786
 
         { ac_try='test -z "$ac_c_werror_flag"
6787
 
                         || test ! -s conftest.err'
6788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789
 
  (eval $ac_try) 2>&5
6790
 
  ac_status=$?
6791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792
 
  (exit $ac_status); }; } &&
6793
 
         { ac_try='test -s conftest$ac_exeext'
6794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795
 
  (eval $ac_try) 2>&5
6796
 
  ac_status=$?
6797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798
 
  (exit $ac_status); }; }; then
 
5455
if ac_fn_c_try_link "$LINENO"; then :
6799
5456
  gt_cv_func_ngettext_libc=yes
6800
5457
else
6801
 
  echo "$as_me: failed program was:" >&5
6802
 
sed 's/^/| /' conftest.$ac_ext >&5
6803
 
 
6804
 
gt_cv_func_ngettext_libc=no
6805
 
fi
6806
 
rm -f conftest.err conftest.$ac_objext \
6807
 
      conftest$ac_exeext conftest.$ac_ext
6808
 
 
6809
 
fi
6810
 
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6811
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
 
5458
  gt_cv_func_ngettext_libc=no
 
5459
fi
 
5460
rm -f core conftest.err conftest.$ac_objext \
 
5461
    conftest$ac_exeext conftest.$ac_ext
 
5462
 
 
5463
fi
 
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
5465
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6812
5466
 
6813
5467
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6814
 
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6815
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
6816
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
6817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5468
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
5469
$as_echo_n "checking for dgettext in libc... " >&6; }
 
5470
if ${gt_cv_func_dgettext_libc+:} false; then :
 
5471
  $as_echo_n "(cached) " >&6
6818
5472
else
6819
 
  cat >conftest.$ac_ext <<_ACEOF
6820
 
/* confdefs.h.  */
6821
 
_ACEOF
6822
 
cat confdefs.h >>conftest.$ac_ext
6823
 
cat >>conftest.$ac_ext <<_ACEOF
 
5473
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6824
5474
/* end confdefs.h.  */
6825
5475
 
6826
5476
#include <libintl.h>
6833
5483
  return 0;
6834
5484
}
6835
5485
_ACEOF
6836
 
rm -f conftest.$ac_objext conftest$ac_exeext
6837
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6838
 
  (eval $ac_link) 2>conftest.er1
6839
 
  ac_status=$?
6840
 
  grep -v '^ *+' conftest.er1 >conftest.err
6841
 
  rm -f conftest.er1
6842
 
  cat conftest.err >&5
6843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844
 
  (exit $ac_status); } &&
6845
 
         { ac_try='test -z "$ac_c_werror_flag"
6846
 
                         || test ! -s conftest.err'
6847
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848
 
  (eval $ac_try) 2>&5
6849
 
  ac_status=$?
6850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851
 
  (exit $ac_status); }; } &&
6852
 
         { ac_try='test -s conftest$ac_exeext'
6853
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854
 
  (eval $ac_try) 2>&5
6855
 
  ac_status=$?
6856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857
 
  (exit $ac_status); }; }; then
 
5486
if ac_fn_c_try_link "$LINENO"; then :
6858
5487
  gt_cv_func_dgettext_libc=yes
6859
5488
else
6860
 
  echo "$as_me: failed program was:" >&5
6861
 
sed 's/^/| /' conftest.$ac_ext >&5
6862
 
 
6863
 
gt_cv_func_dgettext_libc=no
6864
 
fi
6865
 
rm -f conftest.err conftest.$ac_objext \
6866
 
      conftest$ac_exeext conftest.$ac_ext
6867
 
 
6868
 
fi
6869
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6870
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
5489
  gt_cv_func_dgettext_libc=no
 
5490
fi
 
5491
rm -f core conftest.err conftest.$ac_objext \
 
5492
    conftest$ac_exeext conftest.$ac_ext
 
5493
 
 
5494
fi
 
5495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
5496
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6871
5497
      fi
6872
5498
 
6873
5499
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6874
 
 
6875
 
for ac_func in bind_textdomain_codeset
6876
 
do
6877
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6878
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
6879
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6880
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
6881
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6882
 
else
6883
 
  cat >conftest.$ac_ext <<_ACEOF
6884
 
/* confdefs.h.  */
6885
 
_ACEOF
6886
 
cat confdefs.h >>conftest.$ac_ext
6887
 
cat >>conftest.$ac_ext <<_ACEOF
6888
 
/* end confdefs.h.  */
6889
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6890
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6891
 
#define $ac_func innocuous_$ac_func
6892
 
 
6893
 
/* System header to define __stub macros and hopefully few prototypes,
6894
 
    which can conflict with char $ac_func (); below.
6895
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6896
 
    <limits.h> exists even on freestanding compilers.  */
6897
 
 
6898
 
#ifdef __STDC__
6899
 
# include <limits.h>
6900
 
#else
6901
 
# include <assert.h>
6902
 
#endif
6903
 
 
6904
 
#undef $ac_func
6905
 
 
6906
 
/* Override any gcc2 internal prototype to avoid an error.  */
6907
 
#ifdef __cplusplus
6908
 
extern "C"
6909
 
{
6910
 
#endif
6911
 
/* We use char because int might match the return type of a gcc2
6912
 
   builtin and then its argument prototype would still apply.  */
6913
 
char $ac_func ();
6914
 
/* The GNU C library defines this for functions which it implements
6915
 
    to always fail with ENOSYS.  Some functions are actually named
6916
 
    something starting with __ and the normal name is an alias.  */
6917
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6918
 
choke me
6919
 
#else
6920
 
char (*f) () = $ac_func;
6921
 
#endif
6922
 
#ifdef __cplusplus
6923
 
}
6924
 
#endif
6925
 
 
6926
 
int
6927
 
main ()
6928
 
{
6929
 
return f != $ac_func;
6930
 
  ;
6931
 
  return 0;
6932
 
}
6933
 
_ACEOF
6934
 
rm -f conftest.$ac_objext conftest$ac_exeext
6935
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6936
 
  (eval $ac_link) 2>conftest.er1
6937
 
  ac_status=$?
6938
 
  grep -v '^ *+' conftest.er1 >conftest.err
6939
 
  rm -f conftest.er1
6940
 
  cat conftest.err >&5
6941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942
 
  (exit $ac_status); } &&
6943
 
         { ac_try='test -z "$ac_c_werror_flag"
6944
 
                         || test ! -s conftest.err'
6945
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946
 
  (eval $ac_try) 2>&5
6947
 
  ac_status=$?
6948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949
 
  (exit $ac_status); }; } &&
6950
 
         { ac_try='test -s conftest$ac_exeext'
6951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952
 
  (eval $ac_try) 2>&5
6953
 
  ac_status=$?
6954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955
 
  (exit $ac_status); }; }; then
6956
 
  eval "$as_ac_var=yes"
6957
 
else
6958
 
  echo "$as_me: failed program was:" >&5
6959
 
sed 's/^/| /' conftest.$ac_ext >&5
6960
 
 
6961
 
eval "$as_ac_var=no"
6962
 
fi
6963
 
rm -f conftest.err conftest.$ac_objext \
6964
 
      conftest$ac_exeext conftest.$ac_ext
6965
 
fi
6966
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6967
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6968
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5500
        for ac_func in bind_textdomain_codeset
 
5501
do :
 
5502
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5503
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6969
5504
  cat >>confdefs.h <<_ACEOF
6970
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5505
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6971
5506
_ACEOF
6972
5507
 
6973
5508
fi
6982
5517
         || test "$gt_cv_func_ngettext_libc" != "yes" \
6983
5518
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6984
5519
 
6985
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6986
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
6987
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6988
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5520
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
5521
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
5522
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
5523
  $as_echo_n "(cached) " >&6
6989
5524
else
6990
5525
  ac_check_lib_save_LIBS=$LIBS
6991
5526
LIBS="-lintl  $LIBS"
6992
 
cat >conftest.$ac_ext <<_ACEOF
6993
 
/* confdefs.h.  */
6994
 
_ACEOF
6995
 
cat confdefs.h >>conftest.$ac_ext
6996
 
cat >>conftest.$ac_ext <<_ACEOF
 
5527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997
5528
/* end confdefs.h.  */
6998
5529
 
6999
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5530
/* Override any GCC internal prototype to avoid an error.
 
5531
   Use char because int might match the return type of a GCC
 
5532
   builtin and then its argument prototype would still apply.  */
7000
5533
#ifdef __cplusplus
7001
5534
extern "C"
7002
5535
#endif
7003
 
/* We use char because int might match the return type of a gcc2
7004
 
   builtin and then its argument prototype would still apply.  */
7005
5536
char bindtextdomain ();
7006
5537
int
7007
5538
main ()
7008
5539
{
7009
 
bindtextdomain ();
 
5540
return bindtextdomain ();
7010
5541
  ;
7011
5542
  return 0;
7012
5543
}
7013
5544
_ACEOF
7014
 
rm -f conftest.$ac_objext conftest$ac_exeext
7015
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7016
 
  (eval $ac_link) 2>conftest.er1
7017
 
  ac_status=$?
7018
 
  grep -v '^ *+' conftest.er1 >conftest.err
7019
 
  rm -f conftest.er1
7020
 
  cat conftest.err >&5
7021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022
 
  (exit $ac_status); } &&
7023
 
         { ac_try='test -z "$ac_c_werror_flag"
7024
 
                         || test ! -s conftest.err'
7025
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026
 
  (eval $ac_try) 2>&5
7027
 
  ac_status=$?
7028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029
 
  (exit $ac_status); }; } &&
7030
 
         { ac_try='test -s conftest$ac_exeext'
7031
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7032
 
  (eval $ac_try) 2>&5
7033
 
  ac_status=$?
7034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035
 
  (exit $ac_status); }; }; then
 
5545
if ac_fn_c_try_link "$LINENO"; then :
7036
5546
  ac_cv_lib_intl_bindtextdomain=yes
7037
5547
else
7038
 
  echo "$as_me: failed program was:" >&5
7039
 
sed 's/^/| /' conftest.$ac_ext >&5
7040
 
 
7041
 
ac_cv_lib_intl_bindtextdomain=no
 
5548
  ac_cv_lib_intl_bindtextdomain=no
7042
5549
fi
7043
 
rm -f conftest.err conftest.$ac_objext \
7044
 
      conftest$ac_exeext conftest.$ac_ext
 
5550
rm -f core conftest.err conftest.$ac_objext \
 
5551
    conftest$ac_exeext conftest.$ac_ext
7045
5552
LIBS=$ac_check_lib_save_LIBS
7046
5553
fi
7047
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7048
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7049
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
7050
 
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7051
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
7052
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
5555
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
5556
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
5557
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5558
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5559
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
5560
  $as_echo_n "(cached) " >&6
7054
5561
else
7055
5562
  ac_check_lib_save_LIBS=$LIBS
7056
5563
LIBS="-lintl  $LIBS"
7057
 
cat >conftest.$ac_ext <<_ACEOF
7058
 
/* confdefs.h.  */
7059
 
_ACEOF
7060
 
cat confdefs.h >>conftest.$ac_ext
7061
 
cat >>conftest.$ac_ext <<_ACEOF
 
5564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062
5565
/* end confdefs.h.  */
7063
5566
 
7064
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5567
/* Override any GCC internal prototype to avoid an error.
 
5568
   Use char because int might match the return type of a GCC
 
5569
   builtin and then its argument prototype would still apply.  */
7065
5570
#ifdef __cplusplus
7066
5571
extern "C"
7067
5572
#endif
7068
 
/* We use char because int might match the return type of a gcc2
7069
 
   builtin and then its argument prototype would still apply.  */
7070
5573
char ngettext ();
7071
5574
int
7072
5575
main ()
7073
5576
{
7074
 
ngettext ();
 
5577
return ngettext ();
7075
5578
  ;
7076
5579
  return 0;
7077
5580
}
7078
5581
_ACEOF
7079
 
rm -f conftest.$ac_objext conftest$ac_exeext
7080
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7081
 
  (eval $ac_link) 2>conftest.er1
7082
 
  ac_status=$?
7083
 
  grep -v '^ *+' conftest.er1 >conftest.err
7084
 
  rm -f conftest.er1
7085
 
  cat conftest.err >&5
7086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087
 
  (exit $ac_status); } &&
7088
 
         { ac_try='test -z "$ac_c_werror_flag"
7089
 
                         || test ! -s conftest.err'
7090
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091
 
  (eval $ac_try) 2>&5
7092
 
  ac_status=$?
7093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094
 
  (exit $ac_status); }; } &&
7095
 
         { ac_try='test -s conftest$ac_exeext'
7096
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097
 
  (eval $ac_try) 2>&5
7098
 
  ac_status=$?
7099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100
 
  (exit $ac_status); }; }; then
 
5582
if ac_fn_c_try_link "$LINENO"; then :
7101
5583
  ac_cv_lib_intl_ngettext=yes
7102
5584
else
7103
 
  echo "$as_me: failed program was:" >&5
7104
 
sed 's/^/| /' conftest.$ac_ext >&5
7105
 
 
7106
 
ac_cv_lib_intl_ngettext=no
 
5585
  ac_cv_lib_intl_ngettext=no
7107
5586
fi
7108
 
rm -f conftest.err conftest.$ac_objext \
7109
 
      conftest$ac_exeext conftest.$ac_ext
 
5587
rm -f core conftest.err conftest.$ac_objext \
 
5588
    conftest$ac_exeext conftest.$ac_ext
7110
5589
LIBS=$ac_check_lib_save_LIBS
7111
5590
fi
7112
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7113
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
7114
 
if test $ac_cv_lib_intl_ngettext = yes; then
7115
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
7116
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
7117
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5592
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5593
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
5594
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
5595
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
5596
if ${ac_cv_lib_intl_dgettext+:} false; then :
 
5597
  $as_echo_n "(cached) " >&6
7119
5598
else
7120
5599
  ac_check_lib_save_LIBS=$LIBS
7121
5600
LIBS="-lintl  $LIBS"
7122
 
cat >conftest.$ac_ext <<_ACEOF
7123
 
/* confdefs.h.  */
7124
 
_ACEOF
7125
 
cat confdefs.h >>conftest.$ac_ext
7126
 
cat >>conftest.$ac_ext <<_ACEOF
 
5601
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127
5602
/* end confdefs.h.  */
7128
5603
 
7129
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5604
/* Override any GCC internal prototype to avoid an error.
 
5605
   Use char because int might match the return type of a GCC
 
5606
   builtin and then its argument prototype would still apply.  */
7130
5607
#ifdef __cplusplus
7131
5608
extern "C"
7132
5609
#endif
7133
 
/* We use char because int might match the return type of a gcc2
7134
 
   builtin and then its argument prototype would still apply.  */
7135
5610
char dgettext ();
7136
5611
int
7137
5612
main ()
7138
5613
{
7139
 
dgettext ();
 
5614
return dgettext ();
7140
5615
  ;
7141
5616
  return 0;
7142
5617
}
7143
5618
_ACEOF
7144
 
rm -f conftest.$ac_objext conftest$ac_exeext
7145
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7146
 
  (eval $ac_link) 2>conftest.er1
7147
 
  ac_status=$?
7148
 
  grep -v '^ *+' conftest.er1 >conftest.err
7149
 
  rm -f conftest.er1
7150
 
  cat conftest.err >&5
7151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152
 
  (exit $ac_status); } &&
7153
 
         { ac_try='test -z "$ac_c_werror_flag"
7154
 
                         || test ! -s conftest.err'
7155
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156
 
  (eval $ac_try) 2>&5
7157
 
  ac_status=$?
7158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159
 
  (exit $ac_status); }; } &&
7160
 
         { ac_try='test -s conftest$ac_exeext'
7161
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7162
 
  (eval $ac_try) 2>&5
7163
 
  ac_status=$?
7164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165
 
  (exit $ac_status); }; }; then
 
5619
if ac_fn_c_try_link "$LINENO"; then :
7166
5620
  ac_cv_lib_intl_dgettext=yes
7167
5621
else
7168
 
  echo "$as_me: failed program was:" >&5
7169
 
sed 's/^/| /' conftest.$ac_ext >&5
7170
 
 
7171
 
ac_cv_lib_intl_dgettext=no
 
5622
  ac_cv_lib_intl_dgettext=no
7172
5623
fi
7173
 
rm -f conftest.err conftest.$ac_objext \
7174
 
      conftest$ac_exeext conftest.$ac_ext
 
5624
rm -f core conftest.err conftest.$ac_objext \
 
5625
    conftest$ac_exeext conftest.$ac_ext
7175
5626
LIBS=$ac_check_lib_save_LIBS
7176
5627
fi
7177
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
7178
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
7179
 
if test $ac_cv_lib_intl_dgettext = yes; then
 
5628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
5629
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
5630
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
7180
5631
  gt_cv_func_dgettext_libintl=yes
7181
5632
fi
7182
5633
 
7186
5637
 
7187
5638
 
7188
5639
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7189
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
7190
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
7191
 
          echo "$as_me:$LINENO: result: " >&5
7192
 
echo "${ECHO_T}" >&6
7193
 
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7194
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
7195
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7196
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5640
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
5641
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
5642
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
5643
$as_echo "" >&6; }
 
5644
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5645
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5646
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
5647
  $as_echo_n "(cached) " >&6
7197
5648
else
7198
5649
  ac_check_lib_save_LIBS=$LIBS
7199
5650
LIBS="-lintl -liconv $LIBS"
7200
 
cat >conftest.$ac_ext <<_ACEOF
7201
 
/* confdefs.h.  */
7202
 
_ACEOF
7203
 
cat confdefs.h >>conftest.$ac_ext
7204
 
cat >>conftest.$ac_ext <<_ACEOF
 
5651
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205
5652
/* end confdefs.h.  */
7206
5653
 
7207
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5654
/* Override any GCC internal prototype to avoid an error.
 
5655
   Use char because int might match the return type of a GCC
 
5656
   builtin and then its argument prototype would still apply.  */
7208
5657
#ifdef __cplusplus
7209
5658
extern "C"
7210
5659
#endif
7211
 
/* We use char because int might match the return type of a gcc2
7212
 
   builtin and then its argument prototype would still apply.  */
7213
5660
char ngettext ();
7214
5661
int
7215
5662
main ()
7216
5663
{
7217
 
ngettext ();
 
5664
return ngettext ();
7218
5665
  ;
7219
5666
  return 0;
7220
5667
}
7221
5668
_ACEOF
7222
 
rm -f conftest.$ac_objext conftest$ac_exeext
7223
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7224
 
  (eval $ac_link) 2>conftest.er1
7225
 
  ac_status=$?
7226
 
  grep -v '^ *+' conftest.er1 >conftest.err
7227
 
  rm -f conftest.er1
7228
 
  cat conftest.err >&5
7229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230
 
  (exit $ac_status); } &&
7231
 
         { ac_try='test -z "$ac_c_werror_flag"
7232
 
                         || test ! -s conftest.err'
7233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234
 
  (eval $ac_try) 2>&5
7235
 
  ac_status=$?
7236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237
 
  (exit $ac_status); }; } &&
7238
 
         { ac_try='test -s conftest$ac_exeext'
7239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240
 
  (eval $ac_try) 2>&5
7241
 
  ac_status=$?
7242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243
 
  (exit $ac_status); }; }; then
 
5669
if ac_fn_c_try_link "$LINENO"; then :
7244
5670
  ac_cv_lib_intl_ngettext=yes
7245
5671
else
7246
 
  echo "$as_me: failed program was:" >&5
7247
 
sed 's/^/| /' conftest.$ac_ext >&5
7248
 
 
7249
 
ac_cv_lib_intl_ngettext=no
 
5672
  ac_cv_lib_intl_ngettext=no
7250
5673
fi
7251
 
rm -f conftest.err conftest.$ac_objext \
7252
 
      conftest$ac_exeext conftest.$ac_ext
 
5674
rm -f core conftest.err conftest.$ac_objext \
 
5675
    conftest$ac_exeext conftest.$ac_ext
7253
5676
LIBS=$ac_check_lib_save_LIBS
7254
5677
fi
7255
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7256
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
7257
 
if test $ac_cv_lib_intl_ngettext = yes; then
7258
 
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7259
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
7260
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7261
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5679
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5680
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
5681
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
5682
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
5683
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
5684
  $as_echo_n "(cached) " >&6
7262
5685
else
7263
5686
  ac_check_lib_save_LIBS=$LIBS
7264
5687
LIBS="-lintl -liconv $LIBS"
7265
 
cat >conftest.$ac_ext <<_ACEOF
7266
 
/* confdefs.h.  */
7267
 
_ACEOF
7268
 
cat confdefs.h >>conftest.$ac_ext
7269
 
cat >>conftest.$ac_ext <<_ACEOF
 
5688
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270
5689
/* end confdefs.h.  */
7271
5690
 
7272
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5691
/* Override any GCC internal prototype to avoid an error.
 
5692
   Use char because int might match the return type of a GCC
 
5693
   builtin and then its argument prototype would still apply.  */
7273
5694
#ifdef __cplusplus
7274
5695
extern "C"
7275
5696
#endif
7276
 
/* We use char because int might match the return type of a gcc2
7277
 
   builtin and then its argument prototype would still apply.  */
7278
5697
char dcgettext ();
7279
5698
int
7280
5699
main ()
7281
5700
{
7282
 
dcgettext ();
 
5701
return dcgettext ();
7283
5702
  ;
7284
5703
  return 0;
7285
5704
}
7286
5705
_ACEOF
7287
 
rm -f conftest.$ac_objext conftest$ac_exeext
7288
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7289
 
  (eval $ac_link) 2>conftest.er1
7290
 
  ac_status=$?
7291
 
  grep -v '^ *+' conftest.er1 >conftest.err
7292
 
  rm -f conftest.er1
7293
 
  cat conftest.err >&5
7294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295
 
  (exit $ac_status); } &&
7296
 
         { ac_try='test -z "$ac_c_werror_flag"
7297
 
                         || test ! -s conftest.err'
7298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7299
 
  (eval $ac_try) 2>&5
7300
 
  ac_status=$?
7301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302
 
  (exit $ac_status); }; } &&
7303
 
         { ac_try='test -s conftest$ac_exeext'
7304
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7305
 
  (eval $ac_try) 2>&5
7306
 
  ac_status=$?
7307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308
 
  (exit $ac_status); }; }; then
 
5706
if ac_fn_c_try_link "$LINENO"; then :
7309
5707
  ac_cv_lib_intl_dcgettext=yes
7310
5708
else
7311
 
  echo "$as_me: failed program was:" >&5
7312
 
sed 's/^/| /' conftest.$ac_ext >&5
7313
 
 
7314
 
ac_cv_lib_intl_dcgettext=no
 
5709
  ac_cv_lib_intl_dcgettext=no
7315
5710
fi
7316
 
rm -f conftest.err conftest.$ac_objext \
7317
 
      conftest$ac_exeext conftest.$ac_ext
 
5711
rm -f core conftest.err conftest.$ac_objext \
 
5712
    conftest$ac_exeext conftest.$ac_ext
7318
5713
LIBS=$ac_check_lib_save_LIBS
7319
5714
fi
7320
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7321
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
7322
 
if test $ac_cv_lib_intl_dcgettext = yes; then
 
5715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
5716
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
5717
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
7323
5718
  gt_cv_func_dgettext_libintl=yes
7324
5719
                        libintl_extra_libs=-liconv
7325
5720
else
7341
5736
          glib_save_LIBS="$LIBS"
7342
5737
          LIBS="$LIBS -lintl $libintl_extra_libs"
7343
5738
          unset ac_cv_func_bind_textdomain_codeset
7344
 
 
7345
 
for ac_func in bind_textdomain_codeset
7346
 
do
7347
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7348
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
7349
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7350
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
7351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7352
 
else
7353
 
  cat >conftest.$ac_ext <<_ACEOF
7354
 
/* confdefs.h.  */
7355
 
_ACEOF
7356
 
cat confdefs.h >>conftest.$ac_ext
7357
 
cat >>conftest.$ac_ext <<_ACEOF
7358
 
/* end confdefs.h.  */
7359
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7360
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7361
 
#define $ac_func innocuous_$ac_func
7362
 
 
7363
 
/* System header to define __stub macros and hopefully few prototypes,
7364
 
    which can conflict with char $ac_func (); below.
7365
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7366
 
    <limits.h> exists even on freestanding compilers.  */
7367
 
 
7368
 
#ifdef __STDC__
7369
 
# include <limits.h>
7370
 
#else
7371
 
# include <assert.h>
7372
 
#endif
7373
 
 
7374
 
#undef $ac_func
7375
 
 
7376
 
/* Override any gcc2 internal prototype to avoid an error.  */
7377
 
#ifdef __cplusplus
7378
 
extern "C"
7379
 
{
7380
 
#endif
7381
 
/* We use char because int might match the return type of a gcc2
7382
 
   builtin and then its argument prototype would still apply.  */
7383
 
char $ac_func ();
7384
 
/* The GNU C library defines this for functions which it implements
7385
 
    to always fail with ENOSYS.  Some functions are actually named
7386
 
    something starting with __ and the normal name is an alias.  */
7387
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7388
 
choke me
7389
 
#else
7390
 
char (*f) () = $ac_func;
7391
 
#endif
7392
 
#ifdef __cplusplus
7393
 
}
7394
 
#endif
7395
 
 
7396
 
int
7397
 
main ()
7398
 
{
7399
 
return f != $ac_func;
7400
 
  ;
7401
 
  return 0;
7402
 
}
7403
 
_ACEOF
7404
 
rm -f conftest.$ac_objext conftest$ac_exeext
7405
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7406
 
  (eval $ac_link) 2>conftest.er1
7407
 
  ac_status=$?
7408
 
  grep -v '^ *+' conftest.er1 >conftest.err
7409
 
  rm -f conftest.er1
7410
 
  cat conftest.err >&5
7411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412
 
  (exit $ac_status); } &&
7413
 
         { ac_try='test -z "$ac_c_werror_flag"
7414
 
                         || test ! -s conftest.err'
7415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7416
 
  (eval $ac_try) 2>&5
7417
 
  ac_status=$?
7418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419
 
  (exit $ac_status); }; } &&
7420
 
         { ac_try='test -s conftest$ac_exeext'
7421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7422
 
  (eval $ac_try) 2>&5
7423
 
  ac_status=$?
7424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425
 
  (exit $ac_status); }; }; then
7426
 
  eval "$as_ac_var=yes"
7427
 
else
7428
 
  echo "$as_me: failed program was:" >&5
7429
 
sed 's/^/| /' conftest.$ac_ext >&5
7430
 
 
7431
 
eval "$as_ac_var=no"
7432
 
fi
7433
 
rm -f conftest.err conftest.$ac_objext \
7434
 
      conftest$ac_exeext conftest.$ac_ext
7435
 
fi
7436
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7437
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7438
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5739
          for ac_func in bind_textdomain_codeset
 
5740
do :
 
5741
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5742
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
7439
5743
  cat >>confdefs.h <<_ACEOF
7440
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5744
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
7441
5745
_ACEOF
7442
5746
 
7443
5747
fi
7467
5771
 
7468
5772
      if test "$gt_cv_have_gettext" = "yes"; then
7469
5773
 
7470
 
cat >>confdefs.h <<\_ACEOF
7471
 
#define HAVE_GETTEXT 1
7472
 
_ACEOF
 
5774
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7473
5775
 
7474
5776
        # Extract the first word of "msgfmt", so it can be a program name with args.
7475
5777
set dummy msgfmt; ac_word=$2
7476
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7477
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7478
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
7479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5779
$as_echo_n "checking for $ac_word... " >&6; }
 
5780
if ${ac_cv_path_MSGFMT+:} false; then :
 
5781
  $as_echo_n "(cached) " >&6
7480
5782
else
7481
5783
  case "$MSGFMT" in
7482
5784
  /*)
7500
5802
fi
7501
5803
MSGFMT="$ac_cv_path_MSGFMT"
7502
5804
if test "$MSGFMT" != "no"; then
7503
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
7504
 
echo "${ECHO_T}$MSGFMT" >&6
 
5805
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
5806
$as_echo "$MSGFMT" >&6; }
7505
5807
else
7506
 
  echo "$as_me:$LINENO: result: no" >&5
7507
 
echo "${ECHO_T}no" >&6
 
5808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5809
$as_echo "no" >&6; }
7508
5810
fi
7509
5811
        if test "$MSGFMT" != "no"; then
7510
5812
          glib_save_LIBS="$LIBS"
7511
5813
          LIBS="$LIBS $INTLLIBS"
7512
 
 
7513
 
for ac_func in dcgettext
7514
 
do
7515
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7516
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
7517
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7518
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
7519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7520
 
else
7521
 
  cat >conftest.$ac_ext <<_ACEOF
7522
 
/* confdefs.h.  */
7523
 
_ACEOF
7524
 
cat confdefs.h >>conftest.$ac_ext
7525
 
cat >>conftest.$ac_ext <<_ACEOF
7526
 
/* end confdefs.h.  */
7527
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7528
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7529
 
#define $ac_func innocuous_$ac_func
7530
 
 
7531
 
/* System header to define __stub macros and hopefully few prototypes,
7532
 
    which can conflict with char $ac_func (); below.
7533
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7534
 
    <limits.h> exists even on freestanding compilers.  */
7535
 
 
7536
 
#ifdef __STDC__
7537
 
# include <limits.h>
7538
 
#else
7539
 
# include <assert.h>
7540
 
#endif
7541
 
 
7542
 
#undef $ac_func
7543
 
 
7544
 
/* Override any gcc2 internal prototype to avoid an error.  */
7545
 
#ifdef __cplusplus
7546
 
extern "C"
7547
 
{
7548
 
#endif
7549
 
/* We use char because int might match the return type of a gcc2
7550
 
   builtin and then its argument prototype would still apply.  */
7551
 
char $ac_func ();
7552
 
/* The GNU C library defines this for functions which it implements
7553
 
    to always fail with ENOSYS.  Some functions are actually named
7554
 
    something starting with __ and the normal name is an alias.  */
7555
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7556
 
choke me
7557
 
#else
7558
 
char (*f) () = $ac_func;
7559
 
#endif
7560
 
#ifdef __cplusplus
7561
 
}
7562
 
#endif
7563
 
 
7564
 
int
7565
 
main ()
7566
 
{
7567
 
return f != $ac_func;
7568
 
  ;
7569
 
  return 0;
7570
 
}
7571
 
_ACEOF
7572
 
rm -f conftest.$ac_objext conftest$ac_exeext
7573
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7574
 
  (eval $ac_link) 2>conftest.er1
7575
 
  ac_status=$?
7576
 
  grep -v '^ *+' conftest.er1 >conftest.err
7577
 
  rm -f conftest.er1
7578
 
  cat conftest.err >&5
7579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580
 
  (exit $ac_status); } &&
7581
 
         { ac_try='test -z "$ac_c_werror_flag"
7582
 
                         || test ! -s conftest.err'
7583
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584
 
  (eval $ac_try) 2>&5
7585
 
  ac_status=$?
7586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587
 
  (exit $ac_status); }; } &&
7588
 
         { ac_try='test -s conftest$ac_exeext'
7589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590
 
  (eval $ac_try) 2>&5
7591
 
  ac_status=$?
7592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593
 
  (exit $ac_status); }; }; then
7594
 
  eval "$as_ac_var=yes"
7595
 
else
7596
 
  echo "$as_me: failed program was:" >&5
7597
 
sed 's/^/| /' conftest.$ac_ext >&5
7598
 
 
7599
 
eval "$as_ac_var=no"
7600
 
fi
7601
 
rm -f conftest.err conftest.$ac_objext \
7602
 
      conftest$ac_exeext conftest.$ac_ext
7603
 
fi
7604
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7605
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7606
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5814
          for ac_func in dcgettext
 
5815
do :
 
5816
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
5817
if test "x$ac_cv_func_dcgettext" = xyes; then :
7607
5818
  cat >>confdefs.h <<_ACEOF
7608
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5819
#define HAVE_DCGETTEXT 1
7609
5820
_ACEOF
7610
5821
 
7611
5822
fi
7612
5823
done
7613
5824
 
 
5825
          MSGFMT_OPTS=
 
5826
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
5827
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
5828
          cat >conftest.foo <<_ACEOF
 
5829
 
 
5830
msgid ""
 
5831
msgstr ""
 
5832
"Content-Type: text/plain; charset=UTF-8\n"
 
5833
"Project-Id-Version: test 1.0\n"
 
5834
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
5835
"Last-Translator: test <foo@bar.xx>\n"
 
5836
"Language-Team: C <LL@li.org>\n"
 
5837
"MIME-Version: 1.0\n"
 
5838
"Content-Transfer-Encoding: 8bit\n"
 
5839
 
 
5840
_ACEOF
 
5841
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
5842
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
5843
  ac_status=$?
 
5844
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5845
  test $ac_status = 0; }; then
 
5846
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5847
$as_echo "yes" >&6; }
 
5848
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5849
$as_echo "no" >&6; }
 
5850
echo "$as_me: failed input was:" >&5
 
5851
sed 's/^/| /' conftest.foo >&5
 
5852
fi
 
5853
 
7614
5854
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
7615
5855
set dummy gmsgfmt; ac_word=$2
7616
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7617
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7618
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
7619
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5857
$as_echo_n "checking for $ac_word... " >&6; }
 
5858
if ${ac_cv_path_GMSGFMT+:} false; then :
 
5859
  $as_echo_n "(cached) " >&6
7620
5860
else
7621
5861
  case $GMSGFMT in
7622
5862
  [\\/]* | ?:[\\/]*)
7628
5868
do
7629
5869
  IFS=$as_save_IFS
7630
5870
  test -z "$as_dir" && as_dir=.
7631
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7632
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5871
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7633
5873
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7634
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5874
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635
5875
    break 2
7636
5876
  fi
7637
5877
done
7638
 
done
 
5878
  done
 
5879
IFS=$as_save_IFS
7639
5880
 
7640
5881
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7641
5882
  ;;
7642
5883
esac
7643
5884
fi
7644
5885
GMSGFMT=$ac_cv_path_GMSGFMT
7645
 
 
7646
5886
if test -n "$GMSGFMT"; then
7647
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7648
 
echo "${ECHO_T}$GMSGFMT" >&6
 
5887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
5888
$as_echo "$GMSGFMT" >&6; }
7649
5889
else
7650
 
  echo "$as_me:$LINENO: result: no" >&5
7651
 
echo "${ECHO_T}no" >&6
 
5890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5891
$as_echo "no" >&6; }
7652
5892
fi
7653
5893
 
 
5894
 
7654
5895
          # Extract the first word of "xgettext", so it can be a program name with args.
7655
5896
set dummy xgettext; ac_word=$2
7656
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7657
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7658
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
7659
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5898
$as_echo_n "checking for $ac_word... " >&6; }
 
5899
if ${ac_cv_path_XGETTEXT+:} false; then :
 
5900
  $as_echo_n "(cached) " >&6
7660
5901
else
7661
5902
  case "$XGETTEXT" in
7662
5903
  /*)
7680
5921
fi
7681
5922
XGETTEXT="$ac_cv_path_XGETTEXT"
7682
5923
if test "$XGETTEXT" != ":"; then
7683
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7684
 
echo "${ECHO_T}$XGETTEXT" >&6
 
5924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
5925
$as_echo "$XGETTEXT" >&6; }
7685
5926
else
7686
 
  echo "$as_me:$LINENO: result: no" >&5
7687
 
echo "${ECHO_T}no" >&6
 
5927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5928
$as_echo "no" >&6; }
7688
5929
fi
7689
5930
 
7690
 
          cat >conftest.$ac_ext <<_ACEOF
7691
 
/* confdefs.h.  */
7692
 
_ACEOF
7693
 
cat confdefs.h >>conftest.$ac_ext
7694
 
cat >>conftest.$ac_ext <<_ACEOF
 
5931
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695
5932
/* end confdefs.h.  */
7696
5933
 
7697
5934
int
7703
5940
  return 0;
7704
5941
}
7705
5942
_ACEOF
7706
 
rm -f conftest.$ac_objext conftest$ac_exeext
7707
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708
 
  (eval $ac_link) 2>conftest.er1
7709
 
  ac_status=$?
7710
 
  grep -v '^ *+' conftest.er1 >conftest.err
7711
 
  rm -f conftest.er1
7712
 
  cat conftest.err >&5
7713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714
 
  (exit $ac_status); } &&
7715
 
         { ac_try='test -z "$ac_c_werror_flag"
7716
 
                         || test ! -s conftest.err'
7717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718
 
  (eval $ac_try) 2>&5
7719
 
  ac_status=$?
7720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721
 
  (exit $ac_status); }; } &&
7722
 
         { ac_try='test -s conftest$ac_exeext'
7723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724
 
  (eval $ac_try) 2>&5
7725
 
  ac_status=$?
7726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727
 
  (exit $ac_status); }; }; then
 
5943
if ac_fn_c_try_link "$LINENO"; then :
7728
5944
  CATOBJEXT=.gmo
7729
5945
             DATADIRNAME=share
7730
5946
else
7731
 
  echo "$as_me: failed program was:" >&5
7732
 
sed 's/^/| /' conftest.$ac_ext >&5
7733
 
 
7734
 
case $host in
 
5947
  case $host in
7735
5948
            *-*-solaris*)
7736
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7737
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
7738
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7740
 
else
7741
 
  cat >conftest.$ac_ext <<_ACEOF
7742
 
/* confdefs.h.  */
7743
 
_ACEOF
7744
 
cat confdefs.h >>conftest.$ac_ext
7745
 
cat >>conftest.$ac_ext <<_ACEOF
7746
 
/* end confdefs.h.  */
7747
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7748
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7749
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7750
 
 
7751
 
/* System header to define __stub macros and hopefully few prototypes,
7752
 
    which can conflict with char bind_textdomain_codeset (); below.
7753
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7754
 
    <limits.h> exists even on freestanding compilers.  */
7755
 
 
7756
 
#ifdef __STDC__
7757
 
# include <limits.h>
7758
 
#else
7759
 
# include <assert.h>
7760
 
#endif
7761
 
 
7762
 
#undef bind_textdomain_codeset
7763
 
 
7764
 
/* Override any gcc2 internal prototype to avoid an error.  */
7765
 
#ifdef __cplusplus
7766
 
extern "C"
7767
 
{
7768
 
#endif
7769
 
/* We use char because int might match the return type of a gcc2
7770
 
   builtin and then its argument prototype would still apply.  */
7771
 
char bind_textdomain_codeset ();
7772
 
/* The GNU C library defines this for functions which it implements
7773
 
    to always fail with ENOSYS.  Some functions are actually named
7774
 
    something starting with __ and the normal name is an alias.  */
7775
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
7776
 
choke me
7777
 
#else
7778
 
char (*f) () = bind_textdomain_codeset;
7779
 
#endif
7780
 
#ifdef __cplusplus
7781
 
}
7782
 
#endif
7783
 
 
7784
 
int
7785
 
main ()
7786
 
{
7787
 
return f != bind_textdomain_codeset;
7788
 
  ;
7789
 
  return 0;
7790
 
}
7791
 
_ACEOF
7792
 
rm -f conftest.$ac_objext conftest$ac_exeext
7793
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7794
 
  (eval $ac_link) 2>conftest.er1
7795
 
  ac_status=$?
7796
 
  grep -v '^ *+' conftest.er1 >conftest.err
7797
 
  rm -f conftest.er1
7798
 
  cat conftest.err >&5
7799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800
 
  (exit $ac_status); } &&
7801
 
         { ac_try='test -z "$ac_c_werror_flag"
7802
 
                         || test ! -s conftest.err'
7803
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804
 
  (eval $ac_try) 2>&5
7805
 
  ac_status=$?
7806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807
 
  (exit $ac_status); }; } &&
7808
 
         { ac_try='test -s conftest$ac_exeext'
7809
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810
 
  (eval $ac_try) 2>&5
7811
 
  ac_status=$?
7812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813
 
  (exit $ac_status); }; }; then
7814
 
  ac_cv_func_bind_textdomain_codeset=yes
7815
 
else
7816
 
  echo "$as_me: failed program was:" >&5
7817
 
sed 's/^/| /' conftest.$ac_ext >&5
7818
 
 
7819
 
ac_cv_func_bind_textdomain_codeset=no
7820
 
fi
7821
 
rm -f conftest.err conftest.$ac_objext \
7822
 
      conftest$ac_exeext conftest.$ac_ext
7823
 
fi
7824
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7825
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
7826
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
5949
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5950
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
7827
5951
  CATOBJEXT=.gmo
7828
5952
               DATADIRNAME=share
7829
5953
else
7838
5962
            ;;
7839
5963
            esac
7840
5964
fi
7841
 
rm -f conftest.err conftest.$ac_objext \
7842
 
      conftest$ac_exeext conftest.$ac_ext
 
5965
rm -f core conftest.err conftest.$ac_objext \
 
5966
    conftest$ac_exeext conftest.$ac_ext
7843
5967
          LIBS="$glib_save_LIBS"
7844
5968
          INSTOBJEXT=.mo
7845
5969
        else
7853
5977
 
7854
5978
    if test "$gt_cv_have_gettext" = "yes" ; then
7855
5979
 
7856
 
cat >>confdefs.h <<\_ACEOF
7857
 
#define ENABLE_NLS 1
7858
 
_ACEOF
 
5980
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
7859
5981
 
7860
5982
    fi
7861
5983
 
7863
5985
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7864
5986
        : ;
7865
5987
      else
7866
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7867
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
5988
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
5989
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7868
5990
        XGETTEXT=":"
7869
5991
      fi
7870
5992
    fi
7872
5994
    # We need to process the po/ directory.
7873
5995
    POSUB=po
7874
5996
 
7875
 
              ac_config_commands="$ac_config_commands default-1"
 
5997
    ac_config_commands="$ac_config_commands default-1"
7876
5998
 
7877
5999
 
7878
6000
                for lang in $ALL_LINGUAS; do
7896
6018
     if test "x$ALL_LINGUAS" = "x"; then
7897
6019
       LINGUAS=
7898
6020
     else
7899
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7900
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
6021
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
6022
$as_echo_n "checking for catalogs to be installed... " >&6; }
7901
6023
       NEW_LINGUAS=
7902
6024
       for presentlang in $ALL_LINGUAS; do
7903
6025
         useit=no
7921
6043
         fi
7922
6044
       done
7923
6045
       LINGUAS=$NEW_LINGUAS
7924
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
7925
 
echo "${ECHO_T}$LINGUAS" >&6
 
6046
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
6047
$as_echo "$LINGUAS" >&6; }
7926
6048
     fi
7927
6049
 
7928
6050
          if test -n "$LINGUAS"; then
7954
6076
        < $srcdir/po/POTFILES.in > po/POTFILES
7955
6077
 
7956
6078
 
7957
 
    echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7958
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
7959
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7960
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7961
 
else
7962
 
  cat >conftest.$ac_ext <<_ACEOF
7963
 
/* confdefs.h.  */
7964
 
_ACEOF
7965
 
cat confdefs.h >>conftest.$ac_ext
7966
 
cat >>conftest.$ac_ext <<_ACEOF
7967
 
/* end confdefs.h.  */
7968
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7969
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7970
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7971
 
 
7972
 
/* System header to define __stub macros and hopefully few prototypes,
7973
 
    which can conflict with char bind_textdomain_codeset (); below.
7974
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7975
 
    <limits.h> exists even on freestanding compilers.  */
7976
 
 
7977
 
#ifdef __STDC__
7978
 
# include <limits.h>
7979
 
#else
7980
 
# include <assert.h>
7981
 
#endif
7982
 
 
7983
 
#undef bind_textdomain_codeset
7984
 
 
7985
 
/* Override any gcc2 internal prototype to avoid an error.  */
7986
 
#ifdef __cplusplus
7987
 
extern "C"
7988
 
{
7989
 
#endif
7990
 
/* We use char because int might match the return type of a gcc2
7991
 
   builtin and then its argument prototype would still apply.  */
7992
 
char bind_textdomain_codeset ();
7993
 
/* The GNU C library defines this for functions which it implements
7994
 
    to always fail with ENOSYS.  Some functions are actually named
7995
 
    something starting with __ and the normal name is an alias.  */
7996
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
7997
 
choke me
7998
 
#else
7999
 
char (*f) () = bind_textdomain_codeset;
8000
 
#endif
8001
 
#ifdef __cplusplus
8002
 
}
8003
 
#endif
8004
 
 
8005
 
int
8006
 
main ()
8007
 
{
8008
 
return f != bind_textdomain_codeset;
8009
 
  ;
8010
 
  return 0;
8011
 
}
8012
 
_ACEOF
8013
 
rm -f conftest.$ac_objext conftest$ac_exeext
8014
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8015
 
  (eval $ac_link) 2>conftest.er1
8016
 
  ac_status=$?
8017
 
  grep -v '^ *+' conftest.er1 >conftest.err
8018
 
  rm -f conftest.er1
8019
 
  cat conftest.err >&5
8020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021
 
  (exit $ac_status); } &&
8022
 
         { ac_try='test -z "$ac_c_werror_flag"
8023
 
                         || test ! -s conftest.err'
8024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025
 
  (eval $ac_try) 2>&5
8026
 
  ac_status=$?
8027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028
 
  (exit $ac_status); }; } &&
8029
 
         { ac_try='test -s conftest$ac_exeext'
8030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031
 
  (eval $ac_try) 2>&5
8032
 
  ac_status=$?
8033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034
 
  (exit $ac_status); }; }; then
8035
 
  ac_cv_func_bind_textdomain_codeset=yes
8036
 
else
8037
 
  echo "$as_me: failed program was:" >&5
8038
 
sed 's/^/| /' conftest.$ac_ext >&5
8039
 
 
8040
 
ac_cv_func_bind_textdomain_codeset=no
8041
 
fi
8042
 
rm -f conftest.err conftest.$ac_objext \
8043
 
      conftest$ac_exeext conftest.$ac_ext
8044
 
fi
8045
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8046
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
8047
 
 
8048
 
 
8049
 
    echo "$as_me:$LINENO: checking for locales directory" >&5
8050
 
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6
8051
 
 
8052
 
# Check whether --with-locales-dir or --without-locales-dir was given.
8053
 
if test "${with_locales_dir+set}" = set; then
8054
 
  withval="$with_locales_dir"
8055
 
  localedir=$withval
 
6079
    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6080
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
6081
 
 
6082
fi
 
6083
 
 
6084
 
 
6085
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
 
6086
$as_echo_n "checking for locales directory... " >&6; }
 
6087
 
 
6088
# Check whether --with-locales-dir was given.
 
6089
if test "${with_locales_dir+set}" = set; then :
 
6090
  withval=$with_locales_dir; localedir=$withval
8056
6091
else
8057
6092
 
8058
6093
    if test x"$CATOBJEXT" = x".mo"; then
8061
6096
      localedir=$datadir/locale
8062
6097
    fi
8063
6098
 
8064
 
fi;
8065
 
  echo "$as_me:$LINENO: result: $localedir" >&5
8066
 
echo "${ECHO_T}$localedir" >&6
8067
 
 
8068
 
 
8069
 
    echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
8070
 
echo $ECHO_N "checking for additional xgettext flags... $ECHO_C" >&6
 
6099
fi
 
6100
 
 
6101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
 
6102
$as_echo "$localedir" >&6; }
 
6103
 
 
6104
 
 
6105
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
 
6106
$as_echo_n "checking for additional xgettext flags... " >&6; }
8071
6107
  if test x"$XGETTEXT_ARGS" = x""; then
8072
 
    XGETTEXT_ARGS="--keyword=Q_";
 
6108
    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
8073
6109
  else
8074
 
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
 
6110
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
8075
6111
  fi
8076
6112
 
8077
 
  echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
8078
 
echo "${ECHO_T}$XGETTEXT_ARGS" >&6
8079
 
 
8080
 
 
8081
 
 
8082
 
  # Check whether --enable-debug or --disable-debug was given.
8083
 
if test "${enable_debug+set}" = set; then
8084
 
  enableval="$enable_debug"
8085
 
 
 
6113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
 
6114
$as_echo "$XGETTEXT_ARGS" >&6; }
 
6115
 
 
6116
 
 
6117
 
 
6118
    # Check whether --enable-debug was given.
 
6119
if test "${enable_debug+set}" = set; then :
 
6120
  enableval=$enable_debug; enable_debug=$enableval
8086
6121
else
8087
 
  enable_debug=no
8088
 
fi;
8089
 
 
8090
 
  echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
8091
 
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6
8092
 
  if test x"$enable_debug" != x"no"; then
8093
 
 
8094
 
cat >>confdefs.h <<\_ACEOF
8095
 
#define DEBUG 1
8096
 
_ACEOF
8097
 
 
8098
 
 
8099
 
    xdt_cv_additional_CFLAGS="-Wall"
8100
 
    xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DG_DISABLE_DEPRECATED"
8101
 
    xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DXFCE_DISABLE_DEPRECATED"
 
6122
  enable_debug=minimum
 
6123
fi
 
6124
 
 
6125
 
 
6126
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
 
6127
$as_echo_n "checking whether to build with debugging support... " >&6; }
 
6128
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
 
6129
 
 
6130
$as_echo "#define DEBUG 1" >>confdefs.h
 
6131
 
 
6132
 
 
6133
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
 
6134
                              -Wall -Wextra \
 
6135
                              -Wno-missing-field-initializers \
 
6136
                              -Wno-unused-parameter -Wold-style-definition \
 
6137
                              -Wdeclaration-after-statement \
 
6138
                              -Wmissing-declarations -Wredundant-decls \
 
6139
                              -Wmissing-noreturn -Wshadow -Wpointer-arith \
 
6140
                              -Wcast-align -Wformat-security \
 
6141
                              -Winit-self -Wmissing-include-dirs -Wundef \
 
6142
                              -Wmissing-format-attribute -Wnested-externs \
 
6143
                              -fstack-protector"
 
6144
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
8102
6145
 
8103
6146
    if test x"$enable_debug" = x"full"; then
8104
6147
 
8105
 
cat >>confdefs.h <<\_ACEOF
8106
 
#define DEBUG_TRACE 1
 
6148
$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
 
6149
 
 
6150
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
 
6151
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
 
6152
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
 
6153
$as_echo "full" >&6; }
 
6154
    else
 
6155
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
 
6156
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6157
$as_echo "yes" >&6; }
 
6158
    fi
 
6159
 
 
6160
 
 
6161
  for flag in $xdt_cv_additional_CFLAGS; do
 
6162
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
 
6163
$as_echo_n "checking if $CC supports $flag... " >&6; }
 
6164
    saved_CFLAGS="$CFLAGS"
 
6165
    CFLAGS="$CFLAGS $flag"
 
6166
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6167
/* end confdefs.h.  */
 
6168
 
8107
6169
_ACEOF
 
6170
if ac_fn_c_try_compile "$LINENO"; then :
 
6171
  flag_supported=yes
 
6172
else
 
6173
  flag_supported=no
 
6174
fi
 
6175
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6176
    CFLAGS="$saved_CFLAGS"
 
6177
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
 
6178
$as_echo "$flag_supported" >&6; }
8108
6179
 
8109
 
      xdt_cv_additional_CFLAGS="-g3 -Werror $xdt_cv_additional_CFLAGS"
8110
 
      echo "$as_me:$LINENO: result: full" >&5
8111
 
echo "${ECHO_T}full" >&6
8112
 
    else
8113
 
      xdt_cv_additional_CFLAGS="-g $xdt_cv_additional_CFLAGS"
8114
 
      echo "$as_me:$LINENO: result: yes" >&5
8115
 
echo "${ECHO_T}yes" >&6
 
6180
    if test "x$flag_supported" = "xyes"; then
 
6181
      supported_CFLAGS="$supported_CFLAGS $flag"
8116
6182
    fi
8117
 
 
8118
 
    CFLAGS="$CFLAGS $xdt_cv_additional_CFLAGS"
8119
 
    CXXFLAGS="$CXXFLAGS $xdt_cv_additional_CFLAGS"
 
6183
  done
 
6184
 
 
6185
 
 
6186
 
 
6187
                                                supported_CXXFLAGS="$supported_CFLAGS"
 
6188
 
 
6189
 
 
6190
    CFLAGS="$CFLAGS $supported_CFLAGS"
 
6191
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
8120
6192
  else
8121
 
    echo "$as_me:$LINENO: result: no" >&5
8122
 
echo "${ECHO_T}no" >&6
 
6193
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
 
6194
 
 
6195
    if test x"$enable_debug" = x"no"; then
 
6196
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
 
6197
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6198
$as_echo "no" >&6; }
 
6199
    else
 
6200
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
 
6201
$as_echo "minimum" >&6; }
 
6202
    fi
8123
6203
  fi
8124
6204
 
8125
6205
 
8126
 
                              ac_config_files="$ac_config_files Makefile panel-plugin/Makefile po/Makefile.in"
 
6206
ac_config_files="$ac_config_files Makefile panel-plugin/Makefile po/Makefile.in icons/Makefile icons/24x24/Makefile icons/48x48/Makefile icons/scalable/Makefile"
 
6207
 
8127
6208
cat >confcache <<\_ACEOF
8128
6209
# This file is a shell script that caches the results of configure
8129
6210
# tests run on this system so they can be shared between configure
8142
6223
 
8143
6224
# The following way of writing the cache mishandles newlines in values,
8144
6225
# but we know of no workaround that is simple, portable, and efficient.
8145
 
# So, don't put newlines in cache variables' values.
 
6226
# So, we kill variables containing newlines.
8146
6227
# Ultrix sh set writes to stderr and can't be redirected directly,
8147
6228
# and sets the high bit in the cache file unless we assign to the vars.
8148
 
{
 
6229
(
 
6230
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
6231
    eval ac_val=\$$ac_var
 
6232
    case $ac_val in #(
 
6233
    *${as_nl}*)
 
6234
      case $ac_var in #(
 
6235
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
6236
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
6237
      esac
 
6238
      case $ac_var in #(
 
6239
      _ | IFS | as_nl) ;; #(
 
6240
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
6241
      *) { eval $ac_var=; unset $ac_var;} ;;
 
6242
      esac ;;
 
6243
    esac
 
6244
  done
 
6245
 
8149
6246
  (set) 2>&1 |
8150
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8151
 
    *ac_space=\ *)
8152
 
      # `set' does not quote correctly, so add quotes (double-quote
8153
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
6247
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
6248
    *${as_nl}ac_space=\ *)
 
6249
      # `set' does not quote correctly, so add quotes: double-quote
 
6250
      # substitution turns \\\\ into \\, and sed turns \\ into \.
8154
6251
      sed -n \
8155
6252
        "s/'/'\\\\''/g;
8156
6253
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8157
 
      ;;
 
6254
      ;; #(
8158
6255
    *)
8159
6256
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8160
 
      sed -n \
8161
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
6257
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8162
6258
      ;;
8163
 
    esac;
8164
 
} |
 
6259
    esac |
 
6260
    sort
 
6261
) |
8165
6262
  sed '
 
6263
     /^ac_cv_env_/b end
8166
6264
     t clear
8167
 
     : clear
 
6265
     :clear
8168
6266
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8169
6267
     t end
8170
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8171
 
     : end' >>confcache
8172
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
8173
 
  if test -w $cache_file; then
8174
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8175
 
    cat confcache >$cache_file
 
6268
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
6269
     :end' >>confcache
 
6270
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
6271
  if test -w "$cache_file"; then
 
6272
    if test "x$cache_file" != "x/dev/null"; then
 
6273
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
6274
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
6275
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
6276
        cat confcache >"$cache_file"
 
6277
      else
 
6278
        case $cache_file in #(
 
6279
        */* | ?:*)
 
6280
          mv -f confcache "$cache_file"$$ &&
 
6281
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
6282
        *)
 
6283
          mv -f confcache "$cache_file" ;;
 
6284
        esac
 
6285
      fi
 
6286
    fi
8176
6287
  else
8177
 
    echo "not updating unwritable cache $cache_file"
 
6288
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
6289
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8178
6290
  fi
8179
6291
fi
8180
6292
rm -f confcache
8183
6295
# Let make expand exec_prefix.
8184
6296
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8185
6297
 
8186
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8187
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8188
 
# trailing colons and then remove the whole line if VPATH becomes empty
8189
 
# (actually we leave an empty line to preserve line numbers).
8190
 
if test "x$srcdir" = x.; then
8191
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8192
 
s/:*\$(srcdir):*/:/;
8193
 
s/:*\${srcdir}:*/:/;
8194
 
s/:*@srcdir@:*/:/;
8195
 
s/^\([^=]*=[     ]*\):*/\1/;
8196
 
s/:*$//;
8197
 
s/^[^=]*=[       ]*$//;
8198
 
}'
8199
 
fi
8200
 
 
8201
6298
DEFS=-DHAVE_CONFIG_H
8202
6299
 
8203
6300
ac_libobjs=
8204
6301
ac_ltlibobjs=
 
6302
U=
8205
6303
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8206
6304
  # 1. Remove the extension, and $U if already installed.
8207
 
  ac_i=`echo "$ac_i" |
8208
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8209
 
  # 2. Add them.
8210
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8211
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
6305
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
6306
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
6307
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
6308
  #    will be set to the directory where LIBOBJS objects are built.
 
6309
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
6310
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8212
6311
done
8213
6312
LIBOBJS=$ac_libobjs
8214
6313
 
8215
6314
LTLIBOBJS=$ac_ltlibobjs
8216
6315
 
8217
6316
 
 
6317
 if test -n "$EXEEXT"; then
 
6318
  am__EXEEXT_TRUE=
 
6319
  am__EXEEXT_FALSE='#'
 
6320
else
 
6321
  am__EXEEXT_TRUE='#'
 
6322
  am__EXEEXT_FALSE=
 
6323
fi
 
6324
 
8218
6325
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8219
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8220
 
Usually this means the macro was only invoked conditionally." >&5
8221
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8222
 
Usually this means the macro was only invoked conditionally." >&2;}
8223
 
   { (exit 1); exit 1; }; }
 
6326
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
6327
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8224
6328
fi
8225
6329
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8226
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8227
 
Usually this means the macro was only invoked conditionally." >&5
8228
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
8229
 
Usually this means the macro was only invoked conditionally." >&2;}
8230
 
   { (exit 1); exit 1; }; }
 
6330
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
6331
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8231
6332
fi
8232
6333
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8233
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8234
 
Usually this means the macro was only invoked conditionally." >&5
8235
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8236
 
Usually this means the macro was only invoked conditionally." >&2;}
8237
 
   { (exit 1); exit 1; }; }
 
6334
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
6335
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8238
6336
fi
8239
6337
 
8240
 
 
8241
 
        mv -f po/POTFILES po/POTFILES.tmp
8242
 
        sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
8243
 
        rm -f po/POTFILES.tmp
8244
 
 
8245
 
 
8246
 
 
8247
 
: ${CONFIG_STATUS=./config.status}
 
6338
  ac_config_commands="$ac_config_commands po/stamp-it"
 
6339
 
 
6340
 
 
6341
 
 
6342
: "${CONFIG_STATUS=./config.status}"
 
6343
ac_write_fail=0
8248
6344
ac_clean_files_save=$ac_clean_files
8249
6345
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8250
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8251
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8252
 
cat >$CONFIG_STATUS <<_ACEOF
 
6346
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
6347
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
6348
as_write_fail=0
 
6349
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8253
6350
#! $SHELL
8254
6351
# Generated by $as_me.
8255
6352
# Run this file to recreate the current configuration.
8259
6356
debug=false
8260
6357
ac_cs_recheck=false
8261
6358
ac_cs_silent=false
 
6359
 
8262
6360
SHELL=\${CONFIG_SHELL-$SHELL}
8263
 
_ACEOF
8264
 
 
8265
 
cat >>$CONFIG_STATUS <<\_ACEOF
8266
 
## --------------------- ##
8267
 
## M4sh Initialization.  ##
8268
 
## --------------------- ##
8269
 
 
8270
 
# Be Bourne compatible
8271
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
6361
export SHELL
 
6362
_ASEOF
 
6363
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
6364
## -------------------- ##
 
6365
## M4sh Initialization. ##
 
6366
## -------------------- ##
 
6367
 
 
6368
# Be more Bourne compatible
 
6369
DUALCASE=1; export DUALCASE # for MKS sh
 
6370
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8272
6371
  emulate sh
8273
6372
  NULLCMD=:
8274
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
6373
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8275
6374
  # is contrary to our usage.  Disable this feature.
8276
6375
  alias -g '${1+"$@"}'='"$@"'
8277
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8278
 
  set -o posix
8279
 
fi
8280
 
DUALCASE=1; export DUALCASE # for MKS sh
8281
 
 
8282
 
# Support unset when possible.
8283
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8284
 
  as_unset=unset
8285
 
else
8286
 
  as_unset=false
8287
 
fi
8288
 
 
8289
 
 
8290
 
# Work around bugs in pre-3.0 UWIN ksh.
8291
 
$as_unset ENV MAIL MAILPATH
 
6376
  setopt NO_GLOB_SUBST
 
6377
else
 
6378
  case `(set -o) 2>/dev/null` in #(
 
6379
  *posix*) :
 
6380
    set -o posix ;; #(
 
6381
  *) :
 
6382
     ;;
 
6383
esac
 
6384
fi
 
6385
 
 
6386
 
 
6387
as_nl='
 
6388
'
 
6389
export as_nl
 
6390
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
6391
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6392
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
6393
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
6394
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
6395
# but without wasting forks for bash or zsh.
 
6396
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
6397
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6398
  as_echo='print -r --'
 
6399
  as_echo_n='print -rn --'
 
6400
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6401
  as_echo='printf %s\n'
 
6402
  as_echo_n='printf %s'
 
6403
else
 
6404
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
6405
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
6406
    as_echo_n='/usr/ucb/echo -n'
 
6407
  else
 
6408
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
6409
    as_echo_n_body='eval
 
6410
      arg=$1;
 
6411
      case $arg in #(
 
6412
      *"$as_nl"*)
 
6413
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
6414
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
6415
      esac;
 
6416
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
6417
    '
 
6418
    export as_echo_n_body
 
6419
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
6420
  fi
 
6421
  export as_echo_body
 
6422
  as_echo='sh -c $as_echo_body as_echo'
 
6423
fi
 
6424
 
 
6425
# The user is always right.
 
6426
if test "${PATH_SEPARATOR+set}" != set; then
 
6427
  PATH_SEPARATOR=:
 
6428
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
6429
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
6430
      PATH_SEPARATOR=';'
 
6431
  }
 
6432
fi
 
6433
 
 
6434
 
 
6435
# IFS
 
6436
# We need space, tab and new line, in precisely that order.  Quoting is
 
6437
# there to prevent editors from complaining about space-tab.
 
6438
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
6439
# splitting by setting IFS to empty value.)
 
6440
IFS=" ""        $as_nl"
 
6441
 
 
6442
# Find who we are.  Look in the path if we contain no directory separator.
 
6443
as_myself=
 
6444
case $0 in #((
 
6445
  *[\\/]* ) as_myself=$0 ;;
 
6446
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6447
for as_dir in $PATH
 
6448
do
 
6449
  IFS=$as_save_IFS
 
6450
  test -z "$as_dir" && as_dir=.
 
6451
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
6452
  done
 
6453
IFS=$as_save_IFS
 
6454
 
 
6455
     ;;
 
6456
esac
 
6457
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
6458
# in which case we are not to be found in the path.
 
6459
if test "x$as_myself" = x; then
 
6460
  as_myself=$0
 
6461
fi
 
6462
if test ! -f "$as_myself"; then
 
6463
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
6464
  exit 1
 
6465
fi
 
6466
 
 
6467
# Unset variables that we do not need and which cause bugs (e.g. in
 
6468
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
6469
# suppresses any "Segmentation fault" message there.  '((' could
 
6470
# trigger a bug in pdksh 5.2.14.
 
6471
for as_var in BASH_ENV ENV MAIL MAILPATH
 
6472
do eval test x\${$as_var+set} = xset \
 
6473
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
6474
done
8292
6475
PS1='$ '
8293
6476
PS2='> '
8294
6477
PS4='+ '
8295
6478
 
8296
6479
# NLS nuisances.
8297
 
for as_var in \
8298
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8299
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8300
 
  LC_TELEPHONE LC_TIME
8301
 
do
8302
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8303
 
    eval $as_var=C; export $as_var
8304
 
  else
8305
 
    $as_unset $as_var
 
6480
LC_ALL=C
 
6481
export LC_ALL
 
6482
LANGUAGE=C
 
6483
export LANGUAGE
 
6484
 
 
6485
# CDPATH.
 
6486
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
6487
 
 
6488
 
 
6489
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
6490
# ----------------------------------------
 
6491
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
6492
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
6493
# script with STATUS, using 1 if that was 0.
 
6494
as_fn_error ()
 
6495
{
 
6496
  as_status=$1; test $as_status -eq 0 && as_status=1
 
6497
  if test "$4"; then
 
6498
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
6499
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8306
6500
  fi
8307
 
done
8308
 
 
8309
 
# Required to use basename.
8310
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
6501
  $as_echo "$as_me: error: $2" >&2
 
6502
  as_fn_exit $as_status
 
6503
} # as_fn_error
 
6504
 
 
6505
 
 
6506
# as_fn_set_status STATUS
 
6507
# -----------------------
 
6508
# Set $? to STATUS, without forking.
 
6509
as_fn_set_status ()
 
6510
{
 
6511
  return $1
 
6512
} # as_fn_set_status
 
6513
 
 
6514
# as_fn_exit STATUS
 
6515
# -----------------
 
6516
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
6517
as_fn_exit ()
 
6518
{
 
6519
  set +e
 
6520
  as_fn_set_status $1
 
6521
  exit $1
 
6522
} # as_fn_exit
 
6523
 
 
6524
# as_fn_unset VAR
 
6525
# ---------------
 
6526
# Portably unset VAR.
 
6527
as_fn_unset ()
 
6528
{
 
6529
  { eval $1=; unset $1;}
 
6530
}
 
6531
as_unset=as_fn_unset
 
6532
# as_fn_append VAR VALUE
 
6533
# ----------------------
 
6534
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
6535
# advantage of any shell optimizations that allow amortized linear growth over
 
6536
# repeated appends, instead of the typical quadratic growth present in naive
 
6537
# implementations.
 
6538
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
6539
  eval 'as_fn_append ()
 
6540
  {
 
6541
    eval $1+=\$2
 
6542
  }'
 
6543
else
 
6544
  as_fn_append ()
 
6545
  {
 
6546
    eval $1=\$$1\$2
 
6547
  }
 
6548
fi # as_fn_append
 
6549
 
 
6550
# as_fn_arith ARG...
 
6551
# ------------------
 
6552
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
6553
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
6554
# must be portable across $(()) and expr.
 
6555
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
6556
  eval 'as_fn_arith ()
 
6557
  {
 
6558
    as_val=$(( $* ))
 
6559
  }'
 
6560
else
 
6561
  as_fn_arith ()
 
6562
  {
 
6563
    as_val=`expr "$@" || test $? -eq 1`
 
6564
  }
 
6565
fi # as_fn_arith
 
6566
 
 
6567
 
 
6568
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
6569
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8311
6570
  as_expr=expr
8312
6571
else
8313
6572
  as_expr=false
8314
6573
fi
8315
6574
 
8316
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
6575
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8317
6576
  as_basename=basename
8318
6577
else
8319
6578
  as_basename=false
8320
6579
fi
8321
6580
 
 
6581
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6582
  as_dirname=dirname
 
6583
else
 
6584
  as_dirname=false
 
6585
fi
8322
6586
 
8323
 
# Name of the executable.
8324
 
as_me=`$as_basename "$0" ||
 
6587
as_me=`$as_basename -- "$0" ||
8325
6588
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8326
6589
         X"$0" : 'X\(//\)$' \| \
8327
 
         X"$0" : 'X\(/\)$' \| \
8328
 
         .     : '\(.\)' 2>/dev/null ||
8329
 
echo X/"$0" |
8330
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8331
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
8332
 
          /^X\/\(\/\).*/{ s//\1/; q; }
8333
 
          s/.*/./; q'`
8334
 
 
8335
 
 
8336
 
# PATH needs CR, and LINENO needs CR and PATH.
 
6590
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
6591
$as_echo X/"$0" |
 
6592
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
6593
            s//\1/
 
6594
            q
 
6595
          }
 
6596
          /^X\/\(\/\/\)$/{
 
6597
            s//\1/
 
6598
            q
 
6599
          }
 
6600
          /^X\/\(\/\).*/{
 
6601
            s//\1/
 
6602
            q
 
6603
          }
 
6604
          s/.*/./; q'`
 
6605
 
8337
6606
# Avoid depending upon Character Ranges.
8338
6607
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8339
6608
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8341
6610
as_cr_digits='0123456789'
8342
6611
as_cr_alnum=$as_cr_Letters$as_cr_digits
8343
6612
 
8344
 
# The user is always right.
8345
 
if test "${PATH_SEPARATOR+set}" != set; then
8346
 
  echo "#! /bin/sh" >conf$$.sh
8347
 
  echo  "exit 0"   >>conf$$.sh
8348
 
  chmod +x conf$$.sh
8349
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8350
 
    PATH_SEPARATOR=';'
8351
 
  else
8352
 
    PATH_SEPARATOR=:
8353
 
  fi
8354
 
  rm -f conf$$.sh
8355
 
fi
8356
 
 
8357
 
 
8358
 
  as_lineno_1=$LINENO
8359
 
  as_lineno_2=$LINENO
8360
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8361
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8362
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8363
 
  # Find who we are.  Look in the path if we contain no path at all
8364
 
  # relative or not.
8365
 
  case $0 in
8366
 
    *[\\/]* ) as_myself=$0 ;;
8367
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368
 
for as_dir in $PATH
8369
 
do
8370
 
  IFS=$as_save_IFS
8371
 
  test -z "$as_dir" && as_dir=.
8372
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8373
 
done
8374
 
 
8375
 
       ;;
8376
 
  esac
8377
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
8378
 
  # in which case we are not to be found in the path.
8379
 
  if test "x$as_myself" = x; then
8380
 
    as_myself=$0
8381
 
  fi
8382
 
  if test ! -f "$as_myself"; then
8383
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8384
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8385
 
   { (exit 1); exit 1; }; }
8386
 
  fi
8387
 
  case $CONFIG_SHELL in
8388
 
  '')
8389
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8391
 
do
8392
 
  IFS=$as_save_IFS
8393
 
  test -z "$as_dir" && as_dir=.
8394
 
  for as_base in sh bash ksh sh5; do
8395
 
         case $as_dir in
8396
 
         /*)
8397
 
           if ("$as_dir/$as_base" -c '
8398
 
  as_lineno_1=$LINENO
8399
 
  as_lineno_2=$LINENO
8400
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8401
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8402
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8403
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8404
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8405
 
             CONFIG_SHELL=$as_dir/$as_base
8406
 
             export CONFIG_SHELL
8407
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8408
 
           fi;;
8409
 
         esac
8410
 
       done
8411
 
done
8412
 
;;
8413
 
  esac
8414
 
 
8415
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8416
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
8417
 
  # line-number line before each line; the second 'sed' does the real
8418
 
  # work.  The second script uses 'N' to pair each line-number line
8419
 
  # with the numbered line, and appends trailing '-' during
8420
 
  # substitution so that $LINENO is not a special case at line end.
8421
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8422
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8423
 
  sed '=' <$as_myself |
8424
 
    sed '
8425
 
      N
8426
 
      s,$,-,
8427
 
      : loop
8428
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8429
 
      t loop
8430
 
      s,-$,,
8431
 
      s,^['$as_cr_digits']*\n,,
8432
 
    ' >$as_me.lineno &&
8433
 
  chmod +x $as_me.lineno ||
8434
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8435
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8436
 
   { (exit 1); exit 1; }; }
8437
 
 
8438
 
  # Don't try to exec as it changes $[0], causing all sort of problems
8439
 
  # (the dirname of $[0] is not the place where we might find the
8440
 
  # original and so on.  Autoconf is especially sensible to this).
8441
 
  . ./$as_me.lineno
8442
 
  # Exit status is that of the last command.
8443
 
  exit
8444
 
}
8445
 
 
8446
 
 
8447
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8448
 
  *c*,-n*) ECHO_N= ECHO_C='
8449
 
' ECHO_T='      ' ;;
8450
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8451
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
6613
ECHO_C= ECHO_N= ECHO_T=
 
6614
case `echo -n x` in #(((((
 
6615
-n*)
 
6616
  case `echo 'xy\c'` in
 
6617
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
6618
  xy)  ECHO_C='\c';;
 
6619
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6620
       ECHO_T=' ';;
 
6621
  esac;;
 
6622
*)
 
6623
  ECHO_N='-n';;
8452
6624
esac
8453
6625
 
8454
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8455
 
  as_expr=expr
 
6626
rm -f conf$$ conf$$.exe conf$$.file
 
6627
if test -d conf$$.dir; then
 
6628
  rm -f conf$$.dir/conf$$.file
8456
6629
else
8457
 
  as_expr=false
 
6630
  rm -f conf$$.dir
 
6631
  mkdir conf$$.dir 2>/dev/null
8458
6632
fi
8459
 
 
8460
 
rm -f conf$$ conf$$.exe conf$$.file
8461
 
echo >conf$$.file
8462
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
8463
 
  # We could just check for DJGPP; but this test a) works b) is more generic
8464
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8465
 
  if test -f conf$$.exe; then
8466
 
    # Don't use ln at all; we don't have any links
 
6633
if (echo >conf$$.file) 2>/dev/null; then
 
6634
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
6635
    as_ln_s='ln -s'
 
6636
    # ... but there are two gotchas:
 
6637
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6638
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6639
    # In both cases, we have to default to `cp -p'.
 
6640
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6641
      as_ln_s='cp -p'
 
6642
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
6643
    as_ln_s=ln
 
6644
  else
8467
6645
    as_ln_s='cp -p'
8468
 
  else
8469
 
    as_ln_s='ln -s'
8470
6646
  fi
8471
 
elif ln conf$$.file conf$$ 2>/dev/null; then
8472
 
  as_ln_s=ln
8473
6647
else
8474
6648
  as_ln_s='cp -p'
8475
6649
fi
8476
 
rm -f conf$$ conf$$.exe conf$$.file
8477
 
 
 
6650
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
6651
rmdir conf$$.dir 2>/dev/null
 
6652
 
 
6653
 
 
6654
# as_fn_mkdir_p
 
6655
# -------------
 
6656
# Create "$as_dir" as a directory, including parents if necessary.
 
6657
as_fn_mkdir_p ()
 
6658
{
 
6659
 
 
6660
  case $as_dir in #(
 
6661
  -*) as_dir=./$as_dir;;
 
6662
  esac
 
6663
  test -d "$as_dir" || eval $as_mkdir_p || {
 
6664
    as_dirs=
 
6665
    while :; do
 
6666
      case $as_dir in #(
 
6667
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
6668
      *) as_qdir=$as_dir;;
 
6669
      esac
 
6670
      as_dirs="'$as_qdir' $as_dirs"
 
6671
      as_dir=`$as_dirname -- "$as_dir" ||
 
6672
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6673
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6674
         X"$as_dir" : 'X\(//\)$' \| \
 
6675
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6676
$as_echo X"$as_dir" |
 
6677
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6678
            s//\1/
 
6679
            q
 
6680
          }
 
6681
          /^X\(\/\/\)[^/].*/{
 
6682
            s//\1/
 
6683
            q
 
6684
          }
 
6685
          /^X\(\/\/\)$/{
 
6686
            s//\1/
 
6687
            q
 
6688
          }
 
6689
          /^X\(\/\).*/{
 
6690
            s//\1/
 
6691
            q
 
6692
          }
 
6693
          s/.*/./; q'`
 
6694
      test -d "$as_dir" && break
 
6695
    done
 
6696
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6697
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
6698
 
 
6699
 
 
6700
} # as_fn_mkdir_p
8478
6701
if mkdir -p . 2>/dev/null; then
8479
 
  as_mkdir_p=:
 
6702
  as_mkdir_p='mkdir -p "$as_dir"'
8480
6703
else
8481
6704
  test -d ./-p && rmdir ./-p
8482
6705
  as_mkdir_p=false
8483
6706
fi
8484
6707
 
8485
 
as_executable_p="test -f"
 
6708
if test -x / >/dev/null 2>&1; then
 
6709
  as_test_x='test -x'
 
6710
else
 
6711
  if ls -dL / >/dev/null 2>&1; then
 
6712
    as_ls_L_option=L
 
6713
  else
 
6714
    as_ls_L_option=
 
6715
  fi
 
6716
  as_test_x='
 
6717
    eval sh -c '\''
 
6718
      if test -d "$1"; then
 
6719
        test -d "$1/.";
 
6720
      else
 
6721
        case $1 in #(
 
6722
        -*)set "./$1";;
 
6723
        esac;
 
6724
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
6725
        ???[sx]*):;;*)false;;esac;fi
 
6726
    '\'' sh
 
6727
  '
 
6728
fi
 
6729
as_executable_p=$as_test_x
8486
6730
 
8487
6731
# Sed expression to map a string onto a valid CPP name.
8488
6732
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8491
6735
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8492
6736
 
8493
6737
 
8494
 
# IFS
8495
 
# We need space, tab and new line, in precisely that order.
8496
 
as_nl='
8497
 
'
8498
 
IFS="   $as_nl"
8499
 
 
8500
 
# CDPATH.
8501
 
$as_unset CDPATH
8502
 
 
8503
6738
exec 6>&1
 
6739
## ----------------------------------- ##
 
6740
## Main body of $CONFIG_STATUS script. ##
 
6741
## ----------------------------------- ##
 
6742
_ASEOF
 
6743
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8504
6744
 
8505
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
6745
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6746
# Save the log message, to keep $0 and so on meaningful, and to
8506
6747
# report actual input values of CONFIG_FILES etc. instead of their
8507
 
# values after options handling.  Logging --version etc. is OK.
8508
 
exec 5>>config.log
8509
 
{
8510
 
  echo
8511
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8512
 
## Running $as_me. ##
8513
 
_ASBOX
8514
 
} >&5
8515
 
cat >&5 <<_CSEOF
8516
 
 
8517
 
This file was extended by xfce4-netload-plugin $as_me 0.4.0, which was
8518
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
6748
# values after options handling.
 
6749
ac_log="
 
6750
This file was extended by xfce4-netload-plugin $as_me 1.0.0, which was
 
6751
generated by GNU Autoconf 2.68.  Invocation command line was
8519
6752
 
8520
6753
  CONFIG_FILES    = $CONFIG_FILES
8521
6754
  CONFIG_HEADERS  = $CONFIG_HEADERS
8523
6756
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8524
6757
  $ $0 $@
8525
6758
 
8526
 
_CSEOF
8527
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8528
 
echo >&5
 
6759
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
6760
"
 
6761
 
8529
6762
_ACEOF
8530
6763
 
 
6764
case $ac_config_files in *"
 
6765
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
6766
esac
 
6767
 
 
6768
case $ac_config_headers in *"
 
6769
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
6770
esac
 
6771
 
 
6772
 
 
6773
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8531
6774
# Files that config.status was made for.
8532
 
if test -n "$ac_config_files"; then
8533
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8534
 
fi
8535
 
 
8536
 
if test -n "$ac_config_headers"; then
8537
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8538
 
fi
8539
 
 
8540
 
if test -n "$ac_config_links"; then
8541
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8542
 
fi
8543
 
 
8544
 
if test -n "$ac_config_commands"; then
8545
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8546
 
fi
8547
 
 
8548
 
cat >>$CONFIG_STATUS <<\_ACEOF
8549
 
 
 
6775
config_files="$ac_config_files"
 
6776
config_headers="$ac_config_headers"
 
6777
config_commands="$ac_config_commands"
 
6778
 
 
6779
_ACEOF
 
6780
 
 
6781
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8550
6782
ac_cs_usage="\
8551
 
\`$as_me' instantiates files from templates according to the
8552
 
current configuration.
 
6783
\`$as_me' instantiates files and other configuration actions
 
6784
from templates according to the current configuration.  Unless the files
 
6785
and actions are specified as TAGs, all are instantiated by default.
8553
6786
 
8554
 
Usage: $0 [OPTIONS] [FILE]...
 
6787
Usage: $0 [OPTION]... [TAG]...
8555
6788
 
8556
6789
  -h, --help       print this help, then exit
8557
 
  -V, --version    print version number, then exit
8558
 
  -q, --quiet      do not print progress messages
 
6790
  -V, --version    print version number and configuration settings, then exit
 
6791
      --config     print configuration, then exit
 
6792
  -q, --quiet, --silent
 
6793
                   do not print progress messages
8559
6794
  -d, --debug      don't remove temporary files
8560
6795
      --recheck    update $as_me by reconfiguring in the same conditions
8561
 
  --file=FILE[:TEMPLATE]
8562
 
                   instantiate the configuration file FILE
8563
 
  --header=FILE[:TEMPLATE]
8564
 
                   instantiate the configuration header FILE
 
6796
      --file=FILE[:TEMPLATE]
 
6797
                   instantiate the configuration file FILE
 
6798
      --header=FILE[:TEMPLATE]
 
6799
                   instantiate the configuration header FILE
8565
6800
 
8566
6801
Configuration files:
8567
6802
$config_files
8572
6807
Configuration commands:
8573
6808
$config_commands
8574
6809
 
8575
 
Report bugs to <bug-autoconf@gnu.org>."
 
6810
Report bugs to <xfce-goodies-dev@lists.berlios.de>."
 
6811
 
8576
6812
_ACEOF
8577
 
 
8578
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6813
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6814
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8579
6815
ac_cs_version="\\
8580
 
xfce4-netload-plugin config.status 0.4.0
8581
 
configured by $0, generated by GNU Autoconf 2.59,
8582
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
6816
xfce4-netload-plugin config.status 1.0.0
 
6817
configured by $0, generated by GNU Autoconf 2.68,
 
6818
  with options \\"\$ac_cs_config\\"
8583
6819
 
8584
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
6820
Copyright (C) 2010 Free Software Foundation, Inc.
8585
6821
This config.status script is free software; the Free Software Foundation
8586
6822
gives unlimited permission to copy, distribute and modify it."
8587
 
srcdir=$srcdir
8588
 
INSTALL="$INSTALL"
 
6823
 
 
6824
ac_pwd='$ac_pwd'
 
6825
srcdir='$srcdir'
 
6826
INSTALL='$INSTALL'
 
6827
MKDIR_P='$MKDIR_P'
 
6828
AWK='$AWK'
 
6829
test -n "\$AWK" || AWK=awk
8589
6830
_ACEOF
8590
6831
 
8591
 
cat >>$CONFIG_STATUS <<\_ACEOF
8592
 
# If no file are specified by the user, then we need to provide default
8593
 
# value.  By we need to know if files were specified by the user.
 
6832
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6833
# The default lists apply if the user does not specify any file.
8594
6834
ac_need_defaults=:
8595
6835
while test $# != 0
8596
6836
do
8597
6837
  case $1 in
8598
 
  --*=*)
8599
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8600
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8601
 
    ac_shift=:
8602
 
    ;;
8603
 
  -*)
 
6838
  --*=?*)
 
6839
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6840
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
6841
    ac_shift=:
 
6842
    ;;
 
6843
  --*=)
 
6844
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6845
    ac_optarg=
 
6846
    ac_shift=:
 
6847
    ;;
 
6848
  *)
8604
6849
    ac_option=$1
8605
6850
    ac_optarg=$2
8606
6851
    ac_shift=shift
8607
6852
    ;;
8608
 
  *) # This is not an option, so the user has probably given explicit
8609
 
     # arguments.
8610
 
     ac_option=$1
8611
 
     ac_need_defaults=false;;
8612
6853
  esac
8613
6854
 
8614
6855
  case $ac_option in
8615
6856
  # Handling of the options.
8616
 
_ACEOF
8617
 
cat >>$CONFIG_STATUS <<\_ACEOF
8618
6857
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8619
6858
    ac_cs_recheck=: ;;
8620
 
  --version | --vers* | -V )
8621
 
    echo "$ac_cs_version"; exit 0 ;;
 
6859
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
6860
    $as_echo "$ac_cs_version"; exit ;;
 
6861
  --config | --confi | --conf | --con | --co | --c )
 
6862
    $as_echo "$ac_cs_config"; exit ;;
 
6863
  --debug | --debu | --deb | --de | --d | -d )
 
6864
    debug=: ;;
 
6865
  --file | --fil | --fi | --f )
 
6866
    $ac_shift
 
6867
    case $ac_optarg in
 
6868
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6869
    '') as_fn_error $? "missing file argument" ;;
 
6870
    esac
 
6871
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
6872
    ac_need_defaults=false;;
 
6873
  --header | --heade | --head | --hea )
 
6874
    $ac_shift
 
6875
    case $ac_optarg in
 
6876
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6877
    esac
 
6878
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
6879
    ac_need_defaults=false;;
8622
6880
  --he | --h)
8623
6881
    # Conflict between --help and --header
8624
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8625
 
Try \`$0 --help' for more information." >&5
8626
 
echo "$as_me: error: ambiguous option: $1
8627
 
Try \`$0 --help' for more information." >&2;}
8628
 
   { (exit 1); exit 1; }; };;
 
6882
    as_fn_error $? "ambiguous option: \`$1'
 
6883
Try \`$0 --help' for more information.";;
8629
6884
  --help | --hel | -h )
8630
 
    echo "$ac_cs_usage"; exit 0 ;;
8631
 
  --debug | --d* | -d )
8632
 
    debug=: ;;
8633
 
  --file | --fil | --fi | --f )
8634
 
    $ac_shift
8635
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8636
 
    ac_need_defaults=false;;
8637
 
  --header | --heade | --head | --hea )
8638
 
    $ac_shift
8639
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8640
 
    ac_need_defaults=false;;
 
6885
    $as_echo "$ac_cs_usage"; exit ;;
8641
6886
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8642
6887
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8643
6888
    ac_cs_silent=: ;;
8644
6889
 
8645
6890
  # This is an error.
8646
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8647
 
Try \`$0 --help' for more information." >&5
8648
 
echo "$as_me: error: unrecognized option: $1
8649
 
Try \`$0 --help' for more information." >&2;}
8650
 
   { (exit 1); exit 1; }; } ;;
 
6891
  -*) as_fn_error $? "unrecognized option: \`$1'
 
6892
Try \`$0 --help' for more information." ;;
8651
6893
 
8652
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
6894
  *) as_fn_append ac_config_targets " $1"
 
6895
     ac_need_defaults=false ;;
8653
6896
 
8654
6897
  esac
8655
6898
  shift
8663
6906
fi
8664
6907
 
8665
6908
_ACEOF
8666
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6909
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8667
6910
if \$ac_cs_recheck; then
8668
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8669
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6911
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6912
  shift
 
6913
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
6914
  CONFIG_SHELL='$SHELL'
 
6915
  export CONFIG_SHELL
 
6916
  exec "\$@"
8670
6917
fi
8671
6918
 
8672
6919
_ACEOF
8673
 
 
8674
 
cat >>$CONFIG_STATUS <<_ACEOF
8675
 
#
8676
 
# INIT-COMMANDS section.
8677
 
#
8678
 
 
 
6920
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6921
exec 5>>config.log
 
6922
{
 
6923
  echo
 
6924
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
6925
## Running $as_me. ##
 
6926
_ASBOX
 
6927
  $as_echo "$ac_log"
 
6928
} >&5
 
6929
 
 
6930
_ACEOF
 
6931
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6932
#
 
6933
# INIT-COMMANDS
 
6934
#
8679
6935
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8680
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
8681
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
8682
 
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
8683
 
XGETTEXT='${INTLTOOL_XGETTEXT}'
8684
6936
 
8685
6937
 
8686
6938
_ACEOF
8687
6939
 
8688
 
 
8689
 
 
8690
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6940
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6941
 
 
6942
# Handling of arguments.
8691
6943
for ac_config_target in $ac_config_targets
8692
6944
do
8693
 
  case "$ac_config_target" in
8694
 
  # Handling of arguments.
8695
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8696
 
  "panel-plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
8697
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8698
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8699
 
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
8700
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8701
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8702
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8703
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8704
 
   { (exit 1); exit 1; }; };;
 
6945
  case $ac_config_target in
 
6946
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
6947
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
6948
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
6949
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
6950
    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
 
6951
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
6952
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
 
6953
    "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;;
 
6954
    "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
 
6955
    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
 
6956
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
6957
 
 
6958
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8705
6959
  esac
8706
6960
done
8707
6961
 
 
6962
 
8708
6963
# If the user did not use the arguments to specify the items to instantiate,
8709
6964
# then the envvar interface is used.  Set only those that are not.
8710
6965
# We use the long form for the default assignment because of an extremely
8716
6971
fi
8717
6972
 
8718
6973
# Have a temporary directory for convenience.  Make it in the build tree
8719
 
# simply because there is no reason to put it here, and in addition,
 
6974
# simply because there is no reason against having it here, and in addition,
8720
6975
# creating and moving files from /tmp can sometimes cause problems.
8721
 
# Create a temporary directory, and hook for its removal unless debugging.
 
6976
# Hook for its removal unless debugging.
 
6977
# Note that there is a small window in which the directory will not be cleaned:
 
6978
# after its creation but before its name has been assigned to `$tmp'.
8722
6979
$debug ||
8723
6980
{
8724
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8725
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6981
  tmp= ac_tmp=
 
6982
  trap 'exit_status=$?
 
6983
  : "${ac_tmp:=$tmp}"
 
6984
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
6985
' 0
 
6986
  trap 'as_fn_exit 1' 1 2 13 15
8726
6987
}
8727
 
 
8728
6988
# Create a (secure) tmp directory for tmp files.
8729
6989
 
8730
6990
{
8731
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8732
 
  test -n "$tmp" && test -d "$tmp"
 
6991
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
6992
  test -d "$tmp"
8733
6993
}  ||
8734
6994
{
8735
 
  tmp=./confstat$$-$RANDOM
8736
 
  (umask 077 && mkdir $tmp)
8737
 
} ||
 
6995
  tmp=./conf$$-$RANDOM
 
6996
  (umask 077 && mkdir "$tmp")
 
6997
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
6998
ac_tmp=$tmp
 
6999
 
 
7000
# Set up the scripts for CONFIG_FILES section.
 
7001
# No need to generate them if there are no CONFIG_FILES.
 
7002
# This happens for instance with `./config.status config.h'.
 
7003
if test -n "$CONFIG_FILES"; then
 
7004
 
 
7005
 
 
7006
ac_cr=`echo X | tr X '\015'`
 
7007
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
7008
# But we know of no other shell where ac_cr would be empty at this
 
7009
# point, so we can use a bashism as a fallback.
 
7010
if test "x$ac_cr" = x; then
 
7011
  eval ac_cr=\$\'\\r\'
 
7012
fi
 
7013
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
7014
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
7015
  ac_cs_awk_cr='\\r'
 
7016
else
 
7017
  ac_cs_awk_cr=$ac_cr
 
7018
fi
 
7019
 
 
7020
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
7021
_ACEOF
 
7022
 
 
7023
 
8738
7024
{
8739
 
   echo "$me: cannot create a temporary directory in ." >&2
8740
 
   { (exit 1); exit 1; }
8741
 
}
8742
 
 
8743
 
_ACEOF
8744
 
 
8745
 
cat >>$CONFIG_STATUS <<_ACEOF
8746
 
 
8747
 
#
8748
 
# CONFIG_FILES section.
8749
 
#
8750
 
 
8751
 
# No need to generate the scripts if there are no CONFIG_FILES.
8752
 
# This happens for instance when ./config.status config.h
8753
 
if test -n "\$CONFIG_FILES"; then
8754
 
  # Protect against being on the right side of a sed subst in config.status.
8755
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8756
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8757
 
s,@SHELL@,$SHELL,;t t
8758
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8759
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8760
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8761
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8762
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8763
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8764
 
s,@exec_prefix@,$exec_prefix,;t t
8765
 
s,@prefix@,$prefix,;t t
8766
 
s,@program_transform_name@,$program_transform_name,;t t
8767
 
s,@bindir@,$bindir,;t t
8768
 
s,@sbindir@,$sbindir,;t t
8769
 
s,@libexecdir@,$libexecdir,;t t
8770
 
s,@datadir@,$datadir,;t t
8771
 
s,@sysconfdir@,$sysconfdir,;t t
8772
 
s,@sharedstatedir@,$sharedstatedir,;t t
8773
 
s,@localstatedir@,$localstatedir,;t t
8774
 
s,@libdir@,$libdir,;t t
8775
 
s,@includedir@,$includedir,;t t
8776
 
s,@oldincludedir@,$oldincludedir,;t t
8777
 
s,@infodir@,$infodir,;t t
8778
 
s,@mandir@,$mandir,;t t
8779
 
s,@build_alias@,$build_alias,;t t
8780
 
s,@host_alias@,$host_alias,;t t
8781
 
s,@target_alias@,$target_alias,;t t
8782
 
s,@DEFS@,$DEFS,;t t
8783
 
s,@ECHO_C@,$ECHO_C,;t t
8784
 
s,@ECHO_N@,$ECHO_N,;t t
8785
 
s,@ECHO_T@,$ECHO_T,;t t
8786
 
s,@LIBS@,$LIBS,;t t
8787
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8788
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8789
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8790
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
8791
 
s,@PACKAGE@,$PACKAGE,;t t
8792
 
s,@VERSION@,$VERSION,;t t
8793
 
s,@ACLOCAL@,$ACLOCAL,;t t
8794
 
s,@AUTOCONF@,$AUTOCONF,;t t
8795
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
8796
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
8797
 
s,@MAKEINFO@,$MAKEINFO,;t t
8798
 
s,@install_sh@,$install_sh,;t t
8799
 
s,@STRIP@,$STRIP,;t t
8800
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8801
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8802
 
s,@mkdir_p@,$mkdir_p,;t t
8803
 
s,@AWK@,$AWK,;t t
8804
 
s,@SET_MAKE@,$SET_MAKE,;t t
8805
 
s,@am__leading_dot@,$am__leading_dot,;t t
8806
 
s,@AMTAR@,$AMTAR,;t t
8807
 
s,@am__tar@,$am__tar,;t t
8808
 
s,@am__untar@,$am__untar,;t t
8809
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8810
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8811
 
s,@MAINT@,$MAINT,;t t
8812
 
s,@CC@,$CC,;t t
8813
 
s,@CFLAGS@,$CFLAGS,;t t
8814
 
s,@LDFLAGS@,$LDFLAGS,;t t
8815
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
8816
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
8817
 
s,@EXEEXT@,$EXEEXT,;t t
8818
 
s,@OBJEXT@,$OBJEXT,;t t
8819
 
s,@DEPDIR@,$DEPDIR,;t t
8820
 
s,@am__include@,$am__include,;t t
8821
 
s,@am__quote@,$am__quote,;t t
8822
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8823
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8824
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8825
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
8826
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8827
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8828
 
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
8829
 
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
8830
 
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
8831
 
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
8832
 
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
8833
 
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
8834
 
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
8835
 
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
8836
 
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
8837
 
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
8838
 
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
8839
 
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
8840
 
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
8841
 
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
8842
 
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
8843
 
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
8844
 
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
8845
 
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
8846
 
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
8847
 
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
8848
 
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
8849
 
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
8850
 
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
8851
 
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
8852
 
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
8853
 
s,@CPP@,$CPP,;t t
8854
 
s,@EGREP@,$EGREP,;t t
8855
 
s,@OS@,$OS,;t t
8856
 
s,@SOLLIBS@,$SOLLIBS,;t t
8857
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
8858
 
s,@LIBXFCE4PANEL_VERSION@,$LIBXFCE4PANEL_VERSION,;t t
8859
 
s,@LIBXFCE4PANEL_CFLAGS@,$LIBXFCE4PANEL_CFLAGS,;t t
8860
 
s,@LIBXFCE4PANEL_LIBS@,$LIBXFCE4PANEL_LIBS,;t t
8861
 
s,@LIBXFCE4PANEL_REQUIRED_VERSION@,$LIBXFCE4PANEL_REQUIRED_VERSION,;t t
8862
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
8863
 
s,@USE_NLS@,$USE_NLS,;t t
8864
 
s,@MSGFMT@,$MSGFMT,;t t
8865
 
s,@GMSGFMT@,$GMSGFMT,;t t
8866
 
s,@XGETTEXT@,$XGETTEXT,;t t
8867
 
s,@CATALOGS@,$CATALOGS,;t t
8868
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
8869
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
8870
 
s,@GMOFILES@,$GMOFILES,;t t
8871
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8872
 
s,@INTLLIBS@,$INTLLIBS,;t t
8873
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
8874
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
8875
 
s,@POFILES@,$POFILES,;t t
8876
 
s,@POSUB@,$POSUB,;t t
8877
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8878
 
s,@localedir@,$localedir,;t t
8879
 
s,@XGETTEXT_ARGS@,$XGETTEXT_ARGS,;t t
8880
 
s,@LIBOBJS@,$LIBOBJS,;t t
8881
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8882
 
CEOF
8883
 
 
8884
 
_ACEOF
8885
 
 
8886
 
  cat >>$CONFIG_STATUS <<\_ACEOF
8887
 
  # Split the substitutions into bite-sized pieces for seds with
8888
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
8889
 
  ac_max_sed_lines=48
8890
 
  ac_sed_frag=1 # Number of current file.
8891
 
  ac_beg=1 # First line for current file.
8892
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
8893
 
  ac_more_lines=:
8894
 
  ac_sed_cmds=
8895
 
  while $ac_more_lines; do
8896
 
    if test $ac_beg -gt 1; then
8897
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8898
 
    else
8899
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8900
 
    fi
8901
 
    if test ! -s $tmp/subs.frag; then
8902
 
      ac_more_lines=false
8903
 
    else
8904
 
      # The purpose of the label and of the branching condition is to
8905
 
      # speed up the sed processing (if there are no `@' at all, there
8906
 
      # is no need to browse any of the substitutions).
8907
 
      # These are the two extra sed commands mentioned above.
8908
 
      (echo ':t
8909
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8910
 
      if test -z "$ac_sed_cmds"; then
8911
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8912
 
      else
8913
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8914
 
      fi
8915
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
8916
 
      ac_beg=$ac_end
8917
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
8918
 
    fi
8919
 
  done
8920
 
  if test -z "$ac_sed_cmds"; then
8921
 
    ac_sed_cmds=cat
 
7025
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
7026
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
7027
  echo "_ACEOF"
 
7028
} >conf$$subs.sh ||
 
7029
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
7030
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
7031
ac_delim='%!_!# '
 
7032
for ac_last_try in false false false false false :; do
 
7033
  . ./conf$$subs.sh ||
 
7034
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
7035
 
 
7036
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
7037
  if test $ac_delim_n = $ac_delim_num; then
 
7038
    break
 
7039
  elif $ac_last_try; then
 
7040
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
7041
  else
 
7042
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8922
7043
  fi
 
7044
done
 
7045
rm -f conf$$subs.sh
 
7046
 
 
7047
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7048
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
7049
_ACEOF
 
7050
sed -n '
 
7051
h
 
7052
s/^/S["/; s/!.*/"]=/
 
7053
p
 
7054
g
 
7055
s/^[^!]*!//
 
7056
:repl
 
7057
t repl
 
7058
s/'"$ac_delim"'$//
 
7059
t delim
 
7060
:nl
 
7061
h
 
7062
s/\(.\{148\}\)..*/\1/
 
7063
t more1
 
7064
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
7065
p
 
7066
n
 
7067
b repl
 
7068
:more1
 
7069
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7070
p
 
7071
g
 
7072
s/.\{148\}//
 
7073
t nl
 
7074
:delim
 
7075
h
 
7076
s/\(.\{148\}\)..*/\1/
 
7077
t more2
 
7078
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
7079
p
 
7080
b
 
7081
:more2
 
7082
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7083
p
 
7084
g
 
7085
s/.\{148\}//
 
7086
t delim
 
7087
' <conf$$subs.awk | sed '
 
7088
/^[^""]/{
 
7089
  N
 
7090
  s/\n//
 
7091
}
 
7092
' >>$CONFIG_STATUS || ac_write_fail=1
 
7093
rm -f conf$$subs.awk
 
7094
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7095
_ACAWK
 
7096
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
7097
  for (key in S) S_is_set[key] = 1
 
7098
  FS = ""
 
7099
 
 
7100
}
 
7101
{
 
7102
  line = $ 0
 
7103
  nfields = split(line, field, "@")
 
7104
  substed = 0
 
7105
  len = length(field[1])
 
7106
  for (i = 2; i < nfields; i++) {
 
7107
    key = field[i]
 
7108
    keylen = length(key)
 
7109
    if (S_is_set[key]) {
 
7110
      value = S[key]
 
7111
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
7112
      len += length(value) + length(field[++i])
 
7113
      substed = 1
 
7114
    } else
 
7115
      len += 1 + keylen
 
7116
  }
 
7117
 
 
7118
  print line
 
7119
}
 
7120
 
 
7121
_ACAWK
 
7122
_ACEOF
 
7123
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7124
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
7125
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
7126
else
 
7127
  cat
 
7128
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
7129
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
7130
_ACEOF
 
7131
 
 
7132
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
7133
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
7134
# trailing colons and then remove the whole line if VPATH becomes empty
 
7135
# (actually we leave an empty line to preserve line numbers).
 
7136
if test "x$srcdir" = x.; then
 
7137
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
7138
h
 
7139
s///
 
7140
s/^/:/
 
7141
s/[      ]*$/:/
 
7142
s/:\$(srcdir):/:/g
 
7143
s/:\${srcdir}:/:/g
 
7144
s/:@srcdir@:/:/g
 
7145
s/^:*//
 
7146
s/:*$//
 
7147
x
 
7148
s/\(=[   ]*\).*/\1/
 
7149
G
 
7150
s/\n//
 
7151
s/^[^=]*=[       ]*$//
 
7152
}'
 
7153
fi
 
7154
 
 
7155
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8923
7156
fi # test -n "$CONFIG_FILES"
8924
7157
 
8925
 
_ACEOF
8926
 
cat >>$CONFIG_STATUS <<\_ACEOF
8927
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8928
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8929
 
  case $ac_file in
8930
 
  - | *:- | *:-:* ) # input from stdin
8931
 
        cat >$tmp/stdin
8932
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8933
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8934
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8935
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8936
 
  * )   ac_file_in=$ac_file.in ;;
8937
 
  esac
8938
 
 
8939
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8940
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
7158
# Set up the scripts for CONFIG_HEADERS section.
 
7159
# No need to generate them if there are no CONFIG_HEADERS.
 
7160
# This happens for instance with `./config.status Makefile'.
 
7161
if test -n "$CONFIG_HEADERS"; then
 
7162
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
7163
BEGIN {
 
7164
_ACEOF
 
7165
 
 
7166
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
7167
# here-document in config.status, that substitutes the proper values into
 
7168
# config.h.in to produce config.h.
 
7169
 
 
7170
# Create a delimiter string that does not exist in confdefs.h, to ease
 
7171
# handling of long lines.
 
7172
ac_delim='%!_!# '
 
7173
for ac_last_try in false false :; do
 
7174
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
7175
  if test -z "$ac_tt"; then
 
7176
    break
 
7177
  elif $ac_last_try; then
 
7178
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
7179
  else
 
7180
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
7181
  fi
 
7182
done
 
7183
 
 
7184
# For the awk script, D is an array of macro values keyed by name,
 
7185
# likewise P contains macro parameters if any.  Preserve backslash
 
7186
# newline sequences.
 
7187
 
 
7188
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
7189
sed -n '
 
7190
s/.\{148\}/&'"$ac_delim"'/g
 
7191
t rset
 
7192
:rset
 
7193
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
7194
t def
 
7195
d
 
7196
:def
 
7197
s/\\$//
 
7198
t bsnl
 
7199
s/["\\]/\\&/g
 
7200
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7201
D["\1"]=" \3"/p
 
7202
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
7203
d
 
7204
:bsnl
 
7205
s/["\\]/\\&/g
 
7206
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7207
D["\1"]=" \3\\\\\\n"\\/p
 
7208
t cont
 
7209
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
7210
t cont
 
7211
d
 
7212
:cont
 
7213
n
 
7214
s/.\{148\}/&'"$ac_delim"'/g
 
7215
t clear
 
7216
:clear
 
7217
s/\\$//
 
7218
t bsnlc
 
7219
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
7220
d
 
7221
:bsnlc
 
7222
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
7223
b cont
 
7224
' <confdefs.h | sed '
 
7225
s/'"$ac_delim"'/"\\\
 
7226
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
7227
 
 
7228
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7229
  for (key in D) D_is_set[key] = 1
 
7230
  FS = ""
 
7231
}
 
7232
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
7233
  line = \$ 0
 
7234
  split(line, arg, " ")
 
7235
  if (arg[1] == "#") {
 
7236
    defundef = arg[2]
 
7237
    mac1 = arg[3]
 
7238
  } else {
 
7239
    defundef = substr(arg[1], 2)
 
7240
    mac1 = arg[2]
 
7241
  }
 
7242
  split(mac1, mac2, "(") #)
 
7243
  macro = mac2[1]
 
7244
  prefix = substr(line, 1, index(line, defundef) - 1)
 
7245
  if (D_is_set[macro]) {
 
7246
    # Preserve the white space surrounding the "#".
 
7247
    print prefix "define", macro P[macro] D[macro]
 
7248
    next
 
7249
  } else {
 
7250
    # Replace #undef with comments.  This is necessary, for example,
 
7251
    # in the case of _POSIX_SOURCE, which is predefined and required
 
7252
    # on some systems where configure will not decide to define it.
 
7253
    if (defundef == "undef") {
 
7254
      print "/*", prefix defundef, macro, "*/"
 
7255
      next
 
7256
    }
 
7257
  }
 
7258
}
 
7259
{ print }
 
7260
_ACAWK
 
7261
_ACEOF
 
7262
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7263
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
7264
fi # test -n "$CONFIG_HEADERS"
 
7265
 
 
7266
 
 
7267
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
7268
shift
 
7269
for ac_tag
 
7270
do
 
7271
  case $ac_tag in
 
7272
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
7273
  esac
 
7274
  case $ac_mode$ac_tag in
 
7275
  :[FHL]*:*);;
 
7276
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
7277
  :[FH]-) ac_tag=-:-;;
 
7278
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
7279
  esac
 
7280
  ac_save_IFS=$IFS
 
7281
  IFS=:
 
7282
  set x $ac_tag
 
7283
  IFS=$ac_save_IFS
 
7284
  shift
 
7285
  ac_file=$1
 
7286
  shift
 
7287
 
 
7288
  case $ac_mode in
 
7289
  :L) ac_source=$1;;
 
7290
  :[FH])
 
7291
    ac_file_inputs=
 
7292
    for ac_f
 
7293
    do
 
7294
      case $ac_f in
 
7295
      -) ac_f="$ac_tmp/stdin";;
 
7296
      *) # Look for the file first in the build tree, then in the source tree
 
7297
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
7298
         # because $ac_f cannot contain `:'.
 
7299
         test -f "$ac_f" ||
 
7300
           case $ac_f in
 
7301
           [\\/$]*) false;;
 
7302
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
7303
           esac ||
 
7304
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
7305
      esac
 
7306
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
7307
      as_fn_append ac_file_inputs " '$ac_f'"
 
7308
    done
 
7309
 
 
7310
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
7311
    # use $as_me), people would be surprised to read:
 
7312
    #    /* config.h.  Generated by config.status.  */
 
7313
    configure_input='Generated from '`
 
7314
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
7315
        `' by configure.'
 
7316
    if test x"$ac_file" != x-; then
 
7317
      configure_input="$ac_file.  $configure_input"
 
7318
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
7319
$as_echo "$as_me: creating $ac_file" >&6;}
 
7320
    fi
 
7321
    # Neutralize special characters interpreted by sed in replacement strings.
 
7322
    case $configure_input in #(
 
7323
    *\&* | *\|* | *\\* )
 
7324
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
7325
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
7326
    *) ac_sed_conf_input=$configure_input;;
 
7327
    esac
 
7328
 
 
7329
    case $ac_tag in
 
7330
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
7331
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
7332
    esac
 
7333
    ;;
 
7334
  esac
 
7335
 
 
7336
  ac_dir=`$as_dirname -- "$ac_file" ||
8941
7337
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8942
7338
         X"$ac_file" : 'X\(//\)[^/]' \| \
8943
7339
         X"$ac_file" : 'X\(//\)$' \| \
8944
 
         X"$ac_file" : 'X\(/\)' \| \
8945
 
         .     : '\(.\)' 2>/dev/null ||
8946
 
echo X"$ac_file" |
8947
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8948
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8949
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8950
 
          /^X\(\/\).*/{ s//\1/; q; }
8951
 
          s/.*/./; q'`
8952
 
  { if $as_mkdir_p; then
8953
 
    mkdir -p "$ac_dir"
8954
 
  else
8955
 
    as_dir="$ac_dir"
8956
 
    as_dirs=
8957
 
    while test ! -d "$as_dir"; do
8958
 
      as_dirs="$as_dir $as_dirs"
8959
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8960
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8961
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8962
 
         X"$as_dir" : 'X\(//\)$' \| \
8963
 
         X"$as_dir" : 'X\(/\)' \| \
8964
 
         .     : '\(.\)' 2>/dev/null ||
8965
 
echo X"$as_dir" |
8966
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8967
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8968
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8969
 
          /^X\(\/\).*/{ s//\1/; q; }
8970
 
          s/.*/./; q'`
8971
 
    done
8972
 
    test ! -n "$as_dirs" || mkdir $as_dirs
8973
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8974
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8975
 
   { (exit 1); exit 1; }; }; }
8976
 
 
 
7340
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
7341
$as_echo X"$ac_file" |
 
7342
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7343
            s//\1/
 
7344
            q
 
7345
          }
 
7346
          /^X\(\/\/\)[^/].*/{
 
7347
            s//\1/
 
7348
            q
 
7349
          }
 
7350
          /^X\(\/\/\)$/{
 
7351
            s//\1/
 
7352
            q
 
7353
          }
 
7354
          /^X\(\/\).*/{
 
7355
            s//\1/
 
7356
            q
 
7357
          }
 
7358
          s/.*/./; q'`
 
7359
  as_dir="$ac_dir"; as_fn_mkdir_p
8977
7360
  ac_builddir=.
8978
7361
 
8979
 
if test "$ac_dir" != .; then
8980
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8981
 
  # A "../" for each directory in $ac_dir_suffix.
8982
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8983
 
else
8984
 
  ac_dir_suffix= ac_top_builddir=
8985
 
fi
 
7362
case "$ac_dir" in
 
7363
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
7364
*)
 
7365
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
7366
  # A ".." for each directory in $ac_dir_suffix.
 
7367
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
7368
  case $ac_top_builddir_sub in
 
7369
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
7370
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
7371
  esac ;;
 
7372
esac
 
7373
ac_abs_top_builddir=$ac_pwd
 
7374
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
7375
# for backward compatibility:
 
7376
ac_top_builddir=$ac_top_build_prefix
8986
7377
 
8987
7378
case $srcdir in
8988
 
  .)  # No --srcdir option.  We are building in place.
 
7379
  .)  # We are building in place.
8989
7380
    ac_srcdir=.
8990
 
    if test -z "$ac_top_builddir"; then
8991
 
       ac_top_srcdir=.
8992
 
    else
8993
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8994
 
    fi ;;
8995
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
7381
    ac_top_srcdir=$ac_top_builddir_sub
 
7382
    ac_abs_top_srcdir=$ac_pwd ;;
 
7383
  [\\/]* | ?:[\\/]* )  # Absolute name.
8996
7384
    ac_srcdir=$srcdir$ac_dir_suffix;
8997
 
    ac_top_srcdir=$srcdir ;;
8998
 
  *) # Relative path.
8999
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9000
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9001
 
esac
9002
 
 
9003
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9004
 
# the directories may not exist.
9005
 
case `pwd` in
9006
 
.) ac_abs_builddir="$ac_dir";;
9007
 
*)
9008
 
  case "$ac_dir" in
9009
 
  .) ac_abs_builddir=`pwd`;;
9010
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9011
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9012
 
  esac;;
9013
 
esac
9014
 
case $ac_abs_builddir in
9015
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9016
 
*)
9017
 
  case ${ac_top_builddir}. in
9018
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9019
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9020
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9021
 
  esac;;
9022
 
esac
9023
 
case $ac_abs_builddir in
9024
 
.) ac_abs_srcdir=$ac_srcdir;;
9025
 
*)
9026
 
  case $ac_srcdir in
9027
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9028
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9029
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9030
 
  esac;;
9031
 
esac
9032
 
case $ac_abs_builddir in
9033
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9034
 
*)
9035
 
  case $ac_top_srcdir in
9036
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9037
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9038
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9039
 
  esac;;
9040
 
esac
9041
 
 
 
7385
    ac_top_srcdir=$srcdir
 
7386
    ac_abs_top_srcdir=$srcdir ;;
 
7387
  *) # Relative name.
 
7388
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
7389
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
7390
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
7391
esac
 
7392
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
7393
 
 
7394
 
 
7395
  case $ac_mode in
 
7396
  :F)
 
7397
  #
 
7398
  # CONFIG_FILE
 
7399
  #
9042
7400
 
9043
7401
  case $INSTALL in
9044
7402
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9045
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9046
 
  esac
9047
 
 
9048
 
  if test x"$ac_file" != x-; then
9049
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
9050
 
echo "$as_me: creating $ac_file" >&6;}
9051
 
    rm -f "$ac_file"
9052
 
  fi
9053
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9054
 
  # use $as_me), people would be surprised to read:
9055
 
  #    /* config.h.  Generated by config.status.  */
9056
 
  if test x"$ac_file" = x-; then
9057
 
    configure_input=
9058
 
  else
9059
 
    configure_input="$ac_file.  "
9060
 
  fi
9061
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
9062
 
                                     sed 's,.*/,,'` by configure."
9063
 
 
9064
 
  # First look for the input files in the build tree, otherwise in the
9065
 
  # src tree.
9066
 
  ac_file_inputs=`IFS=:
9067
 
    for f in $ac_file_in; do
9068
 
      case $f in
9069
 
      -) echo $tmp/stdin ;;
9070
 
      [\\/$]*)
9071
 
         # Absolute (can't be DOS-style, as IFS=:)
9072
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9073
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9074
 
   { (exit 1); exit 1; }; }
9075
 
         echo "$f";;
9076
 
      *) # Relative
9077
 
         if test -f "$f"; then
9078
 
           # Build tree
9079
 
           echo "$f"
9080
 
         elif test -f "$srcdir/$f"; then
9081
 
           # Source tree
9082
 
           echo "$srcdir/$f"
9083
 
         else
9084
 
           # /dev/null tree
9085
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9086
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9087
 
   { (exit 1); exit 1; }; }
9088
 
         fi;;
9089
 
      esac
9090
 
    done` || { (exit 1); exit 1; }
9091
 
_ACEOF
9092
 
cat >>$CONFIG_STATUS <<_ACEOF
9093
 
  sed "$ac_vpsub
 
7403
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
7404
  esac
 
7405
  ac_MKDIR_P=$MKDIR_P
 
7406
  case $MKDIR_P in
 
7407
  [\\/$]* | ?:[\\/]* ) ;;
 
7408
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
7409
  esac
 
7410
_ACEOF
 
7411
 
 
7412
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7413
# If the template does not know about datarootdir, expand it.
 
7414
# FIXME: This hack should be removed a few years after 2.60.
 
7415
ac_datarootdir_hack=; ac_datarootdir_seen=
 
7416
ac_sed_dataroot='
 
7417
/datarootdir/ {
 
7418
  p
 
7419
  q
 
7420
}
 
7421
/@datadir@/p
 
7422
/@docdir@/p
 
7423
/@infodir@/p
 
7424
/@localedir@/p
 
7425
/@mandir@/p'
 
7426
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
7427
*datarootdir*) ac_datarootdir_seen=yes;;
 
7428
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
7429
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7430
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
7431
_ACEOF
 
7432
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7433
  ac_datarootdir_hack='
 
7434
  s&@datadir@&$datadir&g
 
7435
  s&@docdir@&$docdir&g
 
7436
  s&@infodir@&$infodir&g
 
7437
  s&@localedir@&$localedir&g
 
7438
  s&@mandir@&$mandir&g
 
7439
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
7440
esac
 
7441
_ACEOF
 
7442
 
 
7443
# Neutralize VPATH when `$srcdir' = `.'.
 
7444
# Shell code in configure.ac might set extrasub.
 
7445
# FIXME: do we really want to maintain this feature?
 
7446
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7447
ac_sed_extra="$ac_vpsub
9094
7448
$extrasub
9095
7449
_ACEOF
9096
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7450
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9097
7451
:t
9098
7452
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9099
 
s,@configure_input@,$configure_input,;t t
9100
 
s,@srcdir@,$ac_srcdir,;t t
9101
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
9102
 
s,@top_srcdir@,$ac_top_srcdir,;t t
9103
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9104
 
s,@builddir@,$ac_builddir,;t t
9105
 
s,@abs_builddir@,$ac_abs_builddir,;t t
9106
 
s,@top_builddir@,$ac_top_builddir,;t t
9107
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9108
 
s,@INSTALL@,$ac_INSTALL,;t t
9109
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9110
 
  rm -f $tmp/stdin
9111
 
  if test x"$ac_file" != x-; then
9112
 
    mv $tmp/out $ac_file
9113
 
  else
9114
 
    cat $tmp/out
9115
 
    rm -f $tmp/out
9116
 
  fi
9117
 
 
9118
 
done
9119
 
_ACEOF
9120
 
cat >>$CONFIG_STATUS <<\_ACEOF
9121
 
 
9122
 
#
9123
 
# CONFIG_HEADER section.
9124
 
#
9125
 
 
9126
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9127
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
9128
 
#
9129
 
# ac_d sets the value in "#define NAME VALUE" lines.
9130
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9131
 
ac_dB='[         ].*$,\1#\2'
9132
 
ac_dC=' '
9133
 
ac_dD=',;t'
9134
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9135
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9136
 
ac_uB='$,\1#\2define\3'
9137
 
ac_uC=' '
9138
 
ac_uD=',;t'
9139
 
 
9140
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9141
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
7453
s|@configure_input@|$ac_sed_conf_input|;t t
 
7454
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
7455
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
7456
s&@srcdir@&$ac_srcdir&;t t
 
7457
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
7458
s&@top_srcdir@&$ac_top_srcdir&;t t
 
7459
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
7460
s&@builddir@&$ac_builddir&;t t
 
7461
s&@abs_builddir@&$ac_abs_builddir&;t t
 
7462
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
7463
s&@INSTALL@&$ac_INSTALL&;t t
 
7464
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
7465
$ac_datarootdir_hack
 
7466
"
 
7467
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
7468
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
7469
 
 
7470
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
7471
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
7472
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
7473
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
7474
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7475
which seems to be undefined.  Please make sure it is defined" >&5
 
7476
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7477
which seems to be undefined.  Please make sure it is defined" >&2;}
 
7478
 
 
7479
  rm -f "$ac_tmp/stdin"
9142
7480
  case $ac_file in
9143
 
  - | *:- | *:-:* ) # input from stdin
9144
 
        cat >$tmp/stdin
9145
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9146
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9147
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9148
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9149
 
  * )   ac_file_in=$ac_file.in ;;
9150
 
  esac
9151
 
 
9152
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9153
 
echo "$as_me: creating $ac_file" >&6;}
9154
 
 
9155
 
  # First look for the input files in the build tree, otherwise in the
9156
 
  # src tree.
9157
 
  ac_file_inputs=`IFS=:
9158
 
    for f in $ac_file_in; do
9159
 
      case $f in
9160
 
      -) echo $tmp/stdin ;;
9161
 
      [\\/$]*)
9162
 
         # Absolute (can't be DOS-style, as IFS=:)
9163
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9164
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9165
 
   { (exit 1); exit 1; }; }
9166
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
9167
 
         echo "$f";;
9168
 
      *) # Relative
9169
 
         if test -f "$f"; then
9170
 
           # Build tree
9171
 
           echo "$f"
9172
 
         elif test -f "$srcdir/$f"; then
9173
 
           # Source tree
9174
 
           echo "$srcdir/$f"
9175
 
         else
9176
 
           # /dev/null tree
9177
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9178
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9179
 
   { (exit 1); exit 1; }; }
9180
 
         fi;;
9181
 
      esac
9182
 
    done` || { (exit 1); exit 1; }
9183
 
  # Remove the trailing spaces.
9184
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9185
 
 
9186
 
_ACEOF
9187
 
 
9188
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9189
 
# `conftest.undefs', that substitutes the proper values into
9190
 
# config.h.in to produce config.h.  The first handles `#define'
9191
 
# templates, and the second `#undef' templates.
9192
 
# And first: Protect against being on the right side of a sed subst in
9193
 
# config.status.  Protect against being in an unquoted here document
9194
 
# in config.status.
9195
 
rm -f conftest.defines conftest.undefs
9196
 
# Using a here document instead of a string reduces the quoting nightmare.
9197
 
# Putting comments in sed scripts is not portable.
9198
 
#
9199
 
# `end' is used to avoid that the second main sed command (meant for
9200
 
# 0-ary CPP macros) applies to n-ary macro definitions.
9201
 
# See the Autoconf documentation for `clear'.
9202
 
cat >confdef2sed.sed <<\_ACEOF
9203
 
s/[\\&,]/\\&/g
9204
 
s,[\\$`],\\&,g
9205
 
t clear
9206
 
: clear
9207
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9208
 
t end
9209
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9210
 
: end
9211
 
_ACEOF
9212
 
# If some macros were called several times there might be several times
9213
 
# the same #defines, which is useless.  Nevertheless, we may not want to
9214
 
# sort them, since we want the *last* AC-DEFINE to be honored.
9215
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9216
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9217
 
rm -f confdef2sed.sed
9218
 
 
9219
 
# This sed command replaces #undef with comments.  This is necessary, for
9220
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
9221
 
# on some systems where configure will not decide to define it.
9222
 
cat >>conftest.undefs <<\_ACEOF
9223
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9224
 
_ACEOF
9225
 
 
9226
 
# Break up conftest.defines because some shells have a limit on the size
9227
 
# of here documents, and old seds have small limits too (100 cmds).
9228
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9229
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9230
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9231
 
echo '  :' >>$CONFIG_STATUS
9232
 
rm -f conftest.tail
9233
 
while grep . conftest.defines >/dev/null
9234
 
do
9235
 
  # Write a limited-size here document to $tmp/defines.sed.
9236
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9237
 
  # Speed up: don't consider the non `#define' lines.
9238
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9239
 
  # Work around the forget-to-reset-the-flag bug.
9240
 
  echo 't clr' >>$CONFIG_STATUS
9241
 
  echo ': clr' >>$CONFIG_STATUS
9242
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9243
 
  echo 'CEOF
9244
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
9245
 
  rm -f $tmp/in
9246
 
  mv $tmp/out $tmp/in
9247
 
' >>$CONFIG_STATUS
9248
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9249
 
  rm -f conftest.defines
9250
 
  mv conftest.tail conftest.defines
9251
 
done
9252
 
rm -f conftest.defines
9253
 
echo '  fi # grep' >>$CONFIG_STATUS
9254
 
echo >>$CONFIG_STATUS
9255
 
 
9256
 
# Break up conftest.undefs because some shells have a limit on the size
9257
 
# of here documents, and old seds have small limits too (100 cmds).
9258
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9259
 
rm -f conftest.tail
9260
 
while grep . conftest.undefs >/dev/null
9261
 
do
9262
 
  # Write a limited-size here document to $tmp/undefs.sed.
9263
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9264
 
  # Speed up: don't consider the non `#undef'
9265
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9266
 
  # Work around the forget-to-reset-the-flag bug.
9267
 
  echo 't clr' >>$CONFIG_STATUS
9268
 
  echo ': clr' >>$CONFIG_STATUS
9269
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9270
 
  echo 'CEOF
9271
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9272
 
  rm -f $tmp/in
9273
 
  mv $tmp/out $tmp/in
9274
 
' >>$CONFIG_STATUS
9275
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9276
 
  rm -f conftest.undefs
9277
 
  mv conftest.tail conftest.undefs
9278
 
done
9279
 
rm -f conftest.undefs
9280
 
 
9281
 
cat >>$CONFIG_STATUS <<\_ACEOF
9282
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9283
 
  # use $as_me), people would be surprised to read:
9284
 
  #    /* config.h.  Generated by config.status.  */
9285
 
  if test x"$ac_file" = x-; then
9286
 
    echo "/* Generated by configure.  */" >$tmp/config.h
9287
 
  else
9288
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9289
 
  fi
9290
 
  cat $tmp/in >>$tmp/config.h
9291
 
  rm -f $tmp/in
 
7481
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
7482
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
7483
  esac \
 
7484
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
7485
 ;;
 
7486
  :H)
 
7487
  #
 
7488
  # CONFIG_HEADER
 
7489
  #
9292
7490
  if test x"$ac_file" != x-; then
9293
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9294
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9295
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
7491
    {
 
7492
      $as_echo "/* $configure_input  */" \
 
7493
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
7494
    } >"$ac_tmp/config.h" \
 
7495
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
7496
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
7497
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
7498
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9296
7499
    else
9297
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9298
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9299
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9300
 
         X"$ac_file" : 'X\(//\)$' \| \
9301
 
         X"$ac_file" : 'X\(/\)' \| \
9302
 
         .     : '\(.\)' 2>/dev/null ||
9303
 
echo X"$ac_file" |
9304
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9305
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9306
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9307
 
          /^X\(\/\).*/{ s//\1/; q; }
9308
 
          s/.*/./; q'`
9309
 
      { if $as_mkdir_p; then
9310
 
    mkdir -p "$ac_dir"
9311
 
  else
9312
 
    as_dir="$ac_dir"
9313
 
    as_dirs=
9314
 
    while test ! -d "$as_dir"; do
9315
 
      as_dirs="$as_dir $as_dirs"
9316
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9317
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9318
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9319
 
         X"$as_dir" : 'X\(//\)$' \| \
9320
 
         X"$as_dir" : 'X\(/\)' \| \
9321
 
         .     : '\(.\)' 2>/dev/null ||
9322
 
echo X"$as_dir" |
9323
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9324
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9325
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9326
 
          /^X\(\/\).*/{ s//\1/; q; }
9327
 
          s/.*/./; q'`
9328
 
    done
9329
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9330
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9331
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9332
 
   { (exit 1); exit 1; }; }; }
9333
 
 
9334
 
      rm -f $ac_file
9335
 
      mv $tmp/config.h $ac_file
 
7500
      rm -f "$ac_file"
 
7501
      mv "$ac_tmp/config.h" "$ac_file" \
 
7502
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9336
7503
    fi
9337
7504
  else
9338
 
    cat $tmp/config.h
9339
 
    rm -f $tmp/config.h
 
7505
    $as_echo "/* $configure_input  */" \
 
7506
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
7507
      || as_fn_error $? "could not create -" "$LINENO" 5
9340
7508
  fi
9341
 
# Compute $ac_file's index in $config_headers.
 
7509
# Compute "$ac_file"'s index in $config_headers.
 
7510
_am_arg="$ac_file"
9342
7511
_am_stamp_count=1
9343
7512
for _am_header in $config_headers :; do
9344
7513
  case $_am_header in
9345
 
    $ac_file | $ac_file:* )
 
7514
    $_am_arg | $_am_arg:* )
9346
7515
      break ;;
9347
7516
    * )
9348
7517
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9349
7518
  esac
9350
7519
done
9351
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9352
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9353
 
         X$ac_file : 'X\(//\)[^/]' \| \
9354
 
         X$ac_file : 'X\(//\)$' \| \
9355
 
         X$ac_file : 'X\(/\)' \| \
9356
 
         .     : '\(.\)' 2>/dev/null ||
9357
 
echo X$ac_file |
9358
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9359
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9360
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9361
 
          /^X\(\/\).*/{ s//\1/; q; }
9362
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
9363
 
done
9364
 
_ACEOF
9365
 
cat >>$CONFIG_STATUS <<\_ACEOF
9366
 
 
9367
 
#
9368
 
# CONFIG_COMMANDS section.
9369
 
#
9370
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9371
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9372
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9373
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9374
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9375
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
9376
 
         X"$ac_dest" : 'X\(//\)$' \| \
9377
 
         X"$ac_dest" : 'X\(/\)' \| \
9378
 
         .     : '\(.\)' 2>/dev/null ||
9379
 
echo X"$ac_dest" |
9380
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9381
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9382
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9383
 
          /^X\(\/\).*/{ s//\1/; q; }
9384
 
          s/.*/./; q'`
9385
 
  { if $as_mkdir_p; then
9386
 
    mkdir -p "$ac_dir"
9387
 
  else
9388
 
    as_dir="$ac_dir"
9389
 
    as_dirs=
9390
 
    while test ! -d "$as_dir"; do
9391
 
      as_dirs="$as_dir $as_dirs"
9392
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9393
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9394
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9395
 
         X"$as_dir" : 'X\(//\)$' \| \
9396
 
         X"$as_dir" : 'X\(/\)' \| \
9397
 
         .     : '\(.\)' 2>/dev/null ||
9398
 
echo X"$as_dir" |
9399
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9400
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9401
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9402
 
          /^X\(\/\).*/{ s//\1/; q; }
9403
 
          s/.*/./; q'`
9404
 
    done
9405
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9406
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9407
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9408
 
   { (exit 1); exit 1; }; }; }
9409
 
 
9410
 
  ac_builddir=.
9411
 
 
9412
 
if test "$ac_dir" != .; then
9413
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9414
 
  # A "../" for each directory in $ac_dir_suffix.
9415
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9416
 
else
9417
 
  ac_dir_suffix= ac_top_builddir=
9418
 
fi
9419
 
 
9420
 
case $srcdir in
9421
 
  .)  # No --srcdir option.  We are building in place.
9422
 
    ac_srcdir=.
9423
 
    if test -z "$ac_top_builddir"; then
9424
 
       ac_top_srcdir=.
9425
 
    else
9426
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9427
 
    fi ;;
9428
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
9429
 
    ac_srcdir=$srcdir$ac_dir_suffix;
9430
 
    ac_top_srcdir=$srcdir ;;
9431
 
  *) # Relative path.
9432
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9433
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9434
 
esac
9435
 
 
9436
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9437
 
# the directories may not exist.
9438
 
case `pwd` in
9439
 
.) ac_abs_builddir="$ac_dir";;
9440
 
*)
9441
 
  case "$ac_dir" in
9442
 
  .) ac_abs_builddir=`pwd`;;
9443
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9444
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9445
 
  esac;;
9446
 
esac
9447
 
case $ac_abs_builddir in
9448
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9449
 
*)
9450
 
  case ${ac_top_builddir}. in
9451
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9452
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9453
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9454
 
  esac;;
9455
 
esac
9456
 
case $ac_abs_builddir in
9457
 
.) ac_abs_srcdir=$ac_srcdir;;
9458
 
*)
9459
 
  case $ac_srcdir in
9460
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9461
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9462
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9463
 
  esac;;
9464
 
esac
9465
 
case $ac_abs_builddir in
9466
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9467
 
*)
9468
 
  case $ac_top_srcdir in
9469
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9470
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9471
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9472
 
  esac;;
9473
 
esac
9474
 
 
9475
 
 
9476
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9477
 
echo "$as_me: executing $ac_dest commands" >&6;}
9478
 
  case $ac_dest in
9479
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9480
 
  # Strip MF so we end up with the name of the file.
9481
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9482
 
  # Check whether this is an Automake generated Makefile or not.
9483
 
  # We used to match only the files named `Makefile.in', but
9484
 
  # some people rename them; so instead we look at the file content.
9485
 
  # Grep'ing the first line is not enough: some people post-process
9486
 
  # each Makefile.in and add a new line on top of each file to say so.
9487
 
  # So let's grep whole file.
9488
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9489
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
7520
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
7521
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7522
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
7523
         X"$_am_arg" : 'X\(//\)$' \| \
 
7524
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
7525
$as_echo X"$_am_arg" |
 
7526
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7527
            s//\1/
 
7528
            q
 
7529
          }
 
7530
          /^X\(\/\/\)[^/].*/{
 
7531
            s//\1/
 
7532
            q
 
7533
          }
 
7534
          /^X\(\/\/\)$/{
 
7535
            s//\1/
 
7536
            q
 
7537
          }
 
7538
          /^X\(\/\).*/{
 
7539
            s//\1/
 
7540
            q
 
7541
          }
 
7542
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
7543
 ;;
 
7544
 
 
7545
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
7546
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
7547
 ;;
 
7548
  esac
 
7549
 
 
7550
 
 
7551
  case $ac_file$ac_mode in
 
7552
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
7553
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
7554
  # are listed without --file.  Let's play safe and only enable the eval
 
7555
  # if we detect the quoting.
 
7556
  case $CONFIG_FILES in
 
7557
  *\'*) eval set x "$CONFIG_FILES" ;;
 
7558
  *)   set x $CONFIG_FILES ;;
 
7559
  esac
 
7560
  shift
 
7561
  for mf
 
7562
  do
 
7563
    # Strip MF so we end up with the name of the file.
 
7564
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
7565
    # Check whether this is an Automake generated Makefile or not.
 
7566
    # We used to match only the files named `Makefile.in', but
 
7567
    # some people rename them; so instead we look at the file content.
 
7568
    # Grep'ing the first line is not enough: some people post-process
 
7569
    # each Makefile.in and add a new line on top of each file to say so.
 
7570
    # Grep'ing the whole file is not good either: AIX grep has a line
 
7571
    # limit of 2048, but all sed's we know have understand at least 4000.
 
7572
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
7573
      dirpart=`$as_dirname -- "$mf" ||
9490
7574
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9491
7575
         X"$mf" : 'X\(//\)[^/]' \| \
9492
7576
         X"$mf" : 'X\(//\)$' \| \
9493
 
         X"$mf" : 'X\(/\)' \| \
9494
 
         .     : '\(.\)' 2>/dev/null ||
9495
 
echo X"$mf" |
9496
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9497
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9498
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9499
 
          /^X\(\/\).*/{ s//\1/; q; }
9500
 
          s/.*/./; q'`
9501
 
  else
9502
 
    continue
9503
 
  fi
9504
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9505
 
  # from the Makefile without running `make'.
9506
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9507
 
  test -z "$DEPDIR" && continue
9508
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9509
 
  test -z "am__include" && continue
9510
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9511
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9512
 
  U=`sed -n 's/^U = //p' < "$mf"`
9513
 
  # Find all dependency output files, they are included files with
9514
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9515
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9516
 
  # expansion.
9517
 
  for file in `sed -n "
9518
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9519
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9520
 
    # Make sure the directory exists.
9521
 
    test -f "$dirpart/$file" && continue
9522
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
7577
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
7578
$as_echo X"$mf" |
 
7579
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7580
            s//\1/
 
7581
            q
 
7582
          }
 
7583
          /^X\(\/\/\)[^/].*/{
 
7584
            s//\1/
 
7585
            q
 
7586
          }
 
7587
          /^X\(\/\/\)$/{
 
7588
            s//\1/
 
7589
            q
 
7590
          }
 
7591
          /^X\(\/\).*/{
 
7592
            s//\1/
 
7593
            q
 
7594
          }
 
7595
          s/.*/./; q'`
 
7596
    else
 
7597
      continue
 
7598
    fi
 
7599
    # Extract the definition of DEPDIR, am__include, and am__quote
 
7600
    # from the Makefile without running `make'.
 
7601
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
7602
    test -z "$DEPDIR" && continue
 
7603
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
7604
    test -z "am__include" && continue
 
7605
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
7606
    # When using ansi2knr, U may be empty or an underscore; expand it
 
7607
    U=`sed -n 's/^U = //p' < "$mf"`
 
7608
    # Find all dependency output files, they are included files with
 
7609
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
7610
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
7611
    # expansion.
 
7612
    for file in `sed -n "
 
7613
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
7614
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
7615
      # Make sure the directory exists.
 
7616
      test -f "$dirpart/$file" && continue
 
7617
      fdir=`$as_dirname -- "$file" ||
9523
7618
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9524
7619
         X"$file" : 'X\(//\)[^/]' \| \
9525
7620
         X"$file" : 'X\(//\)$' \| \
9526
 
         X"$file" : 'X\(/\)' \| \
9527
 
         .     : '\(.\)' 2>/dev/null ||
9528
 
echo X"$file" |
9529
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9530
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9531
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9532
 
          /^X\(\/\).*/{ s//\1/; q; }
9533
 
          s/.*/./; q'`
9534
 
    { if $as_mkdir_p; then
9535
 
    mkdir -p $dirpart/$fdir
9536
 
  else
9537
 
    as_dir=$dirpart/$fdir
9538
 
    as_dirs=
9539
 
    while test ! -d "$as_dir"; do
9540
 
      as_dirs="$as_dir $as_dirs"
9541
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9542
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9543
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9544
 
         X"$as_dir" : 'X\(//\)$' \| \
9545
 
         X"$as_dir" : 'X\(/\)' \| \
9546
 
         .     : '\(.\)' 2>/dev/null ||
9547
 
echo X"$as_dir" |
9548
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9549
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9550
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9551
 
          /^X\(\/\).*/{ s//\1/; q; }
9552
 
          s/.*/./; q'`
 
7621
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
7622
$as_echo X"$file" |
 
7623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7624
            s//\1/
 
7625
            q
 
7626
          }
 
7627
          /^X\(\/\/\)[^/].*/{
 
7628
            s//\1/
 
7629
            q
 
7630
          }
 
7631
          /^X\(\/\/\)$/{
 
7632
            s//\1/
 
7633
            q
 
7634
          }
 
7635
          /^X\(\/\).*/{
 
7636
            s//\1/
 
7637
            q
 
7638
          }
 
7639
          s/.*/./; q'`
 
7640
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
7641
      # echo "creating $dirpart/$file"
 
7642
      echo '# dummy' > "$dirpart/$file"
9553
7643
    done
9554
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9555
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9556
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9557
 
   { (exit 1); exit 1; }; }; }
9558
 
 
9559
 
    # echo "creating $dirpart/$file"
9560
 
    echo '# dummy' > "$dirpart/$file"
9561
7644
  done
9562
 
done
9563
 
 ;;
9564
 
    intltool )
9565
 
 
9566
 
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
9567
 
               -e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
9568
 
               -e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
9569
 
               -e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
9570
 
               -e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
9571
 
               -e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
9572
 
 
9573
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
9574
 
  > intltool-extract.out
9575
 
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
9576
 
  rm -f intltool-extract.out
9577
 
else
9578
 
  mv -f intltool-extract.out intltool-extract
9579
 
fi
9580
 
chmod ugo+x intltool-extract
9581
 
chmod u+w intltool-extract
9582
 
 
9583
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
9584
 
  > intltool-merge.out
9585
 
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
9586
 
  rm -f intltool-merge.out
9587
 
else
9588
 
  mv -f intltool-merge.out intltool-merge
9589
 
fi
9590
 
chmod ugo+x intltool-merge
9591
 
chmod u+w intltool-merge
9592
 
 
9593
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
9594
 
  > intltool-update.out
9595
 
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
9596
 
  rm -f intltool-update.out
9597
 
else
9598
 
  mv -f intltool-update.out intltool-update
9599
 
fi
9600
 
chmod ugo+x intltool-update
9601
 
chmod u+w intltool-update
9602
 
 
9603
 
 ;;
9604
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
7645
}
 
7646
 ;;
 
7647
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9605
7648
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9606
7649
      esac ;;
 
7650
    "po/stamp-it":C)
 
7651
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
7652
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
7653
    fi
 
7654
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
7655
    >"po/stamp-it.tmp"
 
7656
    sed '/^#/d
 
7657
         s/^[[].*] *//
 
7658
         /^[    ]*$/d
 
7659
        '"s|^|  $ac_top_srcdir/|" \
 
7660
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
7661
 
 
7662
    sed '/^POTFILES =/,/[^\\]$/ {
 
7663
                /^POTFILES =/!d
 
7664
                r po/POTFILES
 
7665
          }
 
7666
         ' "po/Makefile.in" >"po/Makefile"
 
7667
    rm -f "po/Makefile.tmp"
 
7668
    mv "po/stamp-it.tmp" "po/stamp-it"
 
7669
   ;;
 
7670
 
9607
7671
  esac
9608
 
done
9609
 
_ACEOF
9610
 
 
9611
 
cat >>$CONFIG_STATUS <<\_ACEOF
9612
 
 
9613
 
{ (exit 0); exit 0; }
9614
 
_ACEOF
9615
 
chmod +x $CONFIG_STATUS
 
7672
done # for ac_tag
 
7673
 
 
7674
 
 
7675
as_fn_exit 0
 
7676
_ACEOF
9616
7677
ac_clean_files=$ac_clean_files_save
9617
7678
 
 
7679
test $ac_write_fail = 0 ||
 
7680
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
7681
 
9618
7682
 
9619
7683
# configure is writing to config.log, and then calls config.status.
9620
7684
# config.status does its own redirection, appending to config.log.
9634
7698
  exec 5>>config.log
9635
7699
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9636
7700
  # would make configure fail if this is the last instruction.
9637
 
  $ac_cs_success || { (exit 1); exit 1; }
 
7701
  $ac_cs_success || as_fn_exit 1
 
7702
fi
 
7703
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
7704
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7705
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9638
7706
fi
9639
7707
 
9640
7708