~ubuntu-branches/debian/sid/gworldclock/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Drew Parsons
  • Date: 2006-11-24 01:27:31 UTC
  • mfrom: (2.1.7 feisty)
  • Revision ID: james.westby@ubuntu.com-20061124012731-95bipxfgk4nx099j
Tags: 1.4.4-6
Use gworldclock.png as icon in the Debian menu. Funny, the menu
docs say they only accept xpm, but png seems to work fine. I can't
find any window manager which uses icons in the menu that won't
display it. If you know something I don't know then tell me,
otherwise I'll just keep the one icon file for simplicity.
Closes: #397429.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for gworldclock 1.4.3.
 
3
# Generated by GNU Autoconf 2.60 for gworldclock 1.4.4.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
16
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
18
  # is contrary to our usage.  Disable this feature.
18
19
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
 
20
  setopt NO_GLOB_SUBST
 
21
else
 
22
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21
23
fi
 
24
BIN_SH=xpg4; export BIN_SH # for Tru64
22
25
DUALCASE=1; export DUALCASE # for MKS sh
23
26
 
 
27
 
 
28
# PATH needs CR
 
29
# Avoid depending upon Character Ranges.
 
30
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
31
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
32
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
33
as_cr_digits='0123456789'
 
34
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
35
 
 
36
# The user is always right.
 
37
if test "${PATH_SEPARATOR+set}" != set; then
 
38
  echo "#! /bin/sh" >conf$$.sh
 
39
  echo  "exit 0"   >>conf$$.sh
 
40
  chmod +x conf$$.sh
 
41
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
42
    PATH_SEPARATOR=';'
 
43
  else
 
44
    PATH_SEPARATOR=:
 
45
  fi
 
46
  rm -f conf$$.sh
 
47
fi
 
48
 
24
49
# Support unset when possible.
25
50
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
51
  as_unset=unset
29
54
fi
30
55
 
31
56
 
 
57
# IFS
 
58
# We need space, tab and new line, in precisely that order.  Quoting is
 
59
# there to prevent editors from complaining about space-tab.
 
60
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
61
# splitting by setting IFS to empty value.)
 
62
as_nl='
 
63
'
 
64
IFS=" ""        $as_nl"
 
65
 
 
66
# Find who we are.  Look in the path if we contain no directory separator.
 
67
case $0 in
 
68
  *[\\/]* ) as_myself=$0 ;;
 
69
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
70
for as_dir in $PATH
 
71
do
 
72
  IFS=$as_save_IFS
 
73
  test -z "$as_dir" && as_dir=.
 
74
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
75
done
 
76
IFS=$as_save_IFS
 
77
 
 
78
     ;;
 
79
esac
 
80
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
81
# in which case we are not to be found in the path.
 
82
if test "x$as_myself" = x; then
 
83
  as_myself=$0
 
84
fi
 
85
if test ! -f "$as_myself"; then
 
86
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
87
  { (exit 1); exit 1; }
 
88
fi
 
89
 
32
90
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
91
for as_var in ENV MAIL MAILPATH
 
92
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
93
done
34
94
PS1='$ '
35
95
PS2='> '
36
96
PS4='+ '
44
104
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
105
    eval $as_var=C; export $as_var
46
106
  else
47
 
    $as_unset $as_var
 
107
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
108
  fi
49
109
done
50
110
 
51
111
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
112
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
113
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
114
  as_expr=expr
54
115
else
55
116
  as_expr=false
56
117
fi
57
118
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
119
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
120
  as_basename=basename
60
121
else
61
122
  as_basename=false
63
124
 
64
125
 
65
126
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
127
as_me=`$as_basename -- "$0" ||
67
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
129
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
130
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
131
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
132
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
133
            s//\1/
 
134
            q
 
135
          }
 
136
          /^X\/\(\/\/\)$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\).*/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          s/.*/./; q'`
 
145
 
 
146
# CDPATH.
 
147
$as_unset CDPATH
 
148
 
 
149
 
 
150
if test "x$CONFIG_SHELL" = x; then
 
151
  if (eval ":") 2>/dev/null; then
 
152
  as_have_required=yes
 
153
else
 
154
  as_have_required=no
 
155
fi
 
156
 
 
157
  if test $as_have_required = yes &&     (eval ":
 
158
(as_func_return () {
 
159
  (exit \$1)
 
160
}
 
161
as_func_success () {
 
162
  as_func_return 0
 
163
}
 
164
as_func_failure () {
 
165
  as_func_return 1
 
166
}
 
167
as_func_ret_success () {
 
168
  return 0
 
169
}
 
170
as_func_ret_failure () {
 
171
  return 1
 
172
}
 
173
 
 
174
exitcode=0
 
175
if as_func_success; then
 
176
  :
 
177
else
 
178
  exitcode=1
 
179
  echo as_func_success failed.
 
180
fi
 
181
 
 
182
if as_func_failure; then
 
183
  exitcode=1
 
184
  echo as_func_failure succeeded.
 
185
fi
 
186
 
 
187
if as_func_ret_success; then
 
188
  :
 
189
else
 
190
  exitcode=1
 
191
  echo as_func_ret_success failed.
 
192
fi
 
193
 
 
194
if as_func_ret_failure; then
 
195
  exitcode=1
 
196
  echo as_func_ret_failure succeeded.
 
197
fi
 
198
 
 
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
200
  :
 
201
else
 
202
  exitcode=1
 
203
  echo positional parameters were not saved.
 
204
fi
 
205
 
 
206
test \$exitcode = 0) || { (exit 1); exit 1; }
 
207
 
 
208
(
 
209
  as_lineno_1=\$LINENO
 
210
  as_lineno_2=\$LINENO
 
211
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
212
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
213
") 2> /dev/null; then
 
214
  :
 
215
else
 
216
  as_candidate_shells=
130
217
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
219
do
133
220
  IFS=$as_save_IFS
134
221
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
222
  case $as_dir in
137
223
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
224
           for as_base in sh bash ksh sh5; do
 
225
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
226
           done;;
 
227
       esac
152
228
done
153
 
;;
154
 
  esac
 
229
IFS=$as_save_IFS
 
230
 
 
231
 
 
232
      for as_shell in $as_candidate_shells $SHELL; do
 
233
         # Try only shells that exist, to save several forks.
 
234
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
235
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
236
# Be Bourne compatible
 
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
238
  emulate sh
 
239
  NULLCMD=:
 
240
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
241
  # is contrary to our usage.  Disable this feature.
 
242
  alias -g '${1+"$@"}'='"$@"'
 
243
  setopt NO_GLOB_SUBST
 
244
else
 
245
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
246
fi
 
247
BIN_SH=xpg4; export BIN_SH # for Tru64
 
248
DUALCASE=1; export DUALCASE # for MKS sh
 
249
 
 
250
:
 
251
_ASEOF
 
252
}; then
 
253
  CONFIG_SHELL=$as_shell
 
254
               as_have_required=yes
 
255
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
256
# Be Bourne compatible
 
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
258
  emulate sh
 
259
  NULLCMD=:
 
260
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
261
  # is contrary to our usage.  Disable this feature.
 
262
  alias -g '${1+"$@"}'='"$@"'
 
263
  setopt NO_GLOB_SUBST
 
264
else
 
265
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
266
fi
 
267
BIN_SH=xpg4; export BIN_SH # for Tru64
 
268
DUALCASE=1; export DUALCASE # for MKS sh
 
269
 
 
270
:
 
271
(as_func_return () {
 
272
  (exit $1)
 
273
}
 
274
as_func_success () {
 
275
  as_func_return 0
 
276
}
 
277
as_func_failure () {
 
278
  as_func_return 1
 
279
}
 
280
as_func_ret_success () {
 
281
  return 0
 
282
}
 
283
as_func_ret_failure () {
 
284
  return 1
 
285
}
 
286
 
 
287
exitcode=0
 
288
if as_func_success; then
 
289
  :
 
290
else
 
291
  exitcode=1
 
292
  echo as_func_success failed.
 
293
fi
 
294
 
 
295
if as_func_failure; then
 
296
  exitcode=1
 
297
  echo as_func_failure succeeded.
 
298
fi
 
299
 
 
300
if as_func_ret_success; then
 
301
  :
 
302
else
 
303
  exitcode=1
 
304
  echo as_func_ret_success failed.
 
305
fi
 
306
 
 
307
if as_func_ret_failure; then
 
308
  exitcode=1
 
309
  echo as_func_ret_failure succeeded.
 
310
fi
 
311
 
 
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
313
  :
 
314
else
 
315
  exitcode=1
 
316
  echo positional parameters were not saved.
 
317
fi
 
318
 
 
319
test $exitcode = 0) || { (exit 1); exit 1; }
 
320
 
 
321
(
 
322
  as_lineno_1=$LINENO
 
323
  as_lineno_2=$LINENO
 
324
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
325
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
326
 
 
327
_ASEOF
 
328
}; then
 
329
  break
 
330
fi
 
331
 
 
332
fi
 
333
 
 
334
      done
 
335
 
 
336
      if test "x$CONFIG_SHELL" != x; then
 
337
  for as_var in BASH_ENV ENV
 
338
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
339
        done
 
340
        export CONFIG_SHELL
 
341
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
342
fi
 
343
 
 
344
 
 
345
    if test $as_have_required = no; then
 
346
  echo This script requires a shell more modern than all the
 
347
      echo shells that I found on your system.  Please install a
 
348
      echo modern shell, or manually run the script under such a
 
349
      echo shell if you do have one.
 
350
      { (exit 1); exit 1; }
 
351
fi
 
352
 
 
353
 
 
354
fi
 
355
 
 
356
fi
 
357
 
 
358
 
 
359
 
 
360
(eval "as_func_return () {
 
361
  (exit \$1)
 
362
}
 
363
as_func_success () {
 
364
  as_func_return 0
 
365
}
 
366
as_func_failure () {
 
367
  as_func_return 1
 
368
}
 
369
as_func_ret_success () {
 
370
  return 0
 
371
}
 
372
as_func_ret_failure () {
 
373
  return 1
 
374
}
 
375
 
 
376
exitcode=0
 
377
if as_func_success; then
 
378
  :
 
379
else
 
380
  exitcode=1
 
381
  echo as_func_success failed.
 
382
fi
 
383
 
 
384
if as_func_failure; then
 
385
  exitcode=1
 
386
  echo as_func_failure succeeded.
 
387
fi
 
388
 
 
389
if as_func_ret_success; then
 
390
  :
 
391
else
 
392
  exitcode=1
 
393
  echo as_func_ret_success failed.
 
394
fi
 
395
 
 
396
if as_func_ret_failure; then
 
397
  exitcode=1
 
398
  echo as_func_ret_failure succeeded.
 
399
fi
 
400
 
 
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
402
  :
 
403
else
 
404
  exitcode=1
 
405
  echo positional parameters were not saved.
 
406
fi
 
407
 
 
408
test \$exitcode = 0") || {
 
409
  echo No shell found that supports shell functions.
 
410
  echo Please tell autoconf@gnu.org about your system,
 
411
  echo including any error possibly output before this
 
412
  echo message
 
413
}
 
414
 
 
415
 
 
416
 
 
417
  as_lineno_1=$LINENO
 
418
  as_lineno_2=$LINENO
 
419
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
420
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
421
 
156
422
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
423
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
424
  # line-number line after each line using $LINENO; the second 'sed'
 
425
  # does the real work.  The second script uses 'N' to pair each
 
426
  # line-number line with the line containing $LINENO, and appends
 
427
  # trailing '-' during substitution so that $LINENO is not a special
 
428
  # case at line end.
162
429
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
430
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
431
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
432
  sed -n '
 
433
    p
 
434
    /[$]LINENO/=
 
435
  ' <$as_myself |
165
436
    sed '
 
437
      s/[$]LINENO.*/&-/
 
438
      t lineno
 
439
      b
 
440
      :lineno
166
441
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
442
      :loop
 
443
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
444
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
445
      s/-\n.*//
173
446
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
447
  chmod +x "$as_me.lineno" ||
175
448
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
449
   { (exit 1); exit 1; }; }
177
450
 
178
451
  # Don't try to exec as it changes $[0], causing all sort of problems
179
452
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
453
  # original and so on.  Autoconf is especially sensitive to this).
 
454
  . "./$as_me.lineno"
182
455
  # Exit status is that of the last command.
183
456
  exit
184
457
}
185
458
 
186
459
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
460
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
461
  as_dirname=dirname
 
462
else
 
463
  as_dirname=false
 
464
fi
 
465
 
 
466
ECHO_C= ECHO_N= ECHO_T=
 
467
case `echo -n x` in
 
468
-n*)
 
469
  case `echo 'x\c'` in
 
470
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
471
  *)   ECHO_C='\c';;
 
472
  esac;;
 
473
*)
 
474
  ECHO_N='-n';;
192
475
esac
193
476
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
478
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
479
  as_expr=expr
196
480
else
197
481
  as_expr=false
198
482
fi
199
483
 
200
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir
 
490
fi
201
491
echo >conf$$.file
202
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
493
  as_ln_s='ln -s'
 
494
  # ... but there are two gotchas:
 
495
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
  # In both cases, we have to default to `cp -p'.
 
498
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
499
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
500
elif ln conf$$.file conf$$ 2>/dev/null; then
212
501
  as_ln_s=ln
213
502
else
214
503
  as_ln_s='cp -p'
215
504
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
506
rmdir conf$$.dir 2>/dev/null
217
507
 
218
508
if mkdir -p . 2>/dev/null; then
219
509
  as_mkdir_p=:
222
512
  as_mkdir_p=false
223
513
fi
224
514
 
225
 
as_executable_p="test -f"
 
515
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
516
# systems may use methods other than mode bits to determine executability.
 
517
cat >conf$$.file <<_ASEOF
 
518
#! /bin/sh
 
519
exit 0
 
520
_ASEOF
 
521
chmod +x conf$$.file
 
522
if test -x conf$$.file >/dev/null 2>&1; then
 
523
  as_executable_p="test -x"
 
524
else
 
525
  as_executable_p=:
 
526
fi
 
527
rm -f conf$$.file
226
528
 
227
529
# Sed expression to map a string onto a valid CPP name.
228
530
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
533
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
534
 
233
535
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
536
 
 
537
exec 7<&0 </dev/null 6>&1
243
538
 
244
539
# Name of the host.
245
540
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
541
# so uname gets run too.
247
542
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
543
 
249
 
exec 6>&1
250
 
 
251
544
#
252
545
# Initializations.
253
546
#
254
547
ac_default_prefix=/usr/local
 
548
ac_clean_files=
255
549
ac_config_libobj_dir=.
 
550
LIBOBJS=
256
551
cross_compiling=no
257
552
subdirs=
258
553
MFLAGS=
259
554
MAKEFLAGS=
260
555
SHELL=${CONFIG_SHELL-/bin/sh}
261
556
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
 
 
267
557
# Identity of this package.
268
558
PACKAGE_NAME='gworldclock'
269
559
PACKAGE_TARNAME='gworldclock'
270
 
PACKAGE_VERSION='1.4.3'
271
 
PACKAGE_STRING='gworldclock 1.4.3'
 
560
PACKAGE_VERSION='1.4.4'
 
561
PACKAGE_STRING='gworldclock 1.4.4'
272
562
PACKAGE_BUGREPORT=''
273
563
 
274
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG GTK2_CFLAGS GTK2_LIBS MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB localedir LIBOBJS LTLIBOBJS'
 
564
ac_subst_vars='SHELL
 
565
PATH_SEPARATOR
 
566
PACKAGE_NAME
 
567
PACKAGE_TARNAME
 
568
PACKAGE_VERSION
 
569
PACKAGE_STRING
 
570
PACKAGE_BUGREPORT
 
571
exec_prefix
 
572
prefix
 
573
program_transform_name
 
574
bindir
 
575
sbindir
 
576
libexecdir
 
577
datarootdir
 
578
datadir
 
579
sysconfdir
 
580
sharedstatedir
 
581
localstatedir
 
582
includedir
 
583
oldincludedir
 
584
docdir
 
585
infodir
 
586
htmldir
 
587
dvidir
 
588
pdfdir
 
589
psdir
 
590
libdir
 
591
localedir
 
592
mandir
 
593
DEFS
 
594
ECHO_C
 
595
ECHO_N
 
596
ECHO_T
 
597
LIBS
 
598
build_alias
 
599
host_alias
 
600
target_alias
 
601
INSTALL_PROGRAM
 
602
INSTALL_SCRIPT
 
603
INSTALL_DATA
 
604
CYGPATH_W
 
605
PACKAGE
 
606
VERSION
 
607
ACLOCAL
 
608
AUTOCONF
 
609
AUTOMAKE
 
610
AUTOHEADER
 
611
MAKEINFO
 
612
install_sh
 
613
STRIP
 
614
INSTALL_STRIP_PROGRAM
 
615
mkdir_p
 
616
AWK
 
617
SET_MAKE
 
618
am__leading_dot
 
619
AMTAR
 
620
am__tar
 
621
am__untar
 
622
CC
 
623
CFLAGS
 
624
LDFLAGS
 
625
CPPFLAGS
 
626
ac_ct_CC
 
627
EXEEXT
 
628
OBJEXT
 
629
DEPDIR
 
630
am__include
 
631
am__quote
 
632
AMDEP_TRUE
 
633
AMDEP_FALSE
 
634
AMDEPBACKSLASH
 
635
CCDEPMODE
 
636
am__fastdepCC_TRUE
 
637
am__fastdepCC_FALSE
 
638
PKG_CONFIG
 
639
GTK2_CFLAGS
 
640
GTK2_LIBS
 
641
MKINSTALLDIRS
 
642
USE_NLS
 
643
MSGFMT
 
644
GMSGFMT
 
645
XGETTEXT
 
646
MSGMERGE
 
647
build
 
648
build_cpu
 
649
build_vendor
 
650
build_os
 
651
host
 
652
host_cpu
 
653
host_vendor
 
654
host_os
 
655
INTL_MACOSX_LIBS
 
656
LIBICONV
 
657
LTLIBICONV
 
658
INTLLIBS
 
659
LIBINTL
 
660
LTLIBINTL
 
661
POSUB
 
662
LIBOBJS
 
663
LTLIBOBJS'
275
664
ac_subst_files=''
 
665
      ac_precious_vars='build_alias
 
666
host_alias
 
667
target_alias
 
668
CC
 
669
CFLAGS
 
670
LDFLAGS
 
671
CPPFLAGS
 
672
PKG_CONFIG
 
673
GTK2_CFLAGS
 
674
GTK2_LIBS'
 
675
 
276
676
 
277
677
# Initialize some variables set by options.
278
678
ac_init_help=
299
699
# and all the variables that are supposed to be based on exec_prefix
300
700
# by default will actually change.
301
701
# Use braces instead of parens because sh, perl, etc. also accept them.
 
702
# (The list follows the same order as the GNU Coding Standards.)
302
703
bindir='${exec_prefix}/bin'
303
704
sbindir='${exec_prefix}/sbin'
304
705
libexecdir='${exec_prefix}/libexec'
305
 
datadir='${prefix}/share'
 
706
datarootdir='${prefix}/share'
 
707
datadir='${datarootdir}'
306
708
sysconfdir='${prefix}/etc'
307
709
sharedstatedir='${prefix}/com'
308
710
localstatedir='${prefix}/var'
309
 
libdir='${exec_prefix}/lib'
310
711
includedir='${prefix}/include'
311
712
oldincludedir='/usr/include'
312
 
infodir='${prefix}/info'
313
 
mandir='${prefix}/man'
 
713
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
714
infodir='${datarootdir}/info'
 
715
htmldir='${docdir}'
 
716
dvidir='${docdir}'
 
717
pdfdir='${docdir}'
 
718
psdir='${docdir}'
 
719
libdir='${exec_prefix}/lib'
 
720
localedir='${datarootdir}/locale'
 
721
mandir='${datarootdir}/man'
314
722
 
315
723
ac_prev=
 
724
ac_dashdash=
316
725
for ac_option
317
726
do
318
727
  # If the previous option needs an argument, assign it.
319
728
  if test -n "$ac_prev"; then
320
 
    eval "$ac_prev=\$ac_option"
 
729
    eval $ac_prev=\$ac_option
321
730
    ac_prev=
322
731
    continue
323
732
  fi
324
733
 
325
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
734
  case $ac_option in
 
735
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
736
  *)    ac_optarg=yes ;;
 
737
  esac
326
738
 
327
739
  # Accept the important Cygnus configure options, so we can diagnose typos.
328
740
 
329
 
  case $ac_option in
 
741
  case $ac_dashdash$ac_option in
 
742
  --)
 
743
    ac_dashdash=yes ;;
330
744
 
331
745
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
332
746
    ac_prev=bindir ;;
348
762
  --config-cache | -C)
349
763
    cache_file=config.cache ;;
350
764
 
351
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
765
  -datadir | --datadir | --datadi | --datad)
352
766
    ac_prev=datadir ;;
353
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354
 
  | --da=*)
 
767
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
355
768
    datadir=$ac_optarg ;;
356
769
 
 
770
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
771
  | --dataroo | --dataro | --datar)
 
772
    ac_prev=datarootdir ;;
 
773
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
774
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
775
    datarootdir=$ac_optarg ;;
 
776
 
357
777
  -disable-* | --disable-*)
358
778
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359
779
    # Reject names that are not valid shell variable names.
361
781
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362
782
   { (exit 1); exit 1; }; }
363
783
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364
 
    eval "enable_$ac_feature=no" ;;
 
784
    eval enable_$ac_feature=no ;;
 
785
 
 
786
  -docdir | --docdir | --docdi | --doc | --do)
 
787
    ac_prev=docdir ;;
 
788
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
789
    docdir=$ac_optarg ;;
 
790
 
 
791
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
792
    ac_prev=dvidir ;;
 
793
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
794
    dvidir=$ac_optarg ;;
365
795
 
366
796
  -enable-* | --enable-*)
367
797
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370
800
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371
801
   { (exit 1); exit 1; }; }
372
802
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373
 
    case $ac_option in
374
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375
 
      *) ac_optarg=yes ;;
376
 
    esac
377
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
803
    eval enable_$ac_feature=\$ac_optarg ;;
378
804
 
379
805
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380
806
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
401
827
  -host=* | --host=* | --hos=* | --ho=*)
402
828
    host_alias=$ac_optarg ;;
403
829
 
 
830
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
831
    ac_prev=htmldir ;;
 
832
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
833
  | --ht=*)
 
834
    htmldir=$ac_optarg ;;
 
835
 
404
836
  -includedir | --includedir | --includedi | --included | --include \
405
837
  | --includ | --inclu | --incl | --inc)
406
838
    ac_prev=includedir ;;
425
857
  | --libexe=* | --libex=* | --libe=*)
426
858
    libexecdir=$ac_optarg ;;
427
859
 
 
860
  -localedir | --localedir | --localedi | --localed | --locale)
 
861
    ac_prev=localedir ;;
 
862
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
863
    localedir=$ac_optarg ;;
 
864
 
428
865
  -localstatedir | --localstatedir | --localstatedi | --localstated \
429
 
  | --localstate | --localstat | --localsta | --localst \
430
 
  | --locals | --local | --loca | --loc | --lo)
 
866
  | --localstate | --localstat | --localsta | --localst | --locals)
431
867
    ac_prev=localstatedir ;;
432
868
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
869
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
435
870
    localstatedir=$ac_optarg ;;
436
871
 
437
872
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
496
931
  | --progr-tra=* | --program-tr=* | --program-t=*)
497
932
    program_transform_name=$ac_optarg ;;
498
933
 
 
934
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
935
    ac_prev=pdfdir ;;
 
936
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
937
    pdfdir=$ac_optarg ;;
 
938
 
 
939
  -psdir | --psdir | --psdi | --psd | --ps)
 
940
    ac_prev=psdir ;;
 
941
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
942
    psdir=$ac_optarg ;;
 
943
 
499
944
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500
945
  | -silent | --silent | --silen | --sile | --sil)
501
946
    silent=yes ;;
552
997
      { echo "$as_me: error: invalid package name: $ac_package" >&2
553
998
   { (exit 1); exit 1; }; }
554
999
    ac_package=`echo $ac_package| sed 's/-/_/g'`
555
 
    case $ac_option in
556
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557
 
      *) ac_optarg=yes ;;
558
 
    esac
559
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1000
    eval with_$ac_package=\$ac_optarg ;;
560
1001
 
561
1002
  -without-* | --without-*)
562
1003
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565
1006
      { echo "$as_me: error: invalid package name: $ac_package" >&2
566
1007
   { (exit 1); exit 1; }; }
567
1008
    ac_package=`echo $ac_package | sed 's/-/_/g'`
568
 
    eval "with_$ac_package=no" ;;
 
1009
    eval with_$ac_package=no ;;
569
1010
 
570
1011
  --x)
571
1012
    # Obsolete; use --with-x.
596
1037
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597
1038
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598
1039
   { (exit 1); exit 1; }; }
599
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600
 
    eval "$ac_envvar='$ac_optarg'"
 
1040
    eval $ac_envvar=\$ac_optarg
601
1041
    export $ac_envvar ;;
602
1042
 
603
1043
  *)
617
1057
   { (exit 1); exit 1; }; }
618
1058
fi
619
1059
 
620
 
# Be sure to have absolute paths.
621
 
for ac_var in exec_prefix prefix
622
 
do
623
 
  eval ac_val=$`echo $ac_var`
624
 
  case $ac_val in
625
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627
 
   { (exit 1); exit 1; }; };;
628
 
  esac
629
 
done
630
 
 
631
 
# Be sure to have absolute paths.
632
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633
 
              localstatedir libdir includedir oldincludedir infodir mandir
634
 
do
635
 
  eval ac_val=$`echo $ac_var`
636
 
  case $ac_val in
637
 
    [\\/$]* | ?:[\\/]* ) ;;
638
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639
 
   { (exit 1); exit 1; }; };;
640
 
  esac
 
1060
# Be sure to have absolute directory names.
 
1061
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1062
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1063
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1064
                libdir localedir mandir
 
1065
do
 
1066
  eval ac_val=\$$ac_var
 
1067
  case $ac_val in
 
1068
    [\\/$]* | ?:[\\/]* )  continue;;
 
1069
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1070
  esac
 
1071
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1072
   { (exit 1); exit 1; }; }
641
1073
done
642
1074
 
643
1075
# There might be people who depend on the old broken behavior: `$host'
664
1096
test "$silent" = yes && exec 6>/dev/null
665
1097
 
666
1098
 
 
1099
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1100
ac_ls_di=`ls -di .` &&
 
1101
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1102
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1103
   { (exit 1); exit 1; }; }
 
1104
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1105
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1106
   { (exit 1); exit 1; }; }
 
1107
 
 
1108
 
667
1109
# Find the source files, if location was not specified.
668
1110
if test -z "$srcdir"; then
669
1111
  ac_srcdir_defaulted=yes
670
 
  # Try the directory containing this script, then its parent.
671
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1112
  # Try the directory containing this script, then the parent directory.
 
1113
  ac_confdir=`$as_dirname -- "$0" ||
672
1114
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673
1115
         X"$0" : 'X\(//\)[^/]' \| \
674
1116
         X"$0" : 'X\(//\)$' \| \
675
 
         X"$0" : 'X\(/\)' \| \
676
 
         .     : '\(.\)' 2>/dev/null ||
 
1117
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
677
1118
echo X"$0" |
678
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680
 
          /^X\(\/\/\)$/{ s//\1/; q; }
681
 
          /^X\(\/\).*/{ s//\1/; q; }
682
 
          s/.*/./; q'`
 
1119
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1120
            s//\1/
 
1121
            q
 
1122
          }
 
1123
          /^X\(\/\/\)[^/].*/{
 
1124
            s//\1/
 
1125
            q
 
1126
          }
 
1127
          /^X\(\/\/\)$/{
 
1128
            s//\1/
 
1129
            q
 
1130
          }
 
1131
          /^X\(\/\).*/{
 
1132
            s//\1/
 
1133
            q
 
1134
          }
 
1135
          s/.*/./; q'`
683
1136
  srcdir=$ac_confdir
684
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1137
  if test ! -r "$srcdir/$ac_unique_file"; then
685
1138
    srcdir=..
686
1139
  fi
687
1140
else
688
1141
  ac_srcdir_defaulted=no
689
1142
fi
690
 
if test ! -r $srcdir/$ac_unique_file; then
691
 
  if test "$ac_srcdir_defaulted" = yes; then
692
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693
 
   { (exit 1); exit 1; }; }
694
 
  else
695
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696
 
   { (exit 1); exit 1; }; }
697
 
  fi
698
 
fi
699
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701
 
   { (exit 1); exit 1; }; }
702
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703
 
ac_env_build_alias_set=${build_alias+set}
704
 
ac_env_build_alias_value=$build_alias
705
 
ac_cv_env_build_alias_set=${build_alias+set}
706
 
ac_cv_env_build_alias_value=$build_alias
707
 
