~ubuntu-branches/ubuntu/trusty/ldm/trusty-proposed

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Vagrant Cascadian
  • Date: 2009-08-21 13:15:50 UTC
  • mto: (3.3.1 upstream) (12.1.1 squeeze) (13.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090821131550-7717t2d1ivpkczh6
Tags: upstream-2.0.44
ImportĀ upstreamĀ versionĀ 2.0.44

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.63 for src/ldm.c gtkgreet/ldmgtkgreeter.c.
 
3
@%:@ Generated by GNU Autoconf 2.64 for src/ldm.c gtkgreet/ldmgtkgreeter.c.
4
4
@%:@ 
5
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
6
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
@%:@ Foundation, Inc.
 
8
@%:@ 
7
9
@%:@ This configure script is free software; the Free Software Foundation
8
10
@%:@ gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in @%:@(
 
26
  *posix*) :
 
27
    set -o posix ;; @%:@(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
31
fi
28
32
 
29
33
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
34
as_nl='
41
35
'
42
36
export as_nl
44
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
48
  as_echo='printf %s\n'
49
49
  as_echo_n='printf %s'
50
50
else
55
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
56
    as_echo_n_body='eval
57
57
      arg=$1;
58
 
      case $arg in
 
58
      case $arg in @%:@(
59
59
      *"$as_nl"*)
60
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
78
  }
79
79
fi
80
80
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
81
 
89
82
# IFS
90
83
# We need space, tab and new line, in precisely that order.  Quoting is
94
87
IFS=" ""        $as_nl"
95
88
 
96
89
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
90
case $0 in @%:@((
98
91
  *[\\/]* ) as_myself=$0 ;;
99
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
93
for as_dir in $PATH
101
94
do
102
95
  IFS=$as_save_IFS
103
96
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
106
99
IFS=$as_save_IFS
107
100
 
108
101
     ;;
114
107
fi
115
108
if test ! -f "$as_myself"; then
116
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
110
  exit 1
118
111
fi
119
112
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
120
done
124
121
PS1='$ '
125
122
PS2='> '
131
128
LANGUAGE=C
132
129
export LANGUAGE
133
130
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
131
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
133
 
173
134
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in @%:@(
 
144
  *posix*) :
 
145
    set -o posix ;; @%:@(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
  
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
175
174
  as_have_required=yes
176
175
else
177
176
  as_have_required=no
178
177
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
  
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
184
do
243
185
  IFS=$as_save_IFS
244
186
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
187
  as_found=:
 
188
  case $as_dir in @%:@(
246
189
         /*)
247
190
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
249
200
           done;;
250
201
       esac
 
202
  as_found=false
251
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
252
208
IFS=$as_save_IFS
253
209
 
254
210
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
        export CONFIG_SHELL
366
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
220
fi
368
221
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
    
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
228
  else
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
@%:@ as_fn_unset VAR
 
248
@%:@ ---------------
 
249
@%:@ Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
@%:@ as_fn_set_status STATUS
 
257
@%:@ -----------------------
 
258
@%:@ Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} @%:@ as_fn_set_status
 
263
 
 
264
@%:@ as_fn_exit STATUS
 
265
@%:@ -----------------
 
266
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} @%:@ as_fn_exit
 
273
 
 
274
@%:@ as_fn_mkdir_p
 
275
@%:@ -------------
 
276
@%:@ Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} @%:@ as_fn_mkdir_p
 
321
@%:@ as_fn_append VAR VALUE
 
322
@%:@ ----------------------
 
323
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
325
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
326
@%:@ implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
@%:@ as_fn_arith ARG...
 
340
@%:@ ------------------
 
341
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
@%:@ must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
358
@%:@ ---------------------------------
 
359
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
@%:@ script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} @%:@ as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
375
  as_expr=expr
 
376
else
 
377
  as_expr=false
 
378
fi
 
379
 
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
381
  as_basename=basename
 
382
else
 
383
  as_basename=false
 
384
fi
 
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
 
391
 
 
392
as_me=`$as_basename -- "$0" ||
 
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
394
         X"$0" : 'X\(//\)$' \| \
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
 
411
# Avoid depending upon Character Ranges.
 
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
415
as_cr_digits='0123456789'
 
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
424
  sed -n '
459
425
    p
460
426
    /[$]LINENO/=
471
437
      s/-\n.*//
472
438
    ' >$as_me.lineno &&
473
439
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
441
 
477
442
  # Don't try to exec as it changes $[0], causing all sort of problems
478
443
  # (the dirname of $[0] is not the place where we might find the
482
447
  exit
483
448
}
484
449
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
450
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
451
case `echo -n x` in @%:@(((((
494
452
-n*)
495
 
  case `echo 'x\c'` in
 
453
  case `echo 'xy\c'` in
496
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
498
458
  esac;;
499
459
*)
500
460
  ECHO_N='-n';;
501
461
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
462
 
509
463
rm -f conf$$ conf$$.exe conf$$.file
510
464
if test -d conf$$.dir; then
534
488
rmdir conf$$.dir 2>/dev/null
535
489
 
536
490
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
538
492
else
539
493
  test -d ./-p && rmdir ./-p
540
494
  as_mkdir_p=false
553
507
      if test -d "$1"; then
554
508
        test -d "$1/.";
555
509
      else
556
 
        case $1 in
 
510
        case $1 in @%:@(
557
511
        -*)set "./$1";;
558
512
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
560
514
        ???[sx]*):;;*)false;;esac;fi
561
515
    '\'' sh
562
516
  '
570
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
525
 
572
526
 
573
 
 
574
527
exec 7<&0 </dev/null 6>&1
575
528
 
576
529
# Name of the host.
589
542
subdirs=
590
543
MFLAGS=
591
544
MAKEFLAGS=
592
 
SHELL=${CONFIG_SHELL-/bin/sh}
593
545
 
594
546
# Identity of this package.
595
547
PACKAGE_NAME='src/ldm.c'
597
549
PACKAGE_VERSION='gtkgreet/ldmgtkgreeter.c'
598
550
PACKAGE_STRING='src/ldm.c gtkgreet/ldmgtkgreeter.c'
599
551
PACKAGE_BUGREPORT=''
 
552
PACKAGE_URL=''
600
553
 
601
554
# Factoring default headers for most tests.
602
555
ac_includes_default="\
634
587
# include <unistd.h>
635
588
#endif"
636
589
 
637
 
ac_subst_vars='LTLIBOBJS
 
590
ac_subst_vars='am__EXEEXT_FALSE
 
591
am__EXEEXT_TRUE
 
592
LTLIBOBJS
638
593
LIB@&t@OBJS
639
594
GETTEXT_PACKAGE
640
595
MKINSTALLDIRS
760
715
program_transform_name
761
716
prefix
762
717
exec_prefix
 
718
PACKAGE_URL
763
719
PACKAGE_BUGREPORT
764
720
PACKAGE_STRING
765
721
PACKAGE_VERSION
898
854
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899
855
    # Reject names that are not valid shell variable names.
900
856
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
902
 
   { (exit 1); exit 1; }; }
 
857
      as_fn_error "invalid feature name: $ac_useropt"
903
858
    ac_useropt_orig=$ac_useropt
904
859
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905
860
    case $ac_user_opts in
925
880
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926
881
    # Reject names that are not valid shell variable names.
927
882
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
929
 
   { (exit 1); exit 1; }; }
 
883
      as_fn_error "invalid feature name: $ac_useropt"
930
884
    ac_useropt_orig=$ac_useropt
931
885
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932
886
    case $ac_user_opts in
1130
1084
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131
1085
    # Reject names that are not valid shell variable names.
1132
1086
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1134
 
   { (exit 1); exit 1; }; }
 
1087
      as_fn_error "invalid package name: $ac_useropt"
1135
1088
    ac_useropt_orig=$ac_useropt
1136
1089
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137
1090
    case $ac_user_opts in
1147
1100
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148
1101
    # Reject names that are not valid shell variable names.
1149
1102
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1151
 
   { (exit 1); exit 1; }; }
 
1103
      as_fn_error "invalid package name: $ac_useropt"
1152
1104
    ac_useropt_orig=$ac_useropt
1153
1105
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154
1106
    case $ac_user_opts in
1178
1130
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1179
1131
    x_libraries=$ac_optarg ;;
1180
1132
 
1181
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1182
 
Try \`$0 --help' for more information." >&2
1183
 
   { (exit 1); exit 1; }; }
 
1133
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1134
Try \`$0 --help' for more information."
1184
1135
    ;;
1185
1136
 
1186
1137
  *=*)
1187
1138
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1188
1139
    # Reject names that are not valid shell variable names.
1189
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1190
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1191
 
   { (exit 1); exit 1; }; }
 
1140
    case $ac_envvar in #(
 
1141
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1142
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1143
    esac
1192
1144
    eval $ac_envvar=\$ac_optarg
1193
1145
    export $ac_envvar ;;
1194
1146
 
1205
1157
 
1206
1158
if test -n "$ac_prev"; then
1207
1159
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1208
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1209
 
   { (exit 1); exit 1; }; }
 
1160
  as_fn_error "missing argument to $ac_option"
1210
1161
fi
1211
1162
 
1212
1163
if test -n "$ac_unrecognized_opts"; then
1213
1164
  case $enable_option_checking in
1214
1165
    no) ;;
1215
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1216
 
   { (exit 1); exit 1; }; } ;;
 
1166
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1217
1167
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218
1168
  esac
1219
1169
fi
1236
1186
    [\\/$]* | ?:[\\/]* )  continue;;
1237
1187
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1238
1188
  esac
1239
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1240
 
   { (exit 1); exit 1; }; }
 
1189
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1241
1190
done
1242
1191
 
1243
1192
# There might be people who depend on the old broken behavior: `$host'
1267
1216
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268
1217
ac_ls_di=`ls -di .` &&
1269
1218
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1271
 
   { (exit 1); exit 1; }; }
 
1219
  as_fn_error "working directory cannot be determined"
1272
1220
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1274
 
   { (exit 1); exit 1; }; }
 
1221
  as_fn_error "pwd does not report name of working directory"
1275
1222
 
1276
1223
 
1277
1224
# Find the source files, if location was not specified.
1310
1257
fi
1311
1258
if test ! -r "$srcdir/$ac_unique_file"; then
1312
1259
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1313
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1314
 
   { (exit 1); exit 1; }; }
 
1260
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1315
1261
fi
1316
1262
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1317
1263
ac_abs_confdir=`(
1318
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1319
 
   { (exit 1); exit 1; }; }
 
1264
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1320
1265
        pwd)`
1321
1266
# When building in place, set srcdir=.
1322
1267
if test "$ac_abs_confdir" = "$ac_pwd"; then
1444
1389
Use these variables to override the choices made by `configure' or to help
1445
1390
it to find libraries and programs with nonstandard names/locations.
1446
1391
 
 
1392
Report bugs to the package provider.
1447
1393
_ACEOF
1448
1394
ac_status=$?
1449
1395
fi
1507
1453
if $ac_init_version; then
1508
1454
  cat <<\_ACEOF
1509
1455
src/ldm.c configure gtkgreet/ldmgtkgreeter.c
1510
 
generated by GNU Autoconf 2.63
 
1456
generated by GNU Autoconf 2.64
1511
1457
 
1512
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1513
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1458
Copyright (C) 2009 Free Software Foundation, Inc.
1514
1459
This configure script is free software; the Free Software Foundation
1515
1460
gives unlimited permission to copy, distribute and modify it.
1516
1461
_ACEOF
1517
1462
  exit
1518
1463
fi
 
1464
 
 
1465
## ------------------------ ##
 
1466
## Autoconf initialization. ##
 
1467
## ------------------------ ##
 
1468
 
 
1469
@%:@ ac_fn_c_try_compile LINENO
 
1470
@%:@ --------------------------
 
1471
@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1472
ac_fn_c_try_compile ()
 
1473
{
 
1474
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1475
  rm -f conftest.$ac_objext
 
1476
  if { { ac_try="$ac_compile"
 
1477
case "(($ac_try" in
 
1478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1479
  *) ac_try_echo=$ac_try;;
 
1480
esac
 
1481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1482
$as_echo "$ac_try_echo"; } >&5
 
1483
  (eval "$ac_compile") 2>conftest.err
 
1484
  ac_status=$?
 
1485
  if test -s conftest.err; then
 
1486
    grep -v '^ *+' conftest.err >conftest.er1
 
1487
    cat conftest.er1 >&5
 
1488
    mv -f conftest.er1 conftest.err
 
1489
  fi
 
1490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1491
  test $ac_status = 0; } && {
 
1492
         test -z "$ac_c_werror_flag" ||
 
1493
         test ! -s conftest.err
 
1494
       } && test -s conftest.$ac_objext; then :
 
1495
  ac_retval=0
 
1496
else
 
1497
  $as_echo "$as_me: failed program was:" >&5
 
1498
sed 's/^/| /' conftest.$ac_ext >&5
 
1499
 
 
1500
        ac_retval=1
 
1501
fi
 
1502
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1503
  return $ac_retval
 
1504
 
 
1505
} @%:@ ac_fn_c_try_compile
 
1506
 
 
1507
@%:@ ac_fn_c_try_cpp LINENO
 
1508
@%:@ ----------------------
 
1509
@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1510
ac_fn_c_try_cpp ()
 
1511
{
 
1512
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1513
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1514
case "(($ac_try" in
 
1515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1516
  *) ac_try_echo=$ac_try;;
 
1517
esac
 
1518
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1519
$as_echo "$ac_try_echo"; } >&5
 
1520
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1521
  ac_status=$?
 
1522
  if test -s conftest.err; then
 
1523
    grep -v '^ *+' conftest.err >conftest.er1
 
1524
    cat conftest.er1 >&5
 
1525
    mv -f conftest.er1 conftest.err
 
1526
  fi
 
1527
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1528
  test $ac_status = 0; } >/dev/null && {
 
1529
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1530
         test ! -s conftest.err
 
1531
       }; then :
 
1532
  ac_retval=0
 
1533
else
 
1534
  $as_echo "$as_me: failed program was:" >&5
 
1535
sed 's/^/| /' conftest.$ac_ext >&5
 
1536
 
 
1537
    ac_retval=1
 
1538
fi
 
1539
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1540
  return $ac_retval
 
1541
 
 
1542
} @%:@ ac_fn_c_try_cpp
 
1543
 
 
1544
@%:@ ac_fn_c_try_run LINENO
 
1545
@%:@ ----------------------
 
1546
@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1547
@%:@ that executables *can* be run.
 
1548
ac_fn_c_try_run ()
 
1549
{
 
1550
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1551
  if { { ac_try="$ac_link"
 
1552
case "(($ac_try" in
 
1553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1554
  *) ac_try_echo=$ac_try;;
 
1555
esac
 
1556
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1557
$as_echo "$ac_try_echo"; } >&5
 
1558
  (eval "$ac_link") 2>&5
 
1559
  ac_status=$?
 
1560
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1561
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1562
  { { case "(($ac_try" in
 
1563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1564
  *) ac_try_echo=$ac_try;;
 
1565
esac
 
1566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1567
$as_echo "$ac_try_echo"; } >&5
 
1568
  (eval "$ac_try") 2>&5
 
1569
  ac_status=$?
 
1570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1571
  test $ac_status = 0; }; }; then :
 
1572
  ac_retval=0
 
1573
else
 
1574
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1575
       $as_echo "$as_me: failed program was:" >&5
 
1576
sed 's/^/| /' conftest.$ac_ext >&5
 
1577
 
 
1578
       ac_retval=$ac_status
 
1579
fi
 
1580
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1581
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1582
  return $ac_retval
 
1583
 
 
1584
} @%:@ ac_fn_c_try_run
 
1585
 
 
1586
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1587
@%:@ -------------------------------------------------------
 
1588
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1589
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
1590
@%:@ accordingly.
 
1591
ac_fn_c_check_header_mongrel ()
 
1592
{
 
1593
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1594
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1595
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1596
$as_echo_n "checking for $2... " >&6; }
 
1597
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1598
  $as_echo_n "(cached) " >&6
 
1599
fi
 
1600
eval ac_res=\$$3
 
1601
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1602
$as_echo "$ac_res" >&6; }
 
1603
else
 
1604
  # Is the header compilable?
 
1605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1606
$as_echo_n "checking $2 usability... " >&6; }
 
1607
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1608
/* end confdefs.h.  */
 
1609
$4
 
1610
@%:@include <$2>
 
1611
_ACEOF
 
1612
if ac_fn_c_try_compile "$LINENO"; then :
 
1613
  ac_header_compiler=yes
 
1614
else
 
1615
  ac_header_compiler=no
 
1616
fi
 
1617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1619
$as_echo "$ac_header_compiler" >&6; }
 
1620
 
 
1621
# Is the header present?
 
1622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1623
$as_echo_n "checking $2 presence... " >&6; }
 
1624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1625
/* end confdefs.h.  */
 
1626
@%:@include <$2>
 
1627
_ACEOF
 
1628
if ac_fn_c_try_cpp "$LINENO"; then :
 
1629
  ac_header_preproc=yes
 
1630
else
 
1631
  ac_header_preproc=no
 
1632
fi
 
1633
rm -f conftest.err conftest.$ac_ext
 
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1635
$as_echo "$ac_header_preproc" >&6; }
 
1636
 
 
1637
# So?  What about this header?
 
1638
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1639
  yes:no: )
 
1640
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1641
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1642
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1643
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1644
    ;;
 
1645
  no:yes:* )
 
1646
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1647
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1648
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1649
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1650
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1651
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1652
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1653
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1654
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1655
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1656
    ;;
 
1657
esac
 
1658
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1659
$as_echo_n "checking for $2... " >&6; }
 
1660
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1661
  $as_echo_n "(cached) " >&6
 
1662
else
 
1663
  eval "$3=\$ac_header_compiler"
 
1664
fi
 
1665
eval ac_res=\$$3
 
1666
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1667
$as_echo "$ac_res" >&6; }
 
1668
fi
 
1669
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1670
 
 
1671
} @%:@ ac_fn_c_check_header_mongrel
 
1672
 
 
1673
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1674
@%:@ -------------------------------------------------------
 
1675
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1676
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1677
ac_fn_c_check_header_compile ()
 
1678
{
 
1679
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1680
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1681
$as_echo_n "checking for $2... " >&6; }
 
1682
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1683
  $as_echo_n "(cached) " >&6
 
1684
else
 
1685
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1686
/* end confdefs.h.  */
 
1687
$4
 
1688
@%:@include <$2>
 
1689
_ACEOF
 
1690
if ac_fn_c_try_compile "$LINENO"; then :
 
1691
  eval "$3=yes"
 
1692
else
 
1693
  eval "$3=no"
 
1694
fi
 
1695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1696
fi
 
1697
eval ac_res=\$$3
 
1698
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1699
$as_echo "$ac_res" >&6; }
 
1700
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1701
 
 
1702
} @%:@ ac_fn_c_check_header_compile
 
1703
 
 
1704
@%:@ ac_fn_c_try_link LINENO
 
1705
@%:@ -----------------------
 
1706
@%:@ Try to link conftest.$ac_ext, and return whether this succeeded.
 
1707
ac_fn_c_try_link ()
 
1708
{
 
1709
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1710
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1711
  if { { ac_try="$ac_link"
 
1712
case "(($ac_try" in
 
1713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1714
  *) ac_try_echo=$ac_try;;
 
1715
esac
 
1716
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1717
$as_echo "$ac_try_echo"; } >&5
 
1718
  (eval "$ac_link") 2>conftest.err
 
1719
  ac_status=$?
 
1720
  if test -s conftest.err; then
 
1721
    grep -v '^ *+' conftest.err >conftest.er1
 
1722
    cat conftest.er1 >&5
 
1723
    mv -f conftest.er1 conftest.err
 
1724
  fi
 
1725
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1726
  test $ac_status = 0; } && {
 
1727
         test -z "$ac_c_werror_flag" ||
 
1728
         test ! -s conftest.err
 
1729
       } && test -s conftest$ac_exeext && {
 
1730
         test "$cross_compiling" = yes ||
 
1731
         $as_test_x conftest$ac_exeext
 
1732
       }; then :
 
1733
  ac_retval=0
 
1734
else
 
1735
  $as_echo "$as_me: failed program was:" >&5
 
1736
sed 's/^/| /' conftest.$ac_ext >&5
 
1737
 
 
1738
        ac_retval=1
 
1739
fi
 
1740
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1741
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1742
  # interfere with the next link command; also delete a directory that is
 
1743
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1744
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1745
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1746
  return $ac_retval
 
1747
 
 
1748
} @%:@ ac_fn_c_try_link
 
1749
 
 
1750
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
1751
@%:@ ----------------------------------
 
1752
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1753
ac_fn_c_check_func ()
 
1754
{
 
1755
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1756
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1757
$as_echo_n "checking for $2... " >&6; }
 
1758
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1759
  $as_echo_n "(cached) " >&6
 
1760
else
 
1761
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1762
/* end confdefs.h.  */
 
1763
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1764
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1765
#define $2 innocuous_$2
 
1766
 
 
1767
/* System header to define __stub macros and hopefully few prototypes,
 
1768
    which can conflict with char $2 (); below.
 
1769
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1770
    <limits.h> exists even on freestanding compilers.  */
 
1771
 
 
1772
#ifdef __STDC__
 
1773
# include <limits.h>
 
1774
#else
 
1775
# include <assert.h>
 
1776
#endif
 
1777
 
 
1778
#undef $2
 
1779
 
 
1780
/* Override any GCC internal prototype to avoid an error.
 
1781
   Use char because int might match the return type of a GCC
 
1782
   builtin and then its argument prototype would still apply.  */
 
1783
#ifdef __cplusplus
 
1784
extern "C"
 
1785
#endif
 
1786
char $2 ();
 
1787
/* The GNU C library defines this for functions which it implements
 
1788
    to always fail with ENOSYS.  Some functions are actually named
 
1789
    something starting with __ and the normal name is an alias.  */
 
1790
#if defined __stub_$2 || defined __stub___$2
 
1791
choke me
 
1792
#endif
 
1793
 
 
1794
int
 
1795
main ()
 
1796
{
 
1797
return $2 ();
 
1798
  ;
 
1799
  return 0;
 
1800
}
 
1801
_ACEOF
 
1802
if ac_fn_c_try_link "$LINENO"; then :
 
1803
  eval "$3=yes"
 
1804
else
 
1805
  eval "$3=no"
 
1806
fi
 
1807
rm -f core conftest.err conftest.$ac_objext \
 
1808
    conftest$ac_exeext conftest.$ac_ext
 
1809
fi
 
1810
eval ac_res=\$$3
 
1811
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1812
$as_echo "$ac_res" >&6; }
 
1813
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1814
 
 
1815
} @%:@ ac_fn_c_check_func
1519
1816
cat >config.log <<_ACEOF
1520
1817
This file contains any messages produced by compilers while
1521
1818
running configure, to aid debugging if configure makes a mistake.
1522
1819
 
1523
1820
It was created by src/ldm.c $as_me gtkgreet/ldmgtkgreeter.c, which was
1524
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1821
generated by GNU Autoconf 2.64.  Invocation command line was
1525
1822
 
1526
1823
  $ $0 $@
1527
1824
 
1529
1826
exec 5>>config.log
1530
1827
{
1531
1828
cat <<_ASUNAME
1532
 
@%:@@%:@ --------- @%:@@%:@
1533
 
@%:@@%:@ Platform. @%:@@%:@
1534
 
@%:@@%:@ --------- @%:@@%:@
 
1829
## --------- ##
 
1830
## Platform. ##
 
1831
## --------- ##
1535
1832
 
1536
1833
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1537
1834
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1557
1854
do
1558
1855
  IFS=$as_save_IFS
1559
1856
  test -z "$as_dir" && as_dir=.
1560
 
  $as_echo "PATH: $as_dir"
1561
 
done
 
1857
    $as_echo "PATH: $as_dir"
 
1858
  done
1562
1859
IFS=$as_save_IFS
1563
1860
 
1564
1861
} >&5
1566
1863
cat >&5 <<_ACEOF
1567
1864
 
1568
1865
 
1569
 
@%:@@%:@ ----------- @%:@@%:@
1570
 
@%:@@%:@ Core tests. @%:@@%:@
1571
 
@%:@@%:@ ----------- @%:@@%:@
 
1866
## ----------- ##
 
1867
## Core tests. ##
 
1868
## ----------- ##
1572
1869
 
1573
1870
_ACEOF
1574
1871
 
1595
1892
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596
1893
    esac
1597
1894
    case $ac_pass in
1598
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1895
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1599
1896
    2)
1600
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1897
      as_fn_append ac_configure_args1 " '$ac_arg'"
1601
1898
      if test $ac_must_keep_next = true; then
1602
1899
        ac_must_keep_next=false # Got value, back to normal.
1603
1900
      else
1613
1910
          -* ) ac_must_keep_next=true ;;
1614
1911
        esac
1615
1912
      fi
1616
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1913
      as_fn_append ac_configure_args " '$ac_arg'"
1617
1914
      ;;
1618
1915
    esac
1619
1916
  done
1620
1917
done
1621
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1622
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1918
{ ac_configure_args0=; unset ac_configure_args0;}
 
1919
{ ac_configure_args1=; unset ac_configure_args1;}
1623
1920
 
1624
1921
# When interrupted or exit'd, cleanup temporary files, and complete
1625
1922
# config.log.  We remove comments because anyway the quotes in there
1632
1929
    echo
1633
1930
 
1634
1931
    cat <<\_ASBOX
1635
 
@%:@@%:@ ---------------- @%:@@%:@
1636
 
@%:@@%:@ Cache variables. @%:@@%:@
1637
 
@%:@@%:@ ---------------- @%:@@%:@
 
1932
## ---------------- ##
 
1933
## Cache variables. ##
 
1934
## ---------------- ##
1638
1935
_ASBOX
1639
1936
    echo
1640
1937
    # The following way of writing the cache mishandles newlines in values,
1644
1941
    case $ac_val in #(
1645
1942
    *${as_nl}*)
1646
1943
      case $ac_var in #(
1647
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1944
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1648
1945
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1649
1946
      esac
1650
1947
      case $ac_var in #(
1651
1948
      _ | IFS | as_nl) ;; #(
1652
1949
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1653
 
      *) $as_unset $ac_var ;;
 
1950
      *) { eval $ac_var=; unset $ac_var;} ;;
1654
1951
      esac ;;
1655
1952
    esac
1656
1953
  done
1670
1967
    echo
1671
1968
 
1672
1969
    cat <<\_ASBOX
1673
 
@%:@@%:@ ----------------- @%:@@%:@
1674
 
@%:@@%:@ Output variables. @%:@@%:@
1675
 
@%:@@%:@ ----------------- @%:@@%:@
 
1970
## ----------------- ##
 
1971
## Output variables. ##
 
1972
## ----------------- ##
1676
1973
_ASBOX
1677
1974
    echo
1678
1975
    for ac_var in $ac_subst_vars
1687
1984
 
1688
1985
    if test -n "$ac_subst_files"; then
1689
1986
      cat <<\_ASBOX
1690
 
@%:@@%:@ ------------------- @%:@@%:@
1691
 
@%:@@%:@ File substitutions. @%:@@%:@
1692
 
@%:@@%:@ ------------------- @%:@@%:@
 
1987
## ------------------- ##
 
1988
## File substitutions. ##
 
1989
## ------------------- ##
1693
1990
_ASBOX
1694
1991
      echo
1695
1992
      for ac_var in $ac_subst_files
1705
2002
 
1706
2003
    if test -s confdefs.h; then
1707
2004
      cat <<\_ASBOX
1708
 
@%:@@%:@ ----------- @%:@@%:@
1709
 
@%:@@%:@ confdefs.h. @%:@@%:@
1710
 
@%:@@%:@ ----------- @%:@@%:@
 
2005
## ----------- ##
 
2006
## confdefs.h. ##
 
2007
## ----------- ##
1711
2008
_ASBOX
1712
2009
      echo
1713
2010
      cat confdefs.h
1722
2019
    exit $exit_status
1723
2020
' 0
1724
2021
for ac_signal in 1 2 13 15; do
1725
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2022
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1726
2023
done
1727
2024
ac_signal=0
1728
2025
 
1729
2026
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1730
2027
rm -f -r conftest* confdefs.h
1731
2028
 
 
2029
$as_echo "/* confdefs.h */" > confdefs.h
 
2030
 
1732
2031
# Predefined preprocessor variables.
1733
2032
 
1734
2033
cat >>confdefs.h <<_ACEOF
1735
2034
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1736
2035
_ACEOF
1737
2036
 
1738
 
 
1739
2037
cat >>confdefs.h <<_ACEOF
1740
2038
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1741
2039
_ACEOF
1742
2040
 
1743
 
 
1744
2041
cat >>confdefs.h <<_ACEOF
1745
2042
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1746
2043
_ACEOF
1747
2044
 
1748
 
 
1749
2045
cat >>confdefs.h <<_ACEOF
1750
2046
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1751
2047
_ACEOF
1752
2048
 
1753
 
 
1754
2049
cat >>confdefs.h <<_ACEOF
1755
2050
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1756
2051
_ACEOF
1757
2052
 
 
2053
cat >>confdefs.h <<_ACEOF
 
2054
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2055
_ACEOF
 
2056
 
1758
2057
 
1759
2058
# Let the site file select an alternate cache file if it wants to.
1760
2059
# Prefer an explicitly selected file to automatically selected ones.
1773
2072
do
1774
2073
  test "x$ac_site_file" = xNONE && continue
1775
2074
  if test -r "$ac_site_file"; then
1776
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2075
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1777
2076
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1778
2077
    sed 's/^/| /' "$ac_site_file" >&5
1779
2078
    . "$ac_site_file"
1784
2083
  # Some versions of bash will fail to source /dev/null (special
1785
2084
  # files actually), so we avoid doing that.
1786
2085
  if test -f "$cache_file"; then
1787
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2086
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1788
2087
$as_echo "$as_me: loading cache $cache_file" >&6;}
1789
2088
    case $cache_file in
1790
2089
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1792
2091
    esac
1793
2092
  fi
1794
2093
else
1795
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2094
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1796
2095
$as_echo "$as_me: creating cache $cache_file" >&6;}
1797
2096
  >$cache_file
1798
2097
fi
1807
2106
  eval ac_new_val=\$ac_env_${ac_var}_value
1808
2107
  case $ac_old_set,$ac_new_set in
1809
2108
    set,)
1810
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2109
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1811
2110
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1812
2111
      ac_cache_corrupted=: ;;
1813
2112
    ,set)
1814
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2113
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1815
2114
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1816
2115
      ac_cache_corrupted=: ;;
1817
2116
    ,);;
1821
2120
        ac_old_val_w=`echo x $ac_old_val`
1822
2121
        ac_new_val_w=`echo x $ac_new_val`
1823
2122
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1824
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2123
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1825
2124
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1826
2125
          ac_cache_corrupted=:
1827
2126
        else
1828
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2127
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1829
2128
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1830
2129
          eval $ac_var=\$ac_old_val
1831
2130
        fi
1832
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2131
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1833
2132
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1834
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2133
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1835
2134
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1836
2135
      fi;;
1837
2136
  esac
1843
2142
    esac
1844
2143
    case " $ac_configure_args " in
1845
2144
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1846
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2145
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1847
2146
    esac
1848
2147
  fi
1849
2148
done
1850
2149
if $ac_cache_corrupted; then
1851
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2150
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1852
2151
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1853
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2152
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1854
2153
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1855
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1856
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1857
 
   { (exit 1); exit 1; }; }
 
2154
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1858
2155
fi
1859
 
 
1860
 
 
1861
 
 
1862
 
 
1863
 
 
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
1875
 
 
1876
 
 
1877
 
 
1878
 
 
1879
 
 
1880
 
 
1881
 
 
1882
 
 
 
2156
## -------------------- ##
 
2157
## Main body of script. ##
 
2158
## -------------------- ##
1883
2159
 
1884
2160
ac_ext=c
1885
2161
ac_cpp='$CPP $CPPFLAGS'
1892
2168
 
1893
2169
 
1894
2170
PACKAGE=ldm
1895
 
VERSION=2.0.42
 
2171
VERSION=2.0.44
1896
2172
AUTHOR=sbalneav@ltsp.org
1897
2173
 
1898
 
am__api_version='1.10'
 
2174
am__api_version='1.11'
1899
2175
 
1900
2176
ac_aux_dir=
1901
2177
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1902
 
  if test -f "$ac_dir/install-sh"; then
1903
 
    ac_aux_dir=$ac_dir
1904
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1905
 
    break
1906
 
  elif test -f "$ac_dir/install.sh"; then
1907
 
    ac_aux_dir=$ac_dir
1908
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1909
 
    break
1910
 
  elif test -f "$ac_dir/shtool"; then
1911
 
    ac_aux_dir=$ac_dir
1912
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1913
 
    break
1914
 
  fi
 
2178
  for ac_t in install-sh install.sh shtool; do
 
2179
    if test -f "$ac_dir/$ac_t"; then
 
2180
      ac_aux_dir=$ac_dir
 
2181
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2182
      break 2
 
2183
    fi
 
2184
  done
1915
2185
done
1916
2186
if test -z "$ac_aux_dir"; then
1917
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1918
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1919
 
   { (exit 1); exit 1; }; }
 
2187
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1920
2188
fi
1921
2189
 
1922
2190
# These three variables are undocumented and unsupported,
1942
2210
# OS/2's system install, which has a completely different semantic
1943
2211
# ./install, which can be erroneously created by make from ./install.sh.
1944
2212
# Reject install programs that cannot install multiple files.
1945
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1946
2214
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1947
2215
if test -z "$INSTALL"; then
1948
 
if test "${ac_cv_path_install+set}" = set; then
 
2216
if test "${ac_cv_path_install+set}" = set; then :
1949
2217
  $as_echo_n "(cached) " >&6
1950
2218
else
1951
2219
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953
2221
do
1954
2222
  IFS=$as_save_IFS
1955
2223
  test -z "$as_dir" && as_dir=.
1956
 
  # Account for people who put trailing slashes in PATH elements.
1957
 
case $as_dir/ in
1958
 
  ./ | .// | /cC/* | \
 
2224
    # Account for people who put trailing slashes in PATH elements.
 
2225
case $as_dir/ in @%:@((
 
2226
  ./ | .// | /[cC]/* | \
1959
2227
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1960
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2228
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1961
2229
  /usr/ucb/* ) ;;
1962
2230
  *)
1963
2231
    # OSF1 and SCO ODT 3.0 have their own names for install.
1994
2262
    ;;
1995
2263
esac
1996
2264
 
1997
 
done
 
2265
  done
1998
2266
IFS=$as_save_IFS
1999
2267
 
2000
2268
rm -rf conftest.one conftest.two conftest.dir
2010
2278
    INSTALL=$ac_install_sh
2011
2279
  fi
2012
2280
fi
2013
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2014
2282
$as_echo "$INSTALL" >&6; }
2015
2283
 
2016
2284
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2021
2289
 
2022
2290
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2023
2291
 
2024
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2025
2293
$as_echo_n "checking whether build environment is sane... " >&6; }
2026
2294
# Just in case
2027
2295
sleep 1
2028
2296
echo timestamp > conftest.file
 
2297
# Reject unsafe characters in $srcdir or the absolute working directory
 
2298
# name.  Accept space and tab only in the latter.
 
2299
am_lf='
 
2300
'
 
2301
case `pwd` in
 
2302
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2303
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2304
esac
 
2305
case $srcdir in
 
2306
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2307
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2308
esac
 
2309
 
2029
2310
# Do `set' in a subshell so we don't clobber the current shell's
2030
2311
# arguments.  Must try -L first in case configure is actually a
2031
2312
# symlink; some systems play weird games with the mod time of symlinks
2032
2313
# (eg FreeBSD returns the mod time of the symlink's containing
2033
2314
# directory).
2034
2315
if (
2035
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2316
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2036
2317
   if test "$*" = "X"; then
2037
2318
      # -L didn't work.
2038
 
      set X `ls -t $srcdir/configure conftest.file`
 
2319
      set X `ls -t "$srcdir/configure" conftest.file`
2039
2320
   fi
2040
2321
   rm -f conftest.file
2041
2322
   if test "$*" != "X $srcdir/configure conftest.file" \
2045
2326
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2046
2327
      # broken ls alias from the environment.  This has actually
2047
2328
      # happened.  Such a system could not be considered "sane".
2048
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2049
 
alias in your environment" >&5
2050
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2051
 
alias in your environment" >&2;}
2052
 
   { (exit 1); exit 1; }; }
 
2329
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2330
alias in your environment" "$LINENO" 5
2053
2331
   fi
2054
2332
 
2055
2333
   test "$2" = conftest.file
2058
2336
   # Ok.
2059
2337
   :
2060
2338
else
2061
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2062
 
Check your system clock" >&5
2063
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2064
 
Check your system clock" >&2;}
2065
 
   { (exit 1); exit 1; }; }
 
2339
   as_fn_error "newly created file is older than distributed files!
 
2340
Check your system clock" "$LINENO" 5
2066
2341
fi
2067
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2068
2343
$as_echo "yes" >&6; }
2069
2344
test "$program_prefix" != NONE &&
2070
2345
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2079
2354
# expand $ac_aux_dir to an absolute path
2080
2355
am_aux_dir=`cd $ac_aux_dir && pwd`
2081
2356
 
2082
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2357
if test x"${MISSING+set}" != xset; then
 
2358
  case $am_aux_dir in
 
2359
  *\ * | *\     *)
 
2360
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2361
  *)
 
2362
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2363
  esac
 
2364
fi
2083
2365
# Use eval to expand $SHELL
2084
2366
if eval "$MISSING --run true"; then
2085
2367
  am_missing_run="$MISSING --run "
2086
2368
else
2087
2369
  am_missing_run=
2088
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2370
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2089
2371
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2090
2372
fi
2091
2373
 
2092
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2374
if test x"${install_sh}" != xset; then
 
2375
  case $am_aux_dir in
 
2376
  *\ * | *\     *)
 
2377
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2378
  *)
 
2379
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2380
  esac
 
2381
fi
 
2382
 
 
2383
# Installed binaries are usually stripped using `strip' when the user
 
2384
# run `make install-strip'.  However `strip' might not be the right
 
2385
# tool to use in cross-compilation environments, therefore Automake
 
2386
# will honor the `STRIP' environment variable to overrule this program.
 
2387
if test "$cross_compiling" != no; then
 
2388
  if test -n "$ac_tool_prefix"; then
 
2389
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2390
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2392
$as_echo_n "checking for $ac_word... " >&6; }
 
2393
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2394
  $as_echo_n "(cached) " >&6
 
2395
else
 
2396
  if test -n "$STRIP"; then
 
2397
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2398
else
 
2399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2400
for as_dir in $PATH
 
2401
do
 
2402
  IFS=$as_save_IFS
 
2403
  test -z "$as_dir" && as_dir=.
 
2404
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2406
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2407
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2408
    break 2
 
2409
  fi
 
2410
done
 
2411
  done
 
2412
IFS=$as_save_IFS
 
2413
 
 
2414
fi
 
2415
fi
 
2416
STRIP=$ac_cv_prog_STRIP
 
2417
if test -n "$STRIP"; then
 
2418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2419
$as_echo "$STRIP" >&6; }
 
2420
else
 
2421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2422
$as_echo "no" >&6; }
 
2423
fi
 
2424
 
 
2425
 
 
2426
fi
 
2427
if test -z "$ac_cv_prog_STRIP"; then
 
2428
  ac_ct_STRIP=$STRIP
 
2429
  # Extract the first word of "strip", so it can be a program name with args.
 
2430
set dummy strip; ac_word=$2
 
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2432
$as_echo_n "checking for $ac_word... " >&6; }
 
2433
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2434
  $as_echo_n "(cached) " >&6
 
2435
else
 
2436
  if test -n "$ac_ct_STRIP"; then
 
2437
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2438
else
 
2439
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2440
for as_dir in $PATH
 
2441
do
 
2442
  IFS=$as_save_IFS
 
2443
  test -z "$as_dir" && as_dir=.
 
2444
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2445
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2446
    ac_cv_prog_ac_ct_STRIP="strip"
 
2447
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2448
    break 2
 
2449
  fi
 
2450
done
 
2451
  done
 
2452
IFS=$as_save_IFS
 
2453
 
 
2454
fi
 
2455
fi
 
2456
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2457
if test -n "$ac_ct_STRIP"; then
 
2458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2459
$as_echo "$ac_ct_STRIP" >&6; }
 
2460
else
 
2461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2462
$as_echo "no" >&6; }
 
2463
fi
 
2464
 
 
2465
  if test "x$ac_ct_STRIP" = x; then
 
2466
    STRIP=":"
 
2467
  else
 
2468
    case $cross_compiling:$ac_tool_warned in
 
2469
yes:)
 
2470
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2471
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2472
ac_tool_warned=yes ;;
 
2473
esac
 
2474
    STRIP=$ac_ct_STRIP
 
2475
  fi
 
2476
else
 
2477
  STRIP="$ac_cv_prog_STRIP"
 
2478
fi
 
2479
 
 
2480
fi
 
2481
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2482
 
 
2483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2093
2484
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2094
2485
if test -z "$MKDIR_P"; then
2095
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2486
  if test "${ac_cv_path_mkdir+set}" = set; then :
2096
2487
  $as_echo_n "(cached) " >&6
2097
2488
else
2098
2489
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100
2491
do
2101
2492
  IFS=$as_save_IFS
2102
2493
  test -z "$as_dir" && as_dir=.
2103
 
  for ac_prog in mkdir gmkdir; do
 
2494
    for ac_prog in mkdir gmkdir; do
2104
2495
         for ac_exec_ext in '' $ac_executable_extensions; do
2105
2496
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2106
2497
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2112
2503
           esac
2113
2504
         done
2114
2505
       done
2115
 
done
 
2506
  done
2116
2507
IFS=$as_save_IFS
2117
2508
 
2118
2509
fi
2128
2519
    MKDIR_P="$ac_install_sh -d"
2129
2520
  fi
2130
2521
fi
2131
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2132
2523
$as_echo "$MKDIR_P" >&6; }
2133
2524
 
2134
2525
mkdir_p="$MKDIR_P"
2141
2532
do
2142
2533
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2143
2534
set dummy $ac_prog; ac_word=$2
2144
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2145
2536
$as_echo_n "checking for $ac_word... " >&6; }
2146
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2537
if test "${ac_cv_prog_AWK+set}" = set; then :
2147
2538
  $as_echo_n "(cached) " >&6
2148
2539
else
2149
2540
  if test -n "$AWK"; then
2154
2545
do
2155
2546
  IFS=$as_save_IFS
2156
2547
  test -z "$as_dir" && as_dir=.
2157
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2548
    for ac_exec_ext in '' $ac_executable_extensions; do
2158
2549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159
2550
    ac_cv_prog_AWK="$ac_prog"
2160
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2551
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2161
2552
    break 2
2162
2553
  fi
2163
2554
done
2164
 
done
 
2555
  done
2165
2556
IFS=$as_save_IFS
2166
2557
 
2167
2558
fi
2168
2559
fi
2169
2560
AWK=$ac_cv_prog_AWK
2170
2561
if test -n "$AWK"; then
2171
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2172
2563
$as_echo "$AWK" >&6; }
2173
2564
else
2174
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175
2566
$as_echo "no" >&6; }
2176
2567
fi
2177
2568
 
2179
2570
  test -n "$AWK" && break
2180
2571
done
2181
2572
 
2182
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2183
2574
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2184
2575
set x ${MAKE-make}
2185
2576
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2186
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2577
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2187
2578
  $as_echo_n "(cached) " >&6
2188
2579
else
2189
2580
  cat >conftest.make <<\_ACEOF
2201
2592
rm -f conftest.make
2202
2593
fi
2203
2594
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2204
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2205
2596
$as_echo "yes" >&6; }
2206
2597
  SET_MAKE=
2207
2598
else
2208
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2599
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209
2600
$as_echo "no" >&6; }
2210
2601
  SET_MAKE="MAKE=${MAKE-make}"
2211
2602
fi
2225
2616
  am__isrc=' -I$(srcdir)'
2226
2617
  # test to see if srcdir already configured
2227
2618
  if test -f $srcdir/config.status; then
2228
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2229
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2230
 
   { (exit 1); exit 1; }; }
 
2619
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2231
2620
  fi
2232
2621
fi
2233
2622
 
2262
2651
 
2263
2652
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2264
2653
 
2265
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2266
 
 
2267
 
# Installed binaries are usually stripped using `strip' when the user
2268
 
# run `make install-strip'.  However `strip' might not be the right
2269
 
# tool to use in cross-compilation environments, therefore Automake
2270
 
# will honor the `STRIP' environment variable to overrule this program.
2271
 
if test "$cross_compiling" != no; then
2272
 
  if test -n "$ac_tool_prefix"; then
2273
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2274
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2275
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2276
 
$as_echo_n "checking for $ac_word... " >&6; }
2277
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2278
 
  $as_echo_n "(cached) " >&6
2279
 
else
2280
 
  if test -n "$STRIP"; then
2281
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2282
 
else
2283
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284
 
for as_dir in $PATH
2285
 
do
2286
 
  IFS=$as_save_IFS
2287
 
  test -z "$as_dir" && as_dir=.
2288
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2289
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2291
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292
 
    break 2
2293
 
  fi
2294
 
done
2295
 
done
2296
 
IFS=$as_save_IFS
2297
 
 
2298
 
fi
2299
 
fi
2300
 
STRIP=$ac_cv_prog_STRIP
2301
 
if test -n "$STRIP"; then
2302
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2303
 
$as_echo "$STRIP" >&6; }
2304
 
else
2305
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2306
 
$as_echo "no" >&6; }
2307
 
fi
2308
 
 
2309
 
 
2310
 
fi
2311
 
if test -z "$ac_cv_prog_STRIP"; then
2312
 
  ac_ct_STRIP=$STRIP
2313
 
  # Extract the first word of "strip", so it can be a program name with args.
2314
 
set dummy strip; ac_word=$2
2315
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2316
 
$as_echo_n "checking for $ac_word... " >&6; }
2317
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2318
 
  $as_echo_n "(cached) " >&6
2319
 
else
2320
 
  if test -n "$ac_ct_STRIP"; then
2321
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2322
 
else
2323
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324
 
for as_dir in $PATH
2325
 
do
2326
 
  IFS=$as_save_IFS
2327
 
  test -z "$as_dir" && as_dir=.
2328
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2329
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2330
 
    ac_cv_prog_ac_ct_STRIP="strip"
2331
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332
 
    break 2
2333
 
  fi
2334
 
done
2335
 
done
2336
 
IFS=$as_save_IFS
2337
 
 
2338
 
fi
2339
 
fi
2340
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2341
 
if test -n "$ac_ct_STRIP"; then
2342
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2343
 
$as_echo "$ac_ct_STRIP" >&6; }
2344
 
else
2345
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2346
 
$as_echo "no" >&6; }
2347
 
fi
2348
 
 
2349
 
  if test "x$ac_ct_STRIP" = x; then
2350
 
    STRIP=":"
2351
 
  else
2352
 
    case $cross_compiling:$ac_tool_warned in
2353
 
yes:)
2354
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2355
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2356
 
ac_tool_warned=yes ;;
2357
 
esac
2358
 
    STRIP=$ac_ct_STRIP
2359
 
  fi
2360
 
else
2361
 
  STRIP="$ac_cv_prog_STRIP"
2362
 
fi
2363
 
 
2364
 
fi
2365
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2366
 
 
2367
2654
# We need awk for the "check" target.  The system "awk" is bad on
2368
2655
# some platforms.
2369
2656
# Always define AMTAR for backward compatibility.
2377
2664
 
2378
2665
 
2379
2666
 
2380
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2667
 
 
2668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2381
2669
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2382
2670
    @%:@ Check whether --enable-maintainer-mode was given.
2383
 
if test "${enable_maintainer_mode+set}" = set; then
 
2671
if test "${enable_maintainer_mode+set}" = set; then :
2384
2672
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2385
2673
else
2386
2674
  USE_MAINTAINER_MODE=no
2387
2675
fi
2388
2676
 
2389
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2390
2678
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2391
2679
   if test $USE_MAINTAINER_MODE = yes; then
2392
2680
  MAINTAINER_MODE_TRUE=
2408
2696
if test -n "$ac_tool_prefix"; then
2409
2697
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2410
2698
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2411
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2412
2700
$as_echo_n "checking for $ac_word... " >&6; }
2413
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2701
if test "${ac_cv_prog_CC+set}" = set; then :
2414
2702
  $as_echo_n "(cached) " >&6
2415
2703
else
2416
2704
  if test -n "$CC"; then
2421
2709
do
2422
2710
  IFS=$as_save_IFS
2423
2711
  test -z "$as_dir" && as_dir=.
2424
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2712
    for ac_exec_ext in '' $ac_executable_extensions; do
2425
2713
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426
2714
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2427
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2428
2716
    break 2
2429
2717
  fi
2430
2718
done
2431
 
done
 
2719
  done
2432
2720
IFS=$as_save_IFS
2433
2721
 
2434
2722
fi
2435
2723
fi
2436
2724
CC=$ac_cv_prog_CC
2437
2725
if test -n "$CC"; then
2438
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2439
2727
$as_echo "$CC" >&6; }
2440
2728
else
2441
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442
2730
$as_echo "no" >&6; }
2443
2731
fi
2444
2732
 
2448
2736
  ac_ct_CC=$CC
2449
2737
  # Extract the first word of "gcc", so it can be a program name with args.
2450
2738
set dummy gcc; ac_word=$2
2451
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2452
2740
$as_echo_n "checking for $ac_word... " >&6; }
2453
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2741
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2454
2742
  $as_echo_n "(cached) " >&6
2455
2743
else
2456
2744
  if test -n "$ac_ct_CC"; then
2461
2749
do
2462
2750
  IFS=$as_save_IFS
2463
2751
  test -z "$as_dir" && as_dir=.
2464
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2752
    for ac_exec_ext in '' $ac_executable_extensions; do
2465
2753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466
2754
    ac_cv_prog_ac_ct_CC="gcc"
2467
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2468
2756
    break 2
2469
2757
  fi
2470
2758
done
2471
 
done
 
2759
  done
2472
2760
IFS=$as_save_IFS
2473
2761
 
2474
2762
fi
2475
2763
fi
2476
2764
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2477
2765
if test -n "$ac_ct_CC"; then
2478
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2479
2767
$as_echo "$ac_ct_CC" >&6; }
2480
2768
else
2481
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2482
2770
$as_echo "no" >&6; }
2483
2771
fi
2484
2772
 
2487
2775
  else
2488
2776
    case $cross_compiling:$ac_tool_warned in
2489
2777
yes:)
2490
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2491
2779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2492
2780
ac_tool_warned=yes ;;
2493
2781
esac
2501
2789
          if test -n "$ac_tool_prefix"; then
2502
2790
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2503
2791
set dummy ${ac_tool_prefix}cc; ac_word=$2
2504
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505
2793
$as_echo_n "checking for $ac_word... " >&6; }
2506
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2794
if test "${ac_cv_prog_CC+set}" = set; then :
2507
2795
  $as_echo_n "(cached) " >&6
2508
2796
else
2509
2797
  if test -n "$CC"; then
2514
2802
do
2515
2803
  IFS=$as_save_IFS
2516
2804
  test -z "$as_dir" && as_dir=.
2517
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2805
    for ac_exec_ext in '' $ac_executable_extensions; do
2518
2806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519
2807
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2520
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2808
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2521
2809
    break 2
2522
2810
  fi
2523
2811
done
2524
 
done
 
2812
  done
2525
2813
IFS=$as_save_IFS
2526
2814
 
2527
2815
fi
2528
2816
fi
2529
2817
CC=$ac_cv_prog_CC
2530
2818
if test -n "$CC"; then
2531
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2532
2820
$as_echo "$CC" >&6; }
2533
2821
else
2534
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2535
2823
$as_echo "no" >&6; }
2536
2824
fi
2537
2825
 
2541
2829
if test -z "$CC"; then
2542
2830
  # Extract the first word of "cc", so it can be a program name with args.
2543
2831
set dummy cc; ac_word=$2
2544
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2545
2833
$as_echo_n "checking for $ac_word... " >&6; }
2546
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2834
if test "${ac_cv_prog_CC+set}" = set; then :
2547
2835
  $as_echo_n "(cached) " >&6
2548
2836
else
2549
2837
  if test -n "$CC"; then
2555
2843
do
2556
2844
  IFS=$as_save_IFS
2557
2845
  test -z "$as_dir" && as_dir=.
2558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2846
    for ac_exec_ext in '' $ac_executable_extensions; do
2559
2847
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560
2848
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2561
2849
       ac_prog_rejected=yes
2562
2850
       continue
2563
2851
     fi
2564
2852
    ac_cv_prog_CC="cc"
2565
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2853
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566
2854
    break 2
2567
2855
  fi
2568
2856
done
2569
 
done
 
2857
  done
2570
2858
IFS=$as_save_IFS
2571
2859
 
2572
2860
if test $ac_prog_rejected = yes; then
2585
2873
fi
2586
2874
CC=$ac_cv_prog_CC
2587
2875
if test -n "$CC"; then
2588
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2589
2877
$as_echo "$CC" >&6; }
2590
2878
else
2591
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592
2880
$as_echo "no" >&6; }
2593
2881
fi
2594
2882
 
2600
2888
  do
2601
2889
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2602
2890
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2603
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2604
2892
$as_echo_n "checking for $ac_word... " >&6; }
2605
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2893
if test "${ac_cv_prog_CC+set}" = set; then :
2606
2894
  $as_echo_n "(cached) " >&6
2607
2895
else
2608
2896
  if test -n "$CC"; then
2613
2901
do
2614
2902
  IFS=$as_save_IFS
2615
2903
  test -z "$as_dir" && as_dir=.
2616
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2904
    for ac_exec_ext in '' $ac_executable_extensions; do
2617
2905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618
2906
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2619
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2620
2908
    break 2
2621
2909
  fi
2622
2910
done
2623
 
done
 
2911
  done
2624
2912
IFS=$as_save_IFS
2625
2913
 
2626
2914
fi
2627
2915
fi
2628
2916
CC=$ac_cv_prog_CC
2629
2917
if test -n "$CC"; then
2630
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2631
2919
$as_echo "$CC" >&6; }
2632
2920
else
2633
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634
2922
$as_echo "no" >&6; }
2635
2923
fi
2636
2924
 
2644
2932
do
2645
2933
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2646
2934
set dummy $ac_prog; ac_word=$2
2647
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648
2936
$as_echo_n "checking for $ac_word... " >&6; }
2649
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2937
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2650
2938
  $as_echo_n "(cached) " >&6
2651
2939
else
2652
2940
  if test -n "$ac_ct_CC"; then
2657
2945
do
2658
2946
  IFS=$as_save_IFS
2659
2947
  test -z "$as_dir" && as_dir=.
2660
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2948
    for ac_exec_ext in '' $ac_executable_extensions; do
2661
2949
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662
2950
    ac_cv_prog_ac_ct_CC="$ac_prog"
2663
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2951
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664
2952
    break 2
2665
2953
  fi
2666
2954
done
2667
 
done
 
2955
  done
2668
2956
IFS=$as_save_IFS
2669
2957
 
2670
2958
fi
2671
2959
fi
2672
2960
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2673
2961
if test -n "$ac_ct_CC"; then
2674
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2675
2963
$as_echo "$ac_ct_CC" >&6; }
2676
2964
else
2677
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678
2966
$as_echo "no" >&6; }
2679
2967
fi
2680
2968
 
2687
2975
  else
2688
2976
    case $cross_compiling:$ac_tool_warned in
2689
2977
yes:)
2690
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2691
2979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2692
2980
ac_tool_warned=yes ;;
2693
2981
esac
2698
2986
fi
2699
2987
 
2700
2988
 
2701
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2989
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2702
2990
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2703
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2704
 
See \`config.log' for more details." >&5
2705
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2706
 
See \`config.log' for more details." >&2;}
2707
 
   { (exit 1); exit 1; }; }; }
 
2991
as_fn_error "no acceptable C compiler found in \$PATH
 
2992
See \`config.log' for more details." "$LINENO" 5; }
2708
2993
 
2709
2994
# Provide some information about the compiler.
2710
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2995
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2711
2996
set X $ac_compile
2712
2997
ac_compiler=$2
2713
 
{ (ac_try="$ac_compiler --version >&5"
2714
 
case "(($ac_try" in
2715
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716
 
  *) ac_try_echo=$ac_try;;
2717
 
esac
2718
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2719
 
$as_echo "$ac_try_echo") >&5
2720
 
  (eval "$ac_compiler --version >&5") 2>&5
2721
 
  ac_status=$?
2722
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723
 
  (exit $ac_status); }
2724
 
{ (ac_try="$ac_compiler -v >&5"
2725
 
case "(($ac_try" in
2726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727
 
  *) ac_try_echo=$ac_try;;
2728
 
esac
2729
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2730
 
$as_echo "$ac_try_echo") >&5
2731
 
  (eval "$ac_compiler -v >&5") 2>&5
2732
 
  ac_status=$?
2733
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734
 
  (exit $ac_status); }
2735
 
{ (ac_try="$ac_compiler -V >&5"
2736
 
case "(($ac_try" in
2737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738
 
  *) ac_try_echo=$ac_try;;
2739
 
esac
2740
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2741
 
$as_echo "$ac_try_echo") >&5
2742
 
  (eval "$ac_compiler -V >&5") 2>&5
2743
 
  ac_status=$?
2744
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
 
  (exit $ac_status); }
 
2998
for ac_option in --version -v -V -qversion; do
 
2999
  { { ac_try="$ac_compiler $ac_option >&5"
 
3000
case "(($ac_try" in
 
3001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3002
  *) ac_try_echo=$ac_try;;
 
3003
esac
 
3004
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3005
$as_echo "$ac_try_echo"; } >&5
 
3006
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3007
  ac_status=$?
 
3008
  if test -s conftest.err; then
 
3009
    sed '10a\
 
3010
... rest of stderr output deleted ...
 
3011
         10q' conftest.err >conftest.er1
 
3012
    cat conftest.er1 >&5
 
3013
    rm -f conftest.er1 conftest.err
 
3014
  fi
 
3015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3016
  test $ac_status = 0; }
 
3017
done
2746
3018
 
2747
 
cat >conftest.$ac_ext <<_ACEOF
2748
 
/* confdefs.h.  */
2749
 
_ACEOF
2750
 
cat confdefs.h >>conftest.$ac_ext
2751
 
cat >>conftest.$ac_ext <<_ACEOF
 
3019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752
3020
/* end confdefs.h.  */
2753
 
 
 
3021
@%:@include <stdio.h>
2754
3022
int
2755
3023
main ()
2756
3024
{
 
3025
FILE *f = fopen ("conftest.out", "w");
 
3026
 return ferror (f) || fclose (f) != 0;
2757
3027
 
2758
3028
  ;
2759
3029
  return 0;
2760
3030
}
2761
3031
_ACEOF
2762
3032
ac_clean_files_save=$ac_clean_files
2763
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3033
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2764
3034
# Try to create an executable without -o first, disregard a.out.
2765
3035
# It will help us diagnose broken compilers, and finding out an intuition
2766
3036
# of exeext.
2767
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2768
3038
$as_echo_n "checking for C compiler default output file name... " >&6; }
2769
3039
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2770
3040
 
2781
3051
done
2782
3052
rm -f $ac_rmfiles
2783
3053
 
2784
 
if { (ac_try="$ac_link_default"
 
3054
if { { ac_try="$ac_link_default"
2785
3055
case "(($ac_try" in
2786
3056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787
3057
  *) ac_try_echo=$ac_try;;
2788
3058
esac
2789
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790
 
$as_echo "$ac_try_echo") >&5
 
3059
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3060
$as_echo "$ac_try_echo"; } >&5
2791
3061
  (eval "$ac_link_default") 2>&5
2792
3062
  ac_status=$?
2793
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794
 
  (exit $ac_status); }; then
 
3063
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3064
  test $ac_status = 0; }; then :
2795
3065
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2796
3066
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2797
3067
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2808
3078
        # certainly right.
2809
3079
        break;;
2810
3080
    *.* )
2811
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3081
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2812
3082
        then :; else
2813
3083
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2814
3084
        fi
2827
3097
else
2828
3098
  ac_file=''
2829
3099
fi
2830
 
 
2831
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2832
3101
$as_echo "$ac_file" >&6; }
2833
 
if test -z "$ac_file"; then
 
3102
if test -z "$ac_file"; then :
2834
3103
  $as_echo "$as_me: failed program was:" >&5
2835
3104
sed 's/^/| /' conftest.$ac_ext >&5
2836
3105
 
2837
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3106
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2838
3107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2839
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2840
 
See \`config.log' for more details." >&5
2841
 
$as_echo "$as_me: error: C compiler cannot create executables
2842
 
See \`config.log' for more details." >&2;}
2843
 
   { (exit 77); exit 77; }; }; }
 
3108
{ as_fn_set_status 77
 
3109
as_fn_error "C compiler cannot create executables
 
3110
See \`config.log' for more details." "$LINENO" 5; }; }
2844
3111
fi
2845
 
 
2846
3112
ac_exeext=$ac_cv_exeext
2847
3113
 
2848
3114
# Check that the compiler produces executables we can run.  If not, either
2849
3115
# the compiler is broken, or we cross compile.
2850
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2851
3117
$as_echo_n "checking whether the C compiler works... " >&6; }
2852
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2853
3118
# If not cross compiling, check that we can run a simple program.
2854
3119
if test "$cross_compiling" != yes; then
2855
3120
  if { ac_try='./$ac_file'
2856
 
  { (case "(($ac_try" in
 
3121
  { { case "(($ac_try" in
2857
3122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858
3123
  *) ac_try_echo=$ac_try;;
2859
3124
esac
2860
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2861
 
$as_echo "$ac_try_echo") >&5
 
3125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3126
$as_echo "$ac_try_echo"; } >&5
2862
3127
  (eval "$ac_try") 2>&5
2863
3128
  ac_status=$?
2864
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865
 
  (exit $ac_status); }; }; then
 
3129
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3130
  test $ac_status = 0; }; }; then
2866
3131
    cross_compiling=no
2867
3132
  else
2868
3133
    if test "$cross_compiling" = maybe; then
2869
3134
        cross_compiling=yes
2870
3135
    else
2871
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3136
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2872
3137
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2873
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2874
 
If you meant to cross compile, use \`--host'.
2875
 
See \`config.log' for more details." >&5
2876
 
$as_echo "$as_me: error: cannot run C compiled programs.
2877
 
If you meant to cross compile, use \`--host'.
2878
 
See \`config.log' for more details." >&2;}
2879
 
   { (exit 1); exit 1; }; }; }
 
3138
as_fn_error "cannot run C compiled programs.
 
3139
If you meant to cross compile, use \`--host'.
 
3140
See \`config.log' for more details." "$LINENO" 5; }
2880
3141
    fi
2881
3142
  fi
2882
3143
fi
2883
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2884
3145
$as_echo "yes" >&6; }
2885
3146
 
2886
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3147
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2887
3148
ac_clean_files=$ac_clean_files_save
2888
3149
# Check that the compiler produces executables we can run.  If not, either
2889
3150
# the compiler is broken, or we cross compile.
2890
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2891
3152
$as_echo_n "checking whether we are cross compiling... " >&6; }
2892
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2893
3154
$as_echo "$cross_compiling" >&6; }
2894
3155
 
2895
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2896
3157
$as_echo_n "checking for suffix of executables... " >&6; }
2897
 
if { (ac_try="$ac_link"
 
3158
if { { ac_try="$ac_link"
2898
3159
case "(($ac_try" in
2899
3160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900
3161
  *) ac_try_echo=$ac_try;;
2901
3162
esac
2902
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2903
 
$as_echo "$ac_try_echo") >&5
 
3163
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3164
$as_echo "$ac_try_echo"; } >&5
2904
3165
  (eval "$ac_link") 2>&5
2905
3166
  ac_status=$?
2906
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907
 
  (exit $ac_status); }; then
 
3167
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3168
  test $ac_status = 0; }; then :
2908
3169
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2909
3170
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2910
3171
# work properly (i.e., refer to `conftest.exe'), while it won't with
2919
3180
  esac