ac_env_host_alias_set=${host_alias+set}
708
 
ac_env_host_alias_value=$host_alias
709
 
ac_cv_env_host_alias_set=${host_alias+set}
710
 
ac_cv_env_host_alias_value=$host_alias
711
 
ac_env_target_alias_set=${target_alias+set}
712
 
ac_env_target_alias_value=$target_alias
713
 
ac_cv_env_target_alias_set=${target_alias+set}
714
 
ac_cv_env_target_alias_value=$target_alias
715
 
ac_env_CC_set=${CC+set}
716
 
ac_env_CC_value=$CC
717
 
ac_cv_env_CC_set=${CC+set}
718
 
ac_cv_env_CC_value=$CC
719
 
ac_env_CFLAGS_set=${CFLAGS+set}
720
 
ac_env_CFLAGS_value=$CFLAGS
721
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
722
 
ac_cv_env_CFLAGS_value=$CFLAGS
723
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
724
 
ac_env_LDFLAGS_value=$LDFLAGS
725
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
727
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728
 
ac_env_CPPFLAGS_value=$CPPFLAGS
729
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
1143
if test ! -r "$srcdir/$ac_unique_file"; then
 
1144
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1145
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1146
   { (exit 1); exit 1; }; }
 
1147
fi
 
1148
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1149
ac_abs_confdir=`(
 
1150
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1151
   { (exit 1); exit 1; }; }
 
1152
        pwd)`
 
1153
# When building in place, set srcdir=.
 
1154
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1155
  srcdir=.
 
1156
fi
 
1157
# Remove unnecessary trailing slashes from srcdir.
 
1158
# Double slashes in file names in object file debugging info
 
1159
# mess up M-x gdb in Emacs.
 
1160
case $srcdir in
 
1161
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1162
esac
 
1163
for ac_var in $ac_precious_vars; do
 
1164
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1165
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1166
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1167
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1168
done
731
1169
 
732
1170
#
733
1171
# Report the --help message.
736
1174
  # Omit some internal or obsolete options to make the list less imposing.
737
1175
  # This message is too long to be a string in the A/UX 3.1 sh.
738
1176
  cat <<_ACEOF
739
 
\`configure' configures gworldclock 1.4.3 to adapt to many kinds of systems.
 
1177
\`configure' configures gworldclock 1.4.4 to adapt to many kinds of systems.
740
1178
 
741
1179
Usage: $0 [OPTION]... [VAR=VALUE]...
742
1180
 
756
1194
  -n, --no-create         do not create output files
757
1195
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
758
1196
 
759
 
_ACEOF
760
 
 
761
 
  cat <<_ACEOF
762
1197
Installation directories:
763
1198
  --prefix=PREFIX         install architecture-independent files in PREFIX
764
1199
                          [$ac_default_prefix]
776
1211
  --bindir=DIR           user executables [EPREFIX/bin]
777
1212
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
778
1213
  --libexecdir=DIR       program executables [EPREFIX/libexec]
779
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
780
1214
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
781
1215
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
782
1216
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
783
1217
  --libdir=DIR           object code libraries [EPREFIX/lib]
784
1218
  --includedir=DIR       C header files [PREFIX/include]
785
1219
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
786
 
  --infodir=DIR          info documentation [PREFIX/info]
787
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1220
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1221
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1222
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1223
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1224
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1225
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gworldclock]
 
1226
  --htmldir=DIR          html documentation [DOCDIR]
 
1227
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1228
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1229
  --psdir=DIR            ps documentation [DOCDIR]
788
1230
_ACEOF
789
1231
 
790
1232
  cat <<\_ACEOF
802
1244
 
803
1245
if test -n "$ac_init_help"; then
804
1246
  case $ac_init_help in
805
 
     short | recursive ) echo "Configuration of gworldclock 1.4.3:";;
 
1247
     short | recursive ) echo "Configuration of gworldclock 1.4.4:";;
806
1248
   esac
807
1249
  cat <<\_ACEOF
808
1250
 
828
1270
  CFLAGS      C compiler flags
829
1271
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
830
1272
              nonstandard directory <lib dir>
831
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
832
 
              headers in a nonstandard directory <include dir>
 
1273
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1274
              you have headers in a nonstandard directory <include dir>
 
1275
  PKG_CONFIG  path to pkg-config utility
 
1276
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
 
1277
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
833
1278
 
834
1279
Use these variables to override the choices made by `configure' or to help
835
1280
it to find libraries and programs with nonstandard names/locations.
836
1281
 
837
1282
_ACEOF
 
1283
ac_status=$?
838
1284
fi
839
1285
 
840
1286
if test "$ac_init_help" = "recursive"; then
841
1287
  # If there are subdirs, report their specific --help.
842
 
  ac_popdir=`pwd`
843
1288
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
844
 
    test -d $ac_dir || continue
 
1289
    test -d "$ac_dir" || continue
845
1290
    ac_builddir=.
846
1291
 
847
 
if test "$ac_dir" != .; then
 
1292
case "$ac_dir" in
 
1293
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1294
*)
848
1295
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
849
 
  # A "../" for each directory in $ac_dir_suffix.
850
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
851
 
else
852
 
  ac_dir_suffix= ac_top_builddir=
853
 
fi
 
1296
  # A ".." for each directory in $ac_dir_suffix.
 
1297
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1298
  case $ac_top_builddir_sub in
 
1299
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1300
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1301
  esac ;;
 
1302
esac
 
1303
ac_abs_top_builddir=$ac_pwd
 
1304
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1305
# for backward compatibility:
 
1306
ac_top_builddir=$ac_top_build_prefix
854
1307
 
855
1308
case $srcdir in
856
 
  .)  # No --srcdir option.  We are building in place.
 
1309
  .)  # We are building in place.
857
1310
    ac_srcdir=.
858
 
    if test -z "$ac_top_builddir"; then
859
 
       ac_top_srcdir=.
860
 
    else
861
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
862
 
    fi ;;
863
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1311
    ac_top_srcdir=$ac_top_builddir_sub
 
1312
    ac_abs_top_srcdir=$ac_pwd ;;
 
1313
  [\\/]* | ?:[\\/]* )  # Absolute name.
864
1314
    ac_srcdir=$srcdir$ac_dir_suffix;
865
 
    ac_top_srcdir=$srcdir ;;
866
 
  *) # Relative path.
867
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
868
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
869
 
esac
870
 
 
871
 
# Do not use `cd foo && pwd` to compute absolute paths, because
872
 
# the directories may not exist.
873
 
case `pwd` in
874
 
.) ac_abs_builddir="$ac_dir";;
875
 
*)
876
 
  case "$ac_dir" in
877
 
  .) ac_abs_builddir=`pwd`;;
878
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
879
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
880
 
  esac;;
881
 
esac
882
 
case $ac_abs_builddir in
883
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
884
 
*)
885
 
  case ${ac_top_builddir}. in
886
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
887
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
888
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
889
 
  esac;;
890
 
esac
891
 
case $ac_abs_builddir in
892
 
.) ac_abs_srcdir=$ac_srcdir;;
893
 
*)
894
 
  case $ac_srcdir in
895
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
896
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
897
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
898
 
  esac;;
899
 
esac
900
 
case $ac_abs_builddir in
901
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
902
 
*)
903
 
  case $ac_top_srcdir in
904
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
905
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
906
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
907
 
  esac;;
908
 
esac
909
 
 
910
 
    cd $ac_dir
911
 
    # Check for guested configure; otherwise get Cygnus style configure.
912
 
    if test -f $ac_srcdir/configure.gnu; then
913
 
      echo
914
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
915
 
    elif test -f $ac_srcdir/configure; then
916
 
      echo
917
 
      $SHELL $ac_srcdir/configure  --help=recursive
918
 
    elif test -f $ac_srcdir/configure.ac ||
919
 
           test -f $ac_srcdir/configure.in; then
920
 
      echo
921
 
      $ac_configure --help
 
1315
    ac_top_srcdir=$srcdir
 
1316
    ac_abs_top_srcdir=$srcdir ;;
 
1317
  *) # Relative name.
 
1318
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1319
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1320
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1321
esac
 
1322
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1323
 
 
1324
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1325
    # Check for guested configure.
 
1326
    if test -f "$ac_srcdir/configure.gnu"; then
 
1327
      echo &&
 
1328
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1329
    elif test -f "$ac_srcdir/configure"; then
 
1330
      echo &&
 
1331
      $SHELL "$ac_srcdir/configure" --help=recursive
922
1332
    else
923
1333
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
924
 
    fi
925
 
    cd "$ac_popdir"
 
1334
    fi || ac_status=$?
 
1335
    cd "$ac_pwd" || { ac_status=$?; break; }
926
1336
  done
927
1337
fi
928
1338
 
929
 
test -n "$ac_init_help" && exit 0
 
1339
test -n "$ac_init_help" && exit $ac_status
930
1340
if $ac_init_version; then
931
1341
  cat <<\_ACEOF
932
 
gworldclock configure 1.4.3
933
 
generated by GNU Autoconf 2.59
 
1342
gworldclock configure 1.4.4
 
1343
generated by GNU Autoconf 2.60
934
1344
 
935
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1345
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1346
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
936
1347
This configure script is free software; the Free Software Foundation
937
1348
gives unlimited permission to copy, distribute and modify it.
938
1349
_ACEOF
939
 
  exit 0
 
1350
  exit
940
1351
fi
941
 
exec 5>config.log
942
 
cat >&5 <<_ACEOF
 
1352
cat >config.log <<_ACEOF
943
1353
This file contains any messages produced by compilers while
944
1354
running configure, to aid debugging if configure makes a mistake.
945
1355
 
946
 
It was created by gworldclock $as_me 1.4.3, which was
947
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1356
It was created by gworldclock $as_me 1.4.4, which was
 
1357
generated by GNU Autoconf 2.60.  Invocation command line was
948
1358
 
949
1359
  $ $0 $@
950
1360
 
951
1361
_ACEOF
 
1362
exec 5>>config.log
952
1363
{
953
1364
cat <<_ASUNAME
954
1365
## --------- ##
967
1378
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
968
1379
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
969
1380
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
970
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1381
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
971
1382
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
972
1383
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
973
1384
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
981
1392
  test -z "$as_dir" && as_dir=.
982
1393
  echo "PATH: $as_dir"
983
1394
done
 
1395
IFS=$as_save_IFS
984
1396
 
985
1397
} >&5
986
1398
 
1002
1414
ac_configure_args=
1003
1415
ac_configure_args0=
1004
1416
ac_configure_args1=
1005
 
ac_sep=
1006
1417
ac_must_keep_next=false
1007
1418
for ac_pass in 1 2
1008
1419
do
1013
1424
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1014
1425
    | -silent | --silent | --silen | --sile | --sil)
1015
1426
      continue ;;
1016
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1427
    *\'*)
1017
1428
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1018
1429
    esac
1019
1430
    case $ac_pass in
1035
1446
          -* ) ac_must_keep_next=true ;;
1036
1447
        esac
1037
1448
      fi
1038
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1039
 
      # Get rid of the leading space.
1040
 
      ac_sep=" "
 
1449
      ac_configure_args="$ac_configure_args '$ac_arg'"
1041
1450
      ;;
1042
1451
    esac
1043
1452
  done
1048
1457
# When interrupted or exit'd, cleanup temporary files, and complete
1049
1458
# config.log.  We remove comments because anyway the quotes in there
1050
1459
# would cause problems or look ugly.
1051
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1052
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1460
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1461
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1053
1462
trap 'exit_status=$?
1054
1463
  # Save into config.log some information that might help in debugging.
1055
1464
  {
1062
1471
_ASBOX
1063
1472
    echo
1064
1473
    # The following way of writing the cache mishandles newlines in values,
1065
 
{
 
1474
(
 
1475
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1476
    eval ac_val=\$$ac_var
 
1477
    case $ac_val in #(
 
1478
    *${as_nl}*)
 
1479
      case $ac_var in #(
 
1480
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1481
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1482
      esac
 
1483
      case $ac_var in #(
 
1484
      _ | IFS | as_nl) ;; #(
 
1485
      *) $as_unset $ac_var ;;
 
1486
      esac ;;
 
1487
    esac
 
1488
  done
1066
1489
  (set) 2>&1 |
1067
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068
 
    *ac_space=\ *)
 
1490
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1491
    *${as_nl}ac_space=\ *)
1069
1492
      sed -n \
1070
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1071
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1072
 
      ;;
 
1493
        "s/'\''/'\''\\\\'\'''\''/g;
 
1494
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1495
      ;; #(
1073
1496
    *)
1074
 
      sed -n \
1075
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1497
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1076
1498
      ;;
1077
 
    esac;
1078
 
}
 
1499
    esac |
 
1500
    sort
 
1501
)
1079
1502
    echo
1080
1503
 
1081
1504
    cat <<\_ASBOX
1086
1509
    echo
1087
1510
    for ac_var in $ac_subst_vars
1088
1511
    do
1089
 
      eval ac_val=$`echo $ac_var`
1090
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1512
      eval ac_val=\$$ac_var
 
1513
      case $ac_val in
 
1514
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1515
      esac
 
1516
      echo "$ac_var='\''$ac_val'\''"
1091
1517
    done | sort
1092
1518
    echo
1093
1519
 
1094
1520
    if test -n "$ac_subst_files"; then
1095
1521
      cat <<\_ASBOX
1096
 
## ------------- ##
1097
 
## Output files. ##
1098
 
## ------------- ##
 
1522
## ------------------- ##
 
1523
## File substitutions. ##
 
1524
## ------------------- ##
1099
1525
_ASBOX
1100
1526
      echo
1101
1527
      for ac_var in $ac_subst_files
1102
1528
      do
1103
 
        eval ac_val=$`echo $ac_var`
1104
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1529
        eval ac_val=\$$ac_var
 
1530
        case $ac_val in
 
1531
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1532
        esac
 
1533
        echo "$ac_var='\''$ac_val'\''"
1105
1534
      done | sort
1106
1535
      echo
1107
1536
    fi
1113
1542
## ----------- ##
1114
1543
_ASBOX
1115
1544
      echo
1116
 
      sed "/^$/d" confdefs.h | sort
 
1545
      cat confdefs.h
1117
1546
      echo
1118
1547
    fi
1119
1548
    test "$ac_signal" != 0 &&
1120
1549
      echo "$as_me: caught signal $ac_signal"
1121
1550
    echo "$as_me: exit $exit_status"
1122
1551
  } >&5
1123
 
  rm -f core *.core &&
1124
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1552
  rm -f core *.core core.conftest.* &&
 
1553
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1125
1554
    exit $exit_status
1126
 
     ' 0
 
1555
' 0
1127
1556
for ac_signal in 1 2 13 15; do
1128
1557
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1129
1558
done
1130
1559
ac_signal=0
1131
1560
 
1132
1561
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1133
 
rm -rf conftest* confdefs.h
1134
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1135
 
echo >confdefs.h
 
1562
rm -f -r conftest* confdefs.h
1136
1563
 
1137
1564
# Predefined preprocessor variables.
1138
1565
 
1163
1590
 
1164
1591
# Let the site file select an alternate cache file if it wants to.
1165
1592
# Prefer explicitly selected file to automatically selected ones.
1166
 
if test -z "$CONFIG_SITE"; then
1167
 
  if test "x$prefix" != xNONE; then
1168
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1169
 
  else
1170
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1171
 
  fi
 
1593
if test -n "$CONFIG_SITE"; then
 
1594
  set x "$CONFIG_SITE"
 
1595
elif test "x$prefix" != xNONE; then
 
1596
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1597
else
 
1598
  set x "$ac_default_prefix/share/config.site" \
 
1599
        "$ac_default_prefix/etc/config.site"
1172
1600
fi
1173
 
for ac_site_file in $CONFIG_SITE; do
 
1601
shift
 
1602
for ac_site_file
 
1603
do
1174
1604
  if test -r "$ac_site_file"; then
1175
1605
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1176
1606
echo "$as_me: loading site script $ac_site_file" >&6;}
1186
1616
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1187
1617
echo "$as_me: loading cache $cache_file" >&6;}
1188
1618
    case $cache_file in
1189
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1190
 
      *)                      . ./$cache_file;;
 
1619
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1620
      *)                      . "./$cache_file";;
1191
1621
    esac
1192
1622
  fi
1193
1623
else
1199
1629
# Check that the precious variables saved in the cache have kept the same
1200
1630
# value.
1201
1631
ac_cache_corrupted=false
1202
 
for ac_var in `(set) 2>&1 |
1203
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1632
for ac_var in $ac_precious_vars; do
1204
1633
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1205
1634
  eval ac_new_set=\$ac_env_${ac_var}_set
1206
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1207
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1635
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1636
  eval ac_new_val=\$ac_env_${ac_var}_value
1208
1637
  case $ac_old_set,$ac_new_set in
1209
1638
    set,)
1210
1639
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1229
1658
  # Pass precious variables to config.status.
1230
1659
  if test "$ac_new_set" = set; then
1231
1660
    case $ac_new_val in
1232
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1661
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1234
1662
    *) ac_arg=$ac_var=$ac_new_val ;;
1235
1663
    esac
1236
1664
    case " $ac_configure_args " in
1247
1675
   { (exit 1); exit 1; }; }
1248
1676
fi
1249
1677
 
 
1678
 
 
1679
 
 
1680
 
 
1681
 
 
1682
 
 
1683
 
 
1684
 
 
1685
 
 
1686
 
 
1687
 
 
1688
 
 
1689
 
 
1690
 
 
1691
 
 
1692
 
 
1693
 
 
1694
 
 
1695
 
 
1696
 
 
1697
 
 
1698
 
 
1699
 
 
1700
 
 
1701
 
1250
1702
ac_ext=c
1251
1703
ac_cpp='$CPP $CPPFLAGS'
1252
1704
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1254
1706
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1255
1707
 
1256
1708
 
1257
 
 
1258
 
 
1259
 
 
1260
 
 
1261
 
 
1262
 
 
1263
 
 
1264
 
 
1265
 
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
 
1275
 
 
1276
 
 
1277
 
 
1278
 
 
1279
 
 
1280
 
 
1281
 
 
1282
1709
am__api_version="1.9"
1283
1710
ac_aux_dir=
1284
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1285
 
  if test -f $ac_dir/install-sh; then
 
1711
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1712
  if test -f "$ac_dir/install-sh"; then
1286
1713
    ac_aux_dir=$ac_dir
1287
1714
    ac_install_sh="$ac_aux_dir/install-sh -c"
1288
1715
    break
1289
 
  elif test -f $ac_dir/install.sh; then
 
1716
  elif test -f "$ac_dir/install.sh"; then
1290
1717
    ac_aux_dir=$ac_dir
1291
1718
    ac_install_sh="$ac_aux_dir/install.sh -c"
1292
1719
    break
1293
 
  elif test -f $ac_dir/shtool; then
 
1720
  elif test -f "$ac_dir/shtool"; then
1294
1721
    ac_aux_dir=$ac_dir
1295
1722
    ac_install_sh="$ac_aux_dir/shtool install -c"
1296
1723
    break
1297
1724
  fi
1298
1725
done
1299
1726
if test -z "$ac_aux_dir"; then
1300
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1301
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1727
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1728
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1302
1729
   { (exit 1); exit 1; }; }
1303
1730
fi
1304
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1305
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1306
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1731
 
 
1732
# These three variables are undocumented and unsupported,
 
1733
# and are intended to be withdrawn in a future Autoconf release.
 
1734
# They can cause serious problems if a builder's source tree is in a directory
 
1735
# whose full name contains unusual characters.
 
1736
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1737
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1738
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1739
 
1307
1740
 
1308
1741
# Find a good install program.  We prefer a C program (faster),
1309
1742
# so one script is as good as another.  But avoid the broken or
1318
1751
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1319
1752
# OS/2's system install, which has a completely different semantic
1320
1753
# ./install, which can be erroneously created by make from ./install.sh.
1321
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1322
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1754
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1755
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1323
1756
if test -z "$INSTALL"; then
1324
1757
if test "${ac_cv_path_install+set}" = set; then
1325
1758
  echo $ECHO_N "(cached) $ECHO_C" >&6
1341
1774
    # by default.
1342
1775
    for ac_prog in ginstall scoinst install; do
1343
1776
      for ac_exec_ext in '' $ac_executable_extensions; do
1344
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1777
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1345
1778
          if test $ac_prog = install &&
1346
1779
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1347
1780
            # AIX install.  It has an incompatible calling convention.
1360
1793
    ;;
1361
1794
esac
1362
1795
done
 
1796
IFS=$as_save_IFS
1363
1797
 
1364
1798
 
1365
1799
fi
1366
1800
  if test "${ac_cv_path_install+set}" = set; then
1367
1801
    INSTALL=$ac_cv_path_install
1368
1802
  else
1369
 
    # As a last resort, use the slow shell script.  We don't cache a
1370
 
    # path for INSTALL within a source directory, because that will
 
1803
    # As a last resort, use the slow shell script.  Don't cache a
 
1804
    # value for INSTALL within a source directory, because that will
1371
1805
    # break other packages using the cache if that directory is
1372
 
    # removed, or if the path is relative.
 
1806
    # removed, or if the value is a relative name.
1373
1807
    INSTALL=$ac_install_sh
1374
1808
  fi
1375
1809
fi
1376
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1377
 
echo "${ECHO_T}$INSTALL" >&6
 
1810
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1811
echo "${ECHO_T}$INSTALL" >&6; }
1378
1812
 
1379
1813
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1380
1814
# It thinks the first close brace ends the variable substitution.
1384
1818
 
1385
1819
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1386
1820
 
1387
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1388
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1821
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1822
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1389
1823
# Just in case
1390
1824
sleep 1
1391
1825
echo timestamp > conftest.file
1427
1861
Check your system clock" >&2;}
1428
1862
   { (exit 1); exit 1; }; }
1429
1863
fi
1430
 
echo "$as_me:$LINENO: result: yes" >&5
1431
 
echo "${ECHO_T}yes" >&6
 
1864
{ echo "$as_me:$LINENO: result: yes" >&5
 
1865
echo "${ECHO_T}yes" >&6; }
1432
1866
test "$program_prefix" != NONE &&
1433
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1867
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1434
1868
# Use a double $ so make ignores it.
1435
1869
test "$program_suffix" != NONE &&
1436
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1870
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1437
1871
# Double any \ or $.  echo might interpret backslashes.
1438
1872
# By default was `s,x,x', remove it if useless.
1439
1873
cat <<\_ACEOF >conftest.sed
1440
1874
s/[\\$]/&&/g;s/;s,x,x,$//
1441
1875
_ACEOF
1442
1876
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1443
 
rm conftest.sed
 
1877
rm -f conftest.sed
1444
1878
 
1445
1879
# expand $ac_aux_dir to an absolute path
1446
1880
am_aux_dir=`cd $ac_aux_dir && pwd`
1492
1926
do
1493
1927
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1494
1928
set dummy $ac_prog; ac_word=$2
1495
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1496
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1929
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1930
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1497
1931
if test "${ac_cv_prog_AWK+set}" = set; then
1498
1932
  echo $ECHO_N "(cached) $ECHO_C" >&6
1499
1933
else
1506
1940
  IFS=$as_save_IFS
1507
1941
  test -z "$as_dir" && as_dir=.
1508
1942
  for ac_exec_ext in '' $ac_executable_extensions; do
1509
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1943
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1510
1944
    ac_cv_prog_AWK="$ac_prog"
1511
1945
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1512
1946
    break 2
1513
1947
  fi
1514
1948
done
1515
1949
done
 
1950
IFS=$as_save_IFS
1516
1951
 
1517
1952
fi
1518
1953
fi
1519
1954
AWK=$ac_cv_prog_AWK
1520
1955
if test -n "$AWK"; then
1521
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1522
 
echo "${ECHO_T}$AWK" >&6
 
1956
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
1957
echo "${ECHO_T}$AWK" >&6; }
1523
1958
else
1524
 
  echo "$as_me:$LINENO: result: no" >&5
1525
 
echo "${ECHO_T}no" >&6
 
1959
  { echo "$as_me:$LINENO: result: no" >&5
 
1960
echo "${ECHO_T}no" >&6; }
1526
1961
fi
1527
1962
 
 
1963
 
1528
1964
  test -n "$AWK" && break
1529
1965
done
1530
1966
 
1531
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1532
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1533
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1534
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1967
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1968
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1969
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1970
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1535
1971
  echo $ECHO_N "(cached) $ECHO_C" >&6
1536
1972
else
1537
1973
  cat >conftest.make <<\_ACEOF
 
1974
SHELL = /bin/sh
1538
1975
all:
1539
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1976
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1540
1977
_ACEOF
1541
1978
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1542
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1543
 
if test -n "$ac_maketemp"; then
1544
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1545
 
else
1546
 
  eval ac_cv_prog_make_${ac_make}_set=no
1547
 
fi
 
1979
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1980
  *@@@%%%=?*=@@@%%%*)
 
1981
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1982
  *)
 
1983
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1984
esac
1548
1985
rm -f conftest.make
1549
1986
fi
1550
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1551
 
  echo "$as_me:$LINENO: result: yes" >&5
1552
 
echo "${ECHO_T}yes" >&6
 
1987
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1988
  { echo "$as_me:$LINENO: result: yes" >&5
 
1989
echo "${ECHO_T}yes" >&6; }
1553
1990
  SET_MAKE=
1554
1991
else
1555
 
  echo "$as_me:$LINENO: result: no" >&5
1556
 
echo "${ECHO_T}no" >&6
 
1992
  { echo "$as_me:$LINENO: result: no" >&5
 
1993
echo "${ECHO_T}no" >&6; }
1557
1994
  SET_MAKE="MAKE=${MAKE-make}"
1558
1995
fi
1559
1996
 
1586
2023
 
1587
2024
# Define the identity of the package.
1588
2025
 PACKAGE='gworldclock'
1589
 
 VERSION='1.4.3'
 
2026
 VERSION='1.4.4'
1590
2027
 
1591
2028
 
1592
2029
cat >>confdefs.h <<_ACEOF
1624
2061
  if test -n "$ac_tool_prefix"; then
1625
2062
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1626
2063
set dummy ${ac_tool_prefix}strip; ac_word=$2
1627
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1628
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2064
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2065
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1629
2066
if test "${ac_cv_prog_STRIP+set}" = set; then
1630
2067
  echo $ECHO_N "(cached) $ECHO_C" >&6
1631
2068
else
1638
2075
  IFS=$as_save_IFS
1639
2076
  test -z "$as_dir" && as_dir=.
1640
2077
  for ac_exec_ext in '' $ac_executable_extensions; do
1641
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2078
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1642
2079
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1643
2080
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644
2081
    break 2
1645
2082
  fi
1646
2083
done
1647
2084
done
 
2085
IFS=$as_save_IFS
1648
2086
 
1649
2087
fi
1650
2088
fi
1651
2089
STRIP=$ac_cv_prog_STRIP
1652
2090
if test -n "$STRIP"; then
1653
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1654
 
echo "${ECHO_T}$STRIP" >&6
 
2091
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2092
echo "${ECHO_T}$STRIP" >&6; }
1655
2093
else
1656
 
  echo "$as_me:$LINENO: result: no" >&5
1657
 
echo "${ECHO_T}no" >&6
 
2094
  { echo "$as_me:$LINENO: result: no" >&5
 
2095
echo "${ECHO_T}no" >&6; }
1658
2096
fi
 
2097
 
1659
2098
 
1660
2099
fi
1661
2100
if test -z "$ac_cv_prog_STRIP"; then
1662
2101
  ac_ct_STRIP=$STRIP
1663
2102
  # Extract the first word of "strip", so it can be a program name with args.
1664
2103
set dummy strip; ac_word=$2
1665
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1666
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2104
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2105
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1667
2106
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1668
2107
  echo $ECHO_N "(cached) $ECHO_C" >&6
1669
2108
else
1676
2115
  IFS=$as_save_IFS
1677
2116
  test -z "$as_dir" && as_dir=.
1678
2117
  for ac_exec_ext in '' $ac_executable_extensions; do
1679
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2118
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1680
2119
    ac_cv_prog_ac_ct_STRIP="strip"
1681
2120
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682
2121
    break 2
1683
2122
  fi
1684
2123
done
1685
2124
done
 
2125
IFS=$as_save_IFS
1686
2126
 
1687
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1688
2127
fi
1689
2128
fi
1690
2129
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1691
2130
if test -n "$ac_ct_STRIP"; then
1692
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1693
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2131
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2132
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1694
2133
else
1695
 
  echo "$as_me:$LINENO: result: no" >&5
1696
 
echo "${ECHO_T}no" >&6
 
2134
  { echo "$as_me:$LINENO: result: no" >&5
 
2135
echo "${ECHO_T}no" >&6; }
1697
2136
fi
1698
2137
 
1699
 
  STRIP=$ac_ct_STRIP
 
2138
  if test "x$ac_ct_STRIP" = x; then
 
2139
    STRIP=":"
 
2140
  else
 