2920
3181
done
2921
3182
else
2922
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3183
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923
3184
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2925
 
See \`config.log' for more details." >&5
2926
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2927
 
See \`config.log' for more details." >&2;}
2928
 
   { (exit 1); exit 1; }; }; }
 
3185
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3186
See \`config.log' for more details." "$LINENO" 5; }
2929
3187
fi
2930
 
 
2931
3188
rm -f conftest$ac_cv_exeext
2932
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2933
3190
$as_echo "$ac_cv_exeext" >&6; }
2934
3191
 
2935
3192
rm -f conftest.$ac_ext
2936
3193
EXEEXT=$ac_cv_exeext
2937
3194
ac_exeext=$EXEEXT
2938
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2939
3196
$as_echo_n "checking for suffix of object files... " >&6; }
2940
 
if test "${ac_cv_objext+set}" = set; then
 
3197
if test "${ac_cv_objext+set}" = set; then :
2941
3198
  $as_echo_n "(cached) " >&6
2942
3199
else
2943
 
  cat >conftest.$ac_ext <<_ACEOF
2944
 
/* confdefs.h.  */
2945
 
_ACEOF
2946
 
cat confdefs.h >>conftest.$ac_ext
2947
 
cat >>conftest.$ac_ext <<_ACEOF
 
3200
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948
3201
/* end confdefs.h.  */
2949
3202
 
2950
3203
int
2956
3209
}
2957
3210
_ACEOF
2958
3211
rm -f conftest.o conftest.obj
2959
 
if { (ac_try="$ac_compile"
 
3212
if { { ac_try="$ac_compile"
2960
3213
case "(($ac_try" in
2961
3214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962
3215
  *) ac_try_echo=$ac_try;;
2963
3216
esac
2964
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2965
 
$as_echo "$ac_try_echo") >&5
 
3217
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3218
$as_echo "$ac_try_echo"; } >&5
2966
3219
  (eval "$ac_compile") 2>&5
2967
3220
  ac_status=$?
2968
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969
 
  (exit $ac_status); }; then
 
3221
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3222
  test $ac_status = 0; }; then :
2970
3223
  for ac_file in conftest.o conftest.obj conftest.*; do
2971
3224
  test -f "$ac_file" || continue;
2972
3225
  case $ac_file in
2979
3232
  $as_echo "$as_me: failed program was:" >&5
2980
3233
sed 's/^/| /' conftest.$ac_ext >&5
2981
3234
 
2982
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3235
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2983
3236
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2984
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2985
 
See \`config.log' for more details." >&5
2986
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2987
 
See \`config.log' for more details." >&2;}
2988
 
   { (exit 1); exit 1; }; }; }
 
3237
as_fn_error "cannot compute suffix of object files: cannot compile
 
3238
See \`config.log' for more details." "$LINENO" 5; }
2989
3239
fi
2990
 
 
2991
3240
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2992
3241
fi
2993
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2994
3243
$as_echo "$ac_cv_objext" >&6; }
2995
3244
OBJEXT=$ac_cv_objext
2996
3245
ac_objext=$OBJEXT
2997
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2998
3247
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2999
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3248
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3000
3249
  $as_echo_n "(cached) " >&6
3001
3250
else
3002
 
  cat >conftest.$ac_ext <<_ACEOF
3003
 
/* confdefs.h.  */
3004
 
_ACEOF
3005
 
cat confdefs.h >>conftest.$ac_ext
3006
 
cat >>conftest.$ac_ext <<_ACEOF
 
3251
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007
3252
/* end confdefs.h.  */
3008
3253
 
3009
3254
int
3017
3262
  return 0;
3018
3263
}
3019
3264
_ACEOF
3020
 
rm -f conftest.$ac_objext
3021
 
if { (ac_try="$ac_compile"
3022
 
case "(($ac_try" in
3023
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024
 
  *) ac_try_echo=$ac_try;;
3025
 
esac
3026
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3027
 
$as_echo "$ac_try_echo") >&5
3028
 
  (eval "$ac_compile") 2>conftest.er1
3029
 
  ac_status=$?
3030
 
  grep -v '^ *+' conftest.er1 >conftest.err
3031
 
  rm -f conftest.er1
3032
 
  cat conftest.err >&5
3033
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034
 
  (exit $ac_status); } && {
3035
 
         test -z "$ac_c_werror_flag" ||
3036
 
         test ! -s conftest.err
3037
 
       } && test -s conftest.$ac_objext; then
 
3265
if ac_fn_c_try_compile "$LINENO"; then :
3038
3266
  ac_compiler_gnu=yes
3039
3267
else
3040
 
  $as_echo "$as_me: failed program was:" >&5
3041
 
sed 's/^/| /' conftest.$ac_ext >&5
3042
 
 
3043
 
        ac_compiler_gnu=no
 
3268
  ac_compiler_gnu=no
3044
3269
fi
3045
 
 
3046
3270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047
3271
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3048
3272
 
3049
3273
fi
3050
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3051
3275
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3052
3276
if test $ac_compiler_gnu = yes; then
3053
3277
  GCC=yes
3056
3280
fi
3057
3281
ac_test_CFLAGS=${CFLAGS+set}
3058
3282
ac_save_CFLAGS=$CFLAGS
3059
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3060
3284
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3061
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3285
if test "${ac_cv_prog_cc_g+set}" = set; then :
3062
3286
  $as_echo_n "(cached) " >&6
3063
3287
else
3064
3288
  ac_save_c_werror_flag=$ac_c_werror_flag
3065
3289
   ac_c_werror_flag=yes
3066
3290
   ac_cv_prog_cc_g=no
3067
3291
   CFLAGS="-g"
3068
 
   cat >conftest.$ac_ext <<_ACEOF
3069
 
/* confdefs.h.  */
3070
 
_ACEOF
3071
 
cat confdefs.h >>conftest.$ac_ext
3072
 
cat >>conftest.$ac_ext <<_ACEOF
 
3292
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073
3293
/* end confdefs.h.  */
3074
3294
 
3075
3295
int
3080
3300
  return 0;
3081
3301
}
3082
3302
_ACEOF
3083
 
rm -f conftest.$ac_objext
3084
 
if { (ac_try="$ac_compile"
3085
 
case "(($ac_try" in
3086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087
 
  *) ac_try_echo=$ac_try;;
3088
 
esac
3089
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3090
 
$as_echo "$ac_try_echo") >&5
3091
 
  (eval "$ac_compile") 2>conftest.er1
3092
 
  ac_status=$?
3093
 
  grep -v '^ *+' conftest.er1 >conftest.err
3094
 
  rm -f conftest.er1
3095
 
  cat conftest.err >&5
3096
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097
 
  (exit $ac_status); } && {
3098
 
         test -z "$ac_c_werror_flag" ||
3099
 
         test ! -s conftest.err
3100
 
       } && test -s conftest.$ac_objext; then
 
3303
if ac_fn_c_try_compile "$LINENO"; then :
3101
3304
  ac_cv_prog_cc_g=yes
3102
3305
else
3103
 
  $as_echo "$as_me: failed program was:" >&5
3104
 
sed 's/^/| /' conftest.$ac_ext >&5
3105
 
 
3106
 
        CFLAGS=""
3107
 
      cat >conftest.$ac_ext <<_ACEOF
3108
 
/* confdefs.h.  */
3109
 
_ACEOF
3110
 
cat confdefs.h >>conftest.$ac_ext
3111
 
cat >>conftest.$ac_ext <<_ACEOF
 
3306
  CFLAGS=""
 
3307
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112
3308
/* end confdefs.h.  */
3113
3309
 
3114
3310
int
3119
3315
  return 0;
3120
3316
}
3121
3317
_ACEOF
3122
 
rm -f conftest.$ac_objext
3123
 
if { (ac_try="$ac_compile"
3124
 
case "(($ac_try" in
3125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126
 
  *) ac_try_echo=$ac_try;;
3127
 
esac
3128
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3129
 
$as_echo "$ac_try_echo") >&5
3130
 
  (eval "$ac_compile") 2>conftest.er1
3131
 
  ac_status=$?
3132
 
  grep -v '^ *+' conftest.er1 >conftest.err
3133
 
  rm -f conftest.er1
3134
 
  cat conftest.err >&5
3135
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
 
  (exit $ac_status); } && {
3137
 
         test -z "$ac_c_werror_flag" ||
3138
 
         test ! -s conftest.err
3139
 
       } && test -s conftest.$ac_objext; then
3140
 
  :
 
3318
if ac_fn_c_try_compile "$LINENO"; then :
 
3319
  
3141
3320
else
3142
 
  $as_echo "$as_me: failed program was:" >&5
3143
 
sed 's/^/| /' conftest.$ac_ext >&5
3144
 
 
3145
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3321
  ac_c_werror_flag=$ac_save_c_werror_flag
3146
3322
         CFLAGS="-g"
3147
 
         cat >conftest.$ac_ext <<_ACEOF
3148
 
/* confdefs.h.  */
3149
 
_ACEOF
3150
 
cat confdefs.h >>conftest.$ac_ext
3151
 
cat >>conftest.$ac_ext <<_ACEOF
 
3323
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152
3324
/* end confdefs.h.  */
3153
3325
 
3154
3326
int
3159
3331
  return 0;
3160
3332
}
3161
3333
_ACEOF
3162
 
rm -f conftest.$ac_objext
3163
 
if { (ac_try="$ac_compile"
3164
 
case "(($ac_try" in
3165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166
 
  *) ac_try_echo=$ac_try;;
3167
 
esac
3168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169
 
$as_echo "$ac_try_echo") >&5
3170
 
  (eval "$ac_compile") 2>conftest.er1
3171
 
  ac_status=$?
3172
 
  grep -v '^ *+' conftest.er1 >conftest.err
3173
 
  rm -f conftest.er1
3174
 
  cat conftest.err >&5
3175
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
 
  (exit $ac_status); } && {
3177
 
         test -z "$ac_c_werror_flag" ||
3178
 
         test ! -s conftest.err
3179
 
       } && test -s conftest.$ac_objext; then
 
3334
if ac_fn_c_try_compile "$LINENO"; then :
3180
3335
  ac_cv_prog_cc_g=yes
3181
 
else
3182
 
  $as_echo "$as_me: failed program was:" >&5
3183
 
sed 's/^/| /' conftest.$ac_ext >&5
3184
 
 
3185
 
        
3186
 
fi
3187
 
 
3188
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189
 
fi
3190
 
 
3191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192
 
fi
3193
 
 
 
3336
fi
 
3337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3338
fi
 
3339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3340
fi
3194
3341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195
3342
   ac_c_werror_flag=$ac_save_c_werror_flag
3196
3343
fi
3197
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3198
3345
$as_echo "$ac_cv_prog_cc_g" >&6; }
3199
3346
if test "$ac_test_CFLAGS" = set; then
3200
3347
  CFLAGS=$ac_save_CFLAGS
3211
3358
    CFLAGS=
3212
3359
  fi
3213
3360
fi
3214
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3215
3362
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3216
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3363
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3217
3364
  $as_echo_n "(cached) " >&6
3218
3365
else
3219
3366
  ac_cv_prog_cc_c89=no
3220
3367
ac_save_CC=$CC
3221
 
cat >conftest.$ac_ext <<_ACEOF
3222
 
/* confdefs.h.  */
3223
 
_ACEOF
3224
 
cat confdefs.h >>conftest.$ac_ext
3225
 
cat >>conftest.$ac_ext <<_ACEOF
 
3368
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226
3369
/* end confdefs.h.  */
3227
3370
#include <stdarg.h>
3228
3371
#include <stdio.h>
3279
3422
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3280
3423
do
3281
3424
  CC="$ac_save_CC $ac_arg"
3282
 
  rm -f conftest.$ac_objext
3283
 
if { (ac_try="$ac_compile"
3284
 
case "(($ac_try" in
3285
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286
 
  *) ac_try_echo=$ac_try;;
3287
 
esac
3288
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3289
 
$as_echo "$ac_try_echo") >&5
3290
 
  (eval "$ac_compile") 2>conftest.er1
3291
 
  ac_status=$?
3292
 
  grep -v '^ *+' conftest.er1 >conftest.err
3293
 
  rm -f conftest.er1
3294
 
  cat conftest.err >&5
3295
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
 
  (exit $ac_status); } && {
3297
 
         test -z "$ac_c_werror_flag" ||
3298
 
         test ! -s conftest.err
3299
 
       } && test -s conftest.$ac_objext; then
 
3425
  if ac_fn_c_try_compile "$LINENO"; then :
3300
3426
  ac_cv_prog_cc_c89=$ac_arg
3301
 
else
3302
 
  $as_echo "$as_me: failed program was:" >&5
3303
 
sed 's/^/| /' conftest.$ac_ext >&5
3304
 
 
3305
 
        
3306
3427
fi
3307
 
 
3308
 
rm -f core conftest.err conftest.$ac_objext 
 
3428
rm -f core conftest.err conftest.$ac_objext
3309
3429
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3310
3430
done
3311
3431
rm -f conftest.$ac_ext
3315
3435
# AC_CACHE_VAL
3316
3436
case "x$ac_cv_prog_cc_c89" in
3317
3437
  x)
3318
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3438
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3319
3439
$as_echo "none needed" >&6; } ;;
3320
3440
  xno)
3321
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3441
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3322
3442
$as_echo "unsupported" >&6; } ;;
3323
3443
  *)
3324
3444
    CC="$CC $ac_cv_prog_cc_c89"
3325
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3445
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3326
3446
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3327
3447
esac
3328
 
 
 
3448
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3449
  
 
3450
fi
3329
3451
 
3330
3452
ac_ext=c
3331
3453
ac_cpp='$CPP $CPPFLAGS'
3340
3462
am_make=${MAKE-make}
3341
3463
cat > confinc << 'END'
3342
3464
am__doit:
3343
 
        @echo done
 
3465
        @echo this is the am__doit target
3344
3466
.PHONY: am__doit
3345
3467
END
3346
3468
# If we don't find an include directive, just comment out the code.
3347
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3348
3470
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3349
3471
am__include="#"
3350
3472
am__quote=
3351
3473
_am_result=none
3352
3474
# First try GNU make style include.
3353
3475
echo "include confinc" > confmf
3354
 
# We grep out `Entering directory' and `Leaving directory'
3355
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3356
 
# In particular we don't look at `^make:' because GNU make might
3357
 
# be invoked under some other name (usually "gmake"), in which
3358
 
# case it prints its new name instead of `make'.
3359
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3360
 
   am__include=include
3361
 
   am__quote=
3362
 
   _am_result=GNU
3363
 
fi
 
3476
# Ignore all kinds of additional output from `make'.
 
3477
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3478
*the\ am__doit\ target*)
 
3479
  am__include=include
 
3480
  am__quote=
 
3481
  _am_result=GNU
 
3482
  ;;
 
3483
esac
3364
3484
# Now try BSD make style include.
3365
3485
if test "$am__include" = "#"; then
3366
3486
   echo '.include "confinc"' > confmf
3367
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368
 
      am__include=.include
3369
 
      am__quote="\""
3370
 
      _am_result=BSD
3371
 
   fi
 
3487
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3488
   *the\ am__doit\ target*)
 
3489
     am__include=.include
 
3490
     am__quote="\""
 
3491
     _am_result=BSD
 
3492
     ;;
 
3493
   esac
3372
3494
fi
3373
3495
 
3374
3496
 
3375
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3376
3498
$as_echo "$_am_result" >&6; }
3377
3499
rm -f confinc confmf
3378
3500
 
3379
3501
@%:@ Check whether --enable-dependency-tracking was given.
3380
 
if test "${enable_dependency_tracking+set}" = set; then
 
3502
if test "${enable_dependency_tracking+set}" = set; then :
3381
3503
  enableval=$enable_dependency_tracking; 
3382
3504
fi
3383
3505
 
3397
3519
 
3398
3520
depcc="$CC"   am_compiler_list=
3399
3521
 
3400
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3401
3523
$as_echo_n "checking dependency style of $depcc... " >&6; }
3402
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3524
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3403
3525
  $as_echo_n "(cached) " >&6
3404
3526
else
3405
3527
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3425
3547
  if test "$am_compiler_list" = ""; then
3426
3548
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3427
3549
  fi
 
3550
  am__universal=false
 
3551
  case " $depcc " in #(
 
3552
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3553
     esac
 
3554
 
3428
3555
  for depmode in $am_compiler_list; do
3429
3556
    # Setup a source with many dependencies, because some compilers
3430
3557
    # like to wrap large dependency lists on column 80 (with \), and
3442
3569
    done
3443
3570
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3444
3571
 
 
3572
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3573
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3574
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3575
    # versions had trouble with output in subdirs
 
3576
    am__obj=sub/conftest.${OBJEXT-o}
 
3577
    am__minus_obj="-o $am__obj"
3445
3578
    case $depmode in
 
3579
    gcc)
 
3580
      # This depmode causes a compiler race in universal mode.
 
3581
      test "$am__universal" = false || continue
 
3582
      ;;
3446
3583
    nosideeffect)
3447
3584
      # after this tag, mechanisms are not by side-effect, so they'll
3448
3585
      # only be used when explicitly requested
3452
3589
        break
3453
3590
      fi
3454
3591
      ;;
 
3592
    msvisualcpp | msvcmsys)
 
3593
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3594
      # not run yet.  These depmodes are late enough in the game, and
 
3595
      # so weak that their functioning should not be impacted.
 
3596
      am__obj=conftest.${OBJEXT-o}
 
3597
      am__minus_obj=
 
3598
      ;;
3455
3599
    none) break ;;
3456
3600
    esac
3457
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3458
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3459
 
    # handle `-M -o', and we need to detect this.
3460
3601
    if depmode=$depmode \
3461
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3602
       source=sub/conftest.c object=$am__obj \
3462
3603
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3463
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3604
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3464
3605
         >/dev/null 2>conftest.err &&
3465
3606
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3466
3607
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3467
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3608
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3468
3609
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3469
3610
      # icc doesn't choke on unknown options, it will just issue warnings
3470
3611
      # or remarks (even with -Werror).  So we grep stderr for any message
3488
3629
fi
3489
3630
 
3490
3631
fi
3491
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3492
3633
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3493
3634
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3494
3635
 
3503
3644
fi
3504
3645
 
3505
3646
 
3506
 
# Find a good install program.  We prefer a C program (faster),
3507
 
# so one script is as good as another.  But avoid the broken or
3508
 
# incompatible versions:
3509
 
# SysV /etc/install, /usr/sbin/install
3510
 
# SunOS /usr/etc/install
3511
 
# IRIX /sbin/install
3512
 
# AIX /bin/install
3513
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3514
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3515
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3516
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3517
 
# OS/2's system install, which has a completely different semantic
3518
 
# ./install, which can be erroneously created by make from ./install.sh.
3519
 
# Reject install programs that cannot install multiple files.
3520
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3521
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3522
 
if test -z "$INSTALL"; then
3523
 
if test "${ac_cv_path_install+set}" = set; then
3524
 
  $as_echo_n "(cached) " >&6
3525
 
else
3526
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527
 
for as_dir in $PATH
3528
 
do
3529
 
  IFS=$as_save_IFS
3530
 
  test -z "$as_dir" && as_dir=.
3531
 
  # Account for people who put trailing slashes in PATH elements.
3532
 
case $as_dir/ in
3533
 
  ./ | .// | /cC/* | \
3534
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3535
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3536
 
  /usr/ucb/* ) ;;
3537
 
  *)
3538
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3539
 
    # Don't use installbsd from OSF since it installs stuff as root
3540
 
    # by default.
3541
 
    for ac_prog in ginstall scoinst install; do
3542
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3543
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3544
 
          if test $ac_prog = install &&
3545
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3546
 
            # AIX install.  It has an incompatible calling convention.
3547
 
            :
3548
 
          elif test $ac_prog = install &&
3549
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3550
 
            # program-specific install script used by HP pwplus--don't use.
3551
 
            :
3552
 
          else
3553
 
            rm -rf conftest.one conftest.two conftest.dir
3554
 
            echo one > conftest.one
3555
 
            echo two > conftest.two
3556
 
            mkdir conftest.dir
3557
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3558
 
              test -s conftest.one && test -s conftest.two &&
3559
 
              test -s conftest.dir/conftest.one &&
3560
 
              test -s conftest.dir/conftest.two
3561
 
            then
3562
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3563
 
              break 3
3564
 
            fi
3565
 
          fi
3566
 
        fi
3567
 
      done
3568
 
    done
3569
 
    ;;
3570
 
esac
3571
 
 
3572
 
done
3573
 
IFS=$as_save_IFS
3574
 
 
3575
 
rm -rf conftest.one conftest.two conftest.dir
3576
 
 
3577
 
fi
3578
 
  if test "${ac_cv_path_install+set}" = set; then
3579
 
    INSTALL=$ac_cv_path_install
3580
 
  else
3581
 
    # As a last resort, use the slow shell script.  Don't cache a
3582
 
    # value for INSTALL within a source directory, because that will
3583
 
    # break other packages using the cache if that directory is
3584
 
    # removed, or if the value is a relative name.
3585
 
    INSTALL=$ac_install_sh
3586
 
  fi
3587
 
fi
3588
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3589
 
$as_echo "$INSTALL" >&6; }
3590
 
 
3591
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3592
 
# It thinks the first close brace ends the variable substitution.
3593
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3594
 
 
3595
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3596
 
 
3597
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3598
3647
 
3599
3648
 
3600
3649
ac_ext=c
3602
3651
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603
3652
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604
3653
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3605
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3606
3655
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3607
3656
# On Suns, sometimes $CPP names a directory.
3608
3657
if test -n "$CPP" && test -d "$CPP"; then
3609
3658
  CPP=
3610
3659
fi
3611
3660
if test -z "$CPP"; then
3612
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3661
  if test "${ac_cv_prog_CPP+set}" = set; then :
3613
3662
  $as_echo_n "(cached) " >&6
3614
3663
else
3615
3664
      # Double quotes because CPP needs to be expanded
3624
3673
  # <limits.h> exists even on freestanding compilers.
3625
3674
  # On the NeXT, cc -E runs the code through the compiler's parser,
3626
3675
  # not just through cpp. "Syntax error" is here to catch this case.
3627
 
  cat >conftest.$ac_ext <<_ACEOF
3628
 
/* confdefs.h.  */
3629
 
_ACEOF
3630
 
cat confdefs.h >>conftest.$ac_ext
3631
 
cat >>conftest.$ac_ext <<_ACEOF
 
3676
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632
3677
/* end confdefs.h.  */
3633
3678
@%:@ifdef __STDC__
3634
3679
@%:@ include <limits.h>
3637
3682
@%:@endif
3638
3683
                     Syntax error
3639
3684
_ACEOF
3640
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3641
 
case "(($ac_try" in
3642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643
 
  *) ac_try_echo=$ac_try;;
3644
 
esac
3645
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3646
 
$as_echo "$ac_try_echo") >&5
3647
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3648
 
  ac_status=$?
3649
 
  grep -v '^ *+' conftest.er1 >conftest.err
3650
 
  rm -f conftest.er1
3651
 
  cat conftest.err >&5
3652
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653
 
  (exit $ac_status); } >/dev/null && {
3654
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3655
 
         test ! -s conftest.err
3656
 
       }; then
3657
 
  :
 
3685
if ac_fn_c_try_cpp "$LINENO"; then :
 
3686
  
3658
3687
else
3659
 
  $as_echo "$as_me: failed program was:" >&5
3660
 
sed 's/^/| /' conftest.$ac_ext >&5
3661
 
 
3662
3688
  # Broken: fails on valid input.
3663
3689
continue
3664
3690
fi
3665
 
 
3666
3691
rm -f conftest.err conftest.$ac_ext
3667
3692
 
3668
3693
  # OK, works on sane cases.  Now check whether nonexistent headers
3669
3694
  # can be detected and how.
3670
 
  cat >conftest.$ac_ext <<_ACEOF
3671
 
/* confdefs.h.  */
3672
 
_ACEOF
3673
 
cat confdefs.h >>conftest.$ac_ext
3674
 
cat >>conftest.$ac_ext <<_ACEOF
 
3695
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675
3696
/* end confdefs.h.  */
3676
3697
@%:@include <ac_nonexistent.h>
3677
3698
_ACEOF
3678
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3679
 
case "(($ac_try" in
3680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681
 
  *) ac_try_echo=$ac_try;;
3682
 
esac
3683
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3684
 
$as_echo "$ac_try_echo") >&5
3685
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3686
 
  ac_status=$?
3687
 
  grep -v '^ *+' conftest.er1 >conftest.err
3688
 
  rm -f conftest.er1
3689
 
  cat conftest.err >&5
3690
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691
 
  (exit $ac_status); } >/dev/null && {
3692
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3693
 
         test ! -s conftest.err
3694
 
       }; then
 
3699
if ac_fn_c_try_cpp "$LINENO"; then :
3695
3700
  # Broken: success on invalid input.
3696
3701
continue
3697
3702
else
3698
 
  $as_echo "$as_me: failed program was:" >&5
3699
 
sed 's/^/| /' conftest.$ac_ext >&5
3700
 
 
3701
3703
  # Passes both tests.
3702
3704
ac_preproc_ok=:
3703
3705
break
3704
3706
fi
3705
 
 
3706
3707
rm -f conftest.err conftest.$ac_ext
3707
3708
 
3708
3709
done
3709
3710
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710
3711
rm -f conftest.err conftest.$ac_ext
3711
 
if $ac_preproc_ok; then
 
3712
if $ac_preproc_ok; then :
3712
3713
  break
3713
3714
fi
3714
3715
 
3720
3721
else
3721
3722
  ac_cv_prog_CPP=$CPP
3722
3723
fi
3723
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3724
3725
$as_echo "$CPP" >&6; }
3725
3726
ac_preproc_ok=false
3726
3727
for ac_c_preproc_warn_flag in '' yes
3731
3732
  # <limits.h> exists even on freestanding compilers.
3732
3733
  # On the NeXT, cc -E runs the code through the compiler's parser,
3733
3734
  # not just through cpp. "Syntax error" is here to catch this case.
3734
 
  cat >conftest.$ac_ext <<_ACEOF
3735
 
/* confdefs.h.  */
3736
 
_ACEOF
3737
 
cat confdefs.h >>conftest.$ac_ext
3738
 
cat >>conftest.$ac_ext <<_ACEOF
 
3735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739
3736
/* end confdefs.h.  */
3740
3737
@%:@ifdef __STDC__
3741
3738
@%:@ include <limits.h>
3744
3741
@%:@endif
3745
3742
                     Syntax error
3746
3743
_ACEOF
3747
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3748
 
case "(($ac_try" in
3749
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750
 
  *) ac_try_echo=$ac_try;;
3751
 
esac
3752
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3753
 
$as_echo "$ac_try_echo") >&5
3754
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3755
 
  ac_status=$?
3756
 
  grep -v '^ *+' conftest.er1 >conftest.err
3757
 
  rm -f conftest.er1
3758
 
  cat conftest.err >&5
3759
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760
 
  (exit $ac_status); } >/dev/null && {
3761
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3762
 
         test ! -s conftest.err
3763
 
       }; then
3764
 
  :
 
3744
if ac_fn_c_try_cpp "$LINENO"; then :
 
3745
  
3765
3746
else
3766
 
  $as_echo "$as_me: failed program was:" >&5
3767
 
sed 's/^/| /' conftest.$ac_ext >&5
3768
 
 
3769
3747
  # Broken: fails on valid input.
3770
3748
continue
3771
3749
fi
3772
 
 
3773
3750
rm -f conftest.err conftest.$ac_ext
3774
3751
 
3775
3752
  # OK, works on sane cases.  Now check whether nonexistent headers
3776
3753
  # can be detected and how.
3777
 
  cat >conftest.$ac_ext <<_ACEOF
3778
 
/* confdefs.h.  */
3779
 
_ACEOF
3780
 
cat confdefs.h >>conftest.$ac_ext
3781
 
cat >>conftest.$ac_ext <<_ACEOF
 
3754
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782
3755
/* end confdefs.h.  */
3783
3756
@%:@include <ac_nonexistent.h>
3784
3757
_ACEOF
3785
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3786
 
case "(($ac_try" in
3787
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788
 
  *) ac_try_echo=$ac_try;;
3789
 
esac
3790
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3791
 
$as_echo "$ac_try_echo") >&5
3792
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3793
 
  ac_status=$?
3794
 
  grep -v '^ *+' conftest.er1 >conftest.err
3795
 
  rm -f conftest.er1
3796
 
  cat conftest.err >&5
3797
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798
 
  (exit $ac_status); } >/dev/null && {
3799
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3800
 
         test ! -s conftest.err
3801
 
       }; then
 
3758
if ac_fn_c_try_cpp "$LINENO"; then :
3802
3759
  # Broken: success on invalid input.
3803
3760
continue
3804
3761
else
3805
 
  $as_echo "$as_me: failed program was:" >&5
3806
 
sed 's/^/| /' conftest.$ac_ext >&5
3807
 
 
3808
3762
  # Passes both tests.
3809
3763
ac_preproc_ok=:
3810
3764
break
3811
3765
fi
3812
 
 
3813
3766
rm -f conftest.err conftest.$ac_ext
3814
3767
 
3815
3768
done
3816
3769
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3817
3770
rm -f conftest.err conftest.$ac_ext
3818
 
if $ac_preproc_ok; then
3819
 
  :
 
3771
if $ac_preproc_ok; then :
 
3772
  
3820
3773
else
3821
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3774
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3822
3775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3823
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3824
 
See \`config.log' for more details." >&5
3825
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3826
 
See \`config.log' for more details." >&2;}
3827
 
   { (exit 1); exit 1; }; }; }
 
3776
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
3777
See \`config.log' for more details." "$LINENO" 5; }
3828
3778
fi
3829
3779
 
3830
3780
ac_ext=c
3834
3784
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835
3785
 
3836
3786
 
3837
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3838
3788
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3839
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3789
if test "${ac_cv_path_GREP+set}" = set; then :
3840
3790
  $as_echo_n "(cached) " >&6
3841
3791
else
3842
3792
  if test -z "$GREP"; then
3847
3797
do
3848
3798
  IFS=$as_save_IFS
3849
3799
  test -z "$as_dir" && as_dir=.
3850
 
  for ac_prog in grep ggrep; do
 
3800
    for ac_prog in grep ggrep; do
3851
3801
    for ac_exec_ext in '' $ac_executable_extensions; do
3852
3802
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3853
3803
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3867
3817
    $as_echo 'GREP' >> "conftest.nl"
3868
3818
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3869
3819
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3870
 
    ac_count=`expr $ac_count + 1`
 
3820
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3871
3821
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3872
3822
      # Best one so far, save it but keep looking for a better one
3873
3823
      ac_cv_path_GREP="$ac_path_GREP"
3882
3832
      $ac_path_GREP_found && break 3
3883
3833
    done
3884
3834
  done
3885
 
done
 
3835
  done
3886
3836
IFS=$as_save_IFS
3887
3837
  if test -z "$ac_cv_path_GREP"; then
3888
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3889
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3890
 
   { (exit 1); exit 1; }; }
 
3838
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3891
3839
  fi
3892
3840
else
3893
3841
  ac_cv_path_GREP=$GREP
3894
3842
fi
3895
3843
 
3896
3844
fi
3897
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3898
3846
$as_echo "$ac_cv_path_GREP" >&6; }
3899
3847
 GREP="$ac_cv_path_GREP"
3900
3848
 
3901
3849
 
3902
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3903
3851
$as_echo_n "checking for egrep... " >&6; }
3904
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
3852
if test "${ac_cv_path_EGREP+set}" = set; then :
3905
3853
  $as_echo_n "(cached) " >&6
3906
3854
else
3907
3855
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3915
3863
do
3916
3864
  IFS=$as_save_IFS
3917
3865
  test -z "$as_dir" && as_dir=.
3918
 
  for ac_prog in egrep; do
 
3866
    for ac_prog in egrep; do
3919
3867
    for ac_exec_ext in '' $ac_executable_extensions; do
3920
3868
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3921
3869
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3935
3883
    $as_echo 'EGREP' >> "conftest.nl"
3936
3884
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3937
3885
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3938
 
    ac_count=`expr $ac_count + 1`
 
3886
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3939
3887
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3940
3888
      # Best one so far, save it but keep looking for a better one
3941
3889
      ac_cv_path_EGREP="$ac_path_EGREP"
3950
3898
      $ac_path_EGREP_found && break 3
3951
3899
    done
3952
3900
  done
3953
 
done
 
3901
  done
3954
3902
IFS=$as_save_IFS
3955
3903
  if test -z "$ac_cv_path_EGREP"; then
3956
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3957
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3958
 
   { (exit 1); exit 1; }; }
 
3904
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3959
3905
  fi
3960
3906
else
3961
3907
  ac_cv_path_EGREP=$EGREP
3963
3909
 
3964
3910
   fi
3965
3911
fi
3966
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3967
3913
$as_echo "$ac_cv_path_EGREP" >&6; }
3968
3914
 EGREP="$ac_cv_path_EGREP"
3969
3915
 
3970
3916
 
3971
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3972
 
$as_echo_n "checking for ANSI C header files... " >&6; }
3973
 
if test "${ac_cv_header_stdc+set}" = set; then
3974
 
  $as_echo_n "(cached) " >&6
3975
 
else
3976
 
  cat >conftest.$ac_ext <<_ACEOF
3977
 
/* confdefs.h.  */
3978
 
_ACEOF
3979
 
cat confdefs.h >>conftest.$ac_ext
3980
 
cat >>conftest.$ac_ext <<_ACEOF
3981
 
/* end confdefs.h.  */
3982
 
#include <stdlib.h>
3983
 
#include <stdarg.h>
3984
 
#include <string.h>
3985
 
#include <float.h>
3986
 
 
3987
 
int
3988
 
main ()
3989
 
{
3990
 
 
3991
 
  ;
3992
 
  return 0;
3993
 
}
3994
 
_ACEOF
3995
 
rm -f conftest.$ac_objext
3996
 
if { (ac_try="$ac_compile"
3997
 
case "(($ac_try" in
3998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999
 
  *) ac_try_echo=$ac_try;;
4000
 
esac
4001
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4002
 
$as_echo "$ac_try_echo") >&5
4003
 
  (eval "$ac_compile") 2>conftest.er1
4004
 
  ac_status=$?
4005
 
  grep -v '^ *+' conftest.er1 >conftest.err
4006
 
  rm -f conftest.er1
4007
 
  cat conftest.err >&5
4008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009
 
  (exit $ac_status); } && {
4010
 
         test -z "$ac_c_werror_flag" ||
4011
 
         test ! -s conftest.err
4012
 
       } && test -s conftest.$ac_objext; then
4013
 
  ac_cv_header_stdc=yes
4014
 
else
4015
 
  $as_echo "$as_me: failed program was:" >&5
4016
 
sed 's/^/| /' conftest.$ac_ext >&5
4017
 
 
4018
 
        ac_cv_header_stdc=no
4019
 
fi
4020
 
 
4021
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022
 
 
4023
 
if test $ac_cv_header_stdc = yes; then
4024
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4025
 
  cat >conftest.$ac_ext <<_ACEOF
4026
 
/* confdefs.h.  */
4027
 
_ACEOF
4028
 
cat confdefs.h >>conftest.$ac_ext
4029
 
cat >>conftest.$ac_ext <<_ACEOF
4030
 
/* end confdefs.h.  */
4031
 
#include <string.h>
4032
 
 
4033
 
_ACEOF
4034
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4035
 
  $EGREP "memchr" >/dev/null 2>&1; then
4036
 
  :
4037
 
else
4038
 
  ac_cv_header_stdc=no
4039
 
fi
4040
 
rm -f conftest*
4041
 
 
4042
 
fi
4043
 
 
4044
 
if test $ac_cv_header_stdc = yes; then
4045
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4046
 
  cat >conftest.$ac_ext <<_ACEOF
4047
 
/* confdefs.h.  */
4048
 
_ACEOF
4049
 
cat confdefs.h >>conftest.$ac_ext
4050
 
cat >>conftest.$ac_ext <<_ACEOF
4051
 
/* end confdefs.h.  */
4052
 
#include <stdlib.h>
4053
 
 
4054
 
_ACEOF
4055
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4056
 
  $EGREP "free" >/dev/null 2>&1; then
4057
 
  :
4058
 
else
4059
 
  ac_cv_header_stdc=no
4060
 
fi
4061
 
rm -f conftest*
4062
 
 
4063
 
fi
4064
 
 
4065
 
if test $ac_cv_header_stdc = yes; then
4066
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4067
 
  if test "$cross_compiling" = yes; then
4068
 
  :
4069
 
else
4070
 
  cat >conftest.$ac_ext <<_ACEOF
4071
 
/* confdefs.h.  */
4072
 
_ACEOF
4073
 
cat confdefs.h >>conftest.$ac_ext
4074
 
cat >>conftest.$ac_ext <<_ACEOF
4075
 
/* end confdefs.h.  */
4076
 
#include <ctype.h>
4077
 
#include <stdlib.h>
4078
 
#if ((' ' & 0x0FF) == 0x020)
4079
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4080
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4081
 
#else
4082
 
# define ISLOWER(c) \
4083
 
                   (('a' <= (c) && (c) <= 'i') \
4084
 
                     || ('j' <= (c) && (c) <= 'r') \
4085
 
                     || ('s' <= (c) && (c) <= 'z'))
4086
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4087
 
#endif
4088
 
 
4089
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4090
 
int
4091
 
main ()
4092
 
{
4093
 
  int i;
4094
 
  for (i = 0; i < 256; i++)
4095
 
    if (XOR (islower (i), ISLOWER (i))
4096
 
        || toupper (i) != TOUPPER (i))
4097
 
      return 2;
4098
 
  return 0;
4099
 
}
4100
 
_ACEOF
4101
 
rm -f conftest$ac_exeext
4102
 
if { (ac_try="$ac_link"
4103
 
case "(($ac_try" in
4104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105
 
  *) ac_try_echo=$ac_try;;
4106
 
esac
4107
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4108
 
$as_echo "$ac_try_echo") >&5
4109
 
  (eval "$ac_link") 2>&5
4110
 
  ac_status=$?
4111
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4113
 
  { (case "(($ac_try" in
4114
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115
 
  *) ac_try_echo=$ac_try;;
4116
 
esac
4117
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4118
 
$as_echo "$ac_try_echo") >&5
4119
 
  (eval "$ac_try") 2>&5
4120
 
  ac_status=$?
4121
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
 
  (exit $ac_status); }; }; then
4123
 
  :
4124
 
else
4125
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4126
 
$as_echo "$as_me: failed program was:" >&5
4127
 
sed 's/^/| /' conftest.$ac_ext >&5
4128
 
 
4129
 
( exit $ac_status )
4130
 
ac_cv_header_stdc=no
4131
 
fi
4132
 
rm -rf conftest.dSYM
4133
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4134
 
fi
4135
 
 
4136
 
 
4137
 
fi
4138
 
fi
4139
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4140
 
$as_echo "$ac_cv_header_stdc" >&6; }
4141
 
if test $ac_cv_header_stdc = yes; then
4142
 
  
4143
 
cat >>confdefs.h <<\_ACEOF
4144
 
@%:@define STDC_HEADERS 1
4145
 
_ACEOF
4146
 
 
4147
 
fi
4148
 
 
4149
 
 
4150
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4151
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4152
 
if test "${ac_cv_header_stdc+set}" = set; then
4153
 
  $as_echo_n "(cached) " >&6
4154
 
else
4155
 
  cat >conftest.$ac_ext <<_ACEOF
4156
 
/* confdefs.h.  */
4157
 
_ACEOF
4158
 
cat confdefs.h >>conftest.$ac_ext
4159
 
cat >>conftest.$ac_ext <<_ACEOF
4160
 
/* end confdefs.h.  */
4161
 
#include <stdlib.h>
4162
 
#include <stdarg.h>
4163
 
#include <string.h>
4164
 
#include <float.h>
4165
 
 
4166
 
int
4167
 
main ()
4168
 
{
4169
 
 
4170
 
  ;
4171
 
  return 0;
4172
 
}
4173
 
_ACEOF
4174
 
rm -f conftest.$ac_objext
4175
 
if { (ac_try="$ac_compile"
4176
 
case "(($ac_try" in
4177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178
 
  *) ac_try_echo=$ac_try;;
4179
 
esac
4180
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4181
 
$as_echo "$ac_try_echo") >&5
4182
 
  (eval "$ac_compile") 2>conftest.er1
4183
 
  ac_status=$?
4184
 
  grep -v '^ *+' conftest.er1 >conftest.err
4185
 
  rm -f conftest.er1
4186
 
  cat conftest.err >&5
4187
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188
 
  (exit $ac_status); } && {
4189
 
         test -z "$ac_c_werror_flag" ||
4190
 
         test ! -s conftest.err
4191
 
       } && test -s conftest.$ac_objext; then
4192
 
  ac_cv_header_stdc=yes
4193
 
else
4194
 
  $as_echo "$as_me: failed program was:" >&5
4195
 
sed 's/^/| /' conftest.$ac_ext >&5
4196
 
 
4197
 
        ac_cv_header_stdc=no
4198
 
fi
4199
 
 
4200
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201
 
 
4202
 
if test $ac_cv_header_stdc = yes; then
4203
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4204
 
  cat >conftest.$ac_ext <<_ACEOF
4205
 
/* confdefs.h.  */
4206
 
_ACEOF
4207
 
cat confdefs.h >>conftest.$ac_ext
4208
 
cat >>conftest.$ac_ext <<_ACEOF
4209
 
/* end confdefs.h.  */
4210
 
#include <string.h>
4211
 
 
4212
 
_ACEOF
4213
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4214
 
  $EGREP "memchr" >/dev/null 2>&1; then
4215
 
  :
4216
 
else
4217
 
  ac_cv_header_stdc=no
4218
 
fi
4219
 
rm -f conftest*
4220
 
 
4221
 
fi
4222
 
 
4223
 
if test $ac_cv_header_stdc = yes; then
4224
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4225
 
  cat >conftest.$ac_ext <<_ACEOF
4226
 
/* confdefs.h.  */
4227
 
_ACEOF
4228
 
cat confdefs.h >>conftest.$ac_ext
4229
 
cat >>conftest.$ac_ext <<_ACEOF
4230
 
/* end confdefs.h.  */
4231
 
#include <stdlib.h>
4232
 
 
4233
 
_ACEOF
4234
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4235
 
  $EGREP "free" >/dev/null 2>&1; then
4236
 
  :
4237
 
else
4238
 
  ac_cv_header_stdc=no
4239
 
fi
4240
 
rm -f conftest*
4241
 
 
4242
 
fi
4243
 
 
4244
 
if test $ac_cv_header_stdc = yes; then
4245
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4246
 
  if test "$cross_compiling" = yes; then
4247
 
  :
4248
 
else
4249
 
  cat >conftest.$ac_ext <<_ACEOF
4250
 
/* confdefs.h.  */
4251
 
_ACEOF
4252
 
cat confdefs.h >>conftest.$ac_ext
4253
 
cat >>conftest.$ac_ext <<_ACEOF
4254
 
/* end confdefs.h.  */
4255
 
#include <ctype.h>
4256
 
#include <stdlib.h>
4257
 
#if ((' ' & 0x0FF) == 0x020)
4258
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4259
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4260
 
#else
4261
 
# define ISLOWER(c) \
4262
 
                   (('a' <= (c) && (c) <= 'i') \
4263
 
                     || ('j' <= (c) && (c) <= 'r') \
4264
 
                     || ('s' <= (c) && (c) <= 'z'))
4265
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4266
 
#endif
4267
 
 
4268
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4269
 
int
4270
 
main ()
4271
 
{
4272
 
  int i;
4273
 
  for (i = 0; i < 256; i++)
4274
 
    if (XOR (islower (i), ISLOWER (i))
4275
 
        || toupper (i) != TOUPPER (i))
4276
 
      return 2;
4277
 
  return 0;
4278
 
}
4279
 
_ACEOF
4280
 
rm -f conftest$ac_exeext
4281
 
if { (ac_try="$ac_link"
4282
 
case "(($ac_try" in
4283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284
 
  *) ac_try_echo=$ac_try;;
4285
 
esac
4286
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4287
 
$as_echo "$ac_try_echo") >&5
4288
 
  (eval "$ac_link") 2>&5
4289
 
  ac_status=$?
4290
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4292
 
  { (case "(($ac_try" in
4293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294
 
  *) ac_try_echo=$ac_try;;
4295
 
esac
4296
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4297
 
$as_echo "$ac_try_echo") >&5
4298
 
  (eval "$ac_try") 2>&5
4299
 
  ac_status=$?
4300
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301
 
  (exit $ac_status); }; }; then
4302
 
  :
4303
 
else
4304
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4305
 
$as_echo "$as_me: failed program was:" >&5
4306
 
sed 's/^/| /' conftest.$ac_ext >&5
4307
 
 
4308
 
( exit $ac_status )
4309
 
ac_cv_header_stdc=no
4310
 
fi
4311
 
rm -rf conftest.dSYM
4312
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4313
 
fi
4314
 
 
4315
 
 
4316
 
fi
4317
 
fi
4318
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4319
 
$as_echo "$ac_cv_header_stdc" >&6; }
4320
 
if test $ac_cv_header_stdc = yes; then
4321
 
  
4322
 
cat >>confdefs.h <<\_ACEOF
4323
 
@%:@define STDC_HEADERS 1
4324
 
_ACEOF
 
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
3918
$as_echo_n "checking for ANSI C header files... " >&6; }
 
3919
if test "${ac_cv_header_stdc+set}" = set; then :
 
3920
  $as_echo_n "(cached) " >&6
 
3921
else
 
3922
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3923
/* end confdefs.h.  */
 
3924
#include <stdlib.h>
 
3925
#include <stdarg.h>
 
3926
#include <string.h>
 
3927
#include <float.h>
 
3928
 
 
3929
int
 
3930
main ()
 
3931
{
 
3932
 
 
3933
  ;
 
3934
  return 0;
 
3935
}
 
3936
_ACEOF
 
3937
if ac_fn_c_try_compile "$LINENO"; then :
 
3938
  ac_cv_header_stdc=yes
 
3939
else
 
3940
  ac_cv_header_stdc=no
 
3941
fi
 
3942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3943
 
 
3944
if test $ac_cv_header_stdc = yes; then
 
3945
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3946
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3947
/* end confdefs.h.  */
 
3948
#include <string.h>
 
3949
 
 
3950
_ACEOF
 
3951
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3952
  $EGREP "memchr" >/dev/null 2>&1; then :
 
3953
  
 
3954
else
 
3955
  ac_cv_header_stdc=no
 
3956
fi
 
3957
rm -f conftest*
 
3958
 
 
3959
fi
 
3960
 
 
3961
if test $ac_cv_header_stdc = yes; then
 
3962
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3963
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3964
/* end confdefs.h.  */
 
3965
#include <stdlib.h>
 
3966
 
 
3967
_ACEOF
 
3968
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3969
  $EGREP "free" >/dev/null 2>&1; then :
 
3970
  
 
3971
else
 
3972
  ac_cv_header_stdc=no
 
3973
fi
 
3974
rm -f conftest*
 
3975
 
 
3976
fi
 
3977
 
 
3978
if test $ac_cv_header_stdc = yes; then
 
3979
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3980
  if test "$cross_compiling" = yes; then :
 
3981
  :
 
3982
else
 
3983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3984
/* end confdefs.h.  */
 
3985
#include <ctype.h>
 
3986
#include <stdlib.h>
 
3987
#if ((' ' & 0x0FF) == 0x020)
 
3988
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3989
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3990
#else
 
3991
# define ISLOWER(c) \
 
3992
                   (('a' <= (c) && (c) <= 'i') \
 
3993
                     || ('j' <= (c) && (c) <= 'r') \
 
3994
                     || ('s' <= (c) && (c) <= 'z'))
 
3995
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3996
#endif
 
3997
 
 
3998
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3999
int
 
4000
main ()
 
4001
{
 
4002
  int i;
 
4003
  for (i = 0; i < 256; i++)
 
4004
    if (XOR (islower (i), ISLOWER (i))
 
4005
        || toupper (i) != TOUPPER (i))
 
4006
      return 2;
 
4007
  return 0;
 
4008
}
 
4009
_ACEOF
 
4010
if ac_fn_c_try_run "$LINENO"; then :
 
4011
  
 
4012
else
 
4013
  ac_cv_header_stdc=no
 
4014
fi
 
4015
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4016
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4017
fi
 
4018
 
 
4019
fi
 
4020
fi
 
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4022
$as_echo "$ac_cv_header_stdc" >&6; }
 
4023
if test $ac_cv_header_stdc = yes; then
 
4024
  
 
4025
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
4026
 
 
4027
fi
 
4028
 
 
4029
 
 
4030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4031
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4032
if test "${ac_cv_header_stdc+set}" = set; then :
 
4033
  $as_echo_n "(cached) " >&6
 
4034
else
 
4035
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4036
/* end confdefs.h.  */
 
4037
#include <stdlib.h>
 
4038
#include <stdarg.h>
 
4039
#include <string.h>
 
4040
#include <float.h>
 
4041
 
 
4042
int
 
4043
main ()
 
4044
{
 
4045
 
 
4046
  ;
 
4047
  return 0;
 
4048
}
 
4049
_ACEOF
 
4050
if ac_fn_c_try_compile "$LINENO"; then :
 
4051
  ac_cv_header_stdc=yes
 
4052
else
 
4053
  ac_cv_header_stdc=no
 
4054
fi
 
4055
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4056
 
 
4057
if test $ac_cv_header_stdc = yes; then
 
4058
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4059
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4060
/* end confdefs.h.  */
 
4061
#include <string.h>
 
4062
 
 
4063
_ACEOF
 
4064
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4065
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4066
  
 
4067
else
 
4068
  ac_cv_header_stdc=no
 
4069
fi
 
4070
rm -f conftest*
 
4071
 
 
4072
fi
 
4073
 
 
4074
if test $ac_cv_header_stdc = yes; then
 
4075
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4076
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4077
/* end confdefs.h.  */
 
4078
#include <stdlib.h>
 
4079
 
 
4080
_ACEOF
 
4081
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4082
  $EGREP "free" >/dev/null 2>&1; then :
 
4083
  
 
4084
else
 
4085
  ac_cv_header_stdc=no
 
4086
fi
 
4087
rm -f conftest*
 
4088
 
 
4089
fi
 
4090
 
 
4091
if test $ac_cv_header_stdc = yes; then
 
4092
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4093
  if test "$cross_compiling" = yes; then :
 
4094
  :
 
4095
else
 
4096
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4097
/* end confdefs.h.  */
 
4098
#include <ctype.h>
 
4099
#include <stdlib.h>
 
4100
#if ((' ' & 0x0FF) == 0x020)
 
4101
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4102
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4103
#else
 
4104
# define ISLOWER(c) \
 
4105
                   (('a' <= (c) && (c) <= 'i') \
 
4106
                     || ('j' <= (c) && (c) <= 'r') \
 
4107
                     || ('s' <= (c) && (c) <= 'z'))
 
4108
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4109
#endif
 
4110
 
 
4111
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4112
int
 
4113
main ()
 
4114
{
 
4115
  int i;
 
4116
  for (i = 0; i < 256; i++)
 
4117
    if (XOR (islower (i), ISLOWER (i))
 
4118
        || toupper (i) != TOUPPER (i))
 
4119
      return 2;
 
4120
  return 0;
 
4121
}
 
4122
_ACEOF
 
4123
if ac_fn_c_try_run "$LINENO"; then :
 
4124
  
 
4125
else
 
4126
  ac_cv_header_stdc=no
 
4127
fi
 
4128
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4129
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4130
fi
 
4131
 
 
4132
fi
 
4133
fi
 
4134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4135
$as_echo "$ac_cv_header_stdc" >&6; }
 
4136
if test $ac_cv_header_stdc = yes; then
 
4137
  
 
4138
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4325
4139
 
4326
4140
fi
4327
4141
 
4328
4142
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4329
 
 
4330
 
 
4331
 
 
4332
 
 
4333
 
 
4334
 
 
4335
 
 
4336
 
 
4337
 
 
4338
4143
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4339
4144
                  inttypes.h stdint.h unistd.h
4340
 
do
4341
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4342
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4343
 
$as_echo_n "checking for $ac_header... " >&6; }
4344
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4345
 
  $as_echo_n "(cached) " >&6
4346
 
else
4347
 
  cat >conftest.$ac_ext <<_ACEOF
4348
 
/* confdefs.h.  */
4349
 
_ACEOF
4350
 
cat confdefs.h >>conftest.$ac_ext
4351
 
cat >>conftest.$ac_ext <<_ACEOF
4352
 
/* end confdefs.h.  */
4353
 
$ac_includes_default
4354
 
 
4355
 
@%:@include <$ac_header>
4356
 
_ACEOF
4357
 
rm -f conftest.$ac_objext
4358
 
if { (ac_try="$ac_compile"
4359
 
case "(($ac_try" in
4360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361
 
  *) ac_try_echo=$ac_try;;
4362
 
esac
4363
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4364
 
$as_echo "$ac_try_echo") >&5
4365
 
  (eval "$ac_compile") 2>conftest.er1
4366
 
  ac_status=$?
4367
 
  grep -v '^ *+' conftest.er1 >conftest.err
4368
 
  rm -f conftest.er1
4369
 
  cat conftest.err >&5
4370
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371
 
  (exit $ac_status); } && {
4372
 
         test -z "$ac_c_werror_flag" ||
4373
 
         test ! -s conftest.err
4374
 
       } && test -s conftest.$ac_objext; then
4375
 
  eval "$as_ac_Header=yes"
4376
 
else
4377
 
  $as_echo "$as_me: failed program was:" >&5
4378
 
sed 's/^/| /' conftest.$ac_ext >&5
4379
 
 
4380
 
        eval "$as_ac_Header=no"
4381
 
fi
4382
 
 
4383
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384
 
fi
4385
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4386
 
                 $as_echo "$as_val"'`
4387
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4388
 
$as_echo "$ac_res" >&6; }
4389
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4390
 
                 $as_echo "$as_val"'`
4391
 
   if test "x$as_val" = x""yes; then
 
4145
do :
 
4146
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4147
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4148
"
 
4149
eval as_val=\$$as_ac_Header
 
4150
   if test "x$as_val" = x""yes; then :
4392
4151
  cat >>confdefs.h <<_ACEOF
4393
4152
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4394
4153
_ACEOF
4398
4157
done
4399
4158
 
4400
4159
 
4401
 
 
4402
 
 
4403
 
 
4404
4160
for ac_header in syslog.h sys/wait.h fcntl.h
4405
 
do
4406
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4407
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4408
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4409
 
$as_echo_n "checking for $ac_header... " >&6; }
4410
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4411
 
  $as_echo_n "(cached) " >&6
4412
 
fi
4413
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4414
 
                 $as_echo "$as_val"'`
4415
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4416
 
$as_echo "$ac_res" >&6; }
4417
 
else
4418
 
  # Is the header compilable?
4419
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4420
 
$as_echo_n "checking $ac_header usability... " >&6; }
4421
 
cat >conftest.$ac_ext <<_ACEOF
4422
 
/* confdefs.h.  */
4423
 
_ACEOF
4424
 
cat confdefs.h >>conftest.$ac_ext
4425
 
cat >>conftest.$ac_ext <<_ACEOF
4426
 
/* end confdefs.h.  */
4427
 
$ac_includes_default
4428
 
@%:@include <$ac_header>
4429
 
_ACEOF
4430
 
rm -f conftest.$ac_objext
4431
 
if { (ac_try="$ac_compile"
4432
 
case "(($ac_try" in
4433
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434
 
  *) ac_try_echo=$ac_try;;
4435
 
esac
4436
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4437
 
$as_echo "$ac_try_echo") >&5
4438
 
  (eval "$ac_compile") 2>conftest.er1
4439
 
  ac_status=$?
4440
 
  grep -v '^ *+' conftest.er1 >conftest.err
4441
 
  rm -f conftest.er1
4442
 
  cat conftest.err >&5
4443
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444
 
  (exit $ac_status); } && {
4445
 
         test -z "$ac_c_werror_flag" ||
4446
 
         test ! -s conftest.err
4447
 
       } && test -s conftest.$ac_objext; then
4448
 
  ac_header_compiler=yes
4449
 
else
4450
 
  $as_echo "$as_me: failed program was:" >&5
4451
 
sed 's/^/| /' conftest.$ac_ext >&5
4452
 
 
4453
 
        ac_header_compiler=no
4454
 
fi
4455
 
 
4456
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4457
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4458
 
$as_echo "$ac_header_compiler" >&6; }
4459
 
 
4460
 
# Is the header present?
4461
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4462
 
$as_echo_n "checking $ac_header presence... " >&6; }
4463
 
cat >conftest.$ac_ext <<_ACEOF
4464
 
/* confdefs.h.  */
4465
 
_ACEOF
4466
 
cat confdefs.h >>conftest.$ac_ext
4467
 
cat >>conftest.$ac_ext <<_ACEOF
4468
 
/* end confdefs.h.  */
4469
 
@%:@include <$ac_header>
4470
 
_ACEOF
4471
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4472
 
case "(($ac_try" in
4473
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4474
 
  *) ac_try_echo=$ac_try;;
4475
 
esac
4476
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4477
 
$as_echo "$ac_try_echo") >&5
4478
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4479
 
  ac_status=$?
4480
 
  grep -v '^ *+' conftest.er1 >conftest.err
4481
 
  rm -f conftest.er1
4482
 
  cat conftest.err >&5
4483
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484
 
  (exit $ac_status); } >/dev/null && {
4485
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4486
 
         test ! -s conftest.err
4487
 
       }; then
4488
 
  ac_header_preproc=yes