2141
    case $cross_compiling:$ac_tool_warned in
 
2142
yes:)
 
2143
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2144
whose name does not start with the host triplet.  If you think this
 
2145
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2146
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2147
whose name does not start with the host triplet.  If you think this
 
2148
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2149
ac_tool_warned=yes ;;
 
2150
esac
 
2151
    STRIP=$ac_ct_STRIP
 
2152
  fi
1700
2153
else
1701
2154
  STRIP="$ac_cv_prog_STRIP"
1702
2155
fi
1724
2177
 
1725
2178
 
1726
2179
 
1727
 
          ac_config_headers="$ac_config_headers config.h"
 
2180
ac_config_headers="$ac_config_headers config.h"
1728
2181
 
1729
2182
 
1730
2183
ac_ext=c
1735
2188
if test -n "$ac_tool_prefix"; then
1736
2189
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1737
2190
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1738
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1739
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2191
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1740
2193
if test "${ac_cv_prog_CC+set}" = set; then
1741
2194
  echo $ECHO_N "(cached) $ECHO_C" >&6
1742
2195
else
1749
2202
  IFS=$as_save_IFS
1750
2203
  test -z "$as_dir" && as_dir=.
1751
2204
  for ac_exec_ext in '' $ac_executable_extensions; do
1752
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1753
2206
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1754
2207
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755
2208
    break 2
1756
2209
  fi
1757
2210
done
1758
2211
done
 
2212
IFS=$as_save_IFS
1759
2213
 
1760
2214
fi
1761
2215
fi
1762
2216
CC=$ac_cv_prog_CC
1763
2217
if test -n "$CC"; then
1764
 
  echo "$as_me:$LINENO: result: $CC" >&5
1765
 
echo "${ECHO_T}$CC" >&6
 
2218
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2219
echo "${ECHO_T}$CC" >&6; }
1766
2220
else
1767
 
  echo "$as_me:$LINENO: result: no" >&5
1768
 
echo "${ECHO_T}no" >&6
 
2221
  { echo "$as_me:$LINENO: result: no" >&5
 
2222
echo "${ECHO_T}no" >&6; }
1769
2223
fi
 
2224
 
1770
2225
 
1771
2226
fi
1772
2227
if test -z "$ac_cv_prog_CC"; then
1773
2228
  ac_ct_CC=$CC
1774
2229
  # Extract the first word of "gcc", so it can be a program name with args.
1775
2230
set dummy gcc; ac_word=$2
1776
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1777
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2231
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2232
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1778
2233
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1779
2234
  echo $ECHO_N "(cached) $ECHO_C" >&6
1780
2235
else
1787
2242
  IFS=$as_save_IFS
1788
2243
  test -z "$as_dir" && as_dir=.
1789
2244
  for ac_exec_ext in '' $ac_executable_extensions; do
1790
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2245
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1791
2246
    ac_cv_prog_ac_ct_CC="gcc"
1792
2247
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793
2248
    break 2
1794
2249
  fi
1795
2250
done
1796
2251
done
 
2252
IFS=$as_save_IFS
1797
2253
 
1798
2254
fi
1799
2255
fi
1800
2256
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1801
2257
if test -n "$ac_ct_CC"; then
1802
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1803
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2258
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2259
echo "${ECHO_T}$ac_ct_CC" >&6; }
1804
2260
else
1805
 
  echo "$as_me:$LINENO: result: no" >&5
1806
 
echo "${ECHO_T}no" >&6
 
2261
  { echo "$as_me:$LINENO: result: no" >&5
 
2262
echo "${ECHO_T}no" >&6; }
1807
2263
fi
1808
2264
 
1809
 
  CC=$ac_ct_CC
 
2265
  if test "x$ac_ct_CC" = x; then
 
2266
    CC=""
 
2267
  else
 
2268
    case $cross_compiling:$ac_tool_warned in
 
2269
yes:)
 
2270
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2271
whose name does not start with the host triplet.  If you think this
 
2272
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2273
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2274
whose name does not start with the host triplet.  If you think this
 
2275
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2276
ac_tool_warned=yes ;;
 
2277
esac
 
2278
    CC=$ac_ct_CC
 
2279
  fi
1810
2280
else
1811
2281
  CC="$ac_cv_prog_CC"
1812
2282
fi
1813
2283
 
1814
2284
if test -z "$CC"; then
1815
 
  if test -n "$ac_tool_prefix"; then
1816
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2285
          if test -n "$ac_tool_prefix"; then
 
2286
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1817
2287
set dummy ${ac_tool_prefix}cc; ac_word=$2
1818
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1819
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2288
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2289
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1820
2290
if test "${ac_cv_prog_CC+set}" = set; then
1821
2291
  echo $ECHO_N "(cached) $ECHO_C" >&6
1822
2292
else
1829
2299
  IFS=$as_save_IFS
1830
2300
  test -z "$as_dir" && as_dir=.
1831
2301
  for ac_exec_ext in '' $ac_executable_extensions; do
1832
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2302
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1833
2303
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1834
2304
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835
2305
    break 2
1836
2306
  fi
1837
2307
done
1838
2308
done
 
2309
IFS=$as_save_IFS
1839
2310
 
1840
2311
fi
1841
2312
fi
1842
2313
CC=$ac_cv_prog_CC
1843
2314
if test -n "$CC"; then
1844
 
  echo "$as_me:$LINENO: result: $CC" >&5
1845
 
echo "${ECHO_T}$CC" >&6
1846
 
else
1847
 
  echo "$as_me:$LINENO: result: no" >&5
1848
 
echo "${ECHO_T}no" >&6
1849
 
fi
1850
 
 
1851
 
fi
1852
 
if test -z "$ac_cv_prog_CC"; then
1853
 
  ac_ct_CC=$CC
1854
 
  # Extract the first word of "cc", so it can be a program name with args.
1855
 
set dummy cc; ac_word=$2
1856
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1857
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1858
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1860
 
else
1861
 
  if test -n "$ac_ct_CC"; then
1862
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1863
 
else
1864
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865
 
for as_dir in $PATH
1866
 
do
1867
 
  IFS=$as_save_IFS
1868
 
  test -z "$as_dir" && as_dir=.
1869
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1870
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1871
 
    ac_cv_prog_ac_ct_CC="cc"
1872
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873
 
    break 2
 
2315
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2316
echo "${ECHO_T}$CC" >&6; }
 
2317
else
 
2318
  { echo "$as_me:$LINENO: result: no" >&5
 
2319
echo "${ECHO_T}no" >&6; }
 
2320
fi
 
2321
 
 
2322
 
1874
2323
  fi
1875
 
done
1876
 
done
1877
 
 
1878
 
fi
1879
 
fi
1880
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1881
 
if test -n "$ac_ct_CC"; then
1882
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1883
 
echo "${ECHO_T}$ac_ct_CC" >&6
1884
 
else
1885
 
  echo "$as_me:$LINENO: result: no" >&5
1886
 
echo "${ECHO_T}no" >&6
1887
 
fi
1888
 
 
1889
 
  CC=$ac_ct_CC
1890
 
else
1891
 
  CC="$ac_cv_prog_CC"
1892
 
fi
1893
 
 
1894
2324
fi
1895
2325
if test -z "$CC"; then
1896
2326
  # Extract the first word of "cc", so it can be a program name with args.
1897
2327
set dummy cc; ac_word=$2
1898
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1899
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2328
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2329
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1900
2330
if test "${ac_cv_prog_CC+set}" = set; then
1901
2331
  echo $ECHO_N "(cached) $ECHO_C" >&6
1902
2332
else
1910
2340
  IFS=$as_save_IFS
1911
2341
  test -z "$as_dir" && as_dir=.
1912
2342
  for ac_exec_ext in '' $ac_executable_extensions; do
1913
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1914
2344
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1915
2345
       ac_prog_rejected=yes
1916
2346
       continue
1921
2351
  fi
1922
2352
done
1923
2353
done
 
2354
IFS=$as_save_IFS
1924
2355
 
1925
2356
if test $ac_prog_rejected = yes; then
1926
2357
  # We found a bogon in the path, so make sure we never use it.
1938
2369
fi
1939
2370
CC=$ac_cv_prog_CC
1940
2371
if test -n "$CC"; then
1941
 
  echo "$as_me:$LINENO: result: $CC" >&5
1942
 
echo "${ECHO_T}$CC" >&6
 
2372
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2373
echo "${ECHO_T}$CC" >&6; }
1943
2374
else
1944
 
  echo "$as_me:$LINENO: result: no" >&5
1945
 
echo "${ECHO_T}no" >&6
 
2375
  { echo "$as_me:$LINENO: result: no" >&5
 
2376
echo "${ECHO_T}no" >&6; }
1946
2377
fi
 
2378
 
1947
2379
 
1948
2380
fi
1949
2381
if test -z "$CC"; then
1950
2382
  if test -n "$ac_tool_prefix"; then
1951
 
  for ac_prog in cl
 
2383
  for ac_prog in cl.exe
1952
2384
  do
1953
2385
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1954
2386
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1955
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1956
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2387
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2388
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1957
2389
if test "${ac_cv_prog_CC+set}" = set; then
1958
2390
  echo $ECHO_N "(cached) $ECHO_C" >&6
1959
2391
else
1966
2398
  IFS=$as_save_IFS
1967
2399
  test -z "$as_dir" && as_dir=.
1968
2400
  for ac_exec_ext in '' $ac_executable_extensions; do
1969
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2401
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1970
2402
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1971
2403
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972
2404
    break 2
1973
2405
  fi
1974
2406
done
1975
2407
done
 
2408
IFS=$as_save_IFS
1976
2409
 
1977
2410
fi
1978
2411
fi
1979
2412
CC=$ac_cv_prog_CC
1980
2413
if test -n "$CC"; then
1981
 
  echo "$as_me:$LINENO: result: $CC" >&5
1982
 
echo "${ECHO_T}$CC" >&6
 
2414
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2415
echo "${ECHO_T}$CC" >&6; }
1983
2416
else
1984
 
  echo "$as_me:$LINENO: result: no" >&5
1985
 
echo "${ECHO_T}no" >&6
 
2417
  { echo "$as_me:$LINENO: result: no" >&5
 
2418
echo "${ECHO_T}no" >&6; }
1986
2419
fi
1987
2420
 
 
2421
 
1988
2422
    test -n "$CC" && break
1989
2423
  done
1990
2424
fi
1991
2425
if test -z "$CC"; then
1992
2426
  ac_ct_CC=$CC
1993
 
  for ac_prog in cl
 
2427
  for ac_prog in cl.exe
1994
2428
do
1995
2429
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1996
2430
set dummy $ac_prog; ac_word=$2
1997
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1998
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2431
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2432
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1999
2433
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2000
2434
  echo $ECHO_N "(cached) $ECHO_C" >&6
2001
2435
else
2008
2442
  IFS=$as_save_IFS
2009
2443
  test -z "$as_dir" && as_dir=.
2010
2444
  for ac_exec_ext in '' $ac_executable_extensions; do
2011
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2445
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2012
2446
    ac_cv_prog_ac_ct_CC="$ac_prog"
2013
2447
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014
2448
    break 2
2015
2449
  fi
2016
2450
done
2017
2451
done
 
2452
IFS=$as_save_IFS
2018
2453
 
2019
2454
fi
2020
2455
fi
2021
2456
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2022
2457
if test -n "$ac_ct_CC"; then
2023
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2024
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2458
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2459
echo "${ECHO_T}$ac_ct_CC" >&6; }
2025
2460
else
2026
 
  echo "$as_me:$LINENO: result: no" >&5
2027
 
echo "${ECHO_T}no" >&6
 
2461
  { echo "$as_me:$LINENO: result: no" >&5
 
2462
echo "${ECHO_T}no" >&6; }
2028
2463
fi
2029
2464
 
 
2465
 
2030
2466
  test -n "$ac_ct_CC" && break
2031
2467
done
2032
2468
 
2033
 
  CC=$ac_ct_CC
 
2469
  if test "x$ac_ct_CC" = x; then
 
2470
    CC=""
 
2471
  else
 
2472
    case $cross_compiling:$ac_tool_warned in
 
2473
yes:)
 
2474
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2475
whose name does not start with the host triplet.  If you think this
 
2476
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2477
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2478
whose name does not start with the host triplet.  If you think this
 
2479
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2480
ac_tool_warned=yes ;;
 
2481
esac
 
2482
    CC=$ac_ct_CC
 
2483
  fi
2034
2484
fi
2035
2485
 
2036
2486
fi
2043
2493
   { (exit 1); exit 1; }; }
2044
2494
 
2045
2495
# Provide some information about the compiler.
2046
 
echo "$as_me:$LINENO:" \
2047
 
     "checking for C compiler version" >&5
 
2496
echo "$as_me:$LINENO: checking for C compiler version" >&5
2048
2497
ac_compiler=`set X $ac_compile; echo $2`
2049
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2050
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2051
 
  ac_status=$?
2052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053
 
  (exit $ac_status); }
2054
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2055
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2056
 
  ac_status=$?
2057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058
 
  (exit $ac_status); }
2059
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2060
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2498
{ (ac_try="$ac_compiler --version >&5"
 
2499
case "(($ac_try" in
 
2500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2501
  *) ac_try_echo=$ac_try;;
 
2502
esac
 
2503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2504
  (eval "$ac_compiler --version >&5") 2>&5
 
2505
  ac_status=$?
 
2506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2507
  (exit $ac_status); }
 
2508
{ (ac_try="$ac_compiler -v >&5"
 
2509
case "(($ac_try" in
 
2510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2511
  *) ac_try_echo=$ac_try;;
 
2512
esac
 
2513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2514
  (eval "$ac_compiler -v >&5") 2>&5
 
2515
  ac_status=$?
 
2516
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2517
  (exit $ac_status); }
 
2518
{ (ac_try="$ac_compiler -V >&5"
 
2519
case "(($ac_try" in
 
2520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2521
  *) ac_try_echo=$ac_try;;
 
2522
esac
 
2523
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2524
  (eval "$ac_compiler -V >&5") 2>&5
2061
2525
  ac_status=$?
2062
2526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063
2527
  (exit $ac_status); }
2082
2546
# Try to create an executable without -o first, disregard a.out.
2083
2547
# It will help us diagnose broken compilers, and finding out an intuition
2084
2548
# of exeext.
2085
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2086
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2549
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2550
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2087
2551
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2088
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2089
 
  (eval $ac_link_default) 2>&5
 
2552
#
 
2553
# List of possible output files, starting from the most likely.
 
2554
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2555
# only as a last resort.  b.out is created by i960 compilers.
 
2556
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2557
#
 
2558
# The IRIX 6 linker writes into existing files which may not be
 
2559
# executable, retaining their permissions.  Remove them first so a
 
2560
# subsequent execution test works.
 
2561
ac_rmfiles=
 
2562
for ac_file in $ac_files
 
2563
do
 
2564
  case $ac_file in
 
2565
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2566
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2567
  esac
 
2568
done
 
2569
rm -f $ac_rmfiles
 
2570
 
 
2571
if { (ac_try="$ac_link_default"
 
2572
case "(($ac_try" in
 
2573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2574
  *) ac_try_echo=$ac_try;;
 
2575
esac
 
2576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2577
  (eval "$ac_link_default") 2>&5
2090
2578
  ac_status=$?
2091
2579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092
2580
  (exit $ac_status); }; then
2093
 
  # Find the output, starting from the most likely.  This scheme is
2094
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2095
 
# resort.
2096
 
 
2097
 
# Be careful to initialize this variable, since it used to be cached.
2098
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2099
 
ac_cv_exeext=
2100
 
# b.out is created by i960 compilers.
2101
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2581
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2582
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2583
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2584
# so that the user can short-circuit this test for compilers unknown to
 
2585
# Autoconf.
 
2586
for ac_file in $ac_files
2102
2587
do
2103
2588
  test -f "$ac_file" || continue
2104
2589
  case $ac_file in
2105
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2106
 
        ;;
2107
 
    conftest.$ac_ext )
2108
 
        # This is the source file.
 
2590
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2109
2591
        ;;
2110
2592
    [ab].out )
2111
2593
        # We found the default executable, but exeext='' is most
2112
2594
        # certainly right.
2113
2595
        break;;
2114
2596
    *.* )
2115
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2116
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2117
 
        # but it would be cool to find out if it's true.  Does anybody
2118
 
        # maintain Libtool? --akim.
2119
 
        export ac_cv_exeext
 
2597
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2598
        then :; else
 
2599
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2600
        fi
 
2601
        # We set ac_cv_exeext here because the later test for it is not
 
2602
        # safe: cross compilers may not add the suffix if given an `-o'
 
2603
        # argument, so we may need to know it at that point already.
 
2604
        # Even if this section looks crufty: it has the advantage of
 
2605
        # actually working.
2120
2606
        break;;
2121
2607
    * )
2122
2608
        break;;
2123
2609
  esac
2124
2610
done
 
2611
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2612
 
2125
2613
else
2126
2614
  echo "$as_me: failed program was:" >&5
2127
2615
sed 's/^/| /' conftest.$ac_ext >&5
2134
2622
fi
2135
2623
 
2136
2624
ac_exeext=$ac_cv_exeext
2137
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2138
 
echo "${ECHO_T}$ac_file" >&6
 
2625
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2626
echo "${ECHO_T}$ac_file" >&6; }
2139
2627
 
2140
 
# Check the compiler produces executables we can run.  If not, either
 
2628
# Check that the compiler produces executables we can run.  If not, either
2141
2629
# the compiler is broken, or we cross compile.
2142
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2143
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2630
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2631
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2144
2632
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2145
2633
# If not cross compiling, check that we can run a simple program.
2146
2634
if test "$cross_compiling" != yes; then
2147
2635
  if { ac_try='./$ac_file'
2148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2149
 
  (eval $ac_try) 2>&5
 
2636
  { (case "(($ac_try" in
 
2637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2638
  *) ac_try_echo=$ac_try;;
 
2639
esac
 
2640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2641
  (eval "$ac_try") 2>&5
2150
2642
  ac_status=$?
2151
2643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152
2644
  (exit $ac_status); }; }; then
2165
2657
    fi
2166
2658
  fi
2167
2659
fi
2168
 
echo "$as_me:$LINENO: result: yes" >&5
2169
 
echo "${ECHO_T}yes" >&6
 
2660
{ echo "$as_me:$LINENO: result: yes" >&5
 
2661
echo "${ECHO_T}yes" >&6; }
2170
2662
 
2171
2663
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2172
2664
ac_clean_files=$ac_clean_files_save
2173
 
# Check the compiler produces executables we can run.  If not, either
 
2665
# Check that the compiler produces executables we can run.  If not, either
2174
2666
# the compiler is broken, or we cross compile.
2175
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2176
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2177
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2178
 
echo "${ECHO_T}$cross_compiling" >&6
 
2667
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2668
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2669
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2670
echo "${ECHO_T}$cross_compiling" >&6; }
2179
2671
 
2180
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2181
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2182
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2183
 
  (eval $ac_link) 2>&5
 
2672
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2673
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2674
if { (ac_try="$ac_link"
 
2675
case "(($ac_try" in
 
2676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2677
  *) ac_try_echo=$ac_try;;
 
2678
esac
 
2679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2680
  (eval "$ac_link") 2>&5
2184
2681
  ac_status=$?
2185
2682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186
2683
  (exit $ac_status); }; then
2191
2688
for ac_file in conftest.exe conftest conftest.*; do
2192
2689
  test -f "$ac_file" || continue
2193
2690
  case $ac_file in
2194
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2691
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2195
2692
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2196
 
          export ac_cv_exeext
2197
2693
          break;;
2198
2694
    * ) break;;
2199
2695
  esac
2207
2703
fi
2208
2704
 
2209
2705
rm -f conftest$ac_cv_exeext
2210
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2211
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2706
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2707
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2212
2708
 
2213
2709
rm -f conftest.$ac_ext
2214
2710
EXEEXT=$ac_cv_exeext
2215
2711
ac_exeext=$EXEEXT
2216
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2217
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2712
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2713
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2218
2714
if test "${ac_cv_objext+set}" = set; then
2219
2715
  echo $ECHO_N "(cached) $ECHO_C" >&6
2220
2716
else
2234
2730
}
2235
2731
_ACEOF
2236
2732
rm -f conftest.o conftest.obj
2237
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238
 
  (eval $ac_compile) 2>&5
 
2733
if { (ac_try="$ac_compile"
 
2734
case "(($ac_try" in
 
2735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2736
  *) ac_try_echo=$ac_try;;
 
2737
esac
 
2738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2739
  (eval "$ac_compile") 2>&5
2239
2740
  ac_status=$?
2240
2741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
2742
  (exit $ac_status); }; then
2242
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2743
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2744
  test -f "$ac_file" || continue;
2243
2745
  case $ac_file in
2244
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2746
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2245
2747
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2246
2748
       break;;
2247
2749
  esac
2259
2761
 
2260
2762
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2261
2763
fi
2262
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2263
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2764
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2765
echo "${ECHO_T}$ac_cv_objext" >&6; }
2264
2766
OBJEXT=$ac_cv_objext
2265
2767
ac_objext=$OBJEXT
2266
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2267
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2768
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2769
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2268
2770
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2269
2771
  echo $ECHO_N "(cached) $ECHO_C" >&6
2270
2772
else
2287
2789
}
2288
2790
_ACEOF
2289
2791
rm -f conftest.$ac_objext
2290
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2291
 
  (eval $ac_compile) 2>conftest.er1
 
2792
if { (ac_try="$ac_compile"
 
2793
case "(($ac_try" in
 
2794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2795
  *) ac_try_echo=$ac_try;;
 
2796
esac
 
2797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2798
  (eval "$ac_compile") 2>conftest.er1
2292
2799
  ac_status=$?
2293
2800
  grep -v '^ *+' conftest.er1 >conftest.err
2294
2801
  rm -f conftest.er1
2295
2802
  cat conftest.err >&5
2296
2803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
2804
  (exit $ac_status); } &&
2298
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300
 
  (eval $ac_try) 2>&5
 
2805
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
2806
  { (case "(($ac_try" in
 
2807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2808
  *) ac_try_echo=$ac_try;;
 
2809
esac
 
2810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2811
  (eval "$ac_try") 2>&5
2301
2812
  ac_status=$?
2302
2813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303
2814
  (exit $ac_status); }; } &&
2304
2815
         { ac_try='test -s conftest.$ac_objext'
2305
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306
 
  (eval $ac_try) 2>&5
 
2816
  { (case "(($ac_try" in
 
2817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2818
  *) ac_try_echo=$ac_try;;
 
2819
esac
 
2820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2821
  (eval "$ac_try") 2>&5
2307
2822
  ac_status=$?
2308
2823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309
2824
  (exit $ac_status); }; }; then
2312
2827
  echo "$as_me: failed program was:" >&5
2313
2828
sed 's/^/| /' conftest.$ac_ext >&5
2314
2829
 
2315
 
ac_compiler_gnu=no
 
2830
        ac_compiler_gnu=no
2316
2831
fi
2317
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2832
 
 
2833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318
2834
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2319
2835
 
2320
2836
fi
2321
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2322
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2837
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2838
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2323
2839
GCC=`test $ac_compiler_gnu = yes && echo yes`
2324
2840
ac_test_CFLAGS=${CFLAGS+set}
2325
2841
ac_save_CFLAGS=$CFLAGS
2326
 
CFLAGS="-g"
2327
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2328
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2842
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2843
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2329
2844
if test "${ac_cv_prog_cc_g+set}" = set; then
2330
2845
  echo $ECHO_N "(cached) $ECHO_C" >&6
2331
2846
else
2332
 
  cat >conftest.$ac_ext <<_ACEOF
2333
 
/* confdefs.h.  */
2334
 
_ACEOF
2335
 
cat confdefs.h >>conftest.$ac_ext
2336
 
cat >>conftest.$ac_ext <<_ACEOF
2337
 
/* end confdefs.h.  */
2338
 
 
2339
 
int
2340
 
main ()
2341
 
{
2342
 
 
2343
 
  ;
2344
 
  return 0;
2345
 
}
2346
 
_ACEOF
2347
 
rm -f conftest.$ac_objext
2348
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2349
 
  (eval $ac_compile) 2>conftest.er1
2350
 
  ac_status=$?
2351
 
  grep -v '^ *+' conftest.er1 >conftest.err
2352
 
  rm -f conftest.er1
2353
 
  cat conftest.err >&5
2354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355
 
  (exit $ac_status); } &&
2356
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2357
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358
 
  (eval $ac_try) 2>&5
2359
 
  ac_status=$?
2360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
 
  (exit $ac_status); }; } &&
2362
 
         { ac_try='test -s conftest.$ac_objext'
2363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364
 
  (eval $ac_try) 2>&5
2365
 
  ac_status=$?
2366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
 
  (exit $ac_status); }; }; then
2368
 
  ac_cv_prog_cc_g=yes
2369
 
else
2370
 
  echo "$as_me: failed program was:" >&5
2371
 
sed 's/^/| /' conftest.$ac_ext >&5
2372
 
 
2373
 
ac_cv_prog_cc_g=no
2374
 
fi
2375
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2376
 
fi
2377
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2378
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2847
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2848
   ac_c_werror_flag=yes
 
2849
   ac_cv_prog_cc_g=no
 
2850
   CFLAGS="-g"
 
2851
   cat >conftest.$ac_ext <<_ACEOF
 
2852
/* confdefs.h.  */
 
2853
_ACEOF
 
2854
cat confdefs.h >>conftest.$ac_ext
 
2855
cat >>conftest.$ac_ext <<_ACEOF
 
2856
/* end confdefs.h.  */
 
2857
 
 
2858
int
 
2859
main ()
 
2860
{
 
2861
 
 
2862
  ;
 
2863
  return 0;
 
2864
}
 
2865
_ACEOF
 
2866
rm -f conftest.$ac_objext
 
2867
if { (ac_try="$ac_compile"
 
2868
case "(($ac_try" in
 
2869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2870
  *) ac_try_echo=$ac_try;;
 
2871
esac
 
2872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2873
  (eval "$ac_compile") 2>conftest.er1
 
2874
  ac_status=$?
 
2875
  grep -v '^ *+' conftest.er1 >conftest.err
 
2876
  rm -f conftest.er1
 
2877
  cat conftest.err >&5
 
2878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2879
  (exit $ac_status); } &&
 
2880
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
2881
  { (case "(($ac_try" in
 
2882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2883
  *) ac_try_echo=$ac_try;;
 
2884
esac
 
2885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2886
  (eval "$ac_try") 2>&5
 
2887
  ac_status=$?
 
2888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2889
  (exit $ac_status); }; } &&
 
2890
         { ac_try='test -s conftest.$ac_objext'
 
2891
  { (case "(($ac_try" in
 
2892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2893
  *) ac_try_echo=$ac_try;;
 
2894
esac
 
2895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2896
  (eval "$ac_try") 2>&5
 
2897
  ac_status=$?
 
2898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2899
  (exit $ac_status); }; }; then
 
2900
  ac_cv_prog_cc_g=yes
 
2901
else
 
2902
  echo "$as_me: failed program was:" >&5
 
2903
sed 's/^/| /' conftest.$ac_ext >&5
 
2904
 
 
2905
        CFLAGS=""
 
2906
      cat >conftest.$ac_ext <<_ACEOF
 
2907
/* confdefs.h.  */
 
2908
_ACEOF
 
2909
cat confdefs.h >>conftest.$ac_ext
 
2910
cat >>conftest.$ac_ext <<_ACEOF
 
2911
/* end confdefs.h.  */
 
2912
 
 
2913
int
 
2914
main ()
 
2915
{
 
2916
 
 
2917
  ;
 
2918
  return 0;
 
2919
}
 
2920
_ACEOF
 
2921
rm -f conftest.$ac_objext
 
2922
if { (ac_try="$ac_compile"
 
2923
case "(($ac_try" in
 
2924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2925
  *) ac_try_echo=$ac_try;;
 
2926
esac
 
2927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2928
  (eval "$ac_compile") 2>conftest.er1
 
2929
  ac_status=$?
 
2930
  grep -v '^ *+' conftest.er1 >conftest.err
 
2931
  rm -f conftest.er1
 
2932
  cat conftest.err >&5
 
2933
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2934
  (exit $ac_status); } &&
 
2935
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
2936
  { (case "(($ac_try" in
 
2937
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2938
  *) ac_try_echo=$ac_try;;
 
2939
esac
 
2940
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2941
  (eval "$ac_try") 2>&5
 
2942
  ac_status=$?
 
2943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2944
  (exit $ac_status); }; } &&
 
2945
         { ac_try='test -s conftest.$ac_objext'
 
2946
  { (case "(($ac_try" in
 
2947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2948
  *) ac_try_echo=$ac_try;;
 
2949
esac
 
2950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2951
  (eval "$ac_try") 2>&5
 
2952
  ac_status=$?
 
2953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2954
  (exit $ac_status); }; }; then
 
2955
  :
 
2956
else
 
2957
  echo "$as_me: failed program was:" >&5
 