4489
 
else
4490
 
  $as_echo "$as_me: failed program was:" >&5
4491
 
sed 's/^/| /' conftest.$ac_ext >&5
4492
 
 
4493
 
  ac_header_preproc=no
4494
 
fi
4495
 
 
4496
 
rm -f conftest.err conftest.$ac_ext
4497
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4498
 
$as_echo "$ac_header_preproc" >&6; }
4499
 
 
4500
 
# So?  What about this header?
4501
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4502
 
  yes:no: )
4503
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4504
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4505
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4506
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4507
 
    ac_header_preproc=yes
4508
 
    ;;
4509
 
  no:yes:* )
4510
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4511
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4512
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4513
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4514
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4515
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4516
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4517
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4518
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4519
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4520
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4521
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4522
 
    
4523
 
    ;;
4524
 
esac
4525
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4526
 
$as_echo_n "checking for $ac_header... " >&6; }
4527
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4528
 
  $as_echo_n "(cached) " >&6
4529
 
else
4530
 
  eval "$as_ac_Header=\$ac_header_preproc"
4531
 
fi
4532
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4533
 
                 $as_echo "$as_val"'`
4534
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4535
 
$as_echo "$ac_res" >&6; }
4536
 
 
4537
 
fi
4538
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4539
 
                 $as_echo "$as_val"'`
4540
 
   if test "x$as_val" = x""yes; then
 
4161
do :
 
4162
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4163
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4164
eval as_val=\$$as_ac_Header
 
4165
   if test "x$as_val" = x""yes; then :
4541
4166
  cat >>confdefs.h <<_ACEOF
4542
4167
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4543
4168
_ACEOF
4544
4169
 
4545
4170
else
4546
 
  { { $as_echo "$as_me:$LINENO: error: Required header missing" >&5
4547
 
$as_echo "$as_me: error: Required header missing" >&2;}
4548
 
   { (exit 1); exit 1; }; }
 
4171
  as_fn_error "Required header missing" "$LINENO" 5
4549
4172
fi
4550
4173
 
4551
4174
done
4552
4175
 
4553
4176
 
4554
 
 
4555
 
{ $as_echo "$as_me:$LINENO: checking for main in -lutil" >&5
 
4177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lutil" >&5
4556
4178
$as_echo_n "checking for main in -lutil... " >&6; }
4557
 
if test "${ac_cv_lib_util_main+set}" = set; then
 
4179
if test "${ac_cv_lib_util_main+set}" = set; then :
4558
4180
  $as_echo_n "(cached) " >&6
4559
4181
else
4560
4182
  ac_check_lib_save_LIBS=$LIBS
4561
4183
LIBS="-lutil  $LIBS"
4562
 
cat >conftest.$ac_ext <<_ACEOF
4563
 
/* confdefs.h.  */
4564
 
_ACEOF
4565
 
cat confdefs.h >>conftest.$ac_ext
4566
 
cat >>conftest.$ac_ext <<_ACEOF
 
4184
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567
4185
/* end confdefs.h.  */
4568
4186
 
4569
4187
 
4575
4193
  return 0;
4576
4194
}
4577
4195
_ACEOF
4578
 
rm -f conftest.$ac_objext conftest$ac_exeext
4579
 
if { (ac_try="$ac_link"
4580
 
case "(($ac_try" in
4581
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4582
 
  *) ac_try_echo=$ac_try;;
4583
 
esac
4584
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4585
 
$as_echo "$ac_try_echo") >&5
4586
 
  (eval "$ac_link") 2>conftest.er1
4587
 
  ac_status=$?
4588
 
  grep -v '^ *+' conftest.er1 >conftest.err
4589
 
  rm -f conftest.er1
4590
 
  cat conftest.err >&5
4591
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592
 
  (exit $ac_status); } && {
4593
 
         test -z "$ac_c_werror_flag" ||
4594
 
         test ! -s conftest.err
4595
 
       } && test -s conftest$ac_exeext && {
4596
 
         test "$cross_compiling" = yes ||
4597
 
         $as_test_x conftest$ac_exeext
4598
 
       }; then
 
4196
if ac_fn_c_try_link "$LINENO"; then :
4599
4197
  ac_cv_lib_util_main=yes
4600
4198
else
4601
 
  $as_echo "$as_me: failed program was:" >&5
4602
 
sed 's/^/| /' conftest.$ac_ext >&5
4603
 
 
4604
 
        ac_cv_lib_util_main=no
 
4199
  ac_cv_lib_util_main=no
4605
4200
fi
4606
 
 
4607
 
rm -rf conftest.dSYM
4608
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4609
 
      conftest$ac_exeext conftest.$ac_ext
 
4201
rm -f core conftest.err conftest.$ac_objext \
 
4202
    conftest$ac_exeext conftest.$ac_ext
4610
4203
LIBS=$ac_check_lib_save_LIBS
4611
4204
fi
4612
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
 
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_main" >&5
4613
4206
$as_echo "$ac_cv_lib_util_main" >&6; }
4614
 
if test "x$ac_cv_lib_util_main" = x""yes; then
 
4207
if test "x$ac_cv_lib_util_main" = x""yes; then :
4615
4208
  cat >>confdefs.h <<_ACEOF
4616
4209
@%:@define HAVE_LIBUTIL 1
4617
4210
_ACEOF
4619
4212
  LIBS="-lutil $LIBS"
4620
4213
 
4621
4214
else
4622
 
  { { $as_echo "$as_me:$LINENO: error: ldm requires libutil" >&5
4623
 
$as_echo "$as_me: error: ldm requires libutil" >&2;}
4624
 
   { (exit 1); exit 1; }; }
 
4215
  as_fn_error "ldm requires libutil" "$LINENO" 5
4625
4216
fi
4626
4217
 
4627
4218
 
4631
4222
        if test -n "$ac_tool_prefix"; then
4632
4223
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4633
4224
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4634
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635
4226
$as_echo_n "checking for $ac_word... " >&6; }
4636
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
4227
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4637
4228
  $as_echo_n "(cached) " >&6
4638
4229
else
4639
4230
  case $PKG_CONFIG in
4646
4237
do
4647
4238
  IFS=$as_save_IFS
4648
4239
  test -z "$as_dir" && as_dir=.
4649
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4240
    for ac_exec_ext in '' $ac_executable_extensions; do
4650
4241
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4651
4242
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4652
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4243
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653
4244
    break 2
4654
4245
  fi
4655
4246
done
4656
 
done
 
4247
  done
4657
4248
IFS=$as_save_IFS
4658
4249
 
4659
4250
  ;;
4661
4252
fi
4662
4253
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4663
4254
if test -n "$PKG_CONFIG"; then
4664
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
4255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4665
4256
$as_echo "$PKG_CONFIG" >&6; }
4666
4257
else
4667
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668
4259
$as_echo "no" >&6; }
4669
4260
fi
4670
4261
 
4674
4265
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4675
4266
  # Extract the first word of "pkg-config", so it can be a program name with args.
4676
4267
set dummy pkg-config; ac_word=$2
4677
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678
4269
$as_echo_n "checking for $ac_word... " >&6; }
4679
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
4270
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4680
4271
  $as_echo_n "(cached) " >&6
4681
4272
else
4682
4273
  case $ac_pt_PKG_CONFIG in
4689
4280
do
4690
4281
  IFS=$as_save_IFS
4691
4282
  test -z "$as_dir" && as_dir=.
4692
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4283
    for ac_exec_ext in '' $ac_executable_extensions; do
4693
4284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4694
4285
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4695
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4286
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696
4287
    break 2
4697
4288
  fi
4698
4289
done
4699
 
done
 
4290
  done
4700
4291
IFS=$as_save_IFS
4701
4292
 
4702
4293
  ;;
4704
4295
fi
4705
4296
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4706
4297
if test -n "$ac_pt_PKG_CONFIG"; then
4707
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
4298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4708
4299
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4709
4300
else
4710
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711
4302
$as_echo "no" >&6; }
4712
4303
fi
4713
4304
 
4716
4307
  else
4717
4308
    case $cross_compiling:$ac_tool_warned in
4718
4309
yes:)
4719
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720
4311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721
4312
ac_tool_warned=yes ;;
4722
4313
esac
4729
4320
fi
4730
4321
if test -n "$PKG_CONFIG"; then
4731
4322
        _pkg_min_version=0.9.0
4732
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
4323
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4733
4324
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4734
4325
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4735
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4326
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736
4327
$as_echo "yes" >&6; }
4737
4328
        else
4738
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
4329
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739
4330
$as_echo "no" >&6; }
4740
4331
                PKG_CONFIG=""
4741
4332
        fi
4743
4334
fi
4744
4335
 
4745
4336
pkg_failed=no
4746
 
{ $as_echo "$as_me:$LINENO: checking for GLIB" >&5
 
4337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4747
4338
$as_echo_n "checking for GLIB... " >&6; }
4748
4339
 
4749
4340
if test -n "$PKG_CONFIG"; then
4751
4342
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4752
4343
    else
4753
4344
        if test -n "$PKG_CONFIG" && \
4754
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
 
4345
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\""; } >&5
4755
4346
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4756
4347
  ac_status=$?
4757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
 
  (exit $ac_status); }; then
 
4348
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4349
  test $ac_status = 0; }; then
4759
4350
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6.0" 2>/dev/null`
4760
4351
else
4761
4352
  pkg_failed=yes
4769
4360
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4770
4361
    else
4771
4362
        if test -n "$PKG_CONFIG" && \
4772
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
 
4363
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\""; } >&5
4773
4364
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4774
4365
  ac_status=$?
4775
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776
 
  (exit $ac_status); }; then
 
4366
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4367
  test $ac_status = 0; }; then
4777
4368
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6.0" 2>/dev/null`
4778
4369
else
4779
4370
  pkg_failed=yes
4800
4391
        # Put the nasty error message in config.log where it belongs
4801
4392
        echo "$GLIB_PKG_ERRORS" >&5
4802
4393
 
4803
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4804
 
 
4805
 
$GLIB_PKG_ERRORS
4806
 
 
4807
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4808
 
installed software in a non-standard prefix.
4809
 
 
4810
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4811
 
and GLIB_LIBS to avoid the need to call pkg-config.
4812
 
See the pkg-config man page for more details.
4813
 
" >&5
4814
 
$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4815
 
 
4816
 
$GLIB_PKG_ERRORS
4817
 
 
4818
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4819
 
installed software in a non-standard prefix.
4820
 
 
4821
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4822
 
and GLIB_LIBS to avoid the need to call pkg-config.
4823
 
See the pkg-config man page for more details.
4824
 
" >&2;}
4825
 
   { (exit 1); exit 1; }; }
 
4394
        as_fn_error "Package requirements (glib-2.0 >= 2.6.0) were not met:
 
4395
 
 
4396
$GLIB_PKG_ERRORS
 
4397
 
 
4398
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4399
installed software in a non-standard prefix.
 
4400
 
 
4401
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4402
and GLIB_LIBS to avoid the need to call pkg-config.
 
4403
See the pkg-config man page for more details.
 
4404
" "$LINENO" 5
4826
4405
elif test $pkg_failed = untried; then
4827
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4406
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828
4407
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4830
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4831
 
path to pkg-config.
4832
 
 
4833
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4834
 
and GLIB_LIBS to avoid the need to call pkg-config.
4835
 
See the pkg-config man page for more details.
4836
 
 
4837
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4838
 
See \`config.log' for more details." >&5
4839
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4840
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4841
 
path to pkg-config.
4842
 
 
4843
 
Alternatively, you may set the environment variables GLIB_CFLAGS
4844
 
and GLIB_LIBS to avoid the need to call pkg-config.
4845
 
See the pkg-config man page for more details.
4846
 
 
4847
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4848
 
See \`config.log' for more details." >&2;}
4849
 
   { (exit 1); exit 1; }; }; }
 
4408
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
4409
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4410
path to pkg-config.
 
4411
 
 
4412
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4413
and GLIB_LIBS to avoid the need to call pkg-config.
 
4414
See the pkg-config man page for more details.
 
4415
 
 
4416
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4417
See \`config.log' for more details." "$LINENO" 5; }
4850
4418
else
4851
4419
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4852
4420
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
4853
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4421
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854
4422
$as_echo "yes" >&6; }
4855
4423
        :
4856
4424
fi
4857
4425
 
4858
4426
pkg_failed=no
4859
 
{ $as_echo "$as_me:$LINENO: checking for GOBJECT" >&5
 
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
4860
4428
$as_echo_n "checking for GOBJECT... " >&6; }
4861
4429
 
4862
4430
if test -n "$PKG_CONFIG"; then
4864
4432
        pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
4865
4433
    else
4866
4434
        if test -n "$PKG_CONFIG" && \
4867
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
 
4435
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\""; } >&5
4868
4436
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4869
4437
  ac_status=$?
4870
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871
 
  (exit $ac_status); }; then
 
4438
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4439
  test $ac_status = 0; }; then
4872
4440
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.6.0" 2>/dev/null`
4873
4441
else
4874
4442
  pkg_failed=yes
4882
4450
        pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
4883
4451
    else
4884
4452
        if test -n "$PKG_CONFIG" && \
4885
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
 
4453
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\""; } >&5
4886
4454
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4887
4455
  ac_status=$?
4888
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889
 
  (exit $ac_status); }; then
 
4456
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4457
  test $ac_status = 0; }; then
4890
4458
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.6.0" 2>/dev/null`
4891
4459
else
4892
4460
  pkg_failed=yes
4913
4481
        # Put the nasty error message in config.log where it belongs
4914
4482
        echo "$GOBJECT_PKG_ERRORS" >&5
4915
4483
 
4916
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4917
 
 
4918
 
$GOBJECT_PKG_ERRORS
4919
 
 
4920
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4921
 
installed software in a non-standard prefix.
4922
 
 
4923
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4924
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4925
 
See the pkg-config man page for more details.
4926
 
" >&5
4927
 
$as_echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4928
 
 
4929
 
$GOBJECT_PKG_ERRORS
4930
 
 
4931
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4932
 
installed software in a non-standard prefix.
4933
 
 
4934
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4935
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4936
 
See the pkg-config man page for more details.
4937
 
" >&2;}
4938
 
   { (exit 1); exit 1; }; }
 
4484
        as_fn_error "Package requirements (gobject-2.0 >= 2.6.0) were not met:
 
4485
 
 
4486
$GOBJECT_PKG_ERRORS
 
4487
 
 
4488
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4489
installed software in a non-standard prefix.
 
4490
 
 
4491
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4492
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4493
See the pkg-config man page for more details.
 
4494
" "$LINENO" 5
4939
4495
elif test $pkg_failed = untried; then
4940
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4496
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941
4497
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4942
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4943
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4944
 
path to pkg-config.
4945
 
 
4946
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4947
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4948
 
See the pkg-config man page for more details.
4949
 
 
4950
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4951
 
See \`config.log' for more details." >&5
4952
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4953
 
is in your PATH or set the PKG_CONFIG environment variable to the full
4954
 
path to pkg-config.
4955
 
 
4956
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4957
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
4958
 
See the pkg-config man page for more details.
4959
 
 
4960
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4961
 
See \`config.log' for more details." >&2;}
4962
 
   { (exit 1); exit 1; }; }; }
 
4498
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
4499
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4500
path to pkg-config.
 
4501
 
 
4502
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4503
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4504
See the pkg-config man page for more details.
 
4505
 
 
4506
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4507
See \`config.log' for more details." "$LINENO" 5; }
4963
4508
else
4964
4509
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
4965
4510
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
4966
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4511
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4967
4512
$as_echo "yes" >&6; }
4968
4513
        :
4969
4514
fi
4970
4515
 
4971
4516
pkg_failed=no
4972
 
{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
 
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
4973
4518
$as_echo_n "checking for GTK... " >&6; }
4974
4519
 
4975
4520
if test -n "$PKG_CONFIG"; then
4977
4522
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
4978
4523
    else
4979
4524
        if test -n "$PKG_CONFIG" && \
4980
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2\"") >&5
 
4525
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2\""; } >&5
4981
4526
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2") 2>&5
4982
4527
  ac_status=$?
4983
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984
 
  (exit $ac_status); }; then
 
4528
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4529
  test $ac_status = 0; }; then
4985
4530
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2" 2>/dev/null`
4986
4531
else
4987
4532
  pkg_failed=yes
4995
4540
        pkg_cv_GTK_LIBS="$GTK_LIBS"
4996
4541
    else
4997
4542
        if test -n "$PKG_CONFIG" && \
4998
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2\"") >&5
 
4543
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2\""; } >&5
4999
4544
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2") 2>&5
5000
4545
  ac_status=$?
5001
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002
 
  (exit $ac_status); }; then
 
4546
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4547
  test $ac_status = 0; }; then
5003
4548
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2" 2>/dev/null`
5004
4549
else
5005
4550
  pkg_failed=yes
5026
4571
        # Put the nasty error message in config.log where it belongs
5027
4572
        echo "$GTK_PKG_ERRORS" >&5
5028
4573
 
5029
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.2) were not met:
5030
 
 
5031
 
$GTK_PKG_ERRORS
5032
 
 
5033
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5034
 
installed software in a non-standard prefix.
5035
 
 
5036
 
Alternatively, you may set the environment variables GTK_CFLAGS
5037
 
and GTK_LIBS to avoid the need to call pkg-config.
5038
 
See the pkg-config man page for more details.
5039
 
" >&5
5040
 
$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.2) were not met:
5041
 
 
5042
 
$GTK_PKG_ERRORS
5043
 
 
5044
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5045
 
installed software in a non-standard prefix.
5046
 
 
5047
 
Alternatively, you may set the environment variables GTK_CFLAGS
5048
 
and GTK_LIBS to avoid the need to call pkg-config.
5049
 
See the pkg-config man page for more details.
5050
 
" >&2;}
5051
 
   { (exit 1); exit 1; }; }
 
4574
        as_fn_error "Package requirements (gtk+-2.0 >= 2.2) were not met:
 
4575
 
 
4576
$GTK_PKG_ERRORS
 
4577
 
 
4578
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4579
installed software in a non-standard prefix.
 
4580
 
 
4581
Alternatively, you may set the environment variables GTK_CFLAGS
 
4582
and GTK_LIBS to avoid the need to call pkg-config.
 
4583
See the pkg-config man page for more details.
 
4584
" "$LINENO" 5
5052
4585
elif test $pkg_failed = untried; then
5053
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4586
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5054
4587
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5055
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5056
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5057
 
path to pkg-config.
5058
 
 
5059
 
Alternatively, you may set the environment variables GTK_CFLAGS
5060
 
and GTK_LIBS to avoid the need to call pkg-config.
5061
 
See the pkg-config man page for more details.
5062
 
 
5063
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5064
 
See \`config.log' for more details." >&5
5065
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5066
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5067
 
path to pkg-config.
5068
 
 
5069
 
Alternatively, you may set the environment variables GTK_CFLAGS
5070
 
and GTK_LIBS to avoid the need to call pkg-config.
5071
 
See the pkg-config man page for more details.
5072
 
 
5073
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5074
 
See \`config.log' for more details." >&2;}
5075
 
   { (exit 1); exit 1; }; }; }
 
4588
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
4589
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4590
path to pkg-config.
 
4591
 
 
4592
Alternatively, you may set the environment variables GTK_CFLAGS
 
4593
and GTK_LIBS to avoid the need to call pkg-config.
 
4594
See the pkg-config man page for more details.
 
4595
 
 
4596
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4597
See \`config.log' for more details." "$LINENO" 5; }
5076
4598
else
5077
4599
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5078
4600
        GTK_LIBS=$pkg_cv_GTK_LIBS
5079
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4601
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5080
4602
$as_echo "yes" >&6; }
5081
4603
        :
5082
4604
fi
5089
4611
 
5090
4612
 
5091
4613
 
5092
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
4614
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5093
4615
$as_echo_n "checking whether NLS is requested... " >&6; }
5094
4616
    @%:@ Check whether --enable-nls was given.
5095
 
if test "${enable_nls+set}" = set; then
 
4617
if test "${enable_nls+set}" = set; then :
5096
4618
  enableval=$enable_nls; USE_NLS=$enableval
5097
4619
else
5098
4620
  USE_NLS=yes
5099
4621
fi
5100
4622
 
5101
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
4623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5102
4624
$as_echo "$USE_NLS" >&6; }
5103
4625
  
5104
4626
 
5106
4628
 
5107
4629
case "$am__api_version" in
5108
4630
    1.01234)
5109
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
5110
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
5111
 
   { (exit 1); exit 1; }; }
 
4631
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5112
4632
    ;;
5113
4633
    *)
5114
4634
    ;;
5115
4635
esac
5116
4636
 
5117
4637
if test -n "0.35.0"; then
5118
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
4638
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
5119
4639
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
5120
4640
 
5121
4641
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5122
4642
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5123
4643
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5124
4644
    
5125
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4645
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5126
4646
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5127
4647
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5128
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
5129
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
5130
 
   { (exit 1); exit 1; }; }
 
4648
        as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
5131
4649
fi
5132
4650
 
5133
4651
# Extract the first word of "intltool-update", so it can be a program name with args.
5134
4652
set dummy intltool-update; ac_word=$2
5135
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136
4654
$as_echo_n "checking for $ac_word... " >&6; }
5137
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
4655
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
5138
4656
  $as_echo_n "(cached) " >&6
5139
4657
else
5140
4658
  case $INTLTOOL_UPDATE in
5147
4665
do
5148
4666
  IFS=$as_save_IFS
5149
4667
  test -z "$as_dir" && as_dir=.
5150
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4668
    for ac_exec_ext in '' $ac_executable_extensions; do
5151
4669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152
4670
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5153
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4671
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154
4672
    break 2
5155
4673
  fi
5156
4674
done
5157
 
done
 
4675
  done
5158
4676
IFS=$as_save_IFS
5159
4677
 
5160
4678
  ;;
5162
4680
fi
5163
4681
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5164
4682
if test -n "$INTLTOOL_UPDATE"; then
5165
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
4683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5166
4684
$as_echo "$INTLTOOL_UPDATE" >&6; }
5167
4685
else
5168
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169
4687
$as_echo "no" >&6; }
5170
4688
fi
5171
4689
 
5172
4690
 
5173
4691
# Extract the first word of "intltool-merge", so it can be a program name with args.
5174
4692
set dummy intltool-merge; ac_word=$2
5175
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176
4694
$as_echo_n "checking for $ac_word... " >&6; }
5177
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
4695
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
5178
4696
  $as_echo_n "(cached) " >&6
5179
4697
else
5180
4698
  case $INTLTOOL_MERGE in
5187
4705
do
5188
4706
  IFS=$as_save_IFS
5189
4707
  test -z "$as_dir" && as_dir=.
5190
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4708
    for ac_exec_ext in '' $ac_executable_extensions; do
5191
4709
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5192
4710
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5193
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4711
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194
4712
    break 2
5195
4713
  fi
5196
4714
done
5197
 
done
 
4715
  done
5198
4716
IFS=$as_save_IFS
5199
4717
 
5200
4718
  ;;
5202
4720
fi
5203
4721
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5204
4722
if test -n "$INTLTOOL_MERGE"; then
5205
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
4723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5206
4724
$as_echo "$INTLTOOL_MERGE" >&6; }
5207
4725
else
5208
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209
4727
$as_echo "no" >&6; }
5210
4728
fi
5211
4729
 
5212
4730
 
5213
4731
# Extract the first word of "intltool-extract", so it can be a program name with args.
5214
4732
set dummy intltool-extract; ac_word=$2
5215
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216
4734
$as_echo_n "checking for $ac_word... " >&6; }
5217
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
4735
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
5218
4736
  $as_echo_n "(cached) " >&6
5219
4737
else
5220
4738
  case $INTLTOOL_EXTRACT in
5227
4745
do
5228
4746
  IFS=$as_save_IFS
5229
4747
  test -z "$as_dir" && as_dir=.
5230
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4748
    for ac_exec_ext in '' $ac_executable_extensions; do
5231
4749
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5232
4750
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5233
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4751
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234
4752
    break 2
5235
4753
  fi
5236
4754
done
5237
 
done
 
4755
  done
5238
4756
IFS=$as_save_IFS
5239
4757
 
5240
4758
  ;;
5242
4760
fi
5243
4761
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5244
4762
if test -n "$INTLTOOL_EXTRACT"; then
5245
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
4763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5246
4764
$as_echo "$INTLTOOL_EXTRACT" >&6; }
5247
4765
else
5248
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249
4767
$as_echo "no" >&6; }
5250
4768
fi
5251
4769
 
5252
4770
 
5253
4771
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5254
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
5255
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
5256
 
   { (exit 1); exit 1; }; }
 
4772
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5257
4773
fi
5258
4774
 
5259
4775
  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 $< $@' 
5375
4891
# Check the gettext tools to make sure they are GNU
5376
4892
# Extract the first word of "xgettext", so it can be a program name with args.
5377
4893
set dummy xgettext; ac_word=$2
5378
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379
4895
$as_echo_n "checking for $ac_word... " >&6; }
5380
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4896
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5381
4897
  $as_echo_n "(cached) " >&6
5382
4898
else
5383
4899
  case $XGETTEXT in
5390
4906
do
5391
4907
  IFS=$as_save_IFS
5392
4908
  test -z "$as_dir" && as_dir=.
5393
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4909
    for ac_exec_ext in '' $ac_executable_extensions; do
5394
4910
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395
4911
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5396
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4912
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397
4913
    break 2
5398
4914
  fi
5399
4915
done
5400
 
done
 
4916
  done
5401
4917
IFS=$as_save_IFS
5402
4918
 
5403
4919
  ;;
5405
4921
fi
5406
4922
XGETTEXT=$ac_cv_path_XGETTEXT
5407
4923
if test -n "$XGETTEXT"; then
5408
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5409
4925
$as_echo "$XGETTEXT" >&6; }
5410
4926
else
5411
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412
4928
$as_echo "no" >&6; }
5413
4929
fi
5414
4930
 
5415
4931
 
5416
4932
# Extract the first word of "msgmerge", so it can be a program name with args.
5417
4933
set dummy msgmerge; ac_word=$2
5418
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419
4935
$as_echo_n "checking for $ac_word... " >&6; }
5420
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
4936
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5421
4937
  $as_echo_n "(cached) " >&6
5422
4938
else
5423
4939
  case $MSGMERGE in
5430
4946
do
5431
4947
  IFS=$as_save_IFS
5432
4948
  test -z "$as_dir" && as_dir=.
5433
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4949
    for ac_exec_ext in '' $ac_executable_extensions; do
5434
4950
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435
4951
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5436
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4952
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437
4953
    break 2
5438
4954
  fi
5439
4955
done
5440
 
done
 
4956
  done
5441
4957
IFS=$as_save_IFS
5442
4958
 
5443
4959
  ;;
5445
4961
fi
5446
4962
MSGMERGE=$ac_cv_path_MSGMERGE
5447
4963
if test -n "$MSGMERGE"; then
5448
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
4964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5449
4965
$as_echo "$MSGMERGE" >&6; }
5450
4966
else
5451
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452
4968
$as_echo "no" >&6; }
5453
4969
fi
5454
4970
 
5455
4971
 
5456
4972
# Extract the first word of "msgfmt", so it can be a program name with args.
5457
4973
set dummy msgfmt; ac_word=$2
5458
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459
4975
$as_echo_n "checking for $ac_word... " >&6; }
5460
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4976
if test "${ac_cv_path_MSGFMT+set}" = set; then :
5461
4977
  $as_echo_n "(cached) " >&6
5462
4978
else
5463
4979
  case $MSGFMT in
5470
4986
do
5471
4987
  IFS=$as_save_IFS
5472
4988
  test -z "$as_dir" && as_dir=.
5473
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4989
    for ac_exec_ext in '' $ac_executable_extensions; do
5474
4990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5475
4991
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5476
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4992
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477
4993
    break 2
5478
4994
  fi
5479
4995
done
5480
 
done
 
4996
  done
5481
4997
IFS=$as_save_IFS
5482
4998
 
5483
4999
  ;;
5485
5001
fi
5486
5002
MSGFMT=$ac_cv_path_MSGFMT
5487
5003
if test -n "$MSGFMT"; then
5488
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
5004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5489
5005
$as_echo "$MSGFMT" >&6; }
5490
5006
else
5491
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492
5008
$as_echo "no" >&6; }
5493
5009
fi
5494
5010
 
5495
5011
 
5496
5012
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5497
5013
set dummy gmsgfmt; ac_word=$2
5498
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499
5015
$as_echo_n "checking for $ac_word... " >&6; }
5500
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
5016
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5501
5017
  $as_echo_n "(cached) " >&6
5502
5018
else
5503
5019
  case $GMSGFMT in
5510
5026
do
5511
5027
  IFS=$as_save_IFS
5512
5028
  test -z "$as_dir" && as_dir=.
5513
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5029
    for ac_exec_ext in '' $ac_executable_extensions; do
5514
5030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5515
5031
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5516
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5032
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517
5033
    break 2
5518
5034
  fi
5519
5035
done
5520
 
done
 
5036
  done
5521
5037
IFS=$as_save_IFS
5522
5038
 
5523
5039
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5526
5042
fi
5527
5043
GMSGFMT=$ac_cv_path_GMSGFMT
5528
5044
if test -n "$GMSGFMT"; then
5529
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
5045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5530
5046
$as_echo "$GMSGFMT" >&6; }
5531
5047
else
5532
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533
5049
$as_echo "no" >&6; }
5534
5050
fi
5535
5051
 
5536
5052
 
5537
5053
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5538
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
5539
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
5540
 
   { (exit 1); exit 1; }; }
 
5054
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5541
5055
fi
5542
5056
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5543
5057
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5544
5058
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5545
5059
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5546
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
5547
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
5548
 
   { (exit 1); exit 1; }; }
 
5060
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5549
5061
fi
5550
5062
 
5551
5063
# Extract the first word of "perl", so it can be a program name with args.
5552
5064
set dummy perl; ac_word=$2
5553
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554
5066
$as_echo_n "checking for $ac_word... " >&6; }
5555
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
5067
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
5556
5068
  $as_echo_n "(cached) " >&6
5557
5069
else
5558
5070
  case $INTLTOOL_PERL in
5565
5077
do
5566
5078
  IFS=$as_save_IFS
5567
5079
  test -z "$as_dir" && as_dir=.
5568
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5080
    for ac_exec_ext in '' $ac_executable_extensions; do
5569
5081
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570
5082
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5571
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5083
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572
5084
    break 2
5573
5085
  fi
5574
5086
done
5575
 
done
 
5087
  done
5576
5088
IFS=$as_save_IFS
5577
5089
 
5578
5090
  ;;
5580
5092
fi
5581
5093
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5582
5094
if test -n "$INTLTOOL_PERL"; then
5583
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
5095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5584
5096
$as_echo "$INTLTOOL_PERL" >&6; }
5585
5097
else
5586
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587
5099
$as_echo "no" >&6; }
5588
5100
fi
5589
5101
 
5590
5102
 
5591
5103
if test -z "$INTLTOOL_PERL"; then
5592
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
5593
 
$as_echo "$as_me: error: perl not found" >&2;}
5594
 
   { (exit 1); exit 1; }; }
 
5104
   as_fn_error "perl not found" "$LINENO" 5
5595
5105
fi
5596
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
5106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5597
5107
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5598
5108
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5599
5109
if test $? -ne 0; then
5600
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
5601
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
5602
 
   { (exit 1); exit 1; }; }
 
5110
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
5603
5111
else
5604
5112
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5605
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
5113
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5606
5114
$as_echo "$IT_PERL_VERSION" >&6; }
5607
5115
fi
5608
5116
if test "x" != "xno-xml"; then
5609
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
5117
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5610
5118
$as_echo_n "checking for XML::Parser... " >&6; }
5611
5119
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5612
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5120
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5613
5121
$as_echo "ok" >&6; }
5614
5122
   else
5615
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
5616
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
5617
 
   { (exit 1); exit 1; }; }
 
5123
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
5618
5124
   fi
5619
5125
fi
5620
5126
 
5624
5130
# Set DATADIRNAME correctly if it is not set yet
5625
5131
# (copied from glib-gettext.m4)
5626
5132
if test -z "$DATADIRNAME"; then
5627
 
  cat >conftest.$ac_ext <<_ACEOF
5628
 
/* confdefs.h.  */
5629
 
_ACEOF
5630
 
cat confdefs.h >>conftest.$ac_ext
5631
 
cat >>conftest.$ac_ext <<_ACEOF
 
5133
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632
5134
/* end confdefs.h.  */
5633
5135
 
5634
5136
int
5640
5142
  return 0;
5641
5143
}
5642
5144
_ACEOF
5643
 
rm -f conftest.$ac_objext conftest$ac_exeext
5644
 
if { (ac_try="$ac_link"
5645
 
case "(($ac_try" in
5646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5647
 
  *) ac_try_echo=$ac_try;;
5648
 
esac
5649
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5650
 
$as_echo "$ac_try_echo") >&5
5651
 
  (eval "$ac_link") 2>conftest.er1
5652
 
  ac_status=$?
5653
 
  grep -v '^ *+' conftest.er1 >conftest.err
5654
 
  rm -f conftest.er1
5655
 
  cat conftest.err >&5
5656
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657
 
  (exit $ac_status); } && {
5658
 
         test -z "$ac_c_werror_flag" ||
5659
 
         test ! -s conftest.err
5660
 
       } && test -s conftest$ac_exeext && {
5661
 
         test "$cross_compiling" = yes ||
5662
 
         $as_test_x conftest$ac_exeext
5663
 
       }; then
 
5145
if ac_fn_c_try_link "$LINENO"; then :
5664
5146
  DATADIRNAME=share
5665
5147
else
5666
 
  $as_echo "$as_me: failed program was:" >&5
5667
 
sed 's/^/| /' conftest.$ac_ext >&5
5668
 
 
5669
 
        case $host in
 
5148
  case $host in
5670
5149
    *-*-solaris*)
5671
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5672
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
5673
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5674
 
  $as_echo_n "(cached) " >&6
5675
 
else
5676
 
  cat >conftest.$ac_ext <<_ACEOF
5677
 
/* confdefs.h.  */
5678
 
_ACEOF
5679
 
cat confdefs.h >>conftest.$ac_ext
5680
 
cat >>conftest.$ac_ext <<_ACEOF
5681
 
/* end confdefs.h.  */
5682
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5683
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5684
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5685
 
 
5686
 
/* System header to define __stub macros and hopefully few prototypes,
5687
 
    which can conflict with char bind_textdomain_codeset (); below.
5688
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689
 
    <limits.h> exists even on freestanding compilers.  */
5690
 
 
5691
 
#ifdef __STDC__
5692
 
# include <limits.h>
5693
 
#else
5694
 
# include <assert.h>
5695
 
#endif
5696
 
 
5697
 
#undef bind_textdomain_codeset
5698
 
 
5699
 
/* Override any GCC internal prototype to avoid an error.
5700
 
   Use char because int might match the return type of a GCC
5701
 
   builtin and then its argument prototype would still apply.  */
5702
 
#ifdef __cplusplus
5703
 
extern "C"
5704
 
#endif
5705
 
char bind_textdomain_codeset ();
5706
 
/* The GNU C library defines this for functions which it implements
5707
 
    to always fail with ENOSYS.  Some functions are actually named
5708
 
    something starting with __ and the normal name is an alias.  */
5709
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5710
 
choke me
5711
 
#endif
5712
 
 
5713
 
int
5714
 
main ()
5715
 
{
5716
 
return bind_textdomain_codeset ();
5717
 
  ;
5718
 
  return 0;
5719
 
}
5720
 
_ACEOF
5721
 
rm -f conftest.$ac_objext conftest$ac_exeext
5722
 
if { (ac_try="$ac_link"
5723
 
case "(($ac_try" in
5724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5725
 
  *) ac_try_echo=$ac_try;;
5726
 
esac
5727
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5728
 
$as_echo "$ac_try_echo") >&5
5729
 
  (eval "$ac_link") 2>conftest.er1
5730
 
  ac_status=$?
5731
 
  grep -v '^ *+' conftest.er1 >conftest.err
5732
 
  rm -f conftest.er1
5733
 
  cat conftest.err >&5
5734
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735
 
  (exit $ac_status); } && {
5736
 
         test -z "$ac_c_werror_flag" ||
5737
 
         test ! -s conftest.err
5738
 
       } && test -s conftest$ac_exeext && {
5739
 
         test "$cross_compiling" = yes ||
5740
 
         $as_test_x conftest$ac_exeext
5741
 
       }; then
5742
 
  ac_cv_func_bind_textdomain_codeset=yes
5743
 
else
5744
 
  $as_echo "$as_me: failed program was:" >&5
5745
 
sed 's/^/| /' conftest.$ac_ext >&5
5746
 
 
5747
 
        ac_cv_func_bind_textdomain_codeset=no
5748
 
fi
5749
 
 
5750
 
rm -rf conftest.dSYM
5751
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5752
 
      conftest$ac_exeext conftest.$ac_ext
5753
 
fi
5754
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5755
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
5756
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
5150
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5151
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5757
5152
  DATADIRNAME=share
5758
5153
else
5759
5154
  DATADIRNAME=lib
5765
5160
    ;;
5766
5161
    esac
5767
5162
fi
5768
 
 
5769
 
rm -rf conftest.dSYM
5770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5771
 
      conftest$ac_exeext conftest.$ac_ext
 
5163
rm -f core conftest.err conftest.$ac_objext \
 
5164
    conftest$ac_exeext conftest.$ac_ext
5772
5165
fi
5773
5166
 
5774
5167
 
5778
5171
 
5779
5172
 
5780
5173
      
5781
 
   
5782
 
for ac_header in locale.h
5783
 
do
5784
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5785
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5786
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5787
 
$as_echo_n "checking for $ac_header... " >&6; }
5788
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5789
 
  $as_echo_n "(cached) " >&6
5790
 
fi
5791
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5792
 
                 $as_echo "$as_val"'`
5793
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5794
 
$as_echo "$ac_res" >&6; }
5795
 
else
5796
 
  # Is the header compilable?
5797
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5798
 
$as_echo_n "checking $ac_header usability... " >&6; }
5799
 
cat >conftest.$ac_ext <<_ACEOF
5800
 
/* confdefs.h.  */
5801
 
_ACEOF
5802
 
cat confdefs.h >>conftest.$ac_ext
5803
 
cat >>conftest.$ac_ext <<_ACEOF
5804
 
/* end confdefs.h.  */
5805
 
$ac_includes_default
5806
 
@%:@include <$ac_header>
5807
 
_ACEOF
5808
 
rm -f conftest.$ac_objext
5809
 
if { (ac_try="$ac_compile"
5810
 
case "(($ac_try" in
5811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812
 
  *) ac_try_echo=$ac_try;;
5813
 
esac
5814
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5815
 
$as_echo "$ac_try_echo") >&5
5816
 
  (eval "$ac_compile") 2>conftest.er1
5817
 
  ac_status=$?
5818
 
  grep -v '^ *+' conftest.er1 >conftest.err
5819
 
  rm -f conftest.er1
5820
 
  cat conftest.err >&5
5821
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822
 
  (exit $ac_status); } && {
5823
 
         test -z "$ac_c_werror_flag" ||
5824
 
         test ! -s conftest.err
5825
 
       } && test -s conftest.$ac_objext; then
5826
 
  ac_header_compiler=yes
5827
 
else
5828
 
  $as_echo "$as_me: failed program was:" >&5
5829
 
sed 's/^/| /' conftest.$ac_ext >&5
5830
 
 
5831
 
        ac_header_compiler=no
5832
 
fi
5833
 
 
5834
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5835
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5836
 
$as_echo "$ac_header_compiler" >&6; }
5837
 
 
5838
 
# Is the header present?
5839
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5840
 
$as_echo_n "checking $ac_header presence... " >&6; }
5841
 
cat >conftest.$ac_ext <<_ACEOF
5842
 
/* confdefs.h.  */
5843
 
_ACEOF
5844
 
cat confdefs.h >>conftest.$ac_ext
5845
 
cat >>conftest.$ac_ext <<_ACEOF
5846
 
/* end confdefs.h.  */
5847
 
@%:@include <$ac_header>
5848
 
_ACEOF
5849
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5850
 
case "(($ac_try" in
5851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852
 
  *) ac_try_echo=$ac_try;;
5853
 
esac
5854
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5855
 
$as_echo "$ac_try_echo") >&5
5856
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5857
 
  ac_status=$?
5858
 
  grep -v '^ *+' conftest.er1 >conftest.err
5859
 
  rm -f conftest.er1
5860
 
  cat conftest.err >&5
5861
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862
 
  (exit $ac_status); } >/dev/null && {
5863
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5864
 
         test ! -s conftest.err
5865
 
       }; then
5866
 
  ac_header_preproc=yes
5867
 
else
5868
 
  $as_echo "$as_me: failed program was:" >&5
5869
 
sed 's/^/| /' conftest.$ac_ext >&5
5870
 
 
5871
 
  ac_header_preproc=no
5872
 
fi
5873
 
 
5874
 
rm -f conftest.err conftest.$ac_ext
5875
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5876
 
$as_echo "$ac_header_preproc" >&6; }
5877
 
 
5878
 
# So?  What about this header?
5879
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5880
 
  yes:no: )
5881
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5882
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5883
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5884
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5885
 
    ac_header_preproc=yes
5886
 
    ;;
5887
 
  no:yes:* )
5888
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5889
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5890
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5891
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5892
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5893
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5894
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5895
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5896
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5897
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5898
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5899
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5900
 
    
5901
 
    ;;
5902
 
esac
5903
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5904
 
$as_echo_n "checking for $ac_header... " >&6; }
5905
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5906
 
  $as_echo_n "(cached) " >&6
5907
 
else
5908
 
  eval "$as_ac_Header=\$ac_header_preproc"
5909
 
fi
5910
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5911
 
                 $as_echo "$as_val"'`
5912
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5913
 
$as_echo "$ac_res" >&6; }
5914
 
 
5915
 
fi
5916
 
as_val=`eval 'as_val=${'$as_ac_Header'}
5917
 
                 $as_echo "$as_val"'`
5918
 
   if test "x$as_val" = x""yes; then
 
5174
   for ac_header in locale.h
 
5175
do :
 
5176
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
5177
if test "x$ac_cv_header_locale_h" = x""yes; then :
5919
5178
  cat >>confdefs.h <<_ACEOF
5920
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5179
@%:@define HAVE_LOCALE_H 1
5921
5180
_ACEOF
5922
5181
 
5923
5182
fi
5925
5184
done
5926
5185
 
5927
5186
    if test $ac_cv_header_locale_h = yes; then
5928
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
5187
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5929
5188
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5930
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
5189
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
5931
5190
  $as_echo_n "(cached) " >&6
5932
5191
else
5933
 
  cat >conftest.$ac_ext <<_ACEOF
5934
 
/* confdefs.h.  */
5935
 
_ACEOF
5936
 
cat confdefs.h >>conftest.$ac_ext
5937
 
cat >>conftest.$ac_ext <<_ACEOF
 
5192
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938
5193
/* end confdefs.h.  */
5939
5194
#include <locale.h>
5940
5195
int
5945
5200
  return 0;
5946
5201
}
5947
5202
_ACEOF
5948
 
rm -f conftest.$ac_objext conftest$ac_exeext
5949
 
if { (ac_try="$ac_link"
5950
 
case "(($ac_try" in
5951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5952
 
  *) ac_try_echo=$ac_try;;
5953
 
esac
5954
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5955
 
$as_echo "$ac_try_echo") >&5
5956
 
  (eval "$ac_link") 2>conftest.er1
5957
 
  ac_status=$?
5958
 
  grep -v '^ *+' conftest.er1 >conftest.err
5959
 
  rm -f conftest.er1
5960
 
  cat conftest.err >&5
5961
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962
 
  (exit $ac_status); } && {
5963
 
         test -z "$ac_c_werror_flag" ||
5964
 
         test ! -s conftest.err
5965
 
       } && test -s conftest$ac_exeext && {
5966
 
         test "$cross_compiling" = yes ||
5967
 
         $as_test_x conftest$ac_exeext
5968
 
       }; then
 
5203
if ac_fn_c_try_link "$LINENO"; then :
5969
5204
  am_cv_val_LC_MESSAGES=yes
5970
5205
else
5971
 
  $as_echo "$as_me: failed program was:" >&5
5972
 
sed 's/^/| /' conftest.$ac_ext >&5
5973
 
 
5974
 
        am_cv_val_LC_MESSAGES=no
5975
 
fi
5976
 
 
5977
 
rm -rf conftest.dSYM
5978
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5979
 
      conftest$ac_exeext conftest.$ac_ext
5980
 
fi
5981
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
5206
  am_cv_val_LC_MESSAGES=no
 
5207
fi
 
5208
rm -f core conftest.err conftest.$ac_objext \
 
5209
    conftest$ac_exeext conftest.$ac_ext
 
5210
fi
 
5211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5982
5212
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5983
5213
    if test $am_cv_val_LC_MESSAGES = yes; then
5984
5214
      
5985
 
cat >>confdefs.h <<\_ACEOF
5986
 
@%:@define HAVE_LC_MESSAGES 1
5987
 
_ACEOF
 
5215
$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
5988
5216
 
5989
5217
    fi
5990
5218
  fi
5997
5225
    XGETTEXT=:
5998
5226
    INTLLIBS=
5999
5227
 
6000
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
6001
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6002
 
$as_echo_n "checking for libintl.h... " >&6; }
6003
 
if test "${ac_cv_header_libintl_h+set}" = set; then
6004
 
  $as_echo_n "(cached) " >&6
6005
 
fi
6006
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6007
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
6008
 
else
6009
 
  # Is the header compilable?
6010
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
6011
 
$as_echo_n "checking libintl.h usability... " >&6; }
6012
 
cat >conftest.$ac_ext <<_ACEOF
6013
 
/* confdefs.h.  */
6014
 
_ACEOF
6015
 
cat confdefs.h >>conftest.$ac_ext
6016
 
cat >>conftest.$ac_ext <<_ACEOF
6017
 
/* end confdefs.h.  */
6018
 
$ac_includes_default
6019
 
@%:@include <libintl.h>
6020
 
_ACEOF
6021
 
rm -f conftest.$ac_objext
6022
 
if { (ac_try="$ac_compile"
6023
 
case "(($ac_try" in
6024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025
 
  *) ac_try_echo=$ac_try;;
6026
 
esac
6027
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6028
 
$as_echo "$ac_try_echo") >&5
6029
 
  (eval "$ac_compile") 2>conftest.er1
6030
 
  ac_status=$?
6031
 
  grep -v '^ *+' conftest.er1 >conftest.err
6032
 
  rm -f conftest.er1
6033
 
  cat conftest.err >&5
6034
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035
 
  (exit $ac_status); } && {
6036
 
         test -z "$ac_c_werror_flag" ||
6037
 
         test ! -s conftest.err
6038
 
       } && test -s conftest.$ac_objext; then
6039
 
  ac_header_compiler=yes
6040
 
else
6041
 
  $as_echo "$as_me: failed program was:" >&5
6042
 
sed 's/^/| /' conftest.$ac_ext >&5
6043
 
 
6044
 
        ac_header_compiler=no
6045
 
fi
6046
 
 
6047
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6048
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6049
 
$as_echo "$ac_header_compiler" >&6; }
6050
 
 
6051
 
# Is the header present?
6052
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
6053
 
$as_echo_n "checking libintl.h presence... " >&6; }
6054
 
cat >conftest.$ac_ext <<_ACEOF
6055
 
/* confdefs.h.  */
6056
 
_ACEOF
6057
 
cat confdefs.h >>conftest.$ac_ext
6058
 
cat >>conftest.$ac_ext <<_ACEOF
6059
 
/* end confdefs.h.  */
6060
 
@%:@include <libintl.h>
6061
 
_ACEOF
6062
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6063
 
case "(($ac_try" in
6064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6065
 
  *) ac_try_echo=$ac_try;;
6066
 
esac
6067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6068
 
$as_echo "$ac_try_echo") >&5
6069
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6070
 
  ac_status=$?
6071
 
  grep -v '^ *+' conftest.er1 >conftest.err
6072
 
  rm -f conftest.er1
6073
 
  cat conftest.err >&5
6074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
 
  (exit $ac_status); } >/dev/null && {
6076
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6077
 
         test ! -s conftest.err
6078
 
       }; then
6079
 
  ac_header_preproc=yes
6080
 
else
6081
 
  $as_echo "$as_me: failed program was:" >&5
6082
 
sed 's/^/| /' conftest.$ac_ext >&5
6083
 
 
6084
 
  ac_header_preproc=no
6085
 
fi
6086
 
 
6087
 
rm -f conftest.err conftest.$ac_ext
6088
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6089
 
$as_echo "$ac_header_preproc" >&6; }
6090
 
 
6091
 
# So?  What about this header?
6092
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6093
 
  yes:no: )
6094
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6095
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6096
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6097
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6098
 
    ac_header_preproc=yes
6099
 
    ;;
6100
 
  no:yes:* )
6101
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6102
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6103
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
6104
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
6105
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6106
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6107
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
6108
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6109
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6110
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6111
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6112
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6113
 
    
6114
 
    ;;
6115
 
esac
6116
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6117
 
$as_echo_n "checking for libintl.h... " >&6; }
6118
 
if test "${ac_cv_header_libintl_h+set}" = set; then
6119
 
  $as_echo_n "(cached) " >&6
6120
 
else
6121
 
  ac_cv_header_libintl_h=$ac_header_preproc
6122
 
fi
6123
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6124
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
6125
 
 
6126
 
fi
6127
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
5228
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
5229
if test "x$ac_cv_header_libintl_h" = x""yes; then :
6128
5230
  gt_cv_func_dgettext_libintl="no"
6129
5231
      libintl_extra_libs=""
6130
5232
 
6131
5233
      #
6132
5234
      # First check in libc
6133
5235
      #
6134
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
5236
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6135
5237
$as_echo_n "checking for ngettext in libc... " >&6; }
6136
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
5238
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
6137
5239
  $as_echo_n "(cached) " >&6
6138
5240
else
6139
 
  cat >conftest.$ac_ext <<_ACEOF
6140
 
/* confdefs.h.  */
6141
 
_ACEOF
6142
 
cat confdefs.h >>conftest.$ac_ext
6143
 
cat >>conftest.$ac_ext <<_ACEOF
 
5241
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144
5242
/* end confdefs.h.  */
6145
5243
 
6146
5244
#include <libintl.h>
6153
5251
  return 0;
6154
5252
}
6155
5253
_ACEOF
6156
 
rm -f conftest.$ac_objext conftest$ac_exeext
6157
 
if { (ac_try="$ac_link"
6158
 
case "(($ac_try" in
6159
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6160
 
  *) ac_try_echo=$ac_try;;
6161
 
esac
6162
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6163
 
$as_echo "$ac_try_echo") >&5
6164
 
  (eval "$ac_link") 2>conftest.er1
6165
 
  ac_status=$?
6166
 
  grep -v '^ *+' conftest.er1 >conftest.err
6167
 
  rm -f conftest.er1
6168
 
  cat conftest.err >&5
6169
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170
 
  (exit $ac_status); } && {
6171
 
         test -z "$ac_c_werror_flag" ||
6172
 
         test ! -s conftest.err
6173
 
       } && test -s conftest$ac_exeext && {
6174
 
         test "$cross_compiling" = yes ||
6175
 
         $as_test_x conftest$ac_exeext
6176
 
       }; then
 
5254
if ac_fn_c_try_link "$LINENO"; then :
6177
5255
  gt_cv_func_ngettext_libc=yes
6178
5256
else
6179
 
  $as_echo "$as_me: failed program was:" >&5
6180
 
sed 's/^/| /' conftest.$ac_ext >&5
6181
 
 
6182
 
        gt_cv_func_ngettext_libc=no
 
5257
  gt_cv_func_ngettext_libc=no
6183
5258
fi
6184
 
 
6185
 
rm -rf conftest.dSYM
6186
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6187
 
      conftest$ac_exeext conftest.$ac_ext
 
5259
rm -f core conftest.err conftest.$ac_objext \
 
5260
    conftest$ac_exeext conftest.$ac_ext
6188
5261
        
6189
5262
fi
6190
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
5263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
6191
5264
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6192
5265
  
6193
5266
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6194
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
5267
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6195
5268
$as_echo_n "checking for dgettext in libc... " >&6; }
6196
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
5269
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
6197
5270
  $as_echo_n "(cached) " >&6
6198
5271
else
6199
 
  cat >conftest.$ac_ext <<_ACEOF
6200
 
/* confdefs.h.  */
6201
 
_ACEOF
6202
 
cat confdefs.h >>conftest.$ac_ext
6203
 
cat >>conftest.$ac_ext <<_ACEOF
 
5272
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6204
5273
/* end confdefs.h.  */
6205
5274
 
6206
5275
#include <libintl.h>
6213
5282
  return 0;
6214
5283
}
6215
5284
_ACEOF
6216
 
rm -f conftest.$ac_objext conftest$ac_exeext
6217
 
if { (ac_try="$ac_link"
6218
 
case "(($ac_try" in
6219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6220
 
  *) ac_try_echo=$ac_try;;
6221
 
esac
6222
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6223
 
$as_echo "$ac_try_echo") >&5
6224
 
  (eval "$ac_link") 2>conftest.er1
6225
 
  ac_status=$?
6226
 
  grep -v '^ *+' conftest.er1 >conftest.err
6227
 
  rm -f conftest.er1
6228
 
  cat conftest.err >&5
6229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230
 
  (exit $ac_status); } && {
6231
 
         test -z "$ac_c_werror_flag" ||
6232
 
         test ! -s conftest.err
6233
 
       } && test -s conftest$ac_exeext && {
6234
 
         test "$cross_compiling" = yes ||
6235
 
         $as_test_x conftest$ac_exeext
6236
 
       }; then
 
5285
if ac_fn_c_try_link "$LINENO"; then :
6237
5286
  gt_cv_func_dgettext_libc=yes
6238
5287
else
6239
 
  $as_echo "$as_me: failed program was:" >&5
6240
 
sed 's/^/| /' conftest.$ac_ext >&5
6241
 
 
6242
 
        gt_cv_func_dgettext_libc=no
 
5288
  gt_cv_func_dgettext_libc=no
6243
5289
fi
6244
 
 
6245
 
rm -rf conftest.dSYM
6246
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6247
 
      conftest$ac_exeext conftest.$ac_ext
 
5290
rm -f core conftest.err conftest.$ac_objext \
 
5291
    conftest$ac_exeext conftest.$ac_ext
6248
5292
                
6249
5293
fi
6250
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
5294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
6251
5295
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6252
5296
      fi
6253
5297
  
6254
5298
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6255
 
        
6256
 
for ac_func in bind_textdomain_codeset
6257
 
do
6258
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6259
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6260
 
$as_echo_n "checking for $ac_func... " >&6; }
6261
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6262
 
  $as_echo_n "(cached) " >&6
6263
 
else
6264
 
  cat >conftest.$ac_ext <<_ACEOF
6265
 
/* confdefs.h.  */
6266
 
_ACEOF
6267
 
cat confdefs.h >>conftest.$ac_ext
6268
 
cat >>conftest.$ac_ext <<_ACEOF
6269
 
/* end confdefs.h.  */
6270
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6271
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6272
 
#define $ac_func innocuous_$ac_func
6273
 
 
6274
 
/* System header to define __stub macros and hopefully few prototypes,
6275
 
    which can conflict with char $ac_func (); below.
6276
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6277
 
    <limits.h> exists even on freestanding compilers.  */
6278
 
 
6279
 
#ifdef __STDC__
6280
 
# include <limits.h>
6281
 
#else
6282
 
# include <assert.h>
6283
 
#endif
6284
 
 
6285
 
#undef $ac_func
6286
 
 
6287
 
/* Override any GCC internal prototype to avoid an error.
6288
 
   Use char because int might match the return type of a GCC
6289
 
   builtin and then its argument prototype would still apply.  */
6290
 
#ifdef __cplusplus
6291
 
extern "C"
6292
 
#endif
6293
 
char $ac_func ();
6294
 
/* The GNU C library defines this for functions which it implements
6295
 
    to always fail with ENOSYS.  Some functions are actually named
6296
 
    something starting with __ and the normal name is an alias.  */
6297
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6298
 
choke me
6299
 
#endif
6300
 
 
6301
 
int
6302
 
main ()
6303
 
{
6304
 
return $ac_func ();
6305
 
  ;
6306
 
  return 0;
6307
 
}
6308
 
_ACEOF
6309
 
rm -f conftest.$ac_objext conftest$ac_exeext
6310
 
if { (ac_try="$ac_link"
6311
 
case "(($ac_try" in
6312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6313
 
  *) ac_try_echo=$ac_try;;
6314
 
esac
6315
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6316
 
$as_echo "$ac_try_echo") >&5
6317
 
  (eval "$ac_link") 2>conftest.er1
6318
 
  ac_status=$?
6319
 
  grep -v '^ *+' conftest.er1 >conftest.err
6320
 
  rm -f conftest.er1
6321
 
  cat conftest.err >&5
6322
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
 
  (exit $ac_status); } && {
6324
 
         test -z "$ac_c_werror_flag" ||
6325
 
         test ! -s conftest.err
6326
 
       } && test -s conftest$ac_exeext && {
6327
 
         test "$cross_compiling" = yes ||
6328
 
         $as_test_x conftest$ac_exeext
6329
 
       }; then
6330
 
  eval "$as_ac_var=yes"
6331
 
else
6332
 
  $as_echo "$as_me: failed program was:" >&5
6333
 
sed 's/^/| /' conftest.$ac_ext >&5
6334
 
 
6335
 
        eval "$as_ac_var=no"
6336
 
fi
6337
 
 
6338
 
rm -rf conftest.dSYM
6339
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6340
 
      conftest$ac_exeext conftest.$ac_ext
6341
 
fi
6342
 
ac_res=`eval 'as_val=${'$as_ac_var'}
6343
 
                 $as_echo "$as_val"'`
6344
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6345
 
$as_echo "$ac_res" >&6; }
6346
 
as_val=`eval 'as_val=${'$as_ac_var'}
6347
 
                 $as_echo "$as_val"'`
6348
 
   if test "x$as_val" = x""yes; then
 
5299
        for ac_func in bind_textdomain_codeset
 
5300
do :
 
5301
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5302
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6349
5303
  cat >>confdefs.h <<_ACEOF
6350
 
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5304
@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
6351
5305
_ACEOF
6352
5306
 
6353
5307
fi
6362
5316
         || test "$gt_cv_func_ngettext_libc" != "yes" \
6363
5317
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6364
5318
        
6365
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
5319
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6366
5320
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6367
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
5321
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
6368
5322
  $as_echo_n "(cached) " >&6
6369
5323
else
6370
5324
  ac_check_lib_save_LIBS=$LIBS
6371
5325
LIBS="-lintl  $LIBS"
6372
 
cat >conftest.$ac_ext <<_ACEOF
6373
 
/* confdefs.h.  */
6374
 
_ACEOF
6375
 
cat confdefs.h >>conftest.$ac_ext
6376
 
cat >>conftest.$ac_ext <<_ACEOF
 
5326
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377
5327
/* end confdefs.h.  */
6378
5328
 
6379
5329
/* Override any GCC internal prototype to avoid an error.
6391
5341
  return 0;
6392
5342
}
6393
5343
_ACEOF
6394
 
rm -f conftest.$ac_objext conftest$ac_exeext
6395
 
if { (ac_try="$ac_link"
6396
 
case "(($ac_try" in
6397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6398
 
  *) ac_try_echo=$ac_try;;
6399
 
esac
6400
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6401
 
$as_echo "$ac_try_echo") >&5
6402
 
  (eval "$ac_link") 2>conftest.er1
6403
 
  ac_status=$?
6404
 
  grep -v '^ *+' conftest.er1 >conftest.err
6405
 
  rm -f conftest.er1
6406
 
  cat conftest.err >&5
6407
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408
 
  (exit $ac_status); } && {
6409
 
         test -z "$ac_c_werror_flag" ||
6410
 
         test ! -s conftest.err
6411
 
       } && test -s conftest$ac_exeext && {
6412
 
         test "$cross_compiling" = yes ||
6413
 
         $as_test_x conftest$ac_exeext
6414
 
       }; then
 
5344
if ac_fn_c_try_link "$LINENO"; then :
6415
5345
  ac_cv_lib_intl_bindtextdomain=yes
6416
5346
else
6417
 
  $as_echo "$as_me: failed program was:" >&5
6418
 
sed 's/^/| /' conftest.$ac_ext >&5
6419
 
 
6420
 
        ac_cv_lib_intl_bindtextdomain=no
 
5347
  ac_cv_lib_intl_bindtextdomain=no
6421
5348
fi
6422
 
 
6423
 
rm -rf conftest.dSYM
6424
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6425
 
      conftest$ac_exeext conftest.$ac_ext
 
5349
rm -f core conftest.err conftest.$ac_objext \
 
5350
    conftest$ac_exeext conftest.$ac_ext
6426
5351
LIBS=$ac_check_lib_save_LIBS
6427
5352
fi
6428
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6429
5354
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6430
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
6431
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
5355
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
5356
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6432
5357
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6433
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
5358
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6434
5359
  $as_echo_n "(cached) " >&6
6435
5360
else
6436
5361
  ac_check_lib_save_LIBS=$LIBS
6437
5362
LIBS="-lintl  $LIBS"
6438
 
cat >conftest.$ac_ext <<_ACEOF
6439
 
/* confdefs.h.  */
6440
 