2958
sed 's/^/| /' conftest.$ac_ext >&5
 
2959
 
 
2960
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2961
         CFLAGS="-g"
 
2962
         cat >conftest.$ac_ext <<_ACEOF
 
2963
/* confdefs.h.  */
 
2964
_ACEOF
 
2965
cat confdefs.h >>conftest.$ac_ext
 
2966
cat >>conftest.$ac_ext <<_ACEOF
 
2967
/* end confdefs.h.  */
 
2968
 
 
2969
int
 
2970
main ()
 
2971
{
 
2972
 
 
2973
  ;
 
2974
  return 0;
 
2975
}
 
2976
_ACEOF
 
2977
rm -f conftest.$ac_objext
 
2978
if { (ac_try="$ac_compile"
 
2979
case "(($ac_try" in
 
2980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2981
  *) ac_try_echo=$ac_try;;
 
2982
esac
 
2983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2984
  (eval "$ac_compile") 2>conftest.er1
 
2985
  ac_status=$?
 
2986
  grep -v '^ *+' conftest.er1 >conftest.err
 
2987
  rm -f conftest.er1
 
2988
  cat conftest.err >&5
 
2989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2990
  (exit $ac_status); } &&
 
2991
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
2992
  { (case "(($ac_try" in
 
2993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2994
  *) ac_try_echo=$ac_try;;
 
2995
esac
 
2996
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2997
  (eval "$ac_try") 2>&5
 
2998
  ac_status=$?
 
2999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3000
  (exit $ac_status); }; } &&
 
3001
         { ac_try='test -s conftest.$ac_objext'
 
3002
  { (case "(($ac_try" in
 
3003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3004
  *) ac_try_echo=$ac_try;;
 
3005
esac
 
3006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3007
  (eval "$ac_try") 2>&5
 
3008
  ac_status=$?
 
3009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3010
  (exit $ac_status); }; }; then
 
3011
  ac_cv_prog_cc_g=yes
 
3012
else
 
3013
  echo "$as_me: failed program was:" >&5
 
3014
sed 's/^/| /' conftest.$ac_ext >&5
 
3015
 
 
3016
 
 
3017
fi
 
3018
 
 
3019
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3020
fi
 
3021
 
 
3022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3023
fi
 
3024
 
 
3025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3026
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3027
fi
 
3028
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3029
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2379
3030
if test "$ac_test_CFLAGS" = set; then
2380
3031
  CFLAGS=$ac_save_CFLAGS
2381
3032
elif test $ac_cv_prog_cc_g = yes; then
2391
3042
    CFLAGS=
2392
3043
  fi
2393
3044
fi
2394
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2395
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2396
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3045
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3046
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3047
if test "${ac_cv_prog_cc_c89+set}" = set; then
2397
3048
  echo $ECHO_N "(cached) $ECHO_C" >&6
2398
3049
else
2399
 
  ac_cv_prog_cc_stdc=no
 
3050
  ac_cv_prog_cc_c89=no
2400
3051
ac_save_CC=$CC
2401
3052
cat >conftest.$ac_ext <<_ACEOF
2402
3053
/* confdefs.h.  */
2430
3081
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2431
3082
   function prototypes and stuff, but not '\xHH' hex character constants.
2432
3083
   These don't provoke an error unfortunately, instead are silently treated
2433
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3084
   as 'x'.  The following induces an error, until -std is added to get
2434
3085
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2435
3086
   array size at least.  It's necessary to write '\x00'==0 to get something
2436
 
   that's true only with -std1.  */
 
3087
   that's true only with -std.  */
2437
3088
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2438
3089
 
 
3090
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3091
   inside strings and character constants.  */
 
3092
#define FOO(x) 'x'
 
3093
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3094
 
2439
3095
int test (int i, double x);
2440
3096
struct s1 {int (*f) (int a);};
2441
3097
struct s2 {int (*f) (double a);};
2450
3106
  return 0;
2451
3107
}
2452
3108
_ACEOF
2453
 
# Don't try gcc -ansi; that turns off useful extensions and
2454
 
# breaks some systems' header files.
2455
 
# AIX                   -qlanglvl=ansi
2456
 
# Ultrix and OSF/1      -std1
2457
 
# HP-UX 10.20 and later -Ae
2458
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2459
 
# SVR4                  -Xc -D__EXTENSIONS__
2460
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3109
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3110
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2461
3111
do
2462
3112
  CC="$ac_save_CC $ac_arg"
2463
3113
  rm -f conftest.$ac_objext
2464
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2465
 
  (eval $ac_compile) 2>conftest.er1
 
3114
if { (ac_try="$ac_compile"
 
3115
case "(($ac_try" in
 
3116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3117
  *) ac_try_echo=$ac_try;;
 
3118
esac
 
3119
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3120
  (eval "$ac_compile") 2>conftest.er1
2466
3121
  ac_status=$?
2467
3122
  grep -v '^ *+' conftest.er1 >conftest.err
2468
3123
  rm -f conftest.er1
2469
3124
  cat conftest.err >&5
2470
3125
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471
3126
  (exit $ac_status); } &&
2472
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2473
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474
 
  (eval $ac_try) 2>&5
 
3127
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3128
  { (case "(($ac_try" in
 
3129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3130
  *) ac_try_echo=$ac_try;;
 
3131
esac
 
3132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3133
  (eval "$ac_try") 2>&5
2475
3134
  ac_status=$?
2476
3135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
3136
  (exit $ac_status); }; } &&
2478
3137
         { ac_try='test -s conftest.$ac_objext'
2479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480
 
  (eval $ac_try) 2>&5
 
3138
  { (case "(($ac_try" in
 
3139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3140
  *) ac_try_echo=$ac_try;;
 
3141
esac
 
3142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3143
  (eval "$ac_try") 2>&5
2481
3144
  ac_status=$?
2482
3145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483
3146
  (exit $ac_status); }; }; then
2484
 
  ac_cv_prog_cc_stdc=$ac_arg
2485
 
break
 
3147
  ac_cv_prog_cc_c89=$ac_arg
2486
3148
else
2487
3149
  echo "$as_me: failed program was:" >&5
2488
3150
sed 's/^/| /' conftest.$ac_ext >&5
2489
3151
 
 
3152
 
2490
3153
fi
2491
 
rm -f conftest.err conftest.$ac_objext
 
3154
 
 
3155
rm -f core conftest.err conftest.$ac_objext
 
3156
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2492
3157
done
2493
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3158
rm -f conftest.$ac_ext
2494
3159
CC=$ac_save_CC
2495
3160
 
2496
3161
fi
2497
 
 
2498
 
case "x$ac_cv_prog_cc_stdc" in
2499
 
  x|xno)
2500
 
    echo "$as_me:$LINENO: result: none needed" >&5
2501
 
echo "${ECHO_T}none needed" >&6 ;;
 
3162
# AC_CACHE_VAL
 
3163
case "x$ac_cv_prog_cc_c89" in
 
3164
  x)
 
3165
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3166
echo "${ECHO_T}none needed" >&6; } ;;
 
3167
  xno)
 
3168
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3169
echo "${ECHO_T}unsupported" >&6; } ;;
2502
3170
  *)
2503
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2504
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2505
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3171
    CC="$CC $ac_cv_prog_cc_c89"
 
3172
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3173
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2506
3174
esac
2507
3175
 
2508
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2509
 
# in C++ we need to declare it.  In case someone uses the same compiler
2510
 
# for both compiling C and C++ we need to have the C++ compiler decide
2511
 
# the declaration of exit, since it's the most demanding environment.
2512
 
cat >conftest.$ac_ext <<_ACEOF
2513
 
#ifndef __cplusplus
2514
 
  choke me
2515
 
#endif
2516
 
_ACEOF
2517
 
rm -f conftest.$ac_objext
2518
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519
 
  (eval $ac_compile) 2>conftest.er1
2520
 
  ac_status=$?
2521
 
  grep -v '^ *+' conftest.er1 >conftest.err
2522
 
  rm -f conftest.er1
2523
 
  cat conftest.err >&5
2524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525
 
  (exit $ac_status); } &&
2526
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528
 
  (eval $ac_try) 2>&5
2529
 
  ac_status=$?
2530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531
 
  (exit $ac_status); }; } &&
2532
 
         { ac_try='test -s conftest.$ac_objext'
2533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534
 
  (eval $ac_try) 2>&5
2535
 
  ac_status=$?
2536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537
 
  (exit $ac_status); }; }; then
2538
 
  for ac_declaration in \
2539
 
   '' \
2540
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2541
 
   'extern "C" void std::exit (int); using std::exit;' \
2542
 
   'extern "C" void exit (int) throw ();' \
2543
 
   'extern "C" void exit (int);' \
2544
 
   'void exit (int);'
2545
 
do
2546
 
  cat >conftest.$ac_ext <<_ACEOF
2547
 
/* confdefs.h.  */
2548
 
_ACEOF
2549
 
cat confdefs.h >>conftest.$ac_ext
2550
 
cat >>conftest.$ac_ext <<_ACEOF
2551
 
/* end confdefs.h.  */
2552
 
$ac_declaration
2553
 
#include <stdlib.h>
2554
 
int
2555
 
main ()
2556
 
{
2557
 
exit (42);
2558
 
  ;
2559
 
  return 0;
2560
 
}
2561
 
_ACEOF
2562
 
rm -f conftest.$ac_objext
2563
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564
 
  (eval $ac_compile) 2>conftest.er1
2565
 
  ac_status=$?
2566
 
  grep -v '^ *+' conftest.er1 >conftest.err
2567
 
  rm -f conftest.er1
2568
 
  cat conftest.err >&5
2569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
 
  (exit $ac_status); } &&
2571
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573
 
  (eval $ac_try) 2>&5
2574
 
  ac_status=$?
2575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
 
  (exit $ac_status); }; } &&
2577
 
         { ac_try='test -s conftest.$ac_objext'
2578
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579
 
  (eval $ac_try) 2>&5
2580
 
  ac_status=$?
2581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582
 
  (exit $ac_status); }; }; then
2583
 
  :
2584
 
else
2585
 
  echo "$as_me: failed program was:" >&5
2586
 
sed 's/^/| /' conftest.$ac_ext >&5
2587
 
 
2588
 
continue
2589
 
fi
2590
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2591
 
  cat >conftest.$ac_ext <<_ACEOF
2592
 
/* confdefs.h.  */
2593
 
_ACEOF
2594
 
cat confdefs.h >>conftest.$ac_ext
2595
 
cat >>conftest.$ac_ext <<_ACEOF
2596
 
/* end confdefs.h.  */
2597
 
$ac_declaration
2598
 
int
2599
 
main ()
2600
 
{
2601
 
exit (42);
2602
 
  ;
2603
 
  return 0;
2604
 
}
2605
 
_ACEOF
2606
 
rm -f conftest.$ac_objext
2607
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2608
 
  (eval $ac_compile) 2>conftest.er1
2609
 
  ac_status=$?
2610
 
  grep -v '^ *+' conftest.er1 >conftest.err
2611
 
  rm -f conftest.er1
2612
 
  cat conftest.err >&5
2613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
 
  (exit $ac_status); } &&
2615
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617
 
  (eval $ac_try) 2>&5
2618
 
  ac_status=$?
2619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620
 
  (exit $ac_status); }; } &&
2621
 
         { ac_try='test -s conftest.$ac_objext'
2622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623
 
  (eval $ac_try) 2>&5
2624
 
  ac_status=$?
2625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626
 
  (exit $ac_status); }; }; then
2627
 
  break
2628
 
else
2629
 
  echo "$as_me: failed program was:" >&5
2630
 
sed 's/^/| /' conftest.$ac_ext >&5
2631
 
 
2632
 
fi
2633
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2634
 
done
2635
 
rm -f conftest*
2636
 
if test -n "$ac_declaration"; then
2637
 
  echo '#ifdef __cplusplus' >>confdefs.h
2638
 
  echo $ac_declaration      >>confdefs.h
2639
 
  echo '#endif'             >>confdefs.h
2640
 
fi
2641
 
 
2642
 
else
2643
 
  echo "$as_me: failed program was:" >&5
2644
 
sed 's/^/| /' conftest.$ac_ext >&5
2645
 
 
2646
 
fi
2647
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3176
 
2648
3177
ac_ext=c
2649
3178
ac_cpp='$CPP $CPPFLAGS'
2650
3179
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2652
3181
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2653
3182
DEPDIR="${am__leading_dot}deps"
2654
3183
 
2655
 
          ac_config_commands="$ac_config_commands depfiles"
 
3184
ac_config_commands="$ac_config_commands depfiles"
2656
3185
 
2657
3186
 
2658
3187
am_make=${MAKE-make}
2662
3191
.PHONY: am__doit
2663
3192
END
2664
3193
# If we don't find an include directive, just comment out the code.
2665
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2666
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3194
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3195
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2667
3196
am__include="#"
2668
3197
am__quote=
2669
3198
_am_result=none
2690
3219
fi
2691
3220
 
2692
3221
 
2693
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2694
 
echo "${ECHO_T}$_am_result" >&6
 
3222
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3223
echo "${ECHO_T}$_am_result" >&6; }
2695
3224
rm -f confinc confmf
2696
3225
 
2697
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3226
# Check whether --enable-dependency-tracking was given.
2698
3227
if test "${enable_dependency_tracking+set}" = set; then
2699
 
  enableval="$enable_dependency_tracking"
 
3228
  enableval=$enable_dependency_tracking;
 
3229
fi
2700
3230
 
2701
 
fi;
2702
3231
if test "x$enable_dependency_tracking" != xno; then
2703
3232
  am_depcomp="$ac_aux_dir/depcomp"
2704
3233
  AMDEPBACKSLASH='\'
2718
3247
 
2719
3248
depcc="$CC"   am_compiler_list=
2720
3249
 
2721
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2722
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3250
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3251
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2723
3252
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2724
3253
  echo $ECHO_N "(cached) $ECHO_C" >&6
2725
3254
else
2808
3337
fi
2809
3338
 
2810
3339
fi
2811
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2812
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3340
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3341
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2813
3342
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2814
3343
 
2815
3344
 
2827
3356
 
2828
3357
 
2829
3358
 
2830
 
  succeeded=no
2831
3359
 
2832
 
  if test -z "$PKG_CONFIG"; then
2833
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
2834
 
set dummy pkg-config; ac_word=$2
2835
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2836
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3360
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
3361
        if test -n "$ac_tool_prefix"; then
 
3362
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
3363
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
3364
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3365
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2837
3366
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2838
3367
  echo $ECHO_N "(cached) $ECHO_C" >&6
2839
3368
else
2848
3377
  IFS=$as_save_IFS
2849
3378
  test -z "$as_dir" && as_dir=.
2850
3379
  for ac_exec_ext in '' $ac_executable_extensions; do
2851
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2852
3381
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2853
3382
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2854
3383
    break 2
2855
3384
  fi
2856
3385
done
2857
3386
done
 
3387
IFS=$as_save_IFS
2858
3388
 
2859
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
2860
3389
  ;;
2861
3390
esac
2862
3391
fi
2863
3392
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2864
 
 
2865
3393
if test -n "$PKG_CONFIG"; then
2866
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2867
 
echo "${ECHO_T}$PKG_CONFIG" >&6
2868
 
else
2869
 
  echo "$as_me:$LINENO: result: no" >&5
2870
 
echo "${ECHO_T}no" >&6
2871
 
fi
2872
 
 
 
3394
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
3395
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
3396
else
 
3397
  { echo "$as_me:$LINENO: result: no" >&5
 
3398
echo "${ECHO_T}no" >&6; }
 
3399
fi
 
3400
 
 
3401
 
 
3402
fi
 
3403
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
3404
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
3405
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
3406
set dummy pkg-config; ac_word=$2
 
3407
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3408
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3409
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
3410
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3411
else
 
3412
  case $ac_pt_PKG_CONFIG in
 
3413
  [\\/]* | ?:[\\/]*)
 
3414
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
3415
  ;;
 
3416
  *)
 
3417
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3418
for as_dir in $PATH
 
3419
do
 
3420
  IFS=$as_save_IFS
 
3421
  test -z "$as_dir" && as_dir=.
 
3422
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3424
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
3425
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3426
    break 2
2873
3427
  fi
2874
 
 
2875
 
  if test "$PKG_CONFIG" = "no" ; then
2876
 
     echo "*** The pkg-config script could not be found. Make sure it is"
2877
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
2878
 
     echo "*** to the full path to pkg-config."
2879
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 
3428
done
 
3429
done
 
3430
IFS=$as_save_IFS
 
3431
 
 
3432
  ;;
 
3433
esac
 
3434
fi
 
3435
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
3436
if test -n "$ac_pt_PKG_CONFIG"; then
 
3437
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
3438
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
3439
else
 
3440
  { echo "$as_me:$LINENO: result: no" >&5
 
3441
echo "${ECHO_T}no" >&6; }
 
3442
fi
 
3443
 
 
3444
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
3445
    PKG_CONFIG=""
2880
3446
  else
2881
 
     PKG_CONFIG_MIN_VERSION=0.9.0
2882
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
2883
 
        echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
2884
 
echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
2885
 
 
2886
 
        if $PKG_CONFIG --exists "gtk+-2.0" ; then
2887
 
            echo "$as_me:$LINENO: result: yes" >&5
2888
 
echo "${ECHO_T}yes" >&6
2889
 
            succeeded=yes
2890
 
 
2891
 
            echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5
2892
 
echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6
2893
 
            GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
2894
 
            echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5
2895
 
echo "${ECHO_T}$GTK2_CFLAGS" >&6
2896
 
 
2897
 
            echo "$as_me:$LINENO: checking GTK2_LIBS" >&5
2898
 
echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6
2899
 
            GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
2900
 
            echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5
2901
 
echo "${ECHO_T}$GTK2_LIBS" >&6
 
3447
    case $cross_compiling:$ac_tool_warned in
 
3448
yes:)
 
3449
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3450
whose name does not start with the host triplet.  If you think this
 
3451
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3452
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3453
whose name does not start with the host triplet.  If you think this
 
3454
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3455
ac_tool_warned=yes ;;
 
3456
esac
 
3457
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
3458
  fi
 
3459
else
 
3460
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
3461
fi
 
3462
 
 
3463
fi
 
3464
if test -n "$PKG_CONFIG"; then
 
3465
        _pkg_min_version=0.9.0
 
3466
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
3467
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
3468
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
3469
                { echo "$as_me:$LINENO: result: yes" >&5
 
3470
echo "${ECHO_T}yes" >&6; }
 
3471
        else
 
3472
                { echo "$as_me:$LINENO: result: no" >&5
 
3473
echo "${ECHO_T}no" >&6; }
 
3474
                PKG_CONFIG=""
 
3475
        fi
 
3476
 
 
3477
fi
 
3478
 
 
3479
pkg_failed=no
 
3480
{ echo "$as_me:$LINENO: checking for GTK2" >&5
 
3481
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
 
3482
 
 
3483
if test -n "$PKG_CONFIG"; then
 
3484
    if test -n "$GTK2_CFLAGS"; then
 
3485
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
3486
    else
 
3487
        if test -n "$PKG_CONFIG" && \
 
3488
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 
3489
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 
3490
  ac_status=$?
 
3491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3492
  (exit $ac_status); }; then
 
3493
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
 
3494
else
 
3495
  pkg_failed=yes
 
3496
fi
 
3497
    fi
 
3498
else
 
3499
        pkg_failed=untried
 
3500
fi
 
3501
if test -n "$PKG_CONFIG"; then
 
3502
    if test -n "$GTK2_LIBS"; then
 
3503
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
3504
    else
 
3505
        if test -n "$PKG_CONFIG" && \
 
3506
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 
3507
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 
3508
  ac_status=$?
 
3509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3510
  (exit $ac_status); }; then
 
3511
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
 
3512
else
 
3513
  pkg_failed=yes
 
3514
fi
 
3515
    fi
 
3516
else
 
3517
        pkg_failed=untried
 
3518
fi
 
3519
 
 
3520
 
 
3521
 
 
3522
if test $pkg_failed = yes; then
 
3523
 
 
3524
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
3525
        _pkg_short_errors_supported=yes
 
3526
else
 
3527
        _pkg_short_errors_supported=no
 
3528
fi
 
3529
        if test $_pkg_short_errors_supported = yes; then
 
3530
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
2902
3531
        else
2903
 
            GTK2_CFLAGS=""
2904
 
            GTK2_LIBS=""
2905
 
            ## If we have a custom action on failure, don't print errors, but
2906
 
            ## do set a variable so people can do so.
2907
 
            GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
2908
 
            echo $GTK2_PKG_ERRORS
 
3532
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
2909
3533
        fi
2910
 
 
2911
 
 
2912
 
 
2913
 
     else
2914
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
2915
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
2916
 
     fi
2917
 
  fi
2918
 
 
2919
 
  if test $succeeded = yes; then
2920
 
     :
2921
 
  else
2922
 
     { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
2923
 
echo "$as_me: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
2924
 
   { (exit 1); exit 1; }; }
2925
 
  fi
2926
 
 
2927
 
 
2928
 
 
2929
 
 
2930
 
 
2931
 
echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
2932
 
echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
 
3534
        # Put the nasty error message in config.log where it belongs
 
3535
        echo "$GTK2_PKG_ERRORS" >&5
 
3536
 
 
3537
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
 
3538
 
 
3539
$GTK2_PKG_ERRORS
 
3540
 
 
3541
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
3542
installed software in a non-standard prefix.
 
3543
 
 
3544
Alternatively, you may set the environment variables GTK2_CFLAGS
 
3545
and GTK2_LIBS to avoid the need to call pkg-config.
 
3546
See the pkg-config man page for more details.
 
3547
" >&5
 
3548
echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
 
3549
 
 
3550
$GTK2_PKG_ERRORS
 
3551
 
 
3552
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
3553
installed software in a non-standard prefix.
 
3554
 
 
3555
Alternatively, you may set the environment variables GTK2_CFLAGS
 
3556
and GTK2_LIBS to avoid the need to call pkg-config.
 
3557
See the pkg-config man page for more details.
 
3558
" >&2;}
 
3559
   { (exit 1); exit 1; }; }
 
3560
elif test $pkg_failed = untried; then
 
3561
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
3562
is in your PATH or set the PKG_CONFIG environment variable to the full
 
3563
path to pkg-config.
 
3564
 
 
3565
Alternatively, you may set the environment variables GTK2_CFLAGS
 
3566
and GTK2_LIBS to avoid the need to call pkg-config.
 
3567
See the pkg-config man page for more details.
 