_ACEOF
6441
 
cat confdefs.h >>conftest.$ac_ext
6442
 
cat >>conftest.$ac_ext <<_ACEOF
 
5363
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443
5364
/* end confdefs.h.  */
6444
5365
 
6445
5366
/* Override any GCC internal prototype to avoid an error.
6457
5378
  return 0;
6458
5379
}
6459
5380
_ACEOF
6460
 
rm -f conftest.$ac_objext conftest$ac_exeext
6461
 
if { (ac_try="$ac_link"
6462
 
case "(($ac_try" in
6463
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464
 
  *) ac_try_echo=$ac_try;;
6465
 
esac
6466
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6467
 
$as_echo "$ac_try_echo") >&5
6468
 
  (eval "$ac_link") 2>conftest.er1
6469
 
  ac_status=$?
6470
 
  grep -v '^ *+' conftest.er1 >conftest.err
6471
 
  rm -f conftest.er1
6472
 
  cat conftest.err >&5
6473
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474
 
  (exit $ac_status); } && {
6475
 
         test -z "$ac_c_werror_flag" ||
6476
 
         test ! -s conftest.err
6477
 
       } && test -s conftest$ac_exeext && {
6478
 
         test "$cross_compiling" = yes ||
6479
 
         $as_test_x conftest$ac_exeext
6480
 
       }; then
 
5381
if ac_fn_c_try_link "$LINENO"; then :
6481
5382
  ac_cv_lib_intl_ngettext=yes
6482
5383
else
6483
 
  $as_echo "$as_me: failed program was:" >&5
6484
 
sed 's/^/| /' conftest.$ac_ext >&5
6485
 
 
6486
 
        ac_cv_lib_intl_ngettext=no
 
5384
  ac_cv_lib_intl_ngettext=no
6487
5385
fi
6488
 
 
6489
 
rm -rf conftest.dSYM
6490
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6491
 
      conftest$ac_exeext conftest.$ac_ext
 
5386
rm -f core conftest.err conftest.$ac_objext \
 
5387
    conftest$ac_exeext conftest.$ac_ext
6492
5388
LIBS=$ac_check_lib_save_LIBS
6493
5389
fi
6494
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6495
5391
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6496
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
6497
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
5392
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
5393
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6498
5394
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6499
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
5395
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
6500
5396
  $as_echo_n "(cached) " >&6
6501
5397
else
6502
5398
  ac_check_lib_save_LIBS=$LIBS
6503
5399
LIBS="-lintl  $LIBS"
6504
 
cat >conftest.$ac_ext <<_ACEOF
6505
 
/* confdefs.h.  */
6506
 
_ACEOF
6507
 
cat confdefs.h >>conftest.$ac_ext
6508
 
cat >>conftest.$ac_ext <<_ACEOF
 
5400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509
5401
/* end confdefs.h.  */
6510
5402
 
6511
5403
/* Override any GCC internal prototype to avoid an error.
6523
5415
  return 0;
6524
5416
}
6525
5417
_ACEOF
6526
 
rm -f conftest.$ac_objext conftest$ac_exeext
6527
 
if { (ac_try="$ac_link"
6528
 
case "(($ac_try" in
6529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6530
 
  *) ac_try_echo=$ac_try;;
6531
 
esac
6532
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6533
 
$as_echo "$ac_try_echo") >&5
6534
 
  (eval "$ac_link") 2>conftest.er1
6535
 
  ac_status=$?
6536
 
  grep -v '^ *+' conftest.er1 >conftest.err
6537
 
  rm -f conftest.er1
6538
 
  cat conftest.err >&5
6539
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540
 
  (exit $ac_status); } && {
6541
 
         test -z "$ac_c_werror_flag" ||
6542
 
         test ! -s conftest.err
6543
 
       } && test -s conftest$ac_exeext && {
6544
 
         test "$cross_compiling" = yes ||
6545
 
         $as_test_x conftest$ac_exeext
6546
 
       }; then
 
5418
if ac_fn_c_try_link "$LINENO"; then :
6547
5419
  ac_cv_lib_intl_dgettext=yes
6548
5420
else
6549
 
  $as_echo "$as_me: failed program was:" >&5
6550
 
sed 's/^/| /' conftest.$ac_ext >&5
6551
 
 
6552
 
        ac_cv_lib_intl_dgettext=no
 
5421
  ac_cv_lib_intl_dgettext=no
6553
5422
fi
6554
 
 
6555
 
rm -rf conftest.dSYM
6556
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6557
 
      conftest$ac_exeext conftest.$ac_ext
 
5423
rm -f core conftest.err conftest.$ac_objext \
 
5424
    conftest$ac_exeext conftest.$ac_ext
6558
5425
LIBS=$ac_check_lib_save_LIBS
6559
5426
fi
6560
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
5427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6561
5428
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6562
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
5429
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
6563
5430
  gt_cv_func_dgettext_libintl=yes
6564
5431
fi
6565
5432
 
6569
5436
 
6570
5437
 
6571
5438
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6572
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
5439
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6573
5440
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6574
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
5441
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6575
5442
$as_echo "" >&6; }
6576
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
5443
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6577
5444
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6578
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
5445
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6579
5446
  $as_echo_n "(cached) " >&6
6580
5447
else
6581
5448
  ac_check_lib_save_LIBS=$LIBS
6582
5449
LIBS="-lintl -liconv $LIBS"
6583
 
cat >conftest.$ac_ext <<_ACEOF
6584
 
/* confdefs.h.  */
6585
 
_ACEOF
6586
 
cat confdefs.h >>conftest.$ac_ext
6587
 
cat >>conftest.$ac_ext <<_ACEOF
 
5450
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588
5451
/* end confdefs.h.  */
6589
5452
 
6590
5453
/* Override any GCC internal prototype to avoid an error.
6602
5465
  return 0;
6603
5466
}
6604
5467
_ACEOF
6605
 
rm -f conftest.$ac_objext conftest$ac_exeext
6606
 
if { (ac_try="$ac_link"
6607
 
case "(($ac_try" in
6608
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6609
 
  *) ac_try_echo=$ac_try;;
6610
 
esac
6611
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6612
 
$as_echo "$ac_try_echo") >&5
6613
 
  (eval "$ac_link") 2>conftest.er1
6614
 
  ac_status=$?
6615
 
  grep -v '^ *+' conftest.er1 >conftest.err
6616
 
  rm -f conftest.er1
6617
 
  cat conftest.err >&5
6618
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619
 
  (exit $ac_status); } && {
6620
 
         test -z "$ac_c_werror_flag" ||
6621
 
         test ! -s conftest.err
6622
 
       } && test -s conftest$ac_exeext && {
6623
 
         test "$cross_compiling" = yes ||
6624
 
         $as_test_x conftest$ac_exeext
6625
 
       }; then
 
5468
if ac_fn_c_try_link "$LINENO"; then :
6626
5469
  ac_cv_lib_intl_ngettext=yes
6627
5470
else
6628
 
  $as_echo "$as_me: failed program was:" >&5
6629
 
sed 's/^/| /' conftest.$ac_ext >&5
6630
 
 
6631
 
        ac_cv_lib_intl_ngettext=no
 
5471
  ac_cv_lib_intl_ngettext=no
6632
5472
fi
6633
 
 
6634
 
rm -rf conftest.dSYM
6635
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6636
 
      conftest$ac_exeext conftest.$ac_ext
 
5473
rm -f core conftest.err conftest.$ac_objext \
 
5474
    conftest$ac_exeext conftest.$ac_ext
6637
5475
LIBS=$ac_check_lib_save_LIBS
6638
5476
fi
6639
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
5477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6640
5478
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6641
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
6642
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
5479
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
5480
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6643
5481
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6644
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
5482
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
6645
5483
  $as_echo_n "(cached) " >&6
6646
5484
else
6647
5485
  ac_check_lib_save_LIBS=$LIBS
6648
5486
LIBS="-lintl -liconv $LIBS"
6649
 
cat >conftest.$ac_ext <<_ACEOF
6650
 
/* confdefs.h.  */
6651
 
_ACEOF
6652
 
cat confdefs.h >>conftest.$ac_ext
6653
 
cat >>conftest.$ac_ext <<_ACEOF
 
5487
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6654
5488
/* end confdefs.h.  */
6655
5489
 
6656
5490
/* Override any GCC internal prototype to avoid an error.
6668
5502
  return 0;
6669
5503
}
6670
5504
_ACEOF
6671
 
rm -f conftest.$ac_objext conftest$ac_exeext
6672
 
if { (ac_try="$ac_link"
6673
 
case "(($ac_try" in
6674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6675
 
  *) ac_try_echo=$ac_try;;
6676
 
esac
6677
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6678
 
$as_echo "$ac_try_echo") >&5
6679
 
  (eval "$ac_link") 2>conftest.er1
6680
 
  ac_status=$?
6681
 
  grep -v '^ *+' conftest.er1 >conftest.err
6682
 
  rm -f conftest.er1
6683
 
  cat conftest.err >&5
6684
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685
 
  (exit $ac_status); } && {
6686
 
         test -z "$ac_c_werror_flag" ||
6687
 
         test ! -s conftest.err
6688
 
       } && test -s conftest$ac_exeext && {
6689
 
         test "$cross_compiling" = yes ||
6690
 
         $as_test_x conftest$ac_exeext
6691
 
       }; then
 
5505
if ac_fn_c_try_link "$LINENO"; then :
6692
5506
  ac_cv_lib_intl_dcgettext=yes
6693
5507
else
6694
 
  $as_echo "$as_me: failed program was:" >&5
6695
 
sed 's/^/| /' conftest.$ac_ext >&5
6696
 
 
6697
 
        ac_cv_lib_intl_dcgettext=no
 
5508
  ac_cv_lib_intl_dcgettext=no
6698
5509
fi
6699
 
 
6700
 
rm -rf conftest.dSYM
6701
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6702
 
      conftest$ac_exeext conftest.$ac_ext
 
5510
rm -f core conftest.err conftest.$ac_objext \
 
5511
    conftest$ac_exeext conftest.$ac_ext
6703
5512
LIBS=$ac_check_lib_save_LIBS
6704
5513
fi
6705
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
5514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6706
5515
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6707
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
5516
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
6708
5517
  gt_cv_func_dgettext_libintl=yes
6709
5518
                        libintl_extra_libs=-liconv
6710
5519
else
6726
5535
          glib_save_LIBS="$LIBS"
6727
5536
          LIBS="$LIBS -lintl $libintl_extra_libs"
6728
5537
          unset ac_cv_func_bind_textdomain_codeset
6729
 
          
6730
 
for ac_func in bind_textdomain_codeset
6731
 
do
6732
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6733
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6734
 
$as_echo_n "checking for $ac_func... " >&6; }
6735
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6736
 
  $as_echo_n "(cached) " >&6
6737
 
else
6738
 
  cat >conftest.$ac_ext <<_ACEOF
6739
 
/* confdefs.h.  */
6740
 
_ACEOF
6741
 
cat confdefs.h >>conftest.$ac_ext
6742
 
cat >>conftest.$ac_ext <<_ACEOF
6743
 
/* end confdefs.h.  */
6744
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6745
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6746
 
#define $ac_func innocuous_$ac_func
6747
 
 
6748
 
/* System header to define __stub macros and hopefully few prototypes,
6749
 
    which can conflict with char $ac_func (); below.
6750
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6751
 
    <limits.h> exists even on freestanding compilers.  */
6752
 
 
6753
 
#ifdef __STDC__
6754
 
# include <limits.h>
6755
 
#else
6756
 
# include <assert.h>
6757
 
#endif
6758
 
 
6759
 
#undef $ac_func
6760
 
 
6761
 
/* Override any GCC internal prototype to avoid an error.
6762
 
   Use char because int might match the return type of a GCC
6763
 
   builtin and then its argument prototype would still apply.  */
6764
 
#ifdef __cplusplus
6765
 
extern "C"
6766
 
#endif
6767
 
char $ac_func ();
6768
 
/* The GNU C library defines this for functions which it implements
6769
 
    to always fail with ENOSYS.  Some functions are actually named
6770
 
    something starting with __ and the normal name is an alias.  */
6771
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6772
 
choke me
6773
 
#endif
6774
 
 
6775
 
int
6776
 
main ()
6777
 
{
6778
 
return $ac_func ();
6779
 
  ;
6780
 
  return 0;
6781
 
}
6782
 
_ACEOF
6783
 
rm -f conftest.$ac_objext conftest$ac_exeext
6784
 
if { (ac_try="$ac_link"
6785
 
case "(($ac_try" in
6786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6787
 
  *) ac_try_echo=$ac_try;;
6788
 
esac
6789
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6790
 
$as_echo "$ac_try_echo") >&5
6791
 
  (eval "$ac_link") 2>conftest.er1
6792
 
  ac_status=$?
6793
 
  grep -v '^ *+' conftest.er1 >conftest.err
6794
 
  rm -f conftest.er1
6795
 
  cat conftest.err >&5
6796
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797
 
  (exit $ac_status); } && {
6798
 
         test -z "$ac_c_werror_flag" ||
6799
 
         test ! -s conftest.err
6800
 
       } && test -s conftest$ac_exeext && {
6801
 
         test "$cross_compiling" = yes ||
6802
 
         $as_test_x conftest$ac_exeext
6803
 
       }; then
6804
 
  eval "$as_ac_var=yes"
6805
 
else
6806
 
  $as_echo "$as_me: failed program was:" >&5
6807
 
sed 's/^/| /' conftest.$ac_ext >&5
6808
 
 
6809
 
        eval "$as_ac_var=no"
6810
 
fi
6811
 
 
6812
 
rm -rf conftest.dSYM
6813
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6814
 
      conftest$ac_exeext conftest.$ac_ext
6815
 
fi
6816
 
ac_res=`eval 'as_val=${'$as_ac_var'}
6817
 
                 $as_echo "$as_val"'`
6818
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6819
 
$as_echo "$ac_res" >&6; }
6820
 
as_val=`eval 'as_val=${'$as_ac_var'}
6821
 
                 $as_echo "$as_val"'`
6822
 
   if test "x$as_val" = x""yes; then
 
5538
          for ac_func in bind_textdomain_codeset
 
5539
do :
 
5540
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5541
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6823
5542
  cat >>confdefs.h <<_ACEOF
6824
 
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5543
@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
6825
5544
_ACEOF
6826
5545
 
6827
5546
fi
6851
5570
  
6852
5571
      if test "$gt_cv_have_gettext" = "yes"; then
6853
5572
        
6854
 
cat >>confdefs.h <<\_ACEOF
6855
 
@%:@define HAVE_GETTEXT 1
6856
 
_ACEOF
 
5573
$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
6857
5574
 
6858
5575
        # Extract the first word of "msgfmt", so it can be a program name with args.
6859
5576
set dummy msgfmt; ac_word=$2
6860
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861
5578
$as_echo_n "checking for $ac_word... " >&6; }
6862
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
5579
if test "${ac_cv_path_MSGFMT+set}" = set; then :
6863
5580
  $as_echo_n "(cached) " >&6
6864
5581
else
6865
5582
  case "$MSGFMT" in
6884
5601
fi
6885
5602
MSGFMT="$ac_cv_path_MSGFMT"
6886
5603
if test "$MSGFMT" != "no"; then
6887
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
5604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6888
5605
$as_echo "$MSGFMT" >&6; }
6889
5606
else
6890
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891
5608
$as_echo "no" >&6; }
6892
5609
fi
6893
5610
        if test "$MSGFMT" != "no"; then
6894
5611
          glib_save_LIBS="$LIBS"
6895
5612
          LIBS="$LIBS $INTLLIBS"
6896
 
          
6897
 
for ac_func in dcgettext
6898
 
do
6899
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6900
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6901
 
$as_echo_n "checking for $ac_func... " >&6; }
6902
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6903
 
  $as_echo_n "(cached) " >&6
6904
 
else
6905
 
  cat >conftest.$ac_ext <<_ACEOF
6906
 
/* confdefs.h.  */
6907
 
_ACEOF
6908
 
cat confdefs.h >>conftest.$ac_ext
6909
 
cat >>conftest.$ac_ext <<_ACEOF
6910
 
/* end confdefs.h.  */
6911
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6912
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6913
 
#define $ac_func innocuous_$ac_func
6914
 
 
6915
 
/* System header to define __stub macros and hopefully few prototypes,
6916
 
    which can conflict with char $ac_func (); below.
6917
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6918
 
    <limits.h> exists even on freestanding compilers.  */
6919
 
 
6920
 
#ifdef __STDC__
6921
 
# include <limits.h>
6922
 
#else
6923
 
# include <assert.h>
6924
 
#endif
6925
 
 
6926
 
#undef $ac_func
6927
 
 
6928
 
/* Override any GCC internal prototype to avoid an error.
6929
 
   Use char because int might match the return type of a GCC
6930
 
   builtin and then its argument prototype would still apply.  */
6931
 
#ifdef __cplusplus
6932
 
extern "C"
6933
 
#endif
6934
 
char $ac_func ();
6935
 
/* The GNU C library defines this for functions which it implements
6936
 
    to always fail with ENOSYS.  Some functions are actually named
6937
 
    something starting with __ and the normal name is an alias.  */
6938
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6939
 
choke me
6940
 
#endif
6941
 
 
6942
 
int
6943
 
main ()
6944
 
{
6945
 
return $ac_func ();
6946
 
  ;
6947
 
  return 0;
6948
 
}
6949
 
_ACEOF
6950
 
rm -f conftest.$ac_objext conftest$ac_exeext
6951
 
if { (ac_try="$ac_link"
6952
 
case "(($ac_try" in
6953
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6954
 
  *) ac_try_echo=$ac_try;;
6955
 
esac
6956
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6957
 
$as_echo "$ac_try_echo") >&5
6958
 
  (eval "$ac_link") 2>conftest.er1
6959
 
  ac_status=$?
6960
 
  grep -v '^ *+' conftest.er1 >conftest.err
6961
 
  rm -f conftest.er1
6962
 
  cat conftest.err >&5
6963
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964
 
  (exit $ac_status); } && {
6965
 
         test -z "$ac_c_werror_flag" ||
6966
 
         test ! -s conftest.err
6967
 
       } && test -s conftest$ac_exeext && {
6968
 
         test "$cross_compiling" = yes ||
6969
 
         $as_test_x conftest$ac_exeext
6970
 
       }; then
6971
 
  eval "$as_ac_var=yes"
6972
 
else
6973
 
  $as_echo "$as_me: failed program was:" >&5
6974
 
sed 's/^/| /' conftest.$ac_ext >&5
6975
 
 
6976
 
        eval "$as_ac_var=no"
6977
 
fi
6978
 
 
6979
 
rm -rf conftest.dSYM
6980
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6981
 
      conftest$ac_exeext conftest.$ac_ext
6982
 
fi
6983
 
ac_res=`eval 'as_val=${'$as_ac_var'}
6984
 
                 $as_echo "$as_val"'`
6985
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6986
 
$as_echo "$ac_res" >&6; }
6987
 
as_val=`eval 'as_val=${'$as_ac_var'}
6988
 
                 $as_echo "$as_val"'`
6989
 
   if test "x$as_val" = x""yes; then
 
5613
          for ac_func in dcgettext
 
5614
do :
 
5615
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
5616
if test "x$ac_cv_func_dcgettext" = x""yes; then :
6990
5617
  cat >>confdefs.h <<_ACEOF
6991
 
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5618
@%:@define HAVE_DCGETTEXT 1
6992
5619
_ACEOF
6993
5620
 
6994
5621
fi
6995
5622
done
6996
5623
 
6997
5624
          MSGFMT_OPTS=
6998
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
5625
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6999
5626
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
7000
5627
          cat >conftest.foo <<_ACEOF
7001
5628
 
7010
5637
"Content-Transfer-Encoding: 8bit\n"
7011
5638
 
7012
5639
_ACEOF
7013
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
5640
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
7014
5641
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7015
5642
  ac_status=$?
7016
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017
 
  (exit $ac_status); }; then
7018
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5643
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5644
  test $ac_status = 0; }; then
 
5645
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7019
5646
$as_echo "yes" >&6; }
7020
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
5647
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021
5648
$as_echo "no" >&6; }
7022
5649
echo "$as_me: failed input was:" >&5
7023
5650
sed 's/^/| /' conftest.foo >&5
7025
5652
          
7026
5653
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
7027
5654
set dummy gmsgfmt; ac_word=$2
7028
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029
5656
$as_echo_n "checking for $ac_word... " >&6; }
7030
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
5657
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
7031
5658
  $as_echo_n "(cached) " >&6
7032
5659
else
7033
5660
  case $GMSGFMT in
7040
5667
do
7041
5668
  IFS=$as_save_IFS
7042
5669
  test -z "$as_dir" && as_dir=.
7043
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5670
    for ac_exec_ext in '' $ac_executable_extensions; do
7044
5671
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045
5672
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7046
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5673
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047
5674
    break 2
7048
5675
  fi
7049
5676
done
7050
 
done
 
5677
  done
7051
5678
IFS=$as_save_IFS
7052
5679
 
7053
5680
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7056
5683
fi
7057
5684
GMSGFMT=$ac_cv_path_GMSGFMT
7058
5685
if test -n "$GMSGFMT"; then
7059
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
5686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7060
5687
$as_echo "$GMSGFMT" >&6; }
7061
5688
else
7062
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063
5690
$as_echo "no" >&6; }
7064
5691
fi
7065
5692
 
7066
5693
 
7067
5694
          # Extract the first word of "xgettext", so it can be a program name with args.
7068
5695
set dummy xgettext; ac_word=$2
7069
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070
5697
$as_echo_n "checking for $ac_word... " >&6; }
7071
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
5698
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
7072
5699
  $as_echo_n "(cached) " >&6
7073
5700
else
7074
5701
  case "$XGETTEXT" in
7093
5720
fi
7094
5721
XGETTEXT="$ac_cv_path_XGETTEXT"
7095
5722
if test "$XGETTEXT" != ":"; then
7096
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
5723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7097
5724
$as_echo "$XGETTEXT" >&6; }
7098
5725
else
7099
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100
5727
$as_echo "no" >&6; }
7101
5728
fi
7102
5729
 
7103
 
          cat >conftest.$ac_ext <<_ACEOF
7104
 
/* confdefs.h.  */
7105
 
_ACEOF
7106
 
cat confdefs.h >>conftest.$ac_ext
7107
 
cat >>conftest.$ac_ext <<_ACEOF
 
5730
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108
5731
/* end confdefs.h.  */
7109
5732
 
7110
5733
int
7116
5739
  return 0;
7117
5740
}
7118
5741
_ACEOF
7119
 
rm -f conftest.$ac_objext conftest$ac_exeext
7120
 
if { (ac_try="$ac_link"
7121
 
case "(($ac_try" in
7122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7123
 
  *) ac_try_echo=$ac_try;;
7124
 
esac
7125
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7126
 
$as_echo "$ac_try_echo") >&5
7127
 
  (eval "$ac_link") 2>conftest.er1
7128
 
  ac_status=$?
7129
 
  grep -v '^ *+' conftest.er1 >conftest.err
7130
 
  rm -f conftest.er1
7131
 
  cat conftest.err >&5
7132
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133
 
  (exit $ac_status); } && {
7134
 
         test -z "$ac_c_werror_flag" ||
7135
 
         test ! -s conftest.err
7136
 
       } && test -s conftest$ac_exeext && {
7137
 
         test "$cross_compiling" = yes ||
7138
 
         $as_test_x conftest$ac_exeext
7139
 
       }; then
 
5742
if ac_fn_c_try_link "$LINENO"; then :
7140
5743
  CATOBJEXT=.gmo 
7141
5744
             DATADIRNAME=share
7142
5745
else
7143
 
  $as_echo "$as_me: failed program was:" >&5
7144
 
sed 's/^/| /' conftest.$ac_ext >&5
7145
 
 
7146
 
        case $host in
 
5746
  case $host in
7147
5747
            *-*-solaris*)
7148
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7149
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7150
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7151
 
  $as_echo_n "(cached) " >&6
7152
 
else
7153
 
  cat >conftest.$ac_ext <<_ACEOF
7154
 
/* confdefs.h.  */
7155
 
_ACEOF
7156
 
cat confdefs.h >>conftest.$ac_ext
7157
 
cat >>conftest.$ac_ext <<_ACEOF
7158
 
/* end confdefs.h.  */
7159
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7160
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7161
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7162
 
 
7163
 
/* System header to define __stub macros and hopefully few prototypes,
7164
 
    which can conflict with char bind_textdomain_codeset (); below.
7165
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7166
 
    <limits.h> exists even on freestanding compilers.  */
7167
 
 
7168
 
#ifdef __STDC__
7169
 
# include <limits.h>
7170
 
#else
7171
 
# include <assert.h>
7172
 
#endif
7173
 
 
7174
 
#undef bind_textdomain_codeset
7175
 
 
7176
 
/* Override any GCC internal prototype to avoid an error.
7177
 
   Use char because int might match the return type of a GCC
7178
 
   builtin and then its argument prototype would still apply.  */
7179
 
#ifdef __cplusplus
7180
 
extern "C"
7181
 
#endif
7182
 
char bind_textdomain_codeset ();
7183
 
/* The GNU C library defines this for functions which it implements
7184
 
    to always fail with ENOSYS.  Some functions are actually named
7185
 
    something starting with __ and the normal name is an alias.  */
7186
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7187
 
choke me
7188
 
#endif
7189
 
 
7190
 
int
7191
 
main ()
7192
 
{
7193
 
return bind_textdomain_codeset ();
7194
 
  ;
7195
 
  return 0;
7196
 
}
7197
 
_ACEOF
7198
 
rm -f conftest.$ac_objext conftest$ac_exeext
7199
 
if { (ac_try="$ac_link"
7200
 
case "(($ac_try" in
7201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7202
 
  *) ac_try_echo=$ac_try;;
7203
 
esac
7204
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7205
 
$as_echo "$ac_try_echo") >&5
7206
 
  (eval "$ac_link") 2>conftest.er1
7207
 
  ac_status=$?
7208
 
  grep -v '^ *+' conftest.er1 >conftest.err
7209
 
  rm -f conftest.er1
7210
 
  cat conftest.err >&5
7211
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212
 
  (exit $ac_status); } && {
7213
 
         test -z "$ac_c_werror_flag" ||
7214
 
         test ! -s conftest.err
7215
 
       } && test -s conftest$ac_exeext && {
7216
 
         test "$cross_compiling" = yes ||
7217
 
         $as_test_x conftest$ac_exeext
7218
 
       }; then
7219
 
  ac_cv_func_bind_textdomain_codeset=yes
7220
 
else
7221
 
  $as_echo "$as_me: failed program was:" >&5
7222
 
sed 's/^/| /' conftest.$ac_ext >&5
7223
 
 
7224
 
        ac_cv_func_bind_textdomain_codeset=no
7225
 
fi
7226
 
 
7227
 
rm -rf conftest.dSYM
7228
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7229
 
      conftest$ac_exeext conftest.$ac_ext
7230
 
fi
7231
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7232
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7233
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
5748
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5749
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7234
5750
  CATOBJEXT=.gmo 
7235
5751
               DATADIRNAME=share
7236
5752
else
7245
5761
            ;;
7246
5762
            esac
7247
5763
fi
7248
 
 
7249
 
rm -rf conftest.dSYM
7250
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7251
 
      conftest$ac_exeext conftest.$ac_ext
 
5764
rm -f core conftest.err conftest.$ac_objext \
 
5765
    conftest$ac_exeext conftest.$ac_ext
7252
5766
          LIBS="$glib_save_LIBS"
7253
5767
          INSTOBJEXT=.mo
7254
5768
        else
7262
5776
 
7263
5777
    if test "$gt_cv_have_gettext" = "yes" ; then
7264
5778
      
7265
 
cat >>confdefs.h <<\_ACEOF
7266
 
@%:@define ENABLE_NLS 1
7267
 
_ACEOF
 
5779
$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
7268
5780
 
7269
5781
    fi
7270
5782
 
7272
5784
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7273
5785
        : ;
7274
5786
      else
7275
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
5787
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
7276
5788
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7277
5789
        XGETTEXT=":"
7278
5790
      fi
7305
5817
     if test "x$ALL_LINGUAS" = "x"; then
7306
5818
       LINGUAS=
7307
5819
     else
7308
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
5820
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
7309
5821
$as_echo_n "checking for catalogs to be installed... " >&6; }
7310
5822
       NEW_LINGUAS=
7311
5823
       for presentlang in $ALL_LINGUAS; do
7330
5842
         fi
7331
5843
       done
7332
5844
       LINGUAS=$NEW_LINGUAS
7333
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
5845
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
7334
5846
$as_echo "$LINGUAS" >&6; }
7335
5847
     fi
7336
5848
 
7399
5911
    case $ac_val in #(
7400
5912
    *${as_nl}*)
7401
5913
      case $ac_var in #(
7402
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
5914
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7403
5915
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7404
5916
      esac
7405
5917
      case $ac_var in #(
7406
5918
      _ | IFS | as_nl) ;; #(
7407
5919
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7408
 
      *) $as_unset $ac_var ;;
 
5920
      *) { eval $ac_var=; unset $ac_var;} ;;
7409
5921
      esac ;;
7410
5922
    esac
7411
5923
  done
7413
5925
  (set) 2>&1 |
7414
5926
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7415
5927
    *${as_nl}ac_space=\ *)
7416
 
      # `set' does not quote correctly, so add quotes (double-quote
7417
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5928
      # `set' does not quote correctly, so add quotes: double-quote
 
5929
      # substitution turns \\\\ into \\, and sed turns \\ into \.
7418
5930
      sed -n \
7419
5931
        "s/'/'\\\\''/g;
7420
5932
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7437
5949
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7438
5950
  if test -w "$cache_file"; then
7439
5951
    test "x$cache_file" != "x/dev/null" &&
7440
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5952
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7441
5953
$as_echo "$as_me: updating cache $cache_file" >&6;}
7442
5954
    cat confcache >$cache_file
7443
5955
  else
7444
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5956
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7445
5957
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7446
5958
  fi
7447
5959
fi
7461
5973
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7462
5974
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7463
5975
  #    will be set to the directory where LIBOBJS objects are built.
7464
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7465
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
5976
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5977
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7466
5978
done
7467
5979
LIB@&t@OBJS=$ac_libobjs
7468
5980
 
7469
5981
LTLIBOBJS=$ac_ltlibobjs
7470
5982
 
7471
5983
 
 
5984
 if test -n "$EXEEXT"; then
 
5985
  am__EXEEXT_TRUE=
 
5986
  am__EXEEXT_FALSE='#'
 
5987
else
 
5988
  am__EXEEXT_TRUE='#'
 
5989
  am__EXEEXT_FALSE=
 
5990
fi
 
5991
 
7472
5992
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7473
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7474
 
Usually this means the macro was only invoked conditionally." >&5
7475
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7476
 
Usually this means the macro was only invoked conditionally." >&2;}
7477
 
   { (exit 1); exit 1; }; }
 
5993
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
5994
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7478
5995
fi
7479
5996
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7480
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7481
 
Usually this means the macro was only invoked conditionally." >&5
7482
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7483
 
Usually this means the macro was only invoked conditionally." >&2;}
7484
 
   { (exit 1); exit 1; }; }
 
5997
  as_fn_error "conditional \"AMDEP\" was never defined.
 
5998
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7485
5999
fi
7486
6000
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7487
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7488
 
Usually this means the macro was only invoked conditionally." >&5
7489
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7490
 
Usually this means the macro was only invoked conditionally." >&2;}
7491
 
   { (exit 1); exit 1; }; }
 
6001
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
6002
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7492
6003
fi
7493
6004
 
7494
6005
  ac_config_commands="$ac_config_commands po/stamp-it"
7499
6010
ac_write_fail=0
7500
6011
ac_clean_files_save=$ac_clean_files
7501
6012
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7502
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7503
6014
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7504
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6015
as_write_fail=0
 
6016
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7505
6017
#! $SHELL
7506
6018
# Generated by $as_me.
7507
6019
# Run this file to recreate the current configuration.
7511
6023
debug=false
7512
6024
ac_cs_recheck=false
7513
6025
ac_cs_silent=false
 
6026
 
7514
6027
SHELL=\${CONFIG_SHELL-$SHELL}
7515
 
_ACEOF
7516
 
 
7517
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7518
 
## --------------------- ##
7519
 
## M4sh Initialization.  ##
7520
 
## --------------------- ##
 
6028
export SHELL
 
6029
_ASEOF
 
6030
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
6031
## -------------------- ##
 
6032
## M4sh Initialization. ##
 
6033
## -------------------- ##
7521
6034
 
7522
6035
# Be more Bourne compatible
7523
6036
DUALCASE=1; export DUALCASE # for MKS sh
7524
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
6037
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7525
6038
  emulate sh
7526
6039
  NULLCMD=:
7527
6040
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7529
6042
  alias -g '${1+"$@"}'='"$@"'
7530
6043
  setopt NO_GLOB_SUBST
7531
6044
else
7532
 
  case `(set -o) 2>/dev/null` in
7533
 
  *posix*) set -o posix ;;
 
6045
  case `(set -o) 2>/dev/null` in @%:@(
 
6046
  *posix*) :
 
6047
    set -o posix ;; @%:@(
 
6048
  *) :
 
6049
     ;;
7534
6050
esac
7535
 
 
7536
6051
fi
7537
6052
 
7538
6053
 
7539
 
 
7540
 
 
7541
 
# PATH needs CR
7542
 
# Avoid depending upon Character Ranges.
7543
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7544
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7545
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7546
 
as_cr_digits='0123456789'
7547
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
7548
 
 
7549
6054
as_nl='
7550
6055
'
7551
6056
export as_nl
7553
6058
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7554
6059
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7555
6060
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7556
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6061
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
6062
# but without wasting forks for bash or zsh.
 
6063
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
6064
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6065
  as_echo='print -r --'
 
6066
  as_echo_n='print -rn --'
 
6067
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7557
6068
  as_echo='printf %s\n'
7558
6069
  as_echo_n='printf %s'
7559
6070
else
7564
6075
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7565
6076
    as_echo_n_body='eval
7566
6077
      arg=$1;
7567
 
      case $arg in
 
6078
      case $arg in @%:@(
7568
6079
      *"$as_nl"*)
7569
6080
        expr "X$arg" : "X\\(.*\\)$as_nl";
7570
6081
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7587
6098
  }
7588
6099
fi
7589
6100
 
7590
 
# Support unset when possible.
7591
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7592
 
  as_unset=unset
7593
 
else
7594
 
  as_unset=false
7595
 
fi
7596
 
 
7597
6101
 
7598
6102
# IFS
7599
6103
# We need space, tab and new line, in precisely that order.  Quoting is
7603
6107
IFS=" ""        $as_nl"
7604
6108
 
7605
6109
# Find who we are.  Look in the path if we contain no directory separator.
7606
 
case $0 in
 
6110
case $0 in @%:@((
7607
6111
  *[\\/]* ) as_myself=$0 ;;
7608
6112
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609
6113
for as_dir in $PATH
7610
6114
do
7611
6115
  IFS=$as_save_IFS
7612
6116
  test -z "$as_dir" && as_dir=.
7613
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7614
 
done
 
6117
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
6118
  done
7615
6119
IFS=$as_save_IFS
7616
6120
 
7617
6121
     ;;
7623
6127
fi
7624
6128
if test ! -f "$as_myself"; then
7625
6129
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7626
 
  { (exit 1); exit 1; }
 
6130
  exit 1
7627
6131
fi
7628
6132
 
7629
 
# Work around bugs in pre-3.0 UWIN ksh.
7630
 
for as_var in ENV MAIL MAILPATH
7631
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
6133
# Unset variables that we do not need and which cause bugs (e.g. in
 
6134
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
6135
# suppresses any "Segmentation fault" message there.  '((' could
 
6136
# trigger a bug in pdksh 5.2.14.
 
6137
for as_var in BASH_ENV ENV MAIL MAILPATH
 
6138
do eval test x\${$as_var+set} = xset \
 
6139
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7632
6140
done
7633
6141
PS1='$ '
7634
6142
PS2='> '
7640
6148
LANGUAGE=C
7641
6149
export LANGUAGE
7642
6150
 
7643
 
# Required to use basename.
 
6151
# CDPATH.
 
6152
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
6153
 
 
6154
 
 
6155
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
6156
@%:@ ---------------------------------
 
6157
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
6158
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
6159
@%:@ script with status $?, using 1 if that was 0.
 
6160
as_fn_error ()
 
6161
{
 
6162
  as_status=$?; test $as_status -eq 0 && as_status=1
 
6163
  if test "$3"; then
 
6164
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
6165
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
6166
  fi
 
6167
  $as_echo "$as_me: error: $1" >&2
 
6168
  as_fn_exit $as_status
 
6169
} @%:@ as_fn_error
 
6170
 
 
6171
 
 
6172
@%:@ as_fn_set_status STATUS
 
6173
@%:@ -----------------------
 
6174
@%:@ Set $? to STATUS, without forking.
 
6175
as_fn_set_status ()
 
6176
{
 
6177
  return $1
 
6178
} @%:@ as_fn_set_status
 
6179
 
 
6180
@%:@ as_fn_exit STATUS
 
6181
@%:@ -----------------
 
6182
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
6183
as_fn_exit ()
 
6184
{
 
6185
  set +e
 
6186
  as_fn_set_status $1
 
6187
  exit $1
 
6188
} @%:@ as_fn_exit
 
6189
 
 
6190
@%:@ as_fn_unset VAR
 
6191
@%:@ ---------------
 
6192
@%:@ Portably unset VAR.
 
6193
as_fn_unset ()
 
6194
{
 
6195
  { eval $1=; unset $1;}
 
6196
}
 
6197
as_unset=as_fn_unset
 
6198
@%:@ as_fn_append VAR VALUE
 
6199
@%:@ ----------------------
 
6200
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
6201
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
6202
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
6203
@%:@ implementations.
 
6204
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
6205
  eval 'as_fn_append ()
 
6206
  {
 
6207
    eval $1+=\$2
 
6208
  }'
 
6209
else
 
6210
  as_fn_append ()
 
6211
  {
 
6212
    eval $1=\$$1\$2
 
6213
  }
 
6214
fi # as_fn_append
 
6215
 
 
6216
@%:@ as_fn_arith ARG...
 
6217
@%:@ ------------------
 
6218
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
6219
@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
 
6220
@%:@ must be portable across $(()) and expr.
 
6221
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
6222
  eval 'as_fn_arith ()
 
6223
  {
 
6224
    as_val=$(( $* ))
 
6225
  }'
 
6226
else
 
6227
  as_fn_arith ()
 
6228
  {
 
6229
    as_val=`expr "$@" || test $? -eq 1`
 
6230
  }
 
6231
fi # as_fn_arith
 
6232
 
 
6233
 
7644
6234
if expr a : '\(a\)' >/dev/null 2>&1 &&
7645
6235
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7646
6236
  as_expr=expr
7654
6244
  as_basename=false
7655
6245
fi
7656
6246
 
 
6247
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6248
  as_dirname=dirname
 
6249
else
 
6250
  as_dirname=false
 
6251
fi
7657
6252
 
7658
 
# Name of the executable.
7659
6253
as_me=`$as_basename -- "$0" ||
7660
6254
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7661
6255
         X"$0" : 'X\(//\)$' \| \
7675
6269
          }
7676
6270
          s/.*/./; q'`
7677
6271
 
7678
 
# CDPATH.
7679
 
$as_unset CDPATH
7680
 
 
7681
 
 
7682
 
 
7683
 
  as_lineno_1=$LINENO
7684
 
  as_lineno_2=$LINENO
7685
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7686
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7687
 
 
7688
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7689
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
7690
 
  # line-number line after each line using $LINENO; the second 'sed'
7691
 
  # does the real work.  The second script uses 'N' to pair each
7692
 
  # line-number line with the line containing $LINENO, and appends
7693
 
  # trailing '-' during substitution so that $LINENO is not a special
7694
 
  # case at line end.
7695
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7696
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
7697
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
7698
 
  sed -n '
7699
 
    p
7700
 
    /[$]LINENO/=
7701
 
  ' <$as_myself |
7702
 
    sed '
7703
 
      s/[$]LINENO.*/&-/
7704
 
      t lineno
7705
 
      b
7706
 
      :lineno
7707
 
      N
7708
 
      :loop
7709
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7710
 
      t loop
7711
 
      s/-\n.*//
7712
 
    ' >$as_me.lineno &&
7713
 
  chmod +x "$as_me.lineno" ||
7714
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7715
 
   { (exit 1); exit 1; }; }
7716
 
 
7717
 
  # Don't try to exec as it changes $[0], causing all sort of problems
7718
 
  # (the dirname of $[0] is not the place where we might find the
7719
 
  # original and so on.  Autoconf is especially sensitive to this).
7720
 
  . "./$as_me.lineno"
7721
 
  # Exit status is that of the last command.
7722
 
  exit
7723
 
}
7724
 
 
7725
 
 
7726
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7727
 
  as_dirname=dirname
7728
 
else
7729
 
  as_dirname=false
7730
 
fi
 
6272
# Avoid depending upon Character Ranges.
 
6273
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
6274
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
6275
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
6276
as_cr_digits='0123456789'
 
6277
as_cr_alnum=$as_cr_Letters$as_cr_digits
7731
6278
 
7732
6279
ECHO_C= ECHO_N= ECHO_T=
7733
 
case `echo -n x` in
 
6280
case `echo -n x` in @%:@(((((
7734
6281
-n*)
7735
 
  case `echo 'x\c'` in
 
6282
  case `echo 'xy\c'` in
7736
6283
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7737
 
  *)   ECHO_C='\c';;
 
6284
  xy)  ECHO_C='\c';;
 
6285
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
6286
       ECHO_T=' ';;
7738
6287
  esac;;
7739
6288
*)
7740
6289
  ECHO_N='-n';;
7741
6290
esac
7742
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
7743
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7744
 
  as_expr=expr
7745
 
else
7746
 
  as_expr=false
7747
 
fi
7748
6291
 
7749
6292
rm -f conf$$ conf$$.exe conf$$.file
7750
6293
if test -d conf$$.dir; then
7773
6316
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7774
6317
rmdir conf$$.dir 2>/dev/null
7775
6318
 
 
6319
 
 
6320
@%:@ as_fn_mkdir_p
 
6321
@%:@ -------------
 
6322
@%:@ Create "$as_dir" as a directory, including parents if necessary.
 
6323
as_fn_mkdir_p ()
 
6324
{
 
6325
 
 
6326
  case $as_dir in #(
 
6327
  -*) as_dir=./$as_dir;;
 
6328
  esac
 
6329
  test -d "$as_dir" || eval $as_mkdir_p || {
 
6330
    as_dirs=
 
6331
    while :; do
 
6332
      case $as_dir in #(
 
6333
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
6334
      *) as_qdir=$as_dir;;
 
6335
      esac
 
6336
      as_dirs="'$as_qdir' $as_dirs"
 
6337
      as_dir=`$as_dirname -- "$as_dir" ||
 
6338
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6339
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6340
         X"$as_dir" : 'X\(//\)$' \| \
 
6341
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
6342
$as_echo X"$as_dir" |
 
6343
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6344
            s//\1/
 
6345
            q
 
6346
          }
 
6347
          /^X\(\/\/\)[^/].*/{
 
6348
            s//\1/
 
6349
            q
 
6350
          }
 
6351
          /^X\(\/\/\)$/{
 
6352
            s//\1/
 
6353
            q
 
6354
          }
 
6355
          /^X\(\/\).*/{
 
6356
            s//\1/
 
6357
            q
 
6358
          }
 
6359
          s/.*/./; q'`
 
6360
      test -d "$as_dir" && break
 
6361
    done
 
6362
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6363
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
6364
 
 
6365
 
 
6366
} @%:@ as_fn_mkdir_p
7776
6367
if mkdir -p . 2>/dev/null; then
7777
 
  as_mkdir_p=:
 
6368
  as_mkdir_p='mkdir -p "$as_dir"'
7778
6369
else
7779
6370
  test -d ./-p && rmdir ./-p
7780
6371
  as_mkdir_p=false
7793
6384
      if test -d "$1"; then
7794
6385
        test -d "$1/.";
7795
6386
      else
7796
 
        case $1 in
 
6387
        case $1 in @%:@(
7797
6388
        -*)set "./$1";;
7798
6389
        esac;
7799
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
6390
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
7800
6391
        ???[sx]*):;;*)false;;esac;fi
7801
6392
    '\'' sh
7802
6393
  '
7811
6402
 
7812
6403
 
7813
6404
exec 6>&1
 
6405
## ----------------------------------- ##
 
6406
## Main body of $CONFIG_STATUS script. ##
 
6407
## ----------------------------------- ##
 
6408
_ASEOF
 
6409
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7814
6410
 
7815
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
6411
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6412
# Save the log message, to keep $0 and so on meaningful, and to
7816
6413
# report actual input values of CONFIG_FILES etc. instead of their
7817
6414
# values after options handling.
7818
6415
ac_log="
7819
6416
This file was extended by src/ldm.c $as_me gtkgreet/ldmgtkgreeter.c, which was
7820
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
6417
generated by GNU Autoconf 2.64.  Invocation command line was
7821
6418
 
7822
6419
  CONFIG_FILES    = $CONFIG_FILES
7823
6420
  CONFIG_HEADERS  = $CONFIG_HEADERS
7849
6446
 
7850
6447
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7851
6448
ac_cs_usage="\
7852
 
\`$as_me' instantiates files from templates according to the
7853
 
current configuration.
 
6449
\`$as_me' instantiates files and other configuration actions
 
6450
from templates according to the current configuration.  Unless the files
 
6451
and actions are specified as TAGs, all are instantiated by default.
7854
6452
 
7855
 
Usage: $0 [OPTION]... [FILE]...
 
6453
Usage: $0 [OPTION]... [TAG]...
7856
6454
 
7857
6455
  -h, --help       print this help, then exit
7858
6456
  -V, --version    print version number and configuration settings, then exit
7874
6472
Configuration commands:
7875
6473
$config_commands
7876
6474
 
7877
 
Report bugs to <bug-autoconf@gnu.org>."
 
6475
Report bugs to the package provider."
7878
6476
 
7879
6477
_ACEOF
7880
6478
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7881
6479
ac_cs_version="\\
7882
6480
src/ldm.c config.status gtkgreet/ldmgtkgreeter.c
7883
 
configured by $0, generated by GNU Autoconf 2.63,
 
6481
configured by $0, generated by GNU Autoconf 2.64,
7884
6482
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7885
6483
 
7886
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
6484
Copyright (C) 2009 Free Software Foundation, Inc.
7887
6485
This config.status script is free software; the Free Software Foundation
7888
6486
gives unlimited permission to copy, distribute and modify it."
7889
6487
 
7926
6524
    case $ac_optarg in
7927
6525
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7928
6526
    esac
7929
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
6527
    as_fn_append CONFIG_FILES " '$ac_optarg'"
7930
6528
    ac_need_defaults=false;;
7931
6529
  --header | --heade | --head | --hea )
7932
6530
    $ac_shift
7933
6531
    case $ac_optarg in
7934
6532
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7935
6533
    esac
7936
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
6534
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7937
6535
    ac_need_defaults=false;;
7938
6536
  --he | --h)
7939
6537
    # Conflict between --help and --header
7940
 
    { $as_echo "$as_me: error: ambiguous option: $1
7941
 
Try \`$0 --help' for more information." >&2
7942
 
   { (exit 1); exit 1; }; };;
 
6538
    as_fn_error "ambiguous option: \`$1'
 
6539
Try \`$0 --help' for more information.";;
7943
6540
  --help | --hel | -h )
7944
6541
    $as_echo "$ac_cs_usage"; exit ;;
7945
6542
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7947
6544
    ac_cs_silent=: ;;
7948
6545
 
7949
6546
  # This is an error.
7950
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
7951
 
Try \`$0 --help' for more information." >&2
7952
 
   { (exit 1); exit 1; }; } ;;
 
6547
  -*) as_fn_error "unrecognized option: \`$1'
 
6548
Try \`$0 --help' for more information." ;;
7953
6549
 
7954
 
  *) ac_config_targets="$ac_config_targets $1"
 
6550
  *) as_fn_append ac_config_targets " $1"
7955
6551
     ac_need_defaults=false ;;
7956
6552
 
7957
6553
  esac
8021
6617
    "po/rc.d/Makefile") CONFIG_FILES="$CONFIG_FILES po/rc.d/Makefile" ;;
8022
6618
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8023
6619
 
8024
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8025
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8026
 
   { (exit 1); exit 1; }; };;
 
6620
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8027
6621
  esac
8028
6622
done
8029
6623
 
8050
6644
  trap 'exit_status=$?
8051
6645
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8052
6646
' 0
8053
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
6647
  trap 'as_fn_exit 1' 1 2 13 15
8054
6648
}
8055
6649
# Create a (secure) tmp directory for tmp files.
8056
6650
 
8061
6655
{
8062
6656
  tmp=./conf$$-$RANDOM
8063
6657
  (umask 077 && mkdir "$tmp")
8064
 
} ||
8065
 
{
8066
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
8067
 
   { (exit 1); exit 1; }
8068
 
}
 
6658
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8069
6659
 
8070
6660
# Set up the scripts for CONFIG_FILES section.
8071
6661
# No need to generate them if there are no CONFIG_FILES.
8073
6663
if test -n "$CONFIG_FILES"; then
8074
6664
 
8075
6665
 
8076
 
ac_cr='
 
 
b"'"
 
6666
ac_cr=`echo X | tr X '\015'`
 
6667
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
6668
# But we know of no other shell where ac_cr would be empty at this
 
6669
# point, so we can use a bashism as a fallback.
 
6670
if test "x$ac_cr" = x; then
 
6671
  eval ac_cr=\$\'\\r\'
 
6672
fi
8077
6673
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8078
6674
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8079
 
  ac_cs_awk_cr='\\r'
 
6675
  ac_cs_awk_cr='\r'
8080
6676
else
8081
6677
  ac_cs_awk_cr=$ac_cr
8082
6678
fi
8090
6686
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8091
6687
  echo "_ACEOF"
8092
6688
} >conf$$subs.sh ||
8093
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8094
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8095
 
   { (exit 1); exit 1; }; }
 
6689
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8096
6690
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8097
6691
ac_delim='%!_!# '
8098
6692
for ac_last_try in false false false false false :; do
8099
6693
  . ./conf$$subs.sh ||
8100
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8101
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8102
 
   { (exit 1); exit 1; }; }
 
6694
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8103
6695
 
8104
6696
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8105
6697
  if test $ac_delim_n = $ac_delim_num; then
8106
6698
    break
8107
6699
  elif $ac_last_try; then
8108
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8109
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8110
 
   { (exit 1); exit 1; }; }
 
6700
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8111
6701
  else
8112
6702
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8113
6703
  fi
8196
6786
else
8197
6787
  cat
8198
6788
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8199
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8200
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
8201
 
   { (exit 1); exit 1; }; }
 
6789
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
8202
6790
_ACEOF
8203
6791
 
8204
6792
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8239
6827
  if test -z "$ac_t"; then
8240
6828
    break
8241
6829
  elif $ac_last_try; then
8242
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8243
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8244
 
   { (exit 1); exit 1; }; }
 
6830
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8245
6831
  else
8246
6832
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8247
6833
  fi
8326
6912
_ACAWK
8327
6913
_ACEOF
8328
6914
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8329
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8330
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8331
 
   { (exit 1); exit 1; }; }
 
6915
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
8332
6916
fi # test -n "$CONFIG_HEADERS"
8333
6917
 
8334
6918
 
8341
6925
  esac
8342
6926
  case $ac_mode$ac_tag in
8343
6927
  :[FHL]*:*);;
8344
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8345
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8346
 
   { (exit 1); exit 1; }; };;
 
6928
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8347
6929
  :[FH]-) ac_tag=-:-;;
8348
6930
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8349
6931
  esac
8371
6953
           [\\/$]*) false;;
8372
6954
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8373
6955
           esac ||
8374
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8375
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8376
 
   { (exit 1); exit 1; }; };;
 
6956
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8377
6957
      esac
8378
6958
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8379
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
6959
      as_fn_append ac_file_inputs " '$ac_f'"
8380
6960
    done
8381
6961
 
8382
6962
    # Let's still pretend it is `configure' which instantiates (i.e., don't
8387
6967
        `' by configure.'
8388
6968
    if test x"$ac_file" != x-; then
8389
6969
      configure_input="$ac_file.  $configure_input"
8390
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
6970
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8391
6971
$as_echo "$as_me: creating $ac_file" >&6;}
8392
6972
    fi
8393
6973
    # Neutralize special characters interpreted by sed in replacement strings.
8400
6980
 
8401
6981
    case $ac_tag in
8402
6982
    *:-:* | *:-) cat >"$tmp/stdin" \
8403
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8404
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8405
 
   { (exit 1); exit 1; }; } ;;
 
6983
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8406
6984
    esac
8407
6985
    ;;
8408
6986
  esac
8430
7008
            q
8431
7009
          }
8432
7010
          s/.*/./; q'`
8433
 
  { as_dir="$ac_dir"
8434
 
  case $as_dir in #(
8435
 
  -*) as_dir=./$as_dir;;
8436
 
  esac
8437
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8438
 
    as_dirs=
8439
 
    while :; do
8440
 
      case $as_dir in #(
8441
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8442
 
      *) as_qdir=$as_dir;;
8443
 
      esac
8444
 
      as_dirs="'$as_qdir' $as_dirs"
8445
 
      as_dir=`$as_dirname -- "$as_dir" ||
8446
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8447
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8448
 
         X"$as_dir" : 'X\(//\)$' \| \
8449
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8450
 
$as_echo X"$as_dir" |
8451
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8452
 
            s//\1/
8453
 
            q
8454
 
          }
8455
 
          /^X\(\/\/\)[^/].*/{
8456
 
            s//\1/
8457
 
            q
8458
 
          }
8459
 
          /^X\(\/\/\)$/{
8460
 
            s//\1/
8461
 
            q
8462
 
          }
8463
 
          /^X\(\/\).*/{
8464
 
            s//\1/
8465
 
            q
8466
 
          }
8467
 
          s/.*/./; q'`
8468
 
      test -d "$as_dir" && break
8469
 
    done
8470
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8471
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8472
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8473
 
   { (exit 1); exit 1; }; }; }
 
7011
  as_dir="$ac_dir"; as_fn_mkdir_p
8474
7012
  ac_builddir=.
8475
7013
 
8476
7014
case "$ac_dir" in
8527
7065
# If the template does not know about datarootdir, expand it.
8528
7066
# FIXME: This hack should be removed a few years after 2.60.
8529
7067
ac_datarootdir_hack=; ac_datarootdir_seen=
8530
 
 
8531
7068
ac_sed_dataroot='
8532
7069
/datarootdir/ {
8533
7070
  p
8537
7074
/@docdir@/p
8538
7075
/@infodir@/p
8539
7076
/@localedir@/p
8540
 
/@mandir@/p
8541
 
'
 
7077
/@mandir@/p'
8542
7078
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8543
7079
*datarootdir*) ac_datarootdir_seen=yes;;
8544
7080
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8545
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7081
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8546
7082
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8547
7083
_ACEOF
8548
7084
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8552
7088
  s&@infodir@&$infodir&g
8553
7089
  s&@localedir@&$localedir&g
8554
7090
  s&@mandir@&$mandir&g
8555
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
7091
  s&\\\${datarootdir}&$datarootdir&g' ;;
8556
7092
esac
8557
7093
_ACEOF
8558
7094
 
8581
7117
$ac_datarootdir_hack
8582
7118
"
8583
7119
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8584
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8585
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8586
 
   { (exit 1); exit 1; }; }
 
7120
  || as_fn_error "could not create $ac_file" "$LINENO" 5
8587
7121
 
8588
7122
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8589
7123
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8590
7124
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8591
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7125
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8592
7126
which seems to be undefined.  Please make sure it is defined." >&5
8593
7127
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8594
7128
which seems to be undefined.  Please make sure it is defined." >&2;}
8598
7132
  -) cat "$tmp/out" && rm -f "$tmp/out";;
8599
7133
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8600
7134
  esac \
8601
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8602
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8603
 
   { (exit 1); exit 1; }; }
 
7135
  || as_fn_error "could not create $ac_file" "$LINENO" 5
8604
7136
 ;;
8605
7137
  :H)
8606
7138
  #
8611
7143
      $as_echo "/* $configure_input  */" \
8612
7144
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8613
7145
    } >"$tmp/config.h" \
8614
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8615
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8616
 
   { (exit 1); exit 1; }; }
 
7146
      || as_fn_error "could not create $ac_file" "$LINENO" 5
8617
7147
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8618
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7148
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8619
7149
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8620
7150
    else
8621
7151
      rm -f "$ac_file"
8622
7152
      mv "$tmp/config.h" "$ac_file" \
8623
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8624
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8625
 
   { (exit 1); exit 1; }; }
 
7153
        || as_fn_error "could not create $ac_file" "$LINENO" 5
8626
7154
    fi
8627
7155
  else
8628
7156
    $as_echo "/* $configure_input  */" \
8629
7157
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8630
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
8631
 
$as_echo "$as_me: error: could not create -" >&2;}
8632
 
   { (exit 1); exit 1; }; }
 
7158
      || as_fn_error "could not create -" "$LINENO" 5
8633
7159
  fi
8634
7160
# Compute "$ac_file"'s index in $config_headers.
8635
7161
_am_arg="$ac_file"
8667
7193
          s/.*/./; q'`/stamp-h$_am_stamp_count
8668
7194
 ;;
8669
7195
  
8670
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7196
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8671
7197
$as_echo "$as_me: executing $ac_file commands" >&6;}
8672
7198
 ;;
8673
7199
  esac
8762
7288
            q
8763
7289
          }
8764
7290
          s/.*/./; q'`
8765
 
      { as_dir=$dirpart/$fdir
8766
 
  case $as_dir in #(
8767
 
  -*) as_dir=./$as_dir;;
8768
 
  esac
8769
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8770
 
    as_dirs=
8771
 
    while :; do
8772
 
      case $as_dir in #(
8773
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8774
 
      *) as_qdir=$as_dir;;
8775
 
      esac
8776
 
      as_dirs="'$as_qdir' $as_dirs"
8777
 
      as_dir=`$as_dirname -- "$as_dir" ||
8778
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8779
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8780
 
         X"$as_dir" : 'X\(//\)$' \| \
8781
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8782
 
$as_echo X"$as_dir" |
8783
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8784
 
            s//\1/
8785
 
            q
8786
 
          }
8787
 
          /^X\(\/\/\)[^/].*/{
8788
 
            s//\1/
8789
 
            q
8790
 
          }
8791
 
          /^X\(\/\/\)$/{
8792
 
            s//\1/
8793
 
            q
8794
 
          }
8795
 
          /^X\(\/\).*/{
8796
 
            s//\1/
8797
 
            q
8798
 
          }
8799
 
          s/.*/./; q'`
8800
 
      test -d "$as_dir" && break
8801
 
    done
8802
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8803
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8804
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8805
 
   { (exit 1); exit 1; }; }; }
 
7291
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
8806
7292
      # echo "creating $dirpart/$file"
8807
7293
      echo '# dummy' > "$dirpart/$file"
8808
7294
    done
8814
7300
      esac ;;
8815
7301
    "po/stamp-it":C) 
8816
7302
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
8817
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
8818
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
8819
 
   { (exit 1); exit 1; }; }
 
7303
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
8820
7304
    fi
8821
7305
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8822
7306
    >"po/stamp-it.tmp"
8839
7323
done # for ac_tag
8840
7324
 
8841
7325
 
8842
 
{ (exit 0); exit 0; }
 
7326
as_fn_exit 0
8843
7327
_ACEOF
8844
 
chmod +x $CONFIG_STATUS
8845
7328
ac_clean_files=$ac_clean_files_save
8846
7329
 
8847
7330
test $ac_write_fail = 0 ||
8848
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8849
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8850
 
   { (exit 1); exit 1; }; }
 
7331
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8851
7332
 
8852
7333
 
8853
7334
# configure is writing to config.log, and then calls config.status.
8868
7349
  exec 5>>config.log
8869
7350
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8870
7351
  # would make configure fail if this is the last instruction.
8871
 
  $ac_cs_success || { (exit 1); exit 1; }
 
7352
  $ac_cs_success || as_fn_exit $?
8872
7353
fi
8873
7354
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8874
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7355
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8875
7356
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8876
7357
fi
8877
7358