3568
 
 
3569
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
3570
See \`config.log' for more details." >&5
 
3571
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
3572
is in your PATH or set the PKG_CONFIG environment variable to the full
 
3573
path to pkg-config.
 
3574
 
 
3575
Alternatively, you may set the environment variables GTK2_CFLAGS
 
3576
and GTK2_LIBS to avoid the need to call pkg-config.
 
3577
See the pkg-config man page for more details.
 
3578
 
 
3579
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
3580
See \`config.log' for more details." >&2;}
 
3581
   { (exit 1); exit 1; }; }
 
3582
else
 
3583
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
 
3584
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
 
3585
        { echo "$as_me:$LINENO: result: yes" >&5
 
3586
echo "${ECHO_T}yes" >&6; }
 
3587
        :
 
3588
fi
 
3589
 
 
3590
 
 
3591
 
 
3592
 
 
3593
{ echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
 
3594
echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6; }
2933
3595
if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
2934
3596
  echo $ECHO_N "(cached) $ECHO_C" >&6
2935
3597
else
2942
3604
cat >>conftest.$ac_ext <<_ACEOF
2943
3605
/* end confdefs.h.  */
2944
3606
 
2945
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3607
/* Override any GCC internal prototype to avoid an error.
 
3608
   Use char because int might match the return type of a GCC
 
3609
   builtin and then its argument prototype would still apply.  */
2946
3610
#ifdef __cplusplus
2947
3611
extern "C"
2948
3612
#endif
2949
 
/* We use char because int might match the return type of a gcc2
2950
 
   builtin and then its argument prototype would still apply.  */
2951
3613
char xmlParseFile ();
2952
3614
int
2953
3615
main ()
2954
3616
{
2955
 
xmlParseFile ();
 
3617
return xmlParseFile ();
2956
3618
  ;
2957
3619
  return 0;
2958
3620
}
2959
3621
_ACEOF
2960
3622
rm -f conftest.$ac_objext conftest$ac_exeext
2961
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2962
 
  (eval $ac_link) 2>conftest.er1
 
3623
if { (ac_try="$ac_link"
 
3624
case "(($ac_try" in
 
3625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3626
  *) ac_try_echo=$ac_try;;
 
3627
esac
 
3628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3629
  (eval "$ac_link") 2>conftest.er1
2963
3630
  ac_status=$?
2964
3631
  grep -v '^ *+' conftest.er1 >conftest.err
2965
3632
  rm -f conftest.er1
2966
3633
  cat conftest.err >&5
2967
3634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
3635
  (exit $ac_status); } &&
2969
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971
 
  (eval $ac_try) 2>&5
 
3636
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3637
  { (case "(($ac_try" in
 
3638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3639
  *) ac_try_echo=$ac_try;;
 
3640
esac
 
3641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3642
  (eval "$ac_try") 2>&5
2972
3643
  ac_status=$?
2973
3644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
3645
  (exit $ac_status); }; } &&
2975
3646
         { ac_try='test -s conftest$ac_exeext'
2976
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977
 
  (eval $ac_try) 2>&5
 
3647
  { (case "(($ac_try" in
 
3648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3649
  *) ac_try_echo=$ac_try;;
 
3650
esac
 
3651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3652
  (eval "$ac_try") 2>&5
2978
3653
  ac_status=$?
2979
3654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980
3655
  (exit $ac_status); }; }; then
2983
3658
  echo "$as_me: failed program was:" >&5
2984
3659
sed 's/^/| /' conftest.$ac_ext >&5
2985
3660
 
2986
 
ac_cv_lib_xml2_xmlParseFile=no
 
3661
        ac_cv_lib_xml2_xmlParseFile=no
2987
3662
fi
2988
 
rm -f conftest.err conftest.$ac_objext \
 
3663
 
 
3664
rm -f core conftest.err conftest.$ac_objext \
2989
3665
      conftest$ac_exeext conftest.$ac_ext
2990
3666
LIBS=$ac_check_lib_save_LIBS
2991
3667
fi
2992
 
echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
2993
 
echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
 
3668
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
 
3669
echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6; }
2994
3670
if test $ac_cv_lib_xml2_xmlParseFile = yes; then
2995
3671
  cat >>confdefs.h <<_ACEOF
2996
3672
#define HAVE_LIBXML2 1
3001
3677
fi
3002
3678
 
3003
3679
 
3004
 
ALL_LINGUAS=ja
 
3680
 
3005
3681
 
3006
3682
        MKINSTALLDIRS=
3007
3683
  if test -n "$ac_aux_dir"; then
3016
3692
 
3017
3693
 
3018
3694
 
3019
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3020
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3021
 
    # Check whether --enable-nls or --disable-nls was given.
 
3695
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
3696
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
3697
    # Check whether --enable-nls was given.
3022
3698
if test "${enable_nls+set}" = set; then
3023
 
  enableval="$enable_nls"
3024
 
  USE_NLS=$enableval
 
3699
  enableval=$enable_nls; USE_NLS=$enableval
3025
3700
else
3026
3701
  USE_NLS=yes
3027
 
fi;
3028
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
3029
 
echo "${ECHO_T}$USE_NLS" >&6
 
3702
fi
 
3703
 
 
3704
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
3705
echo "${ECHO_T}$USE_NLS" >&6; }
3030
3706
 
3031
3707
 
3032
3708
 
3063
3739
 
3064
3740
# Extract the first word of "msgfmt", so it can be a program name with args.
3065
3741
set dummy msgfmt; ac_word=$2
3066
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3067
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3742
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3743
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3068
3744
if test "${ac_cv_path_MSGFMT+set}" = set; then
3069
3745
  echo $ECHO_N "(cached) $ECHO_C" >&6
3070
3746
else
3079
3755
      test -z "$ac_dir" && ac_dir=.
3080
3756
      for ac_exec_ext in '' $ac_executable_extensions; do
3081
3757
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3082
 
          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
 
3758
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
3759
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3083
3760
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3084
3761
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3085
3762
            break 2
3094
3771
fi
3095
3772
MSGFMT="$ac_cv_path_MSGFMT"
3096
3773
if test "$MSGFMT" != ":"; then
3097
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
3098
 
echo "${ECHO_T}$MSGFMT" >&6
 
3774
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
3775
echo "${ECHO_T}$MSGFMT" >&6; }
3099
3776
else
3100
 
  echo "$as_me:$LINENO: result: no" >&5
3101
 
echo "${ECHO_T}no" >&6
 
3777
  { echo "$as_me:$LINENO: result: no" >&5
 
3778
echo "${ECHO_T}no" >&6; }
3102
3779
fi
3103
3780
 
3104
3781
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
3105
3782
set dummy gmsgfmt; ac_word=$2
3106
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3107
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3783
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3784
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3108
3785
if test "${ac_cv_path_GMSGFMT+set}" = set; then
3109
3786
  echo $ECHO_N "(cached) $ECHO_C" >&6
3110
3787
else
3119
3796
  IFS=$as_save_IFS
3120
3797
  test -z "$as_dir" && as_dir=.
3121
3798
  for ac_exec_ext in '' $ac_executable_extensions; do
3122
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3799
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3123
3800
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3124
3801
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3125
3802
    break 2
3126
3803
  fi
3127
3804
done
3128
3805
done
 
3806
IFS=$as_save_IFS
3129
3807
 
3130
3808
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3131
3809
  ;;
3132
3810
esac
3133
3811
fi
3134
3812
GMSGFMT=$ac_cv_path_GMSGFMT
3135
 
 
3136
3813
if test -n "$GMSGFMT"; then
3137
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3138
 
echo "${ECHO_T}$GMSGFMT" >&6
 
3814
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
3815
echo "${ECHO_T}$GMSGFMT" >&6; }
3139
3816
else
3140
 
  echo "$as_me:$LINENO: result: no" >&5
3141
 
echo "${ECHO_T}no" >&6
 
3817
  { echo "$as_me:$LINENO: result: no" >&5
 
3818
echo "${ECHO_T}no" >&6; }
3142
3819
fi
3143
3820
 
3144
3821
 
3145
3822
 
 
3823
 
3146
3824
# Prepare PATH_SEPARATOR.
3147
3825
# The user is always right.
3148
3826
if test "${PATH_SEPARATOR+set}" != set; then
3173
3851
 
3174
3852
# Extract the first word of "xgettext", so it can be a program name with args.
3175
3853
set dummy xgettext; ac_word=$2
3176
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3177
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3854
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3855
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3178
3856
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3179
3857
  echo $ECHO_N "(cached) $ECHO_C" >&6
3180
3858
else
3189
3867
      test -z "$ac_dir" && ac_dir=.
3190
3868
      for ac_exec_ext in '' $ac_executable_extensions; do
3191
3869
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3192
 
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
 
3870
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
3871
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3193
3872
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3194
3873
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3195
3874
            break 2
3204
3883
fi
3205
3884
XGETTEXT="$ac_cv_path_XGETTEXT"
3206
3885
if test "$XGETTEXT" != ":"; then
3207
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3208
 
echo "${ECHO_T}$XGETTEXT" >&6
 
3886
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
3887
echo "${ECHO_T}$XGETTEXT" >&6; }
3209
3888
else
3210
 
  echo "$as_me:$LINENO: result: no" >&5
3211
 
echo "${ECHO_T}no" >&6
 
3889
  { echo "$as_me:$LINENO: result: no" >&5
 
3890
echo "${ECHO_T}no" >&6; }
3212
3891
fi
3213
3892
 
3214
3893
    rm -f messages.po
3244
3923
 
3245
3924
# Extract the first word of "msgmerge", so it can be a program name with args.
3246
3925
set dummy msgmerge; ac_word=$2
3247
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3248
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3926
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3927
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3249
3928
if test "${ac_cv_path_MSGMERGE+set}" = set; then
3250
3929
  echo $ECHO_N "(cached) $ECHO_C" >&6
3251
3930
else
3260
3939
      test -z "$ac_dir" && ac_dir=.
3261
3940
      for ac_exec_ext in '' $ac_executable_extensions; do
3262
3941
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3263
 
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
 
3942
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
3943
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3264
3944
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3265
3945
            break 2
3266
3946
          fi
3274
3954
fi
3275
3955
MSGMERGE="$ac_cv_path_MSGMERGE"
3276
3956
if test "$MSGMERGE" != ":"; then
3277
 
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3278
 
echo "${ECHO_T}$MSGMERGE" >&6
 
3957
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
3958
echo "${ECHO_T}$MSGMERGE" >&6; }
3279
3959
else
3280
 
  echo "$as_me:$LINENO: result: no" >&5
3281
 
echo "${ECHO_T}no" >&6
 
3960
  { echo "$as_me:$LINENO: result: no" >&5
 
3961
echo "${ECHO_T}no" >&6; }
3282
3962
fi
3283
3963
 
3284
3964
 
3288
3968
      : ;
3289
3969
    else
3290
3970
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3291
 
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3292
 
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
 
3971
      { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
3972
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3293
3973
      GMSGFMT=":"
3294
3974
    fi
3295
3975
  fi
3299
3979
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3300
3980
      : ;
3301
3981
    else
3302
 
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
3303
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
3982
      { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
3983
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
3304
3984
      XGETTEXT=":"
3305
3985
    fi
3306
3986
        rm -f messages.po
3307
3987
  fi
3308
3988
 
3309
 
            ac_config_commands="$ac_config_commands default-1"
 
3989
  ac_config_commands="$ac_config_commands default-1"
3310
3990
 
3311
3991
 
3312
3992
 
3326
4006
  prefix="$acl_save_prefix"
3327
4007
 
3328
4008
# Make sure we can run config.sub.
3329
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3330
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3331
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4009
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4010
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4011
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3332
4012
   { (exit 1); exit 1; }; }
3333
4013
 
3334
 
echo "$as_me:$LINENO: checking build system type" >&5
3335
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4014
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4015
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3336
4016
if test "${ac_cv_build+set}" = set; then
3337
4017
  echo $ECHO_N "(cached) $ECHO_C" >&6
3338
4018
else
3339
 
  ac_cv_build_alias=$build_alias
3340
 
test -z "$ac_cv_build_alias" &&
3341
 
  ac_cv_build_alias=`$ac_config_guess`
3342
 
test -z "$ac_cv_build_alias" &&
 
4019
  ac_build_alias=$build_alias
 
4020
test "x$ac_build_alias" = x &&
 
4021
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4022
test "x$ac_build_alias" = x &&
3343
4023
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3344
4024
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3345
4025
   { (exit 1); exit 1; }; }
3346
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3347
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3348
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4026
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4027
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4028
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3349
4029
   { (exit 1); exit 1; }; }
3350
4030
 
3351
4031
fi
3352
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3353
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4032
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4033
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4034
case $ac_cv_build in
 
4035
*-*-*) ;;
 
4036
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4037
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4038
   { (exit 1); exit 1; }; };;
 
4039
esac
3354
4040
build=$ac_cv_build
3355
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3356
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3357
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3358
 
 
3359
 
 
3360
 
echo "$as_me:$LINENO: checking host system type" >&5
3361
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4041
ac_save_IFS=$IFS; IFS='-'
 
4042
set x $ac_cv_build
 
4043
shift
 
4044
build_cpu=$1
 
4045
build_vendor=$2
 
4046
shift; shift
 
4047
# Remember, the first character of IFS is used to create $*,
 
4048
# except with old shells:
 
4049
build_os=$*
 
4050
IFS=$ac_save_IFS
 
4051
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4052
 
 
4053
 
 
4054
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4055
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3362
4056
if test "${ac_cv_host+set}" = set; then
3363
4057
  echo $ECHO_N "(cached) $ECHO_C" >&6
3364
4058
else
3365
 
  ac_cv_host_alias=$host_alias
3366
 
test -z "$ac_cv_host_alias" &&
3367
 
  ac_cv_host_alias=$ac_cv_build_alias
3368
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3369
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3370
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4059
  if test "x$host_alias" = x; then
 
4060
  ac_cv_host=$ac_cv_build
 
4061
else
 
4062
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4063
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4064
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3371
4065
   { (exit 1); exit 1; }; }
 
4066
fi
3372
4067
 
3373
4068
fi
3374
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3375
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4069
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4070
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4071
case $ac_cv_host in
 
4072
*-*-*) ;;
 
4073
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4074
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4075
   { (exit 1); exit 1; }; };;
 
4076
esac
3376
4077
host=$ac_cv_host
3377
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3378
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3379
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3380
 
 
3381
 
 
3382
 
 
3383
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4078
ac_save_IFS=$IFS; IFS='-'
 
4079
set x $ac_cv_host
 
4080
shift
 
4081
host_cpu=$1
 
4082
host_vendor=$2
 
4083
shift; shift
 
4084
# Remember, the first character of IFS is used to create $*,
 
4085
# except with old shells:
 
4086
host_os=$*
 
4087
IFS=$ac_save_IFS
 
4088
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4089
 
 
4090
 
 
4091
 
 
4092
# Check whether --with-gnu-ld was given.
3384
4093
if test "${with_gnu_ld+set}" = set; then
3385
 
  withval="$with_gnu_ld"
3386
 
  test "$withval" = no || with_gnu_ld=yes
 
4094
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3387
4095
else
3388
4096
  with_gnu_ld=no
3389
 
fi;
 
4097
fi
 
4098
 
3390
4099
# Prepare PATH_SEPARATOR.
3391
4100
# The user is always right.
3392
4101
if test "${PATH_SEPARATOR+set}" != set; then
3403
4112
ac_prog=ld
3404
4113
if test "$GCC" = yes; then
3405
4114
  # Check if gcc -print-prog-name=ld gives a path.
3406
 
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3407
 
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 
4115
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
4116
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
3408
4117
  case $host in
3409
4118
  *-*-mingw*)
3410
4119
    # gcc leaves a trailing carriage return which upsets mingw
3433
4142
    ;;
3434
4143
  esac
3435
4144
elif test "$with_gnu_ld" = yes; then
3436
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3437
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4145
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4146
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3438
4147
else
3439
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3440
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4148
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4149
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3441
4150
fi
3442
4151
if test "${acl_cv_path_LD+set}" = set; then
3443
4152
  echo $ECHO_N "(cached) $ECHO_C" >&6
3451
4160
      # Check to see if the program is GNU ld.  I'd rather use --version,
3452
4161
      # but apparently some GNU ld's only accept -v.
3453
4162
      # Break only if it was the GNU/non-GNU ld that we prefer.
3454
 
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3455
 
        test "$with_gnu_ld" != no && break
3456
 
      else
3457
 
        test "$with_gnu_ld" != yes && break
3458
 
      fi
 
4163
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
4164
      *GNU* | *'with BFD'*)
 
4165
        test "$with_gnu_ld" != no && break ;;
 
4166
      *)
 
4167
        test "$with_gnu_ld" != yes && break ;;
 
4168
      esac
3459
4169
    fi
3460
4170
  done
3461
4171
  IFS="$ac_save_ifs"
3466
4176
 
3467
4177
LD="$acl_cv_path_LD"
3468
4178
if test -n "$LD"; then
3469
 
  echo "$as_me:$LINENO: result: $LD" >&5
3470
 
echo "${ECHO_T}$LD" >&6
 
4179
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4180
echo "${ECHO_T}$LD" >&6; }
3471
4181
else
3472
 
  echo "$as_me:$LINENO: result: no" >&5
3473
 
echo "${ECHO_T}no" >&6
 
4182
  { echo "$as_me:$LINENO: result: no" >&5
 
4183
echo "${ECHO_T}no" >&6; }
3474
4184
fi
3475
4185
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3476
4186
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3477
4187
   { (exit 1); exit 1; }; }
3478
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3479
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4188
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4189
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3480
4190
if test "${acl_cv_prog_gnu_ld+set}" = set; then
3481
4191
  echo $ECHO_N "(cached) $ECHO_C" >&6
3482
4192
else
3483
4193
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3484
 
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3485
 
  acl_cv_prog_gnu_ld=yes
3486
 
else
3487
 
  acl_cv_prog_gnu_ld=no
3488
 
fi
3489
 
fi
3490
 
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3491
 
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
 
4194
case `$LD -v 2>&1 </dev/null` in
 
4195
*GNU* | *'with BFD'*)
 
4196
  acl_cv_prog_gnu_ld=yes ;;
 
4197
*)
 
4198
  acl_cv_prog_gnu_ld=no ;;
 
4199
esac
 
4200
fi
 
4201
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
4202
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
3492
4203
with_gnu_ld=$acl_cv_prog_gnu_ld
3493
4204
 
3494
4205
 
3495
4206
 
3496
 
                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3497
 
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
 
4207
 
 
4208
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
4209
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
3498
4210
if test "${acl_cv_rpath+set}" = set; then
3499
4211
  echo $ECHO_N "(cached) $ECHO_C" >&6
3500
4212
else
3506
4218
    acl_cv_rpath=done
3507
4219
 
3508
4220
fi
3509
 
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3510
 
echo "${ECHO_T}$acl_cv_rpath" >&6
 
4221
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
4222
echo "${ECHO_T}$acl_cv_rpath" >&6; }
3511
4223
  wl="$acl_cv_wl"
3512
4224
  libext="$acl_cv_libext"
3513
4225
  shlibext="$acl_cv_shlibext"
3515
4227
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3516
4228
  hardcode_direct="$acl_cv_hardcode_direct"
3517
4229
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
3518
 
    # Check whether --enable-rpath or --disable-rpath was given.
 
4230
    # Check whether --enable-rpath was given.
3519
4231
if test "${enable_rpath+set}" = set; then
3520
 
  enableval="$enable_rpath"
3521
 
  :
 
4232
  enableval=$enable_rpath; :
3522
4233
else
3523
4234
  enable_rpath=yes
3524
 
fi;
 
4235
fi
 
4236
 
3525
4237
 
3526
4238
 
3527
4239
 
3543
4255
  prefix="$acl_save_prefix"
3544
4256
 
3545
4257
 
3546
 
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
 
4258
# Check whether --with-libiconv-prefix was given.
3547
4259
if test "${with_libiconv_prefix+set}" = set; then
3548
 
  withval="$with_libiconv_prefix"
3549
 
 
 
4260
  withval=$with_libiconv_prefix;
3550
4261
    if test "X$withval" = "Xno"; then
3551
4262
      use_additional=no
3552
4263
    else
3569
4280
      fi
3570
4281
    fi
3571
4282
 
3572
 
fi;
 
4283
fi
 
4284
 
3573
4285
      LIBICONV=
3574
4286
  LTLIBICONV=
3575
4287
  INCICONV=
3738
4450
                if test "X$additional_includedir" = "X/usr/local/include"; then
3739
4451
                  if test -n "$GCC"; then
3740
4452
                    case $host_os in
3741
 
                      linux*) haveit=yes;;
 
4453
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3742
4454
                    esac
3743
4455
                  fi
3744
4456
                fi
3782
4494
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
3783
4495
                        if test -n "$GCC"; then
3784
4496
                          case $host_os in
3785
 
                            linux*) haveit=yes;;
 
4497
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3786
4498
                          esac
3787
4499
                        fi
3788
4500
                      fi
3922
4634
 
3923
4635
 
3924
4636
 
3925
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3926
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3927
 
    # Check whether --enable-nls or --disable-nls was given.
 
4637
    { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
4638
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
 
4639
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
 
4640
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4641
else
 
4642
  gt_save_CPPFLAGS="$CPPFLAGS"
 
4643
     CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
 
4644
     gt_save_LIBS="$LIBS"
 
4645
     LIBS="$LIBS -framework CoreFoundation"
 
4646
     cat >conftest.$ac_ext <<_ACEOF
 
4647
/* confdefs.h.  */
 
4648
_ACEOF
 
4649
cat confdefs.h >>conftest.$ac_ext
 
4650
cat >>conftest.$ac_ext <<_ACEOF
 
4651
/* end confdefs.h.  */
 
4652
#include <CFPreferences.h>
 
4653
int
 
4654
main ()
 
4655
{
 
4656
CFPreferencesCopyAppValue(NULL, NULL)
 
4657
  ;
 
4658
  return 0;
 
4659
}
 
4660
_ACEOF
 
4661
rm -f conftest.$ac_objext conftest$ac_exeext
 
4662
if { (ac_try="$ac_link"
 
4663
case "(($ac_try" in
 
4664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4665
  *) ac_try_echo=$ac_try;;
 
4666
esac
 
4667
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4668
  (eval "$ac_link") 2>conftest.er1
 
4669
  ac_status=$?
 
4670
  grep -v '^ *+' conftest.er1 >conftest.err
 
4671
  rm -f conftest.er1
 
4672
  cat conftest.err >&5
 
4673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4674
  (exit $ac_status); } &&
 
4675
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4676
  { (case "(($ac_try" in
 
4677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4678
  *) ac_try_echo=$ac_try;;
 
4679
esac
 
4680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4681
  (eval "$ac_try") 2>&5
 
4682
  ac_status=$?
 
4683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4684
  (exit $ac_status); }; } &&
 
4685
         { ac_try='test -s conftest$ac_exeext'
 
4686
  { (case "(($ac_try" in
 
4687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4688
  *) ac_try_echo=$ac_try;;
 
4689
esac
 
4690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4691
  (eval "$ac_try") 2>&5
 
4692
  ac_status=$?
 
4693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4694
  (exit $ac_status); }; }; then
 
4695
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
4696
else
 
4697
  echo "$as_me: failed program was:" >&5
 
4698
sed 's/^/| /' conftest.$ac_ext >&5
 
4699
 
 
4700
        gt_cv_func_CFPreferencesCopyAppValue=no
 
4701
fi
 
4702
 
 
4703
rm -f core conftest.err conftest.$ac_objext \
 
4704
      conftest$ac_exeext conftest.$ac_ext
 
4705
     CPPFLAGS="$gt_save_CPPFLAGS"
 
4706
     LIBS="$gt_save_LIBS"
 
4707
fi
 
4708
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
4709
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
4710
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
4711
 
 
4712
cat >>confdefs.h <<\_ACEOF
 
4713
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
 
4714
_ACEOF
 
4715
 
 
4716
  fi
 
4717
    { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
4718
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
 
4719
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
 
4720
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4721
else
 
4722
  gt_save_CPPFLAGS="$CPPFLAGS"
 
4723
     CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
 
4724
     gt_save_LIBS="$LIBS"
 
4725
     LIBS="$LIBS -framework CoreFoundation"
 
4726
     cat >conftest.$ac_ext <<_ACEOF
 
4727
/* confdefs.h.  */
 
4728
_ACEOF
 
4729
cat confdefs.h >>conftest.$ac_ext
 
4730
cat >>conftest.$ac_ext <<_ACEOF
 
4731
/* end confdefs.h.  */
 
4732
#include <CFLocale.h>
 
4733
int
 
4734
main ()
 
4735
{
 
4736
CFLocaleCopyCurrent();
 
4737
  ;
 
4738
  return 0;
 
4739
}
 
4740
_ACEOF
 
4741
rm -f conftest.$ac_objext conftest$ac_exeext
 
4742
if { (ac_try="$ac_link"
 
4743
case "(($ac_try" in
 
4744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4745
  *) ac_try_echo=$ac_try;;
 
4746
esac
 
4747
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4748
  (eval "$ac_link") 2>conftest.er1
 
4749
  ac_status=$?
 
4750
  grep -v '^ *+' conftest.er1 >conftest.err
 
4751
  rm -f conftest.er1
 
4752
  cat conftest.err >&5
 
4753
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4754
  (exit $ac_status); } &&
 
4755
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4756
  { (case "(($ac_try" in
 
4757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4758
  *) ac_try_echo=$ac_try;;
 
4759
esac
 
4760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4761
  (eval "$ac_try") 2>&5
 
4762
  ac_status=$?
 
4763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4764
  (exit $ac_status); }; } &&
 
4765
         { ac_try='test -s conftest$ac_exeext'
 
4766
  { (case "(($ac_try" in
 
4767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4768
  *) ac_try_echo=$ac_try;;
 
4769
esac
 
4770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4771
  (eval "$ac_try") 2>&5
 
4772
  ac_status=$?
 
4773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4774
  (exit $ac_status); }; }; then
 
4775
  gt_cv_func_CFLocaleCopyCurrent=yes
 
4776
else
 
4777
  echo "$as_me: failed program was:" >&5
 
4778
sed 's/^/| /' conftest.$ac_ext >&5
 
4779
 
 
4780
        gt_cv_func_CFLocaleCopyCurrent=no
 
4781
fi
 
4782
 
 
4783
rm -f core conftest.err conftest.$ac_objext \
 
4784
      conftest$ac_exeext conftest.$ac_ext
 
4785
     CPPFLAGS="$gt_save_CPPFLAGS"
 
4786
     LIBS="$gt_save_LIBS"
 
4787
fi
 
4788
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
4789
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
4790
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
4791
 
 
4792
cat >>confdefs.h <<\_ACEOF
 
4793
#define HAVE_CFLOCALECOPYCURRENT 1
 
4794
_ACEOF
 
4795
 
 
4796
  fi
 
4797
  INTL_MACOSX_LIBS=
 
4798
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
4799
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
4800
  fi
 
4801
 
 
4802
 
 
4803
 
 
4804
 
 
4805
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
4806
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
4807
    # Check whether --enable-nls was given.
3928
4808
if test "${enable_nls+set}" = set; then
3929
 
  enableval="$enable_nls"
3930
 
  USE_NLS=$enableval
 
4809
  enableval=$enable_nls; USE_NLS=$enableval
3931
4810
else
3932
4811
  USE_NLS=yes
3933
 
fi;
3934
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
3935
 
echo "${ECHO_T}$USE_NLS" >&6
 
4812
fi
 
4813
 
 
4814
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
4815
echo "${ECHO_T}$USE_NLS" >&6; }
3936
4816
 
3937
4817
 
3938
4818
 
3949
4829
 
3950
4830
 
3951
4831
 
3952
 
        echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
3953
 
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
 
4832
        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
4833
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
3954
4834
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3955
4835
  echo $ECHO_N "(cached) $ECHO_C" >&6
3956
4836
else
3967
4847
main ()
3968
4848
{
3969
4849
bindtextdomain ("", "");
3970
 
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
 
4850
return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
3971
4851
  ;
3972
4852
  return 0;
3973
4853
}
3974
4854
_ACEOF
3975
4855
rm -f conftest.$ac_objext conftest$ac_exeext
3976
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3977
 
  (eval $ac_link) 2>conftest.er1
 
4856
if { (ac_try="$ac_link"
 
4857
case "(($ac_try" in
 
4858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4859
  *) ac_try_echo=$ac_try;;
 
4860
esac
 
4861
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4862
  (eval "$ac_link") 2>conftest.er1
3978
4863
  ac_status=$?
3979
4864
  grep -v '^ *+' conftest.er1 >conftest.err
3980
4865
  rm -f conftest.er1
3981
4866
  cat conftest.err >&5
3982
4867
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983
4868
  (exit $ac_status); } &&
3984
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3985
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986
 
  (eval $ac_try) 2>&5
 
4869
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4870
  { (case "(($ac_try" in
 
4871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4872
  *) ac_try_echo=$ac_try;;
 
4873
esac
 
4874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4875
  (eval "$ac_try") 2>&5
3987
4876
  ac_status=$?
3988
4877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989
4878
  (exit $ac_status); }; } &&
3990
4879
         { ac_try='test -s conftest$ac_exeext'
3991
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992
 
  (eval $ac_try) 2>&5
 
4880
  { (case "(($ac_try" in
 
4881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4882
  *) ac_try_echo=$ac_try;;
 
4883
esac
 
4884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4885
  (eval "$ac_try") 2>&5
3993
4886
  ac_status=$?
3994
4887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995
4888
  (exit $ac_status); }; }; then
3998
4891
  echo "$as_me: failed program was:" >&5
3999
4892
sed 's/^/| /' conftest.$ac_ext >&5
4000
4893
 
4001
 
gt_cv_func_gnugettext1_libc=no
 
4894
        gt_cv_func_gnugettext1_libc=no
4002
4895
fi
4003
 
rm -f conftest.err conftest.$ac_objext \
 
4896
 
 
4897
rm -f core conftest.err conftest.$ac_objext \
4004
4898
      conftest$ac_exeext conftest.$ac_ext
4005
4899
fi
4006
 
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4007
 
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
 
4900
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
 
4901
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
4008
4902
 
4009
4903
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4010
4904
 
4037
4931
  done
4038
4932
 
4039
4933
 
4040
 
  echo "$as_me:$LINENO: checking for iconv" >&5
4041
 
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
 
4934
  { echo "$as_me:$LINENO: checking for iconv" >&5
 
4935
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
4042
4936
if test "${am_cv_func_iconv+set}" = set; then
4043
4937
  echo $ECHO_N "(cached) $ECHO_C" >&6
4044
4938
else
4064
4958
}
4065
4959
_ACEOF
4066
4960
rm -f conftest.$ac_objext conftest$ac_exeext
4067
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4068
 
  (eval $ac_link) 2>conftest.er1
 
4961
if { (ac_try="$ac_link"
 
4962
case "(($ac_try" in
 
4963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4964
  *) ac_try_echo=$ac_try;;
 
4965
esac
 
4966
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4967
  (eval "$ac_link") 2>conftest.er1
4069
4968
  ac_status=$?
4070
4969
  grep -v '^ *+' conftest.er1 >conftest.err
4071
4970
  rm -f conftest.er1
4072
4971
  cat conftest.err >&5
4073
4972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074
4973
  (exit $ac_status); } &&
4075
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4076
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077
 
  (eval $ac_try) 2>&5
 
4974
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4975
  { (case "(($ac_try" in
 
4976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4977
  *) ac_try_echo=$ac_try;;
 
4978
esac
 
4979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4980
  (eval "$ac_try") 2>&5
4078
4981
  ac_status=$?
4079
4982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
4983
  (exit $ac_status); }; } &&
4081
4984
         { ac_try='test -s conftest$ac_exeext'
4082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083
 
  (eval $ac_try) 2>&5
 
4985
  { (case "(($ac_try" in
 
4986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4987
  *) ac_try_echo=$ac_try;;
 
4988
esac
 
4989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4990
  (eval "$ac_try") 2>&5
4084
4991
  ac_status=$?
4085
4992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086
4993
  (exit $ac_status); }; }; then
4089
4996
  echo "$as_me: failed program was:" >&5
4090
4997
sed 's/^/| /' conftest.$ac_ext >&5
4091
4998
 
 
4999
 
4092
5000
fi
4093
 
rm -f conftest.err conftest.$ac_objext \
 
5001
 
 
5002
rm -f core conftest.err conftest.$ac_objext \
4094
5003
      conftest$ac_exeext conftest.$ac_ext
4095
5004
    if test "$am_cv_func_iconv" != yes; then
4096
5005
      am_save_LIBS="$LIBS"
4114
5023
}
4115
5024
_ACEOF
4116
5025
rm -f conftest.$ac_objext conftest$ac_exeext
4117
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4118
 
  (eval $ac_link) 2>conftest.er1
 
5026
if { (ac_try="$ac_link"
 
5027
case "(($ac_try" in
 
5028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5029
  *) ac_try_echo=$ac_try;;
 
5030
esac
 
5031
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5032
  (eval "$ac_link") 2>conftest.er1
4119
5033
  ac_status=$?
4120
5034
  grep -v '^ *+' conftest.er1 >conftest.err
4121
5035
  rm -f conftest.er1
4122
5036
  cat conftest.err >&5
4123
5037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124
5038
  (exit $ac_status); } &&
4125
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127
 
  (eval $ac_try) 2>&5
 
5039
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5040
  { (case "(($ac_try" in
 
5041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5042
  *) ac_try_echo=$ac_try;;
 
5043
esac
 
5044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5045
  (eval "$ac_try") 2>&5
4128
5046
  ac_status=$?
4129
5047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130
5048
  (exit $ac_status); }; } &&
4131
5049
         { ac_try='test -s conftest$ac_exeext'
4132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133
 
  (eval $ac_try) 2>&5
 
5050
  { (case "(($ac_try" in
 
5051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5052
  *) ac_try_echo=$ac_try;;
 
5053
esac
 
5054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5055
  (eval "$ac_try") 2>&5
4134
5056
  ac_status=$?
4135
5057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
5058
  (exit $ac_status); }; }; then
4140
5062
  echo "$as_me: failed program was:" >&5
4141
5063
sed 's/^/| /' conftest.$ac_ext >&5
4142
5064
 
 
5065
 
4143
5066
fi
4144
 
rm -f conftest.err conftest.$ac_objext \
 
5067
 
 
5068
rm -f core conftest.err conftest.$ac_objext \
4145
5069
      conftest$ac_exeext conftest.$ac_ext
4146
5070
      LIBS="$am_save_LIBS"
4147
5071
    fi
4148
5072
 
4149
5073
fi
4150
 
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4151
 
echo "${ECHO_T}$am_cv_func_iconv" >&6
 
5074
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
5075
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
4152
5076
  if test "$am_cv_func_iconv" = yes; then
4153
5077
 
4154
5078
cat >>confdefs.h <<\_ACEOF
4157
5081
 
4158
5082
  fi
4159
5083
  if test "$am_cv_lib_iconv" = yes; then
4160
 
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4161
 
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4162
 
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
4163
 
echo "${ECHO_T}$LIBICONV" >&6
 
5084
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
5085
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
 
5086
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
5087
echo "${ECHO_T}$LIBICONV" >&6; }
4164
5088
  else
4165
5089
            CPPFLAGS="$am_save_CPPFLAGS"
4166
5090
    LIBICONV=
4186
5110
  prefix="$acl_save_prefix"
4187
5111
 
4188
5112
 
4189
 
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
 
5113
# Check whether --with-libintl-prefix was given.
4190
5114
if test "${with_libintl_prefix+set}" = set; then
4191
 
  withval="$with_libintl_prefix"
4192
 
 
 
5115
  withval=$with_libintl_prefix;
4193
5116
    if test "X$withval" = "Xno"; then
4194
5117
      use_additional=no
4195
5118
    else
4212
5135
      fi
4213
5136
    fi
4214
5137
 
4215
 
fi;
 
5138
fi
 
5139
 
4216
5140
      LIBINTL=
4217
5141
  LTLIBINTL=
4218
5142
  INCINTL=
4381
5305
                if test "X$additional_includedir" = "X/usr/local/include"; then
4382
5306
                  if test -n "$GCC"; then
4383
5307
                    case $host_os in
4384
 
                      linux*) haveit=yes;;
 
5308
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4385
5309
                    esac
4386
5310
                  fi
4387
5311
                fi
4425
5349
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
4426
5350
                        if test -n "$GCC"; then
4427
5351
                          case $host_os in
4428
 
                            linux*) haveit=yes;;
 
5352
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4429
5353
                          esac
4430
5354
                        fi
4431
5355
                      fi
4548
5472
    done
4549
5473
  fi
4550
5474
 
4551
 
          echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4552
 
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
 
5475
          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
5476
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
4553
5477
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4554
5478
  echo $ECHO_N "(cached) $ECHO_C" >&6
4555
5479
else
4569
5493
#ifdef __cplusplus
4570
5494
"C"
4571
5495
#endif
4572
 
const char *_nl_expand_alias ();
 
5496
const char *_nl_expand_alias (const char *);
4573
5497
int
4574
5498
main ()
4575
5499
{
4576
5500
bindtextdomain ("", "");
4577
 
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
5501
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4578
5502
  ;
4579
5503
  return 0;
4580
5504
}
4581
5505
_ACEOF
4582
5506
rm -f conftest.$ac_objext conftest$ac_exeext
4583
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4584
 
  (eval $ac_link) 2>conftest.er1
 
5507
if { (ac_try="$ac_link"
 
5508
case "(($ac_try" in
 
5509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5510
  *) ac_try_echo=$ac_try;;
 
5511
esac
 
5512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5513
  (eval "$ac_link") 2>conftest.er1
4585
5514
  ac_status=$?
4586
5515
  grep -v '^ *+' conftest.er1 >conftest.err
4587
5516
  rm -f conftest.er1
4588
5517
  cat conftest.err >&5
4589
5518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
5519
  (exit $ac_status); } &&
4591
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593
 
  (eval $ac_try) 2>&5
 
5520
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5521
  { (case "(($ac_try" in
 
5522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5523
  *) ac_try_echo=$ac_try;;
 
5524
esac
 
5525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5526
  (eval "$ac_try") 2>&5
4594
5527
  ac_status=$?
4595
5528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596
5529
  (exit $ac_status); }; } &&
4597
5530
         { ac_try='test -s conftest$ac_exeext'
4598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599
 
  (eval $ac_try) 2>&5
 
5531
  { (case "(($ac_try" in
 
5532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5533
  *) ac_try_echo=$ac_try;;
 
5534
esac
 
5535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5536
  (eval "$ac_try") 2>&5
4600
5537
  ac_status=$?
4601
5538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
5539
  (exit $ac_status); }; }; then
4605
5542
  echo "$as_me: failed program was:" >&5
4606
5543
sed 's/^/| /' conftest.$ac_ext >&5
4607
5544
 
4608
 
gt_cv_func_gnugettext1_libintl=no
 
5545
        gt_cv_func_gnugettext1_libintl=no
4609
5546
fi
4610
 
rm -f conftest.err conftest.$ac_objext \
 
5547
 
 
5548
rm -f core conftest.err conftest.$ac_objext \
4611
5549
      conftest$ac_exeext conftest.$ac_ext
4612
5550
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4613
5551
              LIBS="$LIBS $LIBICONV"
4623
5561
#ifdef __cplusplus
4624
5562
"C"
4625
5563
#endif
4626
 
const char *_nl_expand_alias ();
 
5564
const char *_nl_expand_alias (const char *);
4627
5565
int
4628
5566
main ()
4629
5567
{
4630
5568
bindtextdomain ("", "");
4631
 
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
5569
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4632
5570
  ;
4633
5571
  return 0;
4634
5572
}
4635
5573
_ACEOF
4636
5574
rm -f conftest.$ac_objext conftest$ac_exeext
4637
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4638
 
  (eval $ac_link) 2>conftest.er1
 
5575
if { (ac_try="$ac_link"
 
5576
case "(($ac_try" in
 
5577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5578
  *) ac_try_echo=$ac_try;;
 
5579
esac
 
5580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5581
  (eval "$ac_link") 2>conftest.er1
4639
5582
  ac_status=$?
4640
5583
  grep -v '^ *+' conftest.er1 >conftest.err
4641
5584
  rm -f conftest.er1
4642
5585
  cat conftest.err >&5
4643
5586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644
5587
  (exit $ac_status); } &&
4645
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647
 
  (eval $ac_try) 2>&5
 
5588
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5589
  { (case "(($ac_try" in
 
5590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5591
  *) ac_try_echo=$ac_try;;
 
5592
esac
 
5593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5594
  (eval "$ac_try") 2>&5
4648
5595
  ac_status=$?
4649
5596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650
5597
  (exit $ac_status); }; } &&
4651
5598
         { ac_try='test -s conftest$ac_exeext'
4652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653
 
  (eval $ac_try) 2>&5
 
5599
  { (case "(($ac_try" in
 
5600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5601
  *) ac_try_echo=$ac_try;;
 
5602
esac
 
5603
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5604
  (eval "$ac_try") 2>&5
4654
5605
  ac_status=$?
4655
5606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
5607
  (exit $ac_status); }; }; then
4662
5613
  echo "$as_me: failed program was:" >&5
4663
5614
sed 's/^/| /' conftest.$ac_ext >&5
4664
5615
 
 
5616
 
4665
5617
fi
4666
 
rm -f conftest.err conftest.$ac_objext \
 
5618
 
 
5619
rm -f core conftest.err conftest.$ac_objext \
4667
5620
      conftest$ac_exeext conftest.$ac_ext
4668
5621
            fi
4669
5622
            CPPFLAGS="$gt_save_CPPFLAGS"
4670
5623
            LIBS="$gt_save_LIBS"
4671
5624
fi
4672
 
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4673
 
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
 
5625
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
 
5626
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
4674
5627
        fi
4675
5628
 
4676
5629
                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4686
5639
 
4687
5640
 
4688
5641
 
 
5642
    if test -n "$INTL_MACOSX_LIBS"; then
 
5643
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
5644
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
5645
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
5646
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
5647
      fi
 
5648
    fi
 
5649
 
4689
5650
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
4690
5651
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
4691
5652
 
4698
5659
    fi
4699
5660
  fi
4700
5661
 
4701
 
  echo "$as_me:$LINENO: checking whether to use NLS" >&5
4702
 
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
4703
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
4704
 
echo "${ECHO_T}$USE_NLS" >&6
 
5662
  { echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
5663
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
 
5664
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
5665
echo "${ECHO_T}$USE_NLS" >&6; }
4705
5666
  if test "$USE_NLS" = "yes"; then
4706
 
    echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
4707
 
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
 
5667
    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
5668
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
4708
5669
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4709
5670
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4710
5671
        gt_source="external libintl"
4714
5675
    else
4715
5676
      gt_source="included intl directory"
4716
5677
    fi
4717
 
    echo "$as_me:$LINENO: result: $gt_source" >&5
4718
 
echo "${ECHO_T}$gt_source" >&6
 
5678
    { echo "$as_me:$LINENO: result: $gt_source" >&5
 
5679
echo "${ECHO_T}$gt_source" >&6; }
4719
5680
  fi
4720
5681
 
4721
5682
  if test "$USE_NLS" = "yes"; then
4722
5683
 
4723
5684
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4724
5685
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4725
 
        echo "$as_me:$LINENO: checking how to link with libintl" >&5
4726
 
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
4727
 
        echo "$as_me:$LINENO: result: $LIBINTL" >&5
4728
 
echo "${ECHO_T}$LIBINTL" >&6
 
5686
        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
5687
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
 
5688
        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
5689
echo "${ECHO_T}$LIBINTL" >&6; }
4729
5690
 
4730
5691
  for element in $INCINTL; do
4731
5692
    haveit=
4782
5743
 
4783
5744
 
4784
5745
 
4785
 
                              ac_config_files="$ac_config_files Makefile po/Makefile.in m4/Makefile"
 
5746
ac_config_files="$ac_config_files Makefile po/Makefile.in m4/Makefile"
4786
5747
 
4787
5748
cat >confcache <<\_ACEOF
4788
5749
# This file is a shell script that caches the results of configure
4802
5763
 
4803
5764
# The following way of writing the cache mishandles newlines in values,
4804
5765
# but we know of no workaround that is simple, portable, and efficient.
4805
 
# So, don't put newlines in cache variables' values.
 
5766
# So, we kill variables containing newlines.
4806
5767
# Ultrix sh set writes to stderr and can't be redirected directly,
4807
5768
# and sets the high bit in the cache file unless we assign to the vars.
4808
 
{
 
5769
(
 
5770
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
5771
    eval ac_val=\$$ac_var
 
5772
    case $ac_val in #(
 
5773
    *${as_nl}*)
 
5774
      case $ac_var in #(
 
5775
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
5776
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
5777
      esac
 
5778
      case $ac_var in #(
 
5779
      _ | IFS | as_nl) ;; #(
 
5780
      *) $as_unset $ac_var ;;
 
5781
      esac ;;
 
5782
    esac
 
5783
  done
 
5784
 
4809
5785
  (set) 2>&1 |
4810
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4811
 
    *ac_space=\ *)
 
5786
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
5787
    *${as_nl}ac_space=\ *)
4812
5788
      # `set' does not quote correctly, so add quotes (double-quote
4813
5789
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4814
5790
      sed -n \
4815
5791
        "s/'/'\\\\''/g;
4816
5792
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4817
 
      ;;
 
5793
      ;; #(
4818
5794
    *)
4819
5795
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4820
 
      sed -n \
4821
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5796
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4822
5797
      ;;
4823
 
    esac;
4824
 
} |
 
5798
    esac |
 
5799
    sort
 
5800
) |
4825
5801
  sed '
 
5802
     /^ac_cv_env_/b end
4826
5803
     t clear
4827
 
     : clear
 
5804
     :clear
4828
5805
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4829
5806
     t end
4830
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4831
 
     : end' >>confcache
4832
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4833
 
  if test -w $cache_file; then
4834
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
5807
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
5808
     :end' >>confcache
 
5809
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
5810
  if test -w "$cache_file"; then
 
5811
    test "x$cache_file" != "x/dev/null" &&
 
5812
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5813
echo "$as_me: updating cache $cache_file" >&6;}
4835
5814
    cat confcache >$cache_file
4836
5815
  else
4837
 
    echo "not updating unwritable cache $cache_file"
 
5816
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5817
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4838
5818
  fi
4839
5819
fi
4840
5820
rm -f confcache
4843
5823
# Let make expand exec_prefix.
4844
5824
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4845
5825
 
4846
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4847
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4848
 
# trailing colons and then remove the whole line if VPATH becomes empty
4849
 
# (actually we leave an empty line to preserve line numbers).
4850
 
if test "x$srcdir" = x.; then
4851
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4852
 
s/:*\$(srcdir):*/:/;
4853
 
s/:*\${srcdir}:*/:/;
4854
 
s/:*@srcdir@:*/:/;
4855
 
s/^\([^=]*=[     ]*\):*/\1/;
4856
 
s/:*$//;
4857
 
s/^[^=]*=[       ]*$//;
4858
 
}'
4859
 
fi
4860
 
 
4861
5826
DEFS=-DHAVE_CONFIG_H
4862
5827
 
4863
5828
ac_libobjs=
4864
5829
ac_ltlibobjs=
4865
5830
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4866
5831
  # 1. Remove the extension, and $U if already installed.
4867
 
  ac_i=`echo "$ac_i" |
4868
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4869
 
  # 2. Add them.
4870
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4871
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
5832
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
5833
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
5834
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
5835
  #    will be set to the directory where LIBOBJS objects are built.
 
5836
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5837
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4872
5838
done
4873
5839
LIBOBJS=$ac_libobjs
4874
5840
 
4920
5886
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4921
5887
  # is contrary to our usage.  Disable this feature.
4922
5888
  alias -g '${1+"$@"}'='"$@"'
4923
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4924
 
  set -o posix
 
5889
  setopt NO_GLOB_SUBST
 
5890
else
 
5891
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
4925
5892
fi
 
5893
BIN_SH=xpg4; export BIN_SH # for Tru64
4926
5894
DUALCASE=1; export DUALCASE # for MKS sh
4927
5895
 
 
5896
 
 
5897
# PATH needs CR
 
5898
# Avoid depending upon Character Ranges.
 
5899
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5900
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5901
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5902
as_cr_digits='0123456789'
 
5903
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
5904
 
 
5905
# The user is always right.
 
5906
if test "${PATH_SEPARATOR+set}" != set; then
 
5907
  echo "#! /bin/sh" >conf$$.sh
 
5908
  echo  "exit 0"   >>conf$$.sh
 
5909
  chmod +x conf$$.sh
 
5910
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
5911
    PATH_SEPARATOR=';'
 
5912
  else
 
5913
    PATH_SEPARATOR=:
 
5914
  fi
 
5915
  rm -f conf$$.sh
 
5916
fi
 
5917
 
4928
5918
# Support unset when possible.
4929
5919
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4930
5920
  as_unset=unset
4933
5923
fi
4934
5924
 
4935
5925
 
 
5926
# IFS
 
5927
# We need space, tab and new line, in precisely that order.  Quoting is
 
5928
# there to prevent editors from complaining about space-tab.
 
5929
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
5930
# splitting by setting IFS to empty value.)
 
5931
as_nl='
 
5932
'
 
5933
IFS=" ""        $as_nl"
 
5934
 
 
5935
# Find who we are.  Look in the path if we contain no directory separator.
 
5936
case $0 in
 
5937
  *[\\/]* ) as_myself=$0 ;;
 
5938
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5939
for as_dir in $PATH
 
5940
do
 
5941
  IFS=$as_save_IFS
 
5942
  test -z "$as_dir" && as_dir=.
 
5943
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5944
done
 
5945
IFS=$as_save_IFS
 
5946
 
 
5947
     ;;
 
5948
esac
 
5949
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
5950
# in which case we are not to be found in the path.
 
5951
if test "x$as_myself" = x; then
 
5952
  as_myself=$0
 
5953
fi
 
5954
if test ! -f "$as_myself"; then
 
5955
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5956
  { (exit 1); exit 1; }
 
5957
fi
 
5958
 
4936
5959
# Work around bugs in pre-3.0 UWIN ksh.
4937
 
$as_unset ENV MAIL MAILPATH
 
5960
for as_var in ENV MAIL MAILPATH
 
5961
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5962
done
4938
5963
PS1='$ '
4939
5964
PS2='> '
4940
5965
PS4='+ '
4948
5973
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4949
5974
    eval $as_var=C; export $as_var
4950
5975
  else
4951
 
    $as_unset $as_var
 
5976
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4952
5977
  fi
4953
5978
done
4954
5979
 
4955
5980
# Required to use basename.
4956
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5981
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
5982
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4957
5983
  as_expr=expr
4958
5984
else
4959
5985
  as_expr=false
4960
5986
fi
4961
5987
 
4962
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
5988
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4963
5989
  as_basename=basename
4964
5990
else
4965
5991
  as_basename=false
4967
5993
 
4968
5994
 
4969
5995
# Name of the executable.
4970
 
as_me=`$as_basename "$0" ||
 
5996
as_me=`$as_basename -- "$0" ||
4971
5997
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4972
5998
         X"$0" : 'X\(//\)$' \| \
4973
 
         X"$0" : 'X\(/\)$' \| \
4974
 
         .     : '\(.\)' 2>/dev/null ||
 
5999
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4975
6000
echo X/"$0" |
4976
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4977
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
4978
 
          /^X\/\(\/\).*/{ s//\1/; q; }
4979
 
          s/.*/./; q'`
4980
 
 
4981
 
 
4982
 
# PATH needs CR, and LINENO needs CR and PATH.
4983
 
# Avoid depending upon Character Ranges.
4984
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4985
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4986
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4987
 
as_cr_digits='0123456789'
4988
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
4989
 
 
4990
 
# The user is always right.
4991
 
if test "${PATH_SEPARATOR+set}" != set; then
4992
 
  echo "#! /bin/sh" >conf$$.sh
4993
 
  echo  "exit 0"   >>conf$$.sh
4994
 
  chmod +x conf$$.sh
4995
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4996
 
    PATH_SEPARATOR=';'
4997
 
  else
4998
 
    PATH_SEPARATOR=:
4999
 
  fi
5000
 
  rm -f conf$$.sh
5001
 
fi
5002
 
 
5003
 
 
5004
 
  as_lineno_1=$LINENO
5005
 
  as_lineno_2=$LINENO
5006
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5007
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5008
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5009
 
  # Find who we are.  Look in the path if we contain no path at all
5010
 
  # relative or not.
5011
 
  case $0 in
5012
 
    *[\\/]* ) as_myself=$0 ;;
5013
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014
 
for as_dir in $PATH
5015
 
do
5016
 
  IFS=$as_save_IFS
5017
 
  test -z "$as_dir" && as_dir=.
5018
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5019
 
done
5020
 
 
5021
 
       ;;
5022
 
  esac
5023
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
5024
 
  # in which case we are not to be found in the path.
5025
 
  if test "x$as_myself" = x; then
5026
 
    as_myself=$0
5027
 
  fi
5028
 
  if test ! -f "$as_myself"; then
5029
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5030
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5031
 
   { (exit 1); exit 1; }; }
5032
 
  fi
5033
 
  case $CONFIG_SHELL in
5034
 
  '')
5035
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5037
 
do
5038
 
  IFS=$as_save_IFS
5039
 
  test -z "$as_dir" && as_dir=.
5040
 
  for as_base in sh bash ksh sh5; do
5041
 
         case $as_dir in
5042
 
         /*)
5043
 
           if ("$as_dir/$as_base" -c '
5044
 
  as_lineno_1=$LINENO
5045
 
  as_lineno_2=$LINENO
5046
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5047
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5048
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5049
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5050
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5051
 
             CONFIG_SHELL=$as_dir/$as_base
5052
 
             export CONFIG_SHELL
5053
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5054
 
           fi;;
5055
 
         esac
5056
 
       done
5057
 
done
5058
 
;;
5059
 
  esac
 
6001
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
6002
            s//\1/
 
6003
            q
 
6004
          }
 
6005
          /^X\/\(\/\/\)$/{
 
6006
            s//\1/
 
6007
            q
 
6008
          }
 
6009
          /^X\/\(\/\).*/{
 
6010
            s//\1/
 
6011
            q
 
6012
          }
 
6013
          s/.*/./; q'`
 
6014
 
 
6015
# CDPATH.
 
6016
$as_unset CDPATH
 
6017
 
 
6018
 
 
6019
 
 
6020
  as_lineno_1=$LINENO
 
6021
  as_lineno_2=$LINENO
 
6022
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
6023
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5060
6024
 
5061
6025
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5062
6026
  # uniformly replaced by the line number.  The first 'sed' inserts a
5063
 
  # line-number line before each line; the second 'sed' does the real
5064
 
  # work.  The second script uses 'N' to pair each line-number line
5065
 
  # with the numbered line, and appends trailing '-' during
5066
 
  # substitution so that $LINENO is not a special case at line end.
 
6027
  # line-number line after each line using $LINENO; the second 'sed'
 
6028
  # does the real work.  The second script uses 'N' to pair each
 
6029
  # line-number line with the line containing $LINENO, and appends
 
6030
  # trailing '-' during substitution so that $LINENO is not a special
 
6031
  # case at line end.
5067
6032
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5068
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5069
 
  sed '=' <$as_myself |
 
6033
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
6034
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
6035
  sed -n '
 
6036
    p
 
6037
    /[$]LINENO/=
 
6038
  ' <$as_myself |
5070
6039
    sed '
 
6040
      s/[$]LINENO.*/&-/
 
6041
      t lineno
 
6042
      b
 
6043
      :lineno
5071
6044
      N
5072
 
      s,$,-,
5073
 
      : loop
5074
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
6045
      :loop
 
6046
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5075
6047
      t loop
5076
 
      s,-$,,
5077
 
      s,^['$as_cr_digits']*\n,,
 
6048
      s/-\n.*//
5078
6049
    ' >$as_me.lineno &&
5079
 
  chmod +x $as_me.lineno ||
5080
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5081
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
6050
  chmod +x "$as_me.lineno" ||
 
6051
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5082
6052
   { (exit 1); exit 1; }; }
5083
6053
 
5084
6054
  # Don't try to exec as it changes $[0], causing all sort of problems
5085
6055
  # (the dirname of $[0] is not the place where we might find the
5086
 
  # original and so on.  Autoconf is especially sensible to this).
5087
 
  . ./$as_me.lineno
 
6056
  # original and so on.  Autoconf is especially sensitive to this).
 
6057
  . "./$as_me.lineno"
5088
6058
  # Exit status is that of the last command.
5089
6059
  exit
5090
6060
}
5091
6061
 
5092
6062
 
5093
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5094
 
  *c*,-n*) ECHO_N= ECHO_C='
5095
 
' ECHO_T='      ' ;;
5096
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5097
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
6063
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
6064
  as_dirname=dirname
 
6065
else
 
6066
  as_dirname=false
 
6067
fi
 
6068
 
 
6069
ECHO_C= ECHO_N= ECHO_T=
 
6070
case `echo -n x` in
 
6071
-n*)
 
6072
  case `echo 'x\c'` in
 
6073
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
6074
  *)   ECHO_C='\c';;
 
6075
  esac;;
 
6076
*)
 
6077
  ECHO_N='-n';;
5098
6078
esac
5099
6079
 
5100
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
6080
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
6081
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5101
6082
  as_expr=expr
5102
6083
else
5103
6084
  as_expr=false
5104
6085
fi
5105
6086
 
5106
6087
rm -f conf$$ conf$$.exe conf$$.file
 
6088
if test -d conf$$.dir; then
 
6089
  rm -f conf$$.dir/conf$$.file
 
6090
else
 
6091
  rm -f conf$$.dir
 
6092
  mkdir conf$$.dir
 
6093
fi
5107
6094
echo >conf$$.file
5108
6095
if ln -s conf$$.file conf$$ 2>/dev/null; then
5109
 
  # We could just check for DJGPP; but this test a) works b) is more generic
5110
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5111
 
  if test -f conf$$.exe; then
5112
 
    # Don't use ln at all; we don't have any links
 
6096
  as_ln_s='ln -s'
 
6097
  # ... but there are two gotchas:
 
6098
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6099
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6100
  # In both cases, we have to default to `cp -p'.
 
6101
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5113
6102
    as_ln_s='cp -p'
5114
 
  else
5115
 
    as_ln_s='ln -s'
5116
 
  fi
5117
6103
elif ln conf$$.file conf$$ 2>/dev/null; then
5118
6104
  as_ln_s=ln
5119
6105
else
5120
6106
  as_ln_s='cp -p'
5121
6107
fi
5122
 
rm -f conf$$ conf$$.exe conf$$.file
 
6108
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
6109
rmdir conf$$.dir 2>/dev/null
5123
6110
 
5124
6111
if mkdir -p . 2>/dev/null; then
5125
6112
  as_mkdir_p=:
5128
6115
  as_mkdir_p=false
5129
6116
fi
5130
6117
 
5131
 
as_executable_p="test -f"
 
6118
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
6119
# systems may use methods other than mode bits to determine executability.
 
6120
cat >conf$$.file <<_ASEOF
 
6121
#! /bin/sh
 
6122
exit 0
 
6123
_ASEOF
 
6124
chmod +x conf$$.file
 
6125
if test -x conf$$.file >/dev/null 2>&1; then
 
6126
  as_executable_p="test -x"
 
6127
else
 
6128
  as_executable_p=:
 
6129
fi
 
6130
rm -f conf$$.file
5132
6131
 
5133
6132
# Sed expression to map a string onto a valid CPP name.
5134
6133
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5137
6136
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5138
6137
 
5139
6138
 
5140
 
# IFS
5141
 
# We need space, tab and new line, in precisely that order.
5142
 
as_nl='
5143
 
'
5144
 
IFS="   $as_nl"
5145
 
 
5146
 
# CDPATH.
5147
 
$as_unset CDPATH
5148
 
 
5149
6139
exec 6>&1
5150
6140
 
5151
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
6141
# Save the log message, to keep $[0] and so on meaningful, and to
5152
6142
# report actual input values of CONFIG_FILES etc. instead of their
5153
 
# values after options handling.  Logging --version etc. is OK.
5154
 
exec 5>>config.log
5155
 
{
5156
 
  echo
5157
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5158
 
## Running $as_me. ##
5159
 
_ASBOX
5160
 
} >&5
5161
 
cat >&5 <<_CSEOF
5162
 
 
5163
 
This file was extended by gworldclock $as_me 1.4.3, which was
5164
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
6143
# values after options handling.
 
6144
ac_log="
 
6145
This file was extended by gworldclock $as_me 1.4.4, which was
 
6146
generated by GNU Autoconf 2.60.  Invocation command line was
5165
6147
 
5166
6148
  CONFIG_FILES    = $CONFIG_FILES
5167
6149
  CONFIG_HEADERS  = $CONFIG_HEADERS
5169
6151
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5170
6152
  $ $0 $@
5171
6153
 
5172
 
_CSEOF
5173
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5174
 
echo >&5
 
6154
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
6155
"
 
6156
 
5175
6157
_ACEOF
5176
6158
 
 
6159
cat >>$CONFIG_STATUS <<_ACEOF
5177
6160
# Files that config.status was made for.
5178
 
if test -n "$ac_config_files"; then
5179
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5180
 
fi
5181
 
 
5182
 
if test -n "$ac_config_headers"; then
5183
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5184
 
fi
5185
 
 
5186
 
if test -n "$ac_config_links"; then
5187
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5188
 
fi
5189
 
 
5190
 
if test -n "$ac_config_commands"; then
5191
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5192
 
fi
 
6161
config_files="$ac_config_files"
 
6162
config_headers="$ac_config_headers"
 
6163
config_commands="$ac_config_commands"
 
6164
 
 
6165
_ACEOF
5193
6166
 
5194
6167
cat >>$CONFIG_STATUS <<\_ACEOF
5195
 
 
5196
6168
ac_cs_usage="\
5197
6169
\`$as_me' instantiates files from templates according to the
5198
6170
current configuration.
5219
6191
$config_commands
5220
6192
 
5221
6193
Report bugs to <bug-autoconf@gnu.org>."
 
6194
 
5222
6195
_ACEOF
5223
 
 
5224
6196
cat >>$CONFIG_STATUS <<_ACEOF
5225
6197
ac_cs_version="\\
5226
 
gworldclock config.status 1.4.3
5227
 
configured by $0, generated by GNU Autoconf 2.59,
5228
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
6198
gworldclock config.status 1.4.4
 
6199
configured by $0, generated by GNU Autoconf 2.60,
 
6200
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5229
6201
 
5230
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
6202
Copyright (C) 2006 Free Software Foundation, Inc.
5231
6203
This config.status script is free software; the Free Software Foundation
5232
6204
gives unlimited permission to copy, distribute and modify it."
5233
 
srcdir=$srcdir
5234
 
INSTALL="$INSTALL"
 
6205
 
 
6206
ac_pwd='$ac_pwd'
 
6207
srcdir='$srcdir'
 
6208
INSTALL='$INSTALL'
5235
6209
_ACEOF
5236
6210
 
5237
6211
cat >>$CONFIG_STATUS <<\_ACEOF
5242
6216
do
5243
6217
  case $1 in
5244
6218
  --*=*)
5245
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5246
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
6219
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
6220
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5247
6221
    ac_shift=:
5248
6222
    ;;
5249
 
  -*)
 
6223
  *)
5250
6224
    ac_option=$1
5251
6225
    ac_optarg=$2
5252
6226
    ac_shift=shift
5253
6227
    ;;
5254
 
  *) # This is not an option, so the user has probably given explicit
5255
 
     # arguments.
5256
 
     ac_option=$1
5257
 
     ac_need_defaults=false;;
5258
6228
  esac
5259
6229
 
5260
6230
  case $ac_option in
5261
6231
  # Handling of the options.
5262
 
_ACEOF
5263
 
cat >>$CONFIG_STATUS <<\_ACEOF
5264
6232
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5265
6233
    ac_cs_recheck=: ;;
5266
 
  --version | --vers* | -V )
5267
 
    echo "$ac_cs_version"; exit 0 ;;
5268
 
  --he | --h)
5269
 
    # Conflict between --help and --header
5270
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5271
 
Try \`$0 --help' for more information." >&5
5272
 
echo "$as_me: error: ambiguous option: $1
5273
 
Try \`$0 --help' for more information." >&2;}
5274
 
   { (exit 1); exit 1; }; };;
5275
 
  --help | --hel | -h )
5276
 
    echo "$ac_cs_usage"; exit 0 ;;
5277
 
  --debug | --d* | -d )
 
6234
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
6235
    echo "$ac_cs_version"; exit ;;
 
6236
  --debug | --debu | --deb | --de | --d | -d )
5278
6237
    debug=: ;;
5279
6238
  --file | --fil | --fi | --f )
5280
6239
    $ac_shift
5284
6243
    $ac_shift
5285
6244
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5286
6245
    ac_need_defaults=false;;
 
6246
  --he | --h)
 
6247
    # Conflict between --help and --header
 
6248
    { echo "$as_me: error: ambiguous option: $1
 
6249
Try \`$0 --help' for more information." >&2
 
6250
   { (exit 1); exit 1; }; };;
 
6251
  --help | --hel | -h )
 
6252
    echo "$ac_cs_usage"; exit ;;
5287
6253
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5288
6254
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5289
6255
    ac_cs_silent=: ;;
5290
6256
 
5291
6257
  # This is an error.
5292
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5293
 
Try \`$0 --help' for more information." >&5
5294
 
echo "$as_me: error: unrecognized option: $1
5295
 
Try \`$0 --help' for more information." >&2;}
 
6258
  -*) { echo "$as_me: error: unrecognized option: $1
 
6259
Try \`$0 --help' for more information." >&2
5296
6260
   { (exit 1); exit 1; }; } ;;
5297
6261
 
5298
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
6262
  *) ac_config_targets="$ac_config_targets $1"
 
6263
     ac_need_defaults=false ;;
5299
6264
 
5300
6265
  esac
5301
6266
  shift
5311
6276
_ACEOF
5312
6277
cat >>$CONFIG_STATUS <<_ACEOF
5313
6278
if \$ac_cs_recheck; then
5314
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5315
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6279
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
6280
  CONFIG_SHELL=$SHELL
 
6281
  export CONFIG_SHELL
 
6282
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5316
6283
fi
5317
6284
 
5318
6285
_ACEOF
 
6286
cat >>$CONFIG_STATUS <<\_ACEOF
 
6287
exec 5>>config.log
 
6288
{
 
6289
  echo
 
6290
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
6291
## Running $as_me. ##
 
6292
_ASBOX
 
6293
  echo "$ac_log"
 
6294
} >&5
5319
6295
 
 
6296
_ACEOF
5320
6297
cat >>$CONFIG_STATUS <<_ACEOF
5321
6298
#
5322
 
# INIT-COMMANDS section.
 
6299
# INIT-COMMANDS
5323
6300
#
5324
 
 
5325
6301
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5326
6302
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
5327
 
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
 
6303
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5328
6304
    # from automake.
5329
6305
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5330
6306
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
5333
6309
 
5334
6310
_ACEOF
5335
6311
 
5336
 
 
5337
 
 
5338
6312
cat >>$CONFIG_STATUS <<\_ACEOF
 
6313
 
 
6314
# Handling of arguments.
5339
6315
for ac_config_target in $ac_config_targets
5340
6316
do
5341
 
  case "$ac_config_target" in
5342
 
  # Handling of arguments.
5343
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5344
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5345
 
  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
5346
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5347
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5348
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
6317
  case $ac_config_target in
 
6318
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
6319
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
6320
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
6321
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
6322
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
6323
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
6324
 
5349
6325
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5350
6326
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5351
6327
   { (exit 1); exit 1; }; };;
5352
6328
  esac
5353
6329
done
5354
6330
 
 
6331
 
5355
6332
# If the user did not use the arguments to specify the items to instantiate,
5356
6333
# then the envvar interface is used.  Set only those that are not.
5357
6334
# We use the long form for the default assignment because of an extremely
5363
6340
fi
5364
6341
 
5365
6342
# Have a temporary directory for convenience.  Make it in the build tree
5366
 
# simply because there is no reason to put it here, and in addition,
 
6343
# simply because there is no reason against having it here, and in addition,
5367
6344
# creating and moving files from /tmp can sometimes cause problems.
5368
 
# Create a temporary directory, and hook for its removal unless debugging.
 
6345
# Hook for its removal unless debugging.
 
6346
# Note that there is a small window in which the directory will not be cleaned:
 
6347
# after its creation but before its name has been assigned to `$tmp'.
5369
6348
$debug ||
5370
6349
{
5371
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
6350
  tmp=
 
6351
  trap 'exit_status=$?
 
6352
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
6353
' 0
5372
6354
  trap '{ (exit 1); exit 1; }' 1 2 13 15
5373
6355
}
5374
 
 
5375
6356
# Create a (secure) tmp directory for tmp files.
5376
6357
 
5377
6358
{
5378
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
6359
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5379
6360
  test -n "$tmp" && test -d "$tmp"
5380
6361
}  ||
5381
6362
{
5382
 
  tmp=./confstat$$-$RANDOM
5383
 
  (umask 077 && mkdir $tmp)
 
6363
  tmp=./conf$$-$RANDOM
 
6364
  (umask 077 && mkdir "$tmp")
5384
6365
} ||
5385
6366
{
5386
6367
   echo "$me: cannot create a temporary directory in ." >&2
5387
6368
   { (exit 1); exit 1; }
5388
6369
}
5389
6370
 
5390
 
_ACEOF
5391
 
 
5392
 
cat >>$CONFIG_STATUS <<_ACEOF
5393
 
 
5394
6371
#
5395
 
# CONFIG_FILES section.
 
6372
# Set up the sed scripts for CONFIG_FILES section.
5396
6373
#
5397
6374
 
5398
6375
# No need to generate the scripts if there are no CONFIG_FILES.
5399
6376
# This happens for instance when ./config.status config.h
5400
 
if test -n "\$CONFIG_FILES"; then
5401
 
  # Protect against being on the right side of a sed subst in config.status.
5402
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5403
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5404
 
s,@SHELL@,$SHELL,;t t
5405
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5406
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5407
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5408
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5409
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5410
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5411
 
s,@exec_prefix@,$exec_prefix,;t t
5412
 
s,@prefix@,$prefix,;t t
5413
 
s,@program_transform_name@,$program_transform_name,;t t
5414
 
s,@bindir@,$bindir,;t t
5415
 
s,@sbindir@,$sbindir,;t t
5416
 
s,@libexecdir@,$libexecdir,;t t
5417
 
s,@datadir@,$datadir,;t t
5418
 
s,@sysconfdir@,$sysconfdir,;t t
5419
 
s,@sharedstatedir@,$sharedstatedir,;t t
5420
 
s,@localstatedir@,$localstatedir,;t t
5421
 
s,@libdir@,$libdir,;t t
5422
 
s,@includedir@,$includedir,;t t
5423
 
s,@oldincludedir@,$oldincludedir,;t t
5424
 
s,@infodir@,$infodir,;t t
5425
 
s,@mandir@,$mandir,;t t
5426
 
s,@build_alias@,$build_alias,;t t
5427
 
s,@host_alias@,$host_alias,;t t
5428
 
s,@target_alias@,$target_alias,;t t
5429
 
s,@DEFS@,$DEFS,;t t
5430
 
s,@ECHO_C@,$ECHO_C,;t t
5431
 
s,@ECHO_N@,$ECHO_N,;t t
5432
 
s,@ECHO_T@,$ECHO_T,;t t
5433
 
s,@LIBS@,$LIBS,;t t
5434
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5435
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5436
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5437
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
5438
 
s,@PACKAGE@,$PACKAGE,;t t
5439
 
s,@VERSION@,$VERSION,;t t
5440
 
s,@ACLOCAL@,$ACLOCAL,;t t
5441
 
s,@AUTOCONF@,$AUTOCONF,;t t
5442
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
5443
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
5444
 
s,@MAKEINFO@,$MAKEINFO,;t t
5445
 
s,@install_sh@,$install_sh,;t t
5446
 
s,@STRIP@,$STRIP,;t t
5447
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5448
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5449
 
s,@mkdir_p@,$mkdir_p,;t t
5450
 
s,@AWK@,$AWK,;t t
5451
 
s,@SET_MAKE@,$SET_MAKE,;t t
5452
 
s,@am__leading_dot@,$am__leading_dot,;t t
5453
 
s,@AMTAR@,$AMTAR,;t t
5454
 
s,@am__tar@,$am__tar,;t t
5455
 
s,@am__untar@,$am__untar,;t t
5456
 
s,@CC@,$CC,;t t
5457
 
s,@CFLAGS@,$CFLAGS,;t t
5458
 
s,@LDFLAGS@,$LDFLAGS,;t t
5459
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
5460
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
5461
 
s,@EXEEXT@,$EXEEXT,;t t
5462
 
s,@OBJEXT@,$OBJEXT,;t t
5463
 
s,@DEPDIR@,$DEPDIR,;t t
5464
 
s,@am__include@,$am__include,;t t
5465
 
s,@am__quote@,$am__quote,;t t
5466
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5467
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5468
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5469
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
5470
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5471
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5472
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5473
 
s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t
5474
 
s,@GTK2_LIBS@,$GTK2_LIBS,;t t
5475
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5476
 
s,@USE_NLS@,$USE_NLS,;t t
5477
 
s,@MSGFMT@,$MSGFMT,;t t
5478
 
s,@GMSGFMT@,$GMSGFMT,;t t
5479
 
s,@XGETTEXT@,$XGETTEXT,;t t
5480
 
s,@MSGMERGE@,$MSGMERGE,;t t
5481
 
s,@build@,$build,;t t
5482
 
s,@build_cpu@,$build_cpu,;t t
5483
 
s,@build_vendor@,$build_vendor,;t t
5484
 
s,@build_os@,$build_os,;t t
5485
 
s,@host@,$host,;t t
5486
 
s,@host_cpu@,$host_cpu,;t t
5487
 
s,@host_vendor@,$host_vendor,;t t
5488
 
s,@host_os@,$host_os,;t t
5489
 
s,@LIBICONV@,$LIBICONV,;t t
5490
 
s,@LTLIBICONV@,$LTLIBICONV,;t t
5491
 
s,@INTLLIBS@,$INTLLIBS,;t t
5492
 
s,@LIBINTL@,$LIBINTL,;t t
5493
 
s,@LTLIBINTL@,$LTLIBINTL,;t t
5494
 
s,@POSUB@,$POSUB,;t t
5495
 
s,@localedir@,$localedir,;t t
5496
 
s,@LIBOBJS@,$LIBOBJS,;t t
5497
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5498
 
CEOF
5499
 
 
5500
 
_ACEOF
5501
 
 
5502
 
  cat >>$CONFIG_STATUS <<\_ACEOF
5503
 
  # Split the substitutions into bite-sized pieces for seds with
5504
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
5505
 
  ac_max_sed_lines=48
5506
 
  ac_sed_frag=1 # Number of current file.
5507
 
  ac_beg=1 # First line for current file.
5508
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
5509
 
  ac_more_lines=:
5510
 
  ac_sed_cmds=
5511
 
  while $ac_more_lines; do
5512
 
    if test $ac_beg -gt 1; then
5513
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5514
 
    else
5515
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5516
 
    fi
5517
 
    if test ! -s $tmp/subs.frag; then
5518
 
      ac_more_lines=false
5519
 
    else
5520
 
      # The purpose of the label and of the branching condition is to
5521
 
      # speed up the sed processing (if there are no `@' at all, there
5522
 
      # is no need to browse any of the substitutions).
5523
 
      # These are the two extra sed commands mentioned above.
5524
 
      (echo ':t
5525
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5526
 
      if test -z "$ac_sed_cmds"; then
5527
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5528
 
      else
5529
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5530
 
      fi
5531
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
5532
 
      ac_beg=$ac_end
5533
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
5534
 
    fi
5535
 
  done
5536
 
  if test -z "$ac_sed_cmds"; then
5537
 
    ac_sed_cmds=cat
5538
 
  fi
 
6377
if test -n "$CONFIG_FILES"; then
 
6378
 
 
6379
_ACEOF
 
6380
 
 
6381
 
 
6382
 
 
6383
ac_delim='%!_!# '
 
6384
for ac_last_try in false false false false false :; do
 
6385
  cat >conf$$subs.sed <<_ACEOF
 
6386
SHELL!$SHELL$ac_delim
 
6387
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
6388
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
6389
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
6390
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
6391
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
6392
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
6393
exec_prefix!$exec_prefix$ac_delim
 
6394
prefix!$prefix$ac_delim
 
6395
program_transform_name!$program_transform_name$ac_delim
 
6396
bindir!$bindir$ac_delim
 
6397
sbindir!$sbindir$ac_delim
 
6398
libexecdir!$libexecdir$ac_delim
 
6399
datarootdir!$datarootdir$ac_delim
 
6400
datadir!$datadir$ac_delim
 
6401
sysconfdir!$sysconfdir$ac_delim
 
6402
sharedstatedir!$sharedstatedir$ac_delim
 
6403
localstatedir!$localstatedir$ac_delim
 
6404
includedir!$includedir$ac_delim
 
6405
oldincludedir!$oldincludedir$ac_delim
 
6406
docdir!$docdir$ac_delim
 
6407
infodir!$infodir$ac_delim
 
6408
htmldir!$htmldir$ac_delim
 
6409
dvidir!$dvidir$ac_delim
 
6410
pdfdir!$pdfdir$ac_delim
 
6411
psdir!$psdir$ac_delim
 
6412
libdir!$libdir$ac_delim
 
6413
localedir!$localedir$ac_delim
 
6414
mandir!$mandir$ac_delim
 
6415
DEFS!$DEFS$ac_delim
 
6416
ECHO_C!$ECHO_C$ac_delim
 
6417
ECHO_N!$ECHO_N$ac_delim
 
6418
ECHO_T!$ECHO_T$ac_delim
 
6419
LIBS!$LIBS$ac_delim
 
6420
build_alias!$build_alias$ac_delim
 
6421
host_alias!$host_alias$ac_delim
 
6422
target_alias!$target_alias$ac_delim
 
6423
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
6424
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
6425
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
6426
CYGPATH_W!$CYGPATH_W$ac_delim
 
6427
PACKAGE!$PACKAGE$ac_delim
 
6428
VERSION!$VERSION$ac_delim
 
6429
ACLOCAL!$ACLOCAL$ac_delim
 
6430
AUTOCONF!$AUTOCONF$ac_delim
 
6431
AUTOMAKE!$AUTOMAKE$ac_delim
 
6432
AUTOHEADER!$AUTOHEADER$ac_delim
 
6433
MAKEINFO!$MAKEINFO$ac_delim
 
6434
install_sh!$install_sh$ac_delim
 
6435
STRIP!$STRIP$ac_delim
 
6436
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
6437
mkdir_p!$mkdir_p$ac_delim
 
6438
AWK!$AWK$ac_delim
 
6439
SET_MAKE!$SET_MAKE$ac_delim
 
6440
am__leading_dot!$am__leading_dot$ac_delim
 
6441
AMTAR!$AMTAR$ac_delim
 
6442
am__tar!$am__tar$ac_delim
 
6443
am__untar!$am__untar$ac_delim
 
6444
CC!$CC$ac_delim
 
6445
CFLAGS!$CFLAGS$ac_delim
 
6446
LDFLAGS!$LDFLAGS$ac_delim
 
6447
CPPFLAGS!$CPPFLAGS$ac_delim
 
6448
ac_ct_CC!$ac_ct_CC$ac_delim
 
6449
EXEEXT!$EXEEXT$ac_delim
 
6450
OBJEXT!$OBJEXT$ac_delim
 
6451
DEPDIR!$DEPDIR$ac_delim
 
6452
am__include!$am__include$ac_delim
 
6453
am__quote!$am__quote$ac_delim
 
6454
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
6455
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
6456
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
6457
CCDEPMODE!$CCDEPMODE$ac_delim
 
6458
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
6459
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
6460
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
6461
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
 
6462
GTK2_LIBS!$GTK2_LIBS$ac_delim
 
6463
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
6464
USE_NLS!$USE_NLS$ac_delim
 
6465
MSGFMT!$MSGFMT$ac_delim
 
6466
GMSGFMT!$GMSGFMT$ac_delim
 
6467
XGETTEXT!$XGETTEXT$ac_delim
 
6468
MSGMERGE!$MSGMERGE$ac_delim
 
6469
build!$build$ac_delim
 
6470
build_cpu!$build_cpu$ac_delim
 
6471
build_vendor!$build_vendor$ac_delim
 
6472
build_os!$build_os$ac_delim
 
6473
host!$host$ac_delim
 
6474
host_cpu!$host_cpu$ac_delim
 
6475
host_vendor!$host_vendor$ac_delim
 
6476
host_os!$host_os$ac_delim
 
6477
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
 
6478
LIBICONV!$LIBICONV$ac_delim
 
6479
LTLIBICONV!$LTLIBICONV$ac_delim
 
6480
INTLLIBS!$INTLLIBS$ac_delim
 
6481
LIBINTL!$LIBINTL$ac_delim
 
6482
LTLIBINTL!$LTLIBINTL$ac_delim
 
6483
_ACEOF
 
6484
 
 
6485
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
6486
    break
 
6487
  elif $ac_last_try; then
 
6488
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6489
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6490
   { (exit 1); exit 1; }; }
 
6491
  else
 
6492
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6493
  fi
 
6494
done
 
6495
 
 
6496
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
6497
if test -n "$ac_eof"; then
 
6498
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
6499
  ac_eof=`expr $ac_eof + 1`
 
6500
fi
 
6501
 
 
6502
cat >>$CONFIG_STATUS <<_ACEOF
 
6503
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
6504
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
6505
_ACEOF
 
6506
sed '
 
6507
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
6508
s/^/s,@/; s/!/@,|#_!!_#|/
 
6509
:n
 
6510
t n
 
6511
s/'"$ac_delim"'$/,g/; t
 
6512
s/$/\\/; p
 
6513
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
6514
' >>$CONFIG_STATUS <conf$$subs.sed
 
6515
rm -f conf$$subs.sed
 
6516
cat >>$CONFIG_STATUS <<_ACEOF
 
6517
CEOF$ac_eof
 
6518
_ACEOF
 
6519
 
 
6520
 
 
6521
ac_delim='%!_!# '
 
6522
for ac_last_try in false false false false false :; do
 
6523
  cat >conf$$subs.sed <<_ACEOF
 
6524
POSUB!$POSUB$ac_delim
 
6525
LIBOBJS!$LIBOBJS$ac_delim
 
6526
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
6527
_ACEOF
 
6528
 
 
6529
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then
 
6530
    break
 
6531
  elif $ac_last_try; then
 
6532
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6533
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6534
   { (exit 1); exit 1; }; }
 
6535
  else
 
6536
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6537
  fi
 
6538
done
 
6539
 
 
6540
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
6541
if test -n "$ac_eof"; then
 
6542
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
6543
  ac_eof=`expr $ac_eof + 1`
 
6544
fi
 
6545
 
 
6546
cat >>$CONFIG_STATUS <<_ACEOF
 
6547
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
6548
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
6549
_ACEOF
 
6550
sed '
 
6551
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
6552
s/^/s,@/; s/!/@,|#_!!_#|/
 
6553
:n
 
6554
t n
 
6555
s/'"$ac_delim"'$/,g/; t
 
6556
s/$/\\/; p
 
6557
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
6558
' >>$CONFIG_STATUS <conf$$subs.sed
 
6559
rm -f conf$$subs.sed
 
6560
cat >>$CONFIG_STATUS <<_ACEOF
 
6561
:end
 
6562
s/|#_!!_#|//g
 
6563
CEOF$ac_eof
 
6564
_ACEOF
 
6565
 
 
6566
 
 
6567
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
6568
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
6569
# trailing colons and then remove the whole line if VPATH becomes empty
 
6570
# (actually we leave an empty line to preserve line numbers).
 
6571
if test "x$srcdir" = x.; then
 
6572
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
6573
s/:*\$(srcdir):*/:/
 
6574
s/:*\${srcdir}:*/:/
 
6575
s/:*@srcdir@:*/:/
 
6576
s/^\([^=]*=[     ]*\):*/\1/
 
6577
s/:*$//
 
6578
s/^[^=]*=[       ]*$//
 
6579
}'
 
6580
fi
 
6581
 
 
6582
cat >>$CONFIG_STATUS <<\_ACEOF
5539
6583
fi # test -n "$CONFIG_FILES"
5540
6584
 
5541
 
_ACEOF
5542
 
cat >>$CONFIG_STATUS <<\_ACEOF
5543
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5544
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5545
 
  case $ac_file in
5546
 
  - | *:- | *:-:* ) # input from stdin
5547
 
        cat >$tmp/stdin
5548
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5549
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5550
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5551
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5552
 
  * )   ac_file_in=$ac_file.in ;;
5553
 
  esac
5554
 
 
5555
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5556
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
6585
 
 
6586
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
6587
do
 
6588
  case $ac_tag in
 
6589
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
6590
  esac
 
6591
  case $ac_mode$ac_tag in
 
6592
  :[FHL]*:*);;
 
6593
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
6594
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
6595
   { (exit 1); exit 1; }; };;
 
6596
  :[FH]-) ac_tag=-:-;;
 
6597
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
6598
  esac
 
6599
  ac_save_IFS=$IFS
 
6600
  IFS=:
 
6601
  set x $ac_tag
 
6602
  IFS=$ac_save_IFS
 
6603
  shift
 
6604
  ac_file=$1
 
6605
  shift
 
6606
 
 
6607
  case $ac_mode in
 
6608
  :L) ac_source=$1;;
 
6609
  :[FH])
 
6610
    ac_file_inputs=
 
6611
    for ac_f
 
6612
    do
 
6613
      case $ac_f in
 
6614
      -) ac_f="$tmp/stdin";;
 
6615
      *) # Look for the file first in the build tree, then in the source tree
 
6616
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
6617
         # because $ac_f cannot contain `:'.
 
6618
         test -f "$ac_f" ||
 
6619
           case $ac_f in
 
6620
           [\\/$]*) false;;
 
6621
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
6622
           esac ||
 
6623
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
6624
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
6625
   { (exit 1); exit 1; }; };;
 
6626
      esac
 
6627
      ac_file_inputs="$ac_file_inputs $ac_f"
 
6628
    done
 
6629
 
 
6630
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
6631
    # use $as_me), people would be surprised to read:
 
6632
    #    /* config.h.  Generated by config.status.  */
 
6633
    configure_input="Generated from "`IFS=:
 
6634
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
6635
    if test x"$ac_file" != x-; then
 
6636
      configure_input="$ac_file.  $configure_input"
 
6637
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6638
echo "$as_me: creating $ac_file" >&6;}
 
6639
    fi
 
6640
 
 
6641
    case $ac_tag in
 
6642
    *:-:* | *:-) cat >"$tmp/stdin";;
 
6643
    esac
 
6644
    ;;
 
6645
  esac
 
6646
 
 
6647
  ac_dir=`$as_dirname -- "$ac_file" ||
5557
6648
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5558
6649
         X"$ac_file" : 'X\(//\)[^/]' \| \
5559
6650
         X"$ac_file" : 'X\(//\)$' \| \
5560
 
         X"$ac_file" : 'X\(/\)' \| \
5561
 
         .     : '\(.\)' 2>/dev/null ||
 
6651
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5562
6652
echo X"$ac_file" |
5563
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5564
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5565
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5566
 
          /^X\(\/\).*/{ s//\1/; q; }
5567
 
          s/.*/./; q'`
5568
 
  { if $as_mkdir_p; then
5569
 
    mkdir -p "$ac_dir"
5570
 
  else
5571
 
    as_dir="$ac_dir"
 
6653
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6654
            s//\1/
 
6655
            q
 
6656
          }
 
6657
          /^X\(\/\/\)[^/].*/{
 
6658
            s//\1/
 
6659
            q
 
6660
          }
 
6661
          /^X\(\/\/\)$/{
 
6662
            s//\1/
 
6663
            q
 
6664
          }
 
6665
          /^X\(\/\).*/{
 
6666
            s//\1/
 
6667
            q
 
6668
          }
 
6669
          s/.*/./; q'`
 
6670
  { as_dir="$ac_dir"
 
6671
  case $as_dir in #(
 
6672
  -*) as_dir=./$as_dir;;
 
6673
  esac
 
6674
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5572
6675
    as_dirs=
5573
 
    while test ! -d "$as_dir"; do
5574
 
      as_dirs="$as_dir $as_dirs"
5575
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6676
    while :; do
 
6677
      case $as_dir in #(
 
6678
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
6679
      *) as_qdir=$as_dir;;
 
6680
      esac
 
6681
      as_dirs="'$as_qdir' $as_dirs"
 
6682
      as_dir=`$as_dirname -- "$as_dir" ||
5576
6683
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5577
6684
         X"$as_dir" : 'X\(//\)[^/]' \| \
5578
6685
         X"$as_dir" : 'X\(//\)$' \| \
5579
 
         X"$as_dir" : 'X\(/\)' \| \
5580
 
         .     : '\(.\)' 2>/dev/null ||
 
6686
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5581
6687
echo X"$as_dir" |
5582
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5583
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5584
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5585
 
          /^X\(\/\).*/{ s//\1/; q; }
5586
 
          s/.*/./; q'`
 
6688
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6689
            s//\1/
 
6690
            q
 
6691
          }
 
6692
          /^X\(\/\/\)[^/].*/{
 
6693
            s//\1/
 
6694
            q
 
6695
          }
 
6696
          /^X\(\/\/\)$/{
 
6697
            s//\1/
 
6698
            q
 
6699
          }
 
6700
          /^X\(\/\).*/{
 
6701
            s//\1/
 
6702
            q
 
6703
          }
 
6704
          s/.*/./; q'`
 
6705
      test -d "$as_dir" && break
5587
6706
    done
5588
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5589
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5590
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6707
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6708
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
6709
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5591
6710
   { (exit 1); exit 1; }; }; }
5592
 
 
5593
6711
  ac_builddir=.
5594
6712
 
5595
 
if test "$ac_dir" != .; then
 
6713
case "$ac_dir" in
 
6714
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6715
*)
5596
6716
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5597
 
  # A "../" for each directory in $ac_dir_suffix.
5598
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5599
 
else
5600
 
  ac_dir_suffix= ac_top_builddir=
5601
 
fi
 
6717
  # A ".." for each directory in $ac_dir_suffix.
 
6718
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
6719
  case $ac_top_builddir_sub in
 
6720
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6721
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
6722
  esac ;;
 
6723
esac
 
6724
ac_abs_top_builddir=$ac_pwd
 
6725
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
6726
# for backward compatibility:
 
6727
ac_top_builddir=$ac_top_build_prefix
5602
6728
 
5603
6729
case $srcdir in
5604
 
  .)  # No --srcdir option.  We are building in place.
 
6730
  .)  # We are building in place.
5605
6731
    ac_srcdir=.
5606
 
    if test -z "$ac_top_builddir"; then
5607
 
       ac_top_srcdir=.
5608
 
    else
5609
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5610
 
    fi ;;
5611
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
6732
    ac_top_srcdir=$ac_top_builddir_sub
 
6733
    ac_abs_top_srcdir=$ac_pwd ;;
 
6734
  [\\/]* | ?:[\\/]* )  # Absolute name.
5612
6735
    ac_srcdir=$srcdir$ac_dir_suffix;
5613
 
    ac_top_srcdir=$srcdir ;;
5614
 
  *) # Relative path.
5615
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5616
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5617
 
esac
5618
 
 
5619
 
# Do not use `cd foo && pwd` to compute absolute paths, because
5620
 
# the directories may not exist.
5621
 
case `pwd` in
5622
 
.) ac_abs_builddir="$ac_dir";;
5623
 
*)
5624
 
  case "$ac_dir" in
5625
 
  .) ac_abs_builddir=`pwd`;;
5626
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5627
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5628
 
  esac;;
5629
 
esac
5630
 
case $ac_abs_builddir in
5631
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5632
 
*)
5633
 
  case ${ac_top_builddir}. in
5634
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
5635
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5636
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5637
 
  esac;;
5638
 
esac
5639
 
case $ac_abs_builddir in
5640
 
.) ac_abs_srcdir=$ac_srcdir;;
5641
 
*)
5642
 
  case $ac_srcdir in
5643
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
5644
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5645
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5646
 
  esac;;
5647
 
esac
5648
 
case $ac_abs_builddir in
5649
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5650
 
*)
5651
 
  case $ac_top_srcdir in
5652
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5653
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5654
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5655
 
  esac;;
5656
 
esac
5657
 
 
 
6736
    ac_top_srcdir=$srcdir
 
6737
    ac_abs_top_srcdir=$srcdir ;;
 
6738
  *) # Relative name.
 
6739
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
6740
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
6741
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
6742
esac
 
6743
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
6744
 
 
6745
 
 
6746
  case $ac_mode in
 
6747
  :F)
 
6748
  #
 
6749
  # CONFIG_FILE
 
6750
  #
5658
6751
 
5659
6752
  case $INSTALL in
5660
6753
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5661
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
6754
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5662
6755
  esac
5663
 
 
5664
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5665
 
  # use $as_me), people would be surprised to read:
5666
 
  #    /* config.h.  Generated by config.status.  */
5667
 
  if test x"$ac_file" = x-; then
5668
 
    configure_input=
5669
 
  else
5670
 
    configure_input="$ac_file.  "
5671
 
  fi
5672
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5673
 
                                     sed 's,.*/,,'` by configure."
5674
 
 
5675
 
  # First look for the input files in the build tree, otherwise in the
5676
 
  # src tree.
5677
 
  ac_file_inputs=`IFS=:
5678
 
    for f in $ac_file_in; do
5679
 
      case $f in
5680
 
      -) echo $tmp/stdin ;;
5681
 
      [\\/$]*)
5682
 
         # Absolute (can't be DOS-style, as IFS=:)
5683
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5684
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5685
 
   { (exit 1); exit 1; }; }
5686
 
         echo "$f";;
5687
 
      *) # Relative
5688
 
         if test -f "$f"; then
5689
 
           # Build tree
5690
 
           echo "$f"
5691
 
         elif test -f "$srcdir/$f"; then
5692
 
           # Source tree
5693
 
           echo "$srcdir/$f"
5694
 
         else
5695
 
           # /dev/null tree
5696
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5697
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5698
 
   { (exit 1); exit 1; }; }
5699
 
         fi;;
5700
 
      esac
5701
 
    done` || { (exit 1); exit 1; }
5702
 
 
5703
 
  if test x"$ac_file" != x-; then
5704
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
5705
 
echo "$as_me: creating $ac_file" >&6;}
5706
 
    rm -f "$ac_file"
5707
 
  fi
5708
 
_ACEOF
 
6756
_ACEOF
 
6757
 
 
6758
cat >>$CONFIG_STATUS <<\_ACEOF
 
6759
# If the template does not know about datarootdir, expand it.
 
6760
# FIXME: This hack should be removed a few years after 2.60.
 
6761
ac_datarootdir_hack=; ac_datarootdir_seen=
 
6762
 
 
6763
case `sed -n '/datarootdir/ {
 
6764
  p
 
6765
  q
 
6766
}
 
6767
/@datadir@/p
 
6768
/@docdir@/p
 
6769
/@infodir@/p
 
6770
/@localedir@/p
 
6771
/@mandir@/p
 
6772
' $ac_file_inputs` in
 
6773
*datarootdir*) ac_datarootdir_seen=yes;;
 
6774
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
6775
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6776
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6777
_ACEOF
 
6778
cat >>$CONFIG_STATUS <<_ACEOF
 
6779
  ac_datarootdir_hack='
 
6780
  s&@datadir@&$datadir&g
 
6781
  s&@docdir@&$docdir&g
 
6782
  s&@infodir@&$infodir&g
 
6783
  s&@localedir@&$localedir&g
 
6784
  s&@mandir@&$mandir&g
 
6785
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
6786
esac
 
6787
_ACEOF
 
6788
 
 
6789
# Neutralize VPATH when `$srcdir' = `.'.
 
6790
# Shell code in configure.ac might set extrasub.
 
6791
# FIXME: do we really want to maintain this feature?
5709
6792
cat >>$CONFIG_STATUS <<_ACEOF
5710
6793
  sed "$ac_vpsub
5711
6794
$extrasub
5713
6796
cat >>$CONFIG_STATUS <<\_ACEOF
5714
6797
:t
5715
6798
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5716
 
s,@configure_input@,$configure_input,;t t
5717
 
s,@srcdir@,$ac_srcdir,;t t
5718
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5719
 
s,@top_srcdir@,$ac_top_srcdir,;t t
5720
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5721
 
s,@builddir@,$ac_builddir,;t t
5722
 
s,@abs_builddir@,$ac_abs_builddir,;t t
5723
 
s,@top_builddir@,$ac_top_builddir,;t t
5724
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5725
 
s,@INSTALL@,$ac_INSTALL,;t t
5726
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5727
 
  rm -f $tmp/stdin
5728
 
  if test x"$ac_file" != x-; then
5729
 
    mv $tmp/out $ac_file
5730
 
  else
5731
 
    cat $tmp/out
5732
 
    rm -f $tmp/out
5733
 
  fi
5734
 
 
5735
 
done
 
6799
s&@configure_input@&$configure_input&;t t
 
6800
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6801
s&@srcdir@&$ac_srcdir&;t t
 
6802
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
6803
s&@top_srcdir@&$ac_top_srcdir&;t t
 
6804
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
6805
s&@builddir@&$ac_builddir&;t t
 
6806
s&@abs_builddir@&$ac_abs_builddir&;t t
 
6807
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
6808
s&@INSTALL@&$ac_INSTALL&;t t
 
6809
$ac_datarootdir_hack
 
6810
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
6811
 
 
6812
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
6813
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
6814
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
6815
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6816
which seems to be undefined.  Please make sure it is defined." >&5
 
6817
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6818
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6819
 
 
6820
  rm -f "$tmp/stdin"
 
6821
  case $ac_file in
 
6822
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
6823
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
6824
  esac
 
6825
 ;;
 
6826
  :H)
 
6827
  #
 
6828
  # CONFIG_HEADER
 
6829
  #
5736
6830
_ACEOF
5737
 
cat >>$CONFIG_STATUS <<\_ACEOF
5738
 
 
5739
 
#
5740
 
# CONFIG_HEADER section.
5741
 
#
5742
 
 
5743
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5744
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5745
 
#
5746
 
# ac_d sets the value in "#define NAME VALUE" lines.
5747
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5748
 
ac_dB='[         ].*$,\1#\2'
 
6831
 
 
6832
# Transform confdefs.h into a sed script `conftest.defines', that
 
6833
# substitutes the proper values into config.h.in to produce config.h.
 
6834
rm -f conftest.defines conftest.tail
 
6835
# First, append a space to every undef/define line, to ease matching.
 
6836
echo 's/$/ /' >conftest.defines
 
6837
# Then, protect against being on the right side of a sed subst, or in
 
6838
# an unquoted here document, in config.status.  If some macros were
 
6839
# called several times there might be several #defines for the same
 
6840
# symbol, which is useless.  But do not sort them, since the last
 
6841
# AC_DEFINE must be honored.
 
6842
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
6843
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
6844
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
6845
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
6846
# just an empty string.
 
6847
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
6848
ac_dB='\\)[      (].*,\\1define\\2'
5749
6849
ac_dC=' '
5750
 
ac_dD=',;t'
5751
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5752
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5753
 
ac_uB='$,\1#\2define\3'
5754
 
ac_uC=' '
5755
 
ac_uD=',;t'
5756
 
 
5757
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5758
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5759
 
  case $ac_file in
5760
 
  - | *:- | *:-:* ) # input from stdin
5761
 
        cat >$tmp/stdin
5762
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5763
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5764
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5765
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5766
 
  * )   ac_file_in=$ac_file.in ;;
5767
 
  esac
5768
 
 
5769
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5770
 
echo "$as_me: creating $ac_file" >&6;}
5771
 
 
5772
 
  # First look for the input files in the build tree, otherwise in the
5773
 
  # src tree.
5774
 
  ac_file_inputs=`IFS=:
5775
 
    for f in $ac_file_in; do
5776
 
      case $f in
5777
 
      -) echo $tmp/stdin ;;
5778
 
      [\\/$]*)
5779
 
         # Absolute (can't be DOS-style, as IFS=:)
5780
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5781
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5782
 
   { (exit 1); exit 1; }; }
5783
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
5784
 
         echo "$f";;
5785
 
      *) # Relative
5786
 
         if test -f "$f"; then
5787
 
           # Build tree
5788
 
           echo "$f"
5789
 
         elif test -f "$srcdir/$f"; then
5790
 
           # Source tree
5791
 
           echo "$srcdir/$f"
5792
 
         else
5793
 
           # /dev/null tree
5794
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5795
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5796
 
   { (exit 1); exit 1; }; }
5797
 
         fi;;
5798
 
      esac
5799
 
    done` || { (exit 1); exit 1; }
5800
 
  # Remove the trailing spaces.
5801
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5802
 
 
5803
 
_ACEOF
5804
 
 
5805
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
5806
 
# `conftest.undefs', that substitutes the proper values into
5807
 
# config.h.in to produce config.h.  The first handles `#define'
5808
 
# templates, and the second `#undef' templates.
5809
 
# And first: Protect against being on the right side of a sed subst in
5810
 
# config.status.  Protect against being in an unquoted here document
5811
 
# in config.status.
5812
 
rm -f conftest.defines conftest.undefs
5813
 
# Using a here document instead of a string reduces the quoting nightmare.
5814
 
# Putting comments in sed scripts is not portable.
5815
 
#
5816
 
# `end' is used to avoid that the second main sed command (meant for
5817
 
# 0-ary CPP macros) applies to n-ary macro definitions.
5818
 
# See the Autoconf documentation for `clear'.
5819
 
cat >confdef2sed.sed <<\_ACEOF
5820
 
s/[\\&,]/\\&/g
5821
 
s,[\\$`],\\&,g
5822
 
t clear
5823
 
: clear
5824
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5825
 
t end
5826
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5827
 
: end
5828
 
_ACEOF
5829
 
# If some macros were called several times there might be several times
5830
 
# the same #defines, which is useless.  Nevertheless, we may not want to
5831
 
# sort them, since we want the *last* AC-DEFINE to be honored.
5832
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5833
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5834
 
rm -f confdef2sed.sed
5835
 
 
5836
 
# This sed command replaces #undef with comments.  This is necessary, for
 
6850
ac_dD=' ,'
 
6851
 
 
6852
uniq confdefs.h |
 
6853
  sed -n '
 
6854
        t rset
 
6855
        :rset
 
6856
        s/^[     ]*#[    ]*define[       ][      ]*//
 
6857
        t ok
 
6858
        d
 
6859
        :ok
 
6860
        s/[\\&,]/\\&/g
 
6861
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
6862
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
6863
  ' >>conftest.defines
 
6864
 
 
6865
# Remove the space that was appended to ease matching.
 
6866
# Then replace #undef with comments.  This is necessary, for
5837
6867
# example, in the case of _POSIX_SOURCE, which is predefined and required
5838
6868
# on some systems where configure will not decide to define it.
5839
 
cat >>conftest.undefs <<\_ACEOF
5840
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
6869
# (The regexp can be short, since the line contains either #define or #undef.)
 
6870
echo 's/ $//
 
6871
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
6872
 
 
6873
# Break up conftest.defines:
 
6874
ac_max_sed_lines=50
 
6875
 
 
6876
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
6877
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
6878
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
6879
# et cetera.
 
6880
ac_in='$ac_file_inputs'
 
6881
ac_out='"$tmp/out1"'
 
6882
ac_nxt='"$tmp/out2"'
 
6883
 
 
6884
while :
 
6885
do
 
6886
  # Write a here document:
 
6887
    cat >>$CONFIG_STATUS <<_ACEOF
 
6888
    # First, check the format of the line:
 
6889
    cat >"\$tmp/defines.sed" <<\\CEOF
 
6890
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
6891
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
6892
b
 
6893
:def
5841
6894
_ACEOF
5842
 
 
5843
 
# Break up conftest.defines because some shells have a limit on the size
5844
 
# of here documents, and old seds have small limits too (100 cmds).
5845
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5846
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5847
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5848
 
echo '  :' >>$CONFIG_STATUS
5849
 
rm -f conftest.tail
5850
 
while grep . conftest.defines >/dev/null
5851
 
do
5852
 
  # Write a limited-size here document to $tmp/defines.sed.
5853
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5854
 
  # Speed up: don't consider the non `#define' lines.
5855
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5856
 
  # Work around the forget-to-reset-the-flag bug.
5857
 
  echo 't clr' >>$CONFIG_STATUS
5858
 
  echo ': clr' >>$CONFIG_STATUS
5859
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
6895
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5860
6896
  echo 'CEOF
5861
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5862
 
  rm -f $tmp/in
5863
 
  mv $tmp/out $tmp/in
5864
 
' >>$CONFIG_STATUS
5865
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
6897
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
6898
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
6899
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
6900
  grep . conftest.tail >/dev/null || break
5866
6901
  rm -f conftest.defines
5867
6902
  mv conftest.tail conftest.defines
5868
6903
done
5869
 
rm -f conftest.defines
5870
 
echo '  fi # grep' >>$CONFIG_STATUS
5871
 
echo >>$CONFIG_STATUS
5872
 
 
5873
 
# Break up conftest.undefs because some shells have a limit on the size
5874
 
# of here documents, and old seds have small limits too (100 cmds).
5875
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5876
 
rm -f conftest.tail
5877
 
while grep . conftest.undefs >/dev/null
5878
 
do
5879
 
  # Write a limited-size here document to $tmp/undefs.sed.
5880
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5881
 
  # Speed up: don't consider the non `#undef'
5882
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5883
 
  # Work around the forget-to-reset-the-flag bug.
5884
 
  echo 't clr' >>$CONFIG_STATUS
5885
 
  echo ': clr' >>$CONFIG_STATUS
5886
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5887
 
  echo 'CEOF
5888
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5889
 
  rm -f $tmp/in
5890
 
  mv $tmp/out $tmp/in
5891
 
' >>$CONFIG_STATUS
5892
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5893
 
  rm -f conftest.undefs
5894
 
  mv conftest.tail conftest.undefs
5895
 
done
5896
 
rm -f conftest.undefs
5897
 
 
 
6904
rm -f conftest.defines conftest.tail
 
6905
 
 
6906
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5898
6907
cat >>$CONFIG_STATUS <<\_ACEOF
5899
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5900
 
  # use $as_me), people would be surprised to read:
5901
 
  #    /* config.h.  Generated by config.status.  */
5902
 
  if test x"$ac_file" = x-; then
5903
 
    echo "/* Generated by configure.  */" >$tmp/config.h
5904
 
  else
5905
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5906
 
  fi
5907
 
  cat $tmp/in >>$tmp/config.h
5908
 
  rm -f $tmp/in
5909
6908
  if test x"$ac_file" != x-; then
5910
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
6909
    echo "/* $configure_input  */" >"$tmp/config.h"
 
6910
    cat "$ac_result" >>"$tmp/config.h"
 
6911
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5911
6912
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5912
6913
echo "$as_me: $ac_file is unchanged" >&6;}
5913
6914
    else
5914
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5915
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5916
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5917
 
         X"$ac_file" : 'X\(//\)$' \| \
5918
 
         X"$ac_file" : 'X\(/\)' \| \
5919
 
         .     : '\(.\)' 2>/dev/null ||
5920
 
echo X"$ac_file" |
5921
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5922
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5923
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5924
 
          /^X\(\/\).*/{ s//\1/; q; }
5925
 
          s/.*/./; q'`
5926
 
      { if $as_mkdir_p; then
5927
 
    mkdir -p "$ac_dir"
5928
 
  else
5929
 
    as_dir="$ac_dir"
5930
 
    as_dirs=
5931
 
    while test ! -d "$as_dir"; do
5932
 
      as_dirs="$as_dir $as_dirs"
5933
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5934
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5935
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5936
 
         X"$as_dir" : 'X\(//\)$' \| \
5937
 
         X"$as_dir" : 'X\(/\)' \| \
5938
 
         .     : '\(.\)' 2>/dev/null ||
5939
 
echo X"$as_dir" |
5940
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5941
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5942
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5943
 
          /^X\(\/\).*/{ s//\1/; q; }
5944
 
          s/.*/./; q'`
5945
 
    done
5946
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5947
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5948
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5949
 
   { (exit 1); exit 1; }; }; }
5950
 
 
5951
6915
      rm -f $ac_file
5952
 
      mv $tmp/config.h $ac_file
 
6916
      mv "$tmp/config.h" $ac_file
5953
6917
    fi
5954
6918
  else
5955
 
    cat $tmp/config.h
5956
 
    rm -f $tmp/config.h
 
6919
    echo "/* $configure_input  */"
 
6920
    cat "$ac_result"
5957
6921
  fi
 
6922
  rm -f "$tmp/out12"
5958
6923
# Compute $ac_file's index in $config_headers.
5959
6924
_am_stamp_count=1
5960
6925
for _am_header in $config_headers :; do
5965
6930
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5966
6931
  esac
5967
6932
done
5968
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
6933
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5969
6934
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5970
6935
         X$ac_file : 'X\(//\)[^/]' \| \
5971
6936
         X$ac_file : 'X\(//\)$' \| \
5972
 
         X$ac_file : 'X\(/\)' \| \
5973
 
         .     : '\(.\)' 2>/dev/null ||
 
6937
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5974
6938
echo X$ac_file |
5975
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5976
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5977
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5978
 
          /^X\(\/\).*/{ s//\1/; q; }
5979
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
5980
 
done
5981
 
_ACEOF
5982
 
cat >>$CONFIG_STATUS <<\_ACEOF
5983
 
 
5984
 
#
5985
 
# CONFIG_COMMANDS section.
5986
 
#
5987
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5988
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5989
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5990
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5991
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5992
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5993
 
         X"$ac_dest" : 'X\(//\)$' \| \
5994
 
         X"$ac_dest" : 'X\(/\)' \| \
5995
 
         .     : '\(.\)' 2>/dev/null ||
5996
 
echo X"$ac_dest" |
5997
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5998
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5999
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6000
 
          /^X\(\/\).*/{ s//\1/; q; }
6001
 
          s/.*/./; q'`
6002
 
  { if $as_mkdir_p; then
6003
 
    mkdir -p "$ac_dir"
6004
 
  else
6005
 
    as_dir="$ac_dir"
6006
 
    as_dirs=
6007
 
    while test ! -d "$as_dir"; do
6008
 
      as_dirs="$as_dir $as_dirs"
6009
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6010
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6011
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6012
 
         X"$as_dir" : 'X\(//\)$' \| \
6013
 
         X"$as_dir" : 'X\(/\)' \| \
6014
 
         .     : '\(.\)' 2>/dev/null ||
6015
 
echo X"$as_dir" |
6016
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6017
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6018
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6019
 
          /^X\(\/\).*/{ s//\1/; q; }
6020
 
          s/.*/./; q'`
6021
 
    done
6022
 
    test ! -n "$as_dirs" || mkdir $as_dirs
6023
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6024
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6025
 
   { (exit 1); exit 1; }; }; }
6026
 
 
6027
 
  ac_builddir=.
6028
 
 
6029
 
if test "$ac_dir" != .; then
6030
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6031
 
  # A "../" for each directory in $ac_dir_suffix.
6032
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6033
 
else
6034
 
  ac_dir_suffix= ac_top_builddir=
6035
 
fi
6036
 
 
6037
 
case $srcdir in
6038
 
  .)  # No --srcdir option.  We are building in place.
6039
 
    ac_srcdir=.
6040
 
    if test -z "$ac_top_builddir"; then
6041
 
       ac_top_srcdir=.
6042
 
    else
6043
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6044
 
    fi ;;
6045
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
6046
 
    ac_srcdir=$srcdir$ac_dir_suffix;
6047
 
    ac_top_srcdir=$srcdir ;;
6048
 
  *) # Relative path.
6049
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6050
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6051
 
esac
6052
 
 
6053
 
# Do not use `cd foo && pwd` to compute absolute paths, because
6054
 
# the directories may not exist.
6055
 
case `pwd` in
6056
 
.) ac_abs_builddir="$ac_dir";;
6057
 
*)
6058
 
  case "$ac_dir" in
6059
 
  .) ac_abs_builddir=`pwd`;;
6060
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6061
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6062
 
  esac;;
6063
 
esac
6064
 
case $ac_abs_builddir in
6065
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6066
 
*)
6067
 
  case ${ac_top_builddir}. in
6068
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
6069
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6070
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6071
 
  esac;;
6072
 
esac
6073
 
case $ac_abs_builddir in
6074
 
.) ac_abs_srcdir=$ac_srcdir;;
6075
 
*)
6076
 
  case $ac_srcdir in
6077
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
6078
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6079
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6080
 
  esac;;
6081
 
esac
6082
 
case $ac_abs_builddir in
6083
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6084
 
*)
6085
 
  case $ac_top_srcdir in
6086
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6087
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6088
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6089
 
  esac;;
6090
 
esac
6091
 
 
6092
 
 
6093
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6094
 
echo "$as_me: executing $ac_dest commands" >&6;}
6095
 
  case $ac_dest in
6096
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
6939
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6940
            s//\1/
 
6941
            q
 
6942
          }
 
6943
          /^X\(\/\/\)[^/].*/{
 
6944
            s//\1/
 
6945
            q
 
6946
          }
 
6947
          /^X\(\/\/\)$/{
 
6948
            s//\1/
 
6949
            q
 
6950
          }
 
6951
          /^X\(\/\).*/{
 
6952
            s//\1/
 
6953
            q
 
6954
          }
 
6955
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6956
 ;;
 
6957
 
 
6958
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6959
echo "$as_me: executing $ac_file commands" >&6;}
 
6960
 ;;
 
6961
  esac
 
6962
 
 
6963
 
 
6964
  case $ac_file$ac_mode in
 
6965
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6097
6966
  # Strip MF so we end up with the name of the file.
6098
6967
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6099
6968
  # Check whether this is an Automake generated Makefile or not.
6103
6972
  # each Makefile.in and add a new line on top of each file to say so.
6104
6973
  # So let's grep whole file.
6105
6974
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6106
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
6975
    dirpart=`$as_dirname -- "$mf" ||
6107
6976
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6108
6977
         X"$mf" : 'X\(//\)[^/]' \| \
6109
6978
         X"$mf" : 'X\(//\)$' \| \
6110
 
         X"$mf" : 'X\(/\)' \| \
6111
 
         .     : '\(.\)' 2>/dev/null ||
 
6979
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6112
6980
echo X"$mf" |
6113
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6114
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6115
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6116
 
          /^X\(\/\).*/{ s//\1/; q; }
6117
 
          s/.*/./; q'`
 
6981
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6982
            s//\1/
 
6983
            q
 
6984
          }
 
6985
          /^X\(\/\/\)[^/].*/{
 
6986
            s//\1/
 
6987
            q
 
6988
          }
 
6989
          /^X\(\/\/\)$/{
 
6990
            s//\1/
 
6991
            q
 
6992
          }
 
6993
          /^X\(\/\).*/{
 
6994
            s//\1/
 
6995
            q
 
6996
          }
 
6997
          s/.*/./; q'`
6118
6998
  else
6119
6999
    continue
6120
7000
  fi
6136
7016
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6137
7017
    # Make sure the directory exists.
6138
7018
    test -f "$dirpart/$file" && continue
6139
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
7019
    fdir=`$as_dirname -- "$file" ||
6140
7020
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6141
7021
         X"$file" : 'X\(//\)[^/]' \| \
6142
7022
         X"$file" : 'X\(//\)$' \| \
6143
 
         X"$file" : 'X\(/\)' \| \
6144
 
         .     : '\(.\)' 2>/dev/null ||
 
7023
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6145
7024
echo X"$file" |
6146
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6147
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6148
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6149
 
          /^X\(\/\).*/{ s//\1/; q; }
6150
 
          s/.*/./; q'`
6151
 
    { if $as_mkdir_p; then
6152
 
    mkdir -p $dirpart/$fdir
6153
 
  else
6154
 
    as_dir=$dirpart/$fdir
 
7025
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7026
            s//\1/
 
7027
            q
 
7028
          }
 
7029
          /^X\(\/\/\)[^/].*/{
 
7030
            s//\1/
 
7031
            q
 
7032
          }
 
7033
          /^X\(\/\/\)$/{
 
7034
            s//\1/
 
7035
            q
 
7036
          }
 
7037
          /^X\(\/\).*/{
 
7038
            s//\1/
 
7039
            q
 
7040
          }
 
7041
          s/.*/./; q'`
 
7042
    { as_dir=$dirpart/$fdir
 
7043
  case $as_dir in #(
 
7044
  -*) as_dir=./$as_dir;;
 
7045
  esac
 
7046
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6155
7047
    as_dirs=
6156
 
    while test ! -d "$as_dir"; do
6157
 
      as_dirs="$as_dir $as_dirs"
6158
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
7048
    while :; do
 
7049
      case $as_dir in #(
 
7050
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7051
      *) as_qdir=$as_dir;;
 
7052
      esac
 
7053
      as_dirs="'$as_qdir' $as_dirs"
 
7054
      as_dir=`$as_dirname -- "$as_dir" ||
6159
7055
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6160
7056
         X"$as_dir" : 'X\(//\)[^/]' \| \
6161
7057
         X"$as_dir" : 'X\(//\)$' \| \
6162
 
         X"$as_dir" : 'X\(/\)' \| \
6163
 
         .     : '\(.\)' 2>/dev/null ||
 
7058
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6164
7059
echo X"$as_dir" |
6165
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6166
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6167
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6168
 
          /^X\(\/\).*/{ s//\1/; q; }
6169
 
          s/.*/./; q'`
 
7060
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7061
            s//\1/
 
7062
            q
 
7063
          }
 
7064
          /^X\(\/\/\)[^/].*/{
 
7065
            s//\1/
 
7066
            q
 
7067
          }
 
7068
          /^X\(\/\/\)$/{
 
7069
            s//\1/
 
7070
            q
 
7071
          }
 
7072
          /^X\(\/\).*/{
 
7073
            s//\1/
 
7074
            q
 
7075
          }
 
7076
          s/.*/./; q'`
 
7077
      test -d "$as_dir" && break
6170
7078
    done
6171
 
    test ! -n "$as_dirs" || mkdir $as_dirs
6172
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6173
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
7079
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
7080
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7081
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6174
7082
   { (exit 1); exit 1; }; }; }
6175
 
 
6176
7083
    # echo "creating $dirpart/$file"
6177
7084
    echo '# dummy' > "$dirpart/$file"
6178
7085
  done
6179
7086
done
6180
7087
 ;;
6181
 
    default-1 )
 
7088
    "default-1":C)
6182
7089
    for ac_file in $CONFIG_FILES; do
6183
7090
      # Support "outfile[:infile[:infile...]]"
6184
7091
      case "$ac_file" in
6198
7105
          /*) top_srcdir="$ac_given_srcdir" ;;
6199
7106
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
6200
7107
        esac
 
7108
        # Treat a directory as a PO directory if and only if it has a
 
7109
        # POTFILES.in file. This allows packages to have multiple PO
 
7110
        # directories under different names or in different locations.
6201
7111
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6202
7112
          rm -f "$ac_dir/POTFILES"
6203
7113
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6204
7114
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6205
7115
          POMAKEFILEDEPS="POTFILES.in"
6206
 
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
 
7116
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
6207
7117
          # on $ac_dir but don't depend on user-specified configuration
6208
7118
          # parameters.
6209
7119
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6211
7121
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
6212
7122
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6213
7123
            fi
6214
 
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
7124
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6215
7125
            # Hide the ALL_LINGUAS assigment from automake.
6216
7126
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6217
7127
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6219
7129
            # The set of available languages was given in configure.in.
6220
7130
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6221
7131
          fi
 
7132
          # Compute POFILES
 
7133
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
7134
          # Compute UPDATEPOFILES
 
7135
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
7136
          # Compute DUMMYPOFILES
 
7137
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
7138
          # Compute GMOFILES
 
7139
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
6222
7140
          case "$ac_given_srcdir" in
6223
7141
            .) srcdirpre= ;;
6224
7142
            *) srcdirpre='$(srcdir)/' ;;
6225
7143
          esac
6226
7144
          POFILES=
6227
 
          GMOFILES=
6228
7145
          UPDATEPOFILES=
6229
7146
          DUMMYPOFILES=
 
7147
          GMOFILES=
6230
7148
          for lang in $ALL_LINGUAS; do
6231
7149
            POFILES="$POFILES $srcdirpre$lang.po"
6232
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6233
7150
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6234
7151
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
7152
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6235
7153
          done
6236
7154
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
6237
7155
          # environment variable.
6266
7184
            done
6267
7185
          fi
6268
7186
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6269
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
7187
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
6270
7188
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6271
7189
            if test -f "$f"; then
6272
7190
              case "$f" in
6279
7197
        ;;
6280
7198
      esac
6281
7199
    done ;;
 
7200
 
6282
7201
  esac
6283
 
done
6284
 
_ACEOF
 
7202
done # for ac_tag
6285
7203
 
6286
 
cat >>$CONFIG_STATUS <<\_ACEOF
6287
7204
 
6288
7205
{ (exit 0); exit 0; }
6289
7206
_ACEOF