~ubuntu-branches/ubuntu/hardy/steam/hardy

« back to all changes in this revision

Viewing changes to sources/_XML/configure

  • Committer: Bazaar Package Importer
  • Author(s): Alain Schroeder
  • Date: 2006-11-21 16:03:12 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061121160312-nf96y6nihzsyd2uv
Tags: 2.2.31-3
Add patch to prevent inconsistent data after shutdown.

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.
 
3
# Generated by GNU Autoconf 2.60a.
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=
269
559
PACKAGE_TARNAME=
272
562
PACKAGE_BUGREPORT=
273
563
 
274
564
ac_unique_file="xml_main.c"
275
 
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 XML_CFLAGS PIKE_INCLUDE_PREFIX PIKE PIKE_VERSION installprg LIBXML2_INCLUDE LIBXSL_INCLUDE LIBDIR CFLAGS LDSHARED LDFLAGS LIBOBJS LTLIBOBJS'
 
565
ac_subst_vars='SHELL
 
566
PATH_SEPARATOR
 
567
PACKAGE_NAME
 
568
PACKAGE_TARNAME
 
569
PACKAGE_VERSION
 
570
PACKAGE_STRING
 
571
PACKAGE_BUGREPORT
 
572
exec_prefix
 
573
prefix
 
574
program_transform_name
 
575
bindir
 
576
sbindir
 
577
libexecdir
 
578
datarootdir
 
579
datadir
 
580
sysconfdir
 
581
sharedstatedir
 
582
localstatedir
 
583
includedir
 
584
oldincludedir
 
585
docdir
 
586
infodir
 
587
htmldir
 
588
dvidir
 
589
pdfdir
 
590
psdir
 
591
libdir
 
592
localedir
 
593
mandir
 
594
DEFS
 
595
ECHO_C
 
596
ECHO_N
 
597
ECHO_T
 
598
LIBS
 
599
build_alias
 
600
host_alias
 
601
target_alias
 
602
XML_CFLAGS
 
603
PIKE_INCLUDE_PREFIX
 
604
PIKE
 
605
PIKE_VERSION
 
606
installprg
 
607
LIBXML2_INCLUDE
 
608
LIBXSL_INCLUDE
 
609
LIBDIR
 
610
CFLAGS
 
611
LDSHARED
 
612
LDFLAGS
 
613
LIBOBJS
 
614
LTLIBOBJS'
276
615
ac_subst_files=''
 
616
      ac_precious_vars='build_alias
 
617
host_alias
 
618
target_alias'
 
619
 
277
620
 
278
621
# Initialize some variables set by options.
279
622
ac_init_help=
300
643
# and all the variables that are supposed to be based on exec_prefix
301
644
# by default will actually change.
302
645
# Use braces instead of parens because sh, perl, etc. also accept them.
 
646
# (The list follows the same order as the GNU Coding Standards.)
303
647
bindir='${exec_prefix}/bin'
304
648
sbindir='${exec_prefix}/sbin'
305
649
libexecdir='${exec_prefix}/libexec'
306
 
datadir='${prefix}/share'
 
650
datarootdir='${prefix}/share'
 
651
datadir='${datarootdir}'
307
652
sysconfdir='${prefix}/etc'
308
653
sharedstatedir='${prefix}/com'
309
654
localstatedir='${prefix}/var'
310
 
libdir='${exec_prefix}/lib'
311
655
includedir='${prefix}/include'
312
656
oldincludedir='/usr/include'
313
 
infodir='${prefix}/info'
314
 
mandir='${prefix}/man'
 
657
docdir='${datarootdir}/doc/${PACKAGE}'
 
658
infodir='${datarootdir}/info'
 
659
htmldir='${docdir}'
 
660
dvidir='${docdir}'
 
661
pdfdir='${docdir}'
 
662
psdir='${docdir}'
 
663
libdir='${exec_prefix}/lib'
 
664
localedir='${datarootdir}/locale'
 
665
mandir='${datarootdir}/man'
315
666
 
316
667
ac_prev=
 
668
ac_dashdash=
317
669
for ac_option
318
670
do
319
671
  # If the previous option needs an argument, assign it.
320
672
  if test -n "$ac_prev"; then
321
 
    eval "$ac_prev=\$ac_option"
 
673
    eval $ac_prev=\$ac_option
322
674
    ac_prev=
323
675
    continue
324
676
  fi
325
677
 
326
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
678
  case $ac_option in
 
679
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
680
  *)    ac_optarg=yes ;;
 
681
  esac
327
682
 
328
683
  # Accept the important Cygnus configure options, so we can diagnose typos.
329
684
 
330
 
  case $ac_option in
 
685
  case $ac_dashdash$ac_option in
 
686
  --)
 
687
    ac_dashdash=yes ;;
331
688
 
332
689
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333
690
    ac_prev=bindir ;;
349
706
  --config-cache | -C)
350
707
    cache_file=config.cache ;;
351
708
 
352
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
709
  -datadir | --datadir | --datadi | --datad)
353
710
    ac_prev=datadir ;;
354
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355
 
  | --da=*)
 
711
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
356
712
    datadir=$ac_optarg ;;
357
713
 
 
714
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
715
  | --dataroo | --dataro | --datar)
 
716
    ac_prev=datarootdir ;;
 
717
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
718
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
719
    datarootdir=$ac_optarg ;;
 
720
 
358
721
  -disable-* | --disable-*)
359
722
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360
723
    # Reject names that are not valid shell variable names.
362
725
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363
726
   { (exit 1); exit 1; }; }
364
727
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365
 
    eval "enable_$ac_feature=no" ;;
 
728
    eval enable_$ac_feature=no ;;
 
729
 
 
730
  -docdir | --docdir | --docdi | --doc | --do)
 
731
    ac_prev=docdir ;;
 
732
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
733
    docdir=$ac_optarg ;;
 
734
 
 
735
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
736
    ac_prev=dvidir ;;
 
737
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
738
    dvidir=$ac_optarg ;;
366
739
 
367
740
  -enable-* | --enable-*)
368
741
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371
744
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372
745
   { (exit 1); exit 1; }; }
373
746
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374
 
    case $ac_option in
375
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376
 
      *) ac_optarg=yes ;;
377
 
    esac
378
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
747
    eval enable_$ac_feature=\$ac_optarg ;;
379
748
 
380
749
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381
750
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
402
771
  -host=* | --host=* | --hos=* | --ho=*)
403
772
    host_alias=$ac_optarg ;;
404
773
 
 
774
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
775
    ac_prev=htmldir ;;
 
776
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
777
  | --ht=*)
 
778
    htmldir=$ac_optarg ;;
 
779
 
405
780
  -includedir | --includedir | --includedi | --included | --include \
406
781
  | --includ | --inclu | --incl | --inc)
407
782
    ac_prev=includedir ;;
426
801
  | --libexe=* | --libex=* | --libe=*)
427
802
    libexecdir=$ac_optarg ;;
428
803
 
 
804
  -localedir | --localedir | --localedi | --localed | --locale)
 
805
    ac_prev=localedir ;;
 
806
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
807
    localedir=$ac_optarg ;;
 
808
 
429
809
  -localstatedir | --localstatedir | --localstatedi | --localstated \
430
 
  | --localstate | --localstat | --localsta | --localst \
431
 
  | --locals | --local | --loca | --loc | --lo)
 
810
  | --localstate | --localstat | --localsta | --localst | --locals)
432
811
    ac_prev=localstatedir ;;
433
812
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
813
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
436
814
    localstatedir=$ac_optarg ;;
437
815
 
438
816
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
497
875
  | --progr-tra=* | --program-tr=* | --program-t=*)
498
876
    program_transform_name=$ac_optarg ;;
499
877
 
 
878
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
879
    ac_prev=pdfdir ;;
 
880
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
881
    pdfdir=$ac_optarg ;;
 
882
 
 
883
  -psdir | --psdir | --psdi | --psd | --ps)
 
884
    ac_prev=psdir ;;
 
885
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
886
    psdir=$ac_optarg ;;
 
887
 
500
888
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
889
  | -silent | --silent | --silen | --sile | --sil)
502
890
    silent=yes ;;
553
941
      { echo "$as_me: error: invalid package name: $ac_package" >&2
554
942
   { (exit 1); exit 1; }; }
555
943
    ac_package=`echo $ac_package| sed 's/-/_/g'`
556
 
    case $ac_option in
557
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558
 
      *) ac_optarg=yes ;;
559
 
    esac
560
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
944
    eval with_$ac_package=\$ac_optarg ;;
561
945
 
562
946
  -without-* | --without-*)
563
947
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566
950
      { echo "$as_me: error: invalid package name: $ac_package" >&2
567
951
   { (exit 1); exit 1; }; }
568
952
    ac_package=`echo $ac_package | sed 's/-/_/g'`
569
 
    eval "with_$ac_package=no" ;;
 
953
    eval with_$ac_package=no ;;
570
954
 
571
955
  --x)
572
956
    # Obsolete; use --with-x.
597
981
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598
982
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599
983
   { (exit 1); exit 1; }; }
600
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601
 
    eval "$ac_envvar='$ac_optarg'"
 
984
    eval $ac_envvar=\$ac_optarg
602
985
    export $ac_envvar ;;
603
986
 
604
987
  *)
618
1001
   { (exit 1); exit 1; }; }
619
1002
fi
620
1003
 
621
 
# Be sure to have absolute paths.
622
 
for ac_var in exec_prefix prefix
623
 
do
624
 
  eval ac_val=$`echo $ac_var`
625
 
  case $ac_val in
626
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628
 
   { (exit 1); exit 1; }; };;
629
 
  esac
630
 
done
631
 
 
632
 
# Be sure to have absolute paths.
633
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634
 
              localstatedir libdir includedir oldincludedir infodir mandir
635
 
do
636
 
  eval ac_val=$`echo $ac_var`
637
 
  case $ac_val in
638
 
    [\\/$]* | ?:[\\/]* ) ;;
639
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640
 
   { (exit 1); exit 1; }; };;
641
 
  esac
 
1004
# Be sure to have absolute directory names.
 
1005
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1006
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1007
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1008
                libdir localedir mandir
 
1009
do
 
1010
  eval ac_val=\$$ac_var
 
1011
  case $ac_val in
 
1012
    [\\/$]* | ?:[\\/]* )  continue;;
 
1013
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1014
  esac
 
1015
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1016
   { (exit 1); exit 1; }; }
642
1017
done
643
1018
 
644
1019
# There might be people who depend on the old broken behavior: `$host'
665
1040
test "$silent" = yes && exec 6>/dev/null
666
1041
 
667
1042
 
 
1043
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1044
ac_ls_di=`ls -di .` &&
 
1045
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1046
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1047
   { (exit 1); exit 1; }; }
 
1048
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1049
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1050
   { (exit 1); exit 1; }; }
 
1051
 
 
1052
 
668
1053
# Find the source files, if location was not specified.
669
1054
if test -z "$srcdir"; then
670
1055
  ac_srcdir_defaulted=yes
671
 
  # Try the directory containing this script, then its parent.
672
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1056
  # Try the directory containing this script, then the parent directory.
 
1057
  ac_confdir=`$as_dirname -- "$0" ||
673
1058
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
1059
         X"$0" : 'X\(//\)[^/]' \| \
675
1060
         X"$0" : 'X\(//\)$' \| \
676
 
         X"$0" : 'X\(/\)' \| \
677
 
         .     : '\(.\)' 2>/dev/null ||
 
1061
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
678
1062
echo X"$0" |
679
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
 
          /^X\(\/\/\)$/{ s//\1/; q; }
682
 
          /^X\(\/\).*/{ s//\1/; q; }
683
 
          s/.*/./; q'`
 
1063
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1064
            s//\1/
 
1065
            q
 
1066
          }
 
1067
          /^X\(\/\/\)[^/].*/{
 
1068
            s//\1/
 
1069
            q
 
1070
          }
 
1071
          /^X\(\/\/\)$/{
 
1072
            s//\1/
 
1073
            q
 
1074
          }
 
1075
          /^X\(\/\).*/{
 
1076
            s//\1/
 
1077
            q
 
1078
          }
 
1079
          s/.*/./; q'`
684
1080
  srcdir=$ac_confdir
685
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1081
  if test ! -r "$srcdir/$ac_unique_file"; then
686
1082
    srcdir=..
687
1083
  fi
688
1084
else
689
1085
  ac_srcdir_defaulted=no
690
1086
fi
691
 
if test ! -r $srcdir/$ac_unique_file; then
692
 
  if test "$ac_srcdir_defaulted" = yes; then
693
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
 
   { (exit 1); exit 1; }; }
695
 
  else
696
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
 
   { (exit 1); exit 1; }; }
698
 
  fi
699
 
fi
700
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
 
   { (exit 1); exit 1; }; }
703
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
 
ac_env_build_alias_set=${build_alias+set}
705
 
ac_env_build_alias_value=$build_alias
706
 
ac_cv_env_build_alias_set=${build_alias+set}
707
 
ac_cv_env_build_alias_value=$build_alias
708
 
ac_env_host_alias_set=${host_alias+set}
709
 
ac_env_host_alias_value=$host_alias
710
 
ac_cv_env_host_alias_set=${host_alias+set}
711
 
ac_cv_env_host_alias_value=$host_alias
712
 
ac_env_target_alias_set=${target_alias+set}
713
 
ac_env_target_alias_value=$target_alias
714
 
ac_cv_env_target_alias_set=${target_alias+set}
715
 
ac_cv_env_target_alias_value=$target_alias
 
1087
if test ! -r "$srcdir/$ac_unique_file"; then
 
1088
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1089
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1090
   { (exit 1); exit 1; }; }
 
1091
fi
 
1092
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1093
ac_abs_confdir=`(
 
1094
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1095
   { (exit 1); exit 1; }; }
 
1096
        pwd)`
 
1097
# When building in place, set srcdir=.
 
1098
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1099
  srcdir=.
 
1100
fi
 
1101
# Remove unnecessary trailing slashes from srcdir.
 
1102
# Double slashes in file names in object file debugging info
 
1103
# mess up M-x gdb in Emacs.
 
1104
case $srcdir in
 
1105
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1106
esac
 
1107
for ac_var in $ac_precious_vars; do
 
1108
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1109
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1110
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1111
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1112
done
716
1113
 
717
1114
#
718
1115
# Report the --help message.
741
1138
  -n, --no-create         do not create output files
742
1139
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
743
1140
 
744
 
_ACEOF
745
 
 
746
 
  cat <<_ACEOF
747
1141
Installation directories:
748
1142
  --prefix=PREFIX         install architecture-independent files in PREFIX
749
1143
                          [$ac_default_prefix]
761
1155
  --bindir=DIR           user executables [EPREFIX/bin]
762
1156
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
763
1157
  --libexecdir=DIR       program executables [EPREFIX/libexec]
764
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
765
1158
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
766
1159
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
767
1160
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
768
1161
  --libdir=DIR           object code libraries [EPREFIX/lib]
769
1162
  --includedir=DIR       C header files [PREFIX/include]
770
1163
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
771
 
  --infodir=DIR          info documentation [PREFIX/info]
772
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1164
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1165
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1166
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1167
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1168
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1169
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1170
  --htmldir=DIR          html documentation [DOCDIR]
 
1171
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1172
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1173
  --psdir=DIR            ps documentation [DOCDIR]
773
1174
_ACEOF
774
1175
 
775
1176
  cat <<\_ACEOF
781
1182
  cat <<\_ACEOF
782
1183
 
783
1184
_ACEOF
 
1185
ac_status=$?
784
1186
fi
785
1187
 
786
1188
if test "$ac_init_help" = "recursive"; then
787
1189
  # If there are subdirs, report their specific --help.
788
 
  ac_popdir=`pwd`
789
1190
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
790
 
    test -d $ac_dir || continue
 
1191
    test -d "$ac_dir" || continue
791
1192
    ac_builddir=.
792
1193
 
793
 
if test "$ac_dir" != .; then
 
1194
case "$ac_dir" in
 
1195
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1196
*)
794
1197
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
795
 
  # A "../" for each directory in $ac_dir_suffix.
796
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
797
 
else
798
 
  ac_dir_suffix= ac_top_builddir=
799
 
fi
 
1198
  # A ".." for each directory in $ac_dir_suffix.
 
1199
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1200
  case $ac_top_builddir_sub in
 
1201
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1202
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1203
  esac ;;
 
1204
esac
 
1205
ac_abs_top_builddir=$ac_pwd
 
1206
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1207
# for backward compatibility:
 
1208
ac_top_builddir=$ac_top_build_prefix
800
1209
 
801
1210
case $srcdir in
802
 
  .)  # No --srcdir option.  We are building in place.
 
1211
  .)  # We are building in place.
803
1212
    ac_srcdir=.
804
 
    if test -z "$ac_top_builddir"; then
805
 
       ac_top_srcdir=.
806
 
    else
807
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
808
 
    fi ;;
809
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1213
    ac_top_srcdir=$ac_top_builddir_sub
 
1214
    ac_abs_top_srcdir=$ac_pwd ;;
 
1215
  [\\/]* | ?:[\\/]* )  # Absolute name.
810
1216
    ac_srcdir=$srcdir$ac_dir_suffix;
811
 
    ac_top_srcdir=$srcdir ;;
812
 
  *) # Relative path.
813
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
814
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
815
 
esac
816
 
 
817
 
# Do not use `cd foo && pwd` to compute absolute paths, because
818
 
# the directories may not exist.
819
 
case `pwd` in
820
 
.) ac_abs_builddir="$ac_dir";;
821
 
*)
822
 
  case "$ac_dir" in
823
 
  .) ac_abs_builddir=`pwd`;;
824
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
825
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
826
 
  esac;;
827
 
esac
828
 
case $ac_abs_builddir in
829
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
830
 
*)
831
 
  case ${ac_top_builddir}. in
832
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
833
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
834
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
835
 
  esac;;
836
 
esac
837
 
case $ac_abs_builddir in
838
 
.) ac_abs_srcdir=$ac_srcdir;;
839
 
*)
840
 
  case $ac_srcdir in
841
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
842
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
843
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
844
 
  esac;;
845
 
esac
846
 
case $ac_abs_builddir in
847
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
848
 
*)
849
 
  case $ac_top_srcdir in
850
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
851
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
852
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
853
 
  esac;;
854
 
esac
855
 
 
856
 
    cd $ac_dir
857
 
    # Check for guested configure; otherwise get Cygnus style configure.
858
 
    if test -f $ac_srcdir/configure.gnu; then
859
 
      echo
860
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
861
 
    elif test -f $ac_srcdir/configure; then
862
 
      echo
863
 
      $SHELL $ac_srcdir/configure  --help=recursive
864
 
    elif test -f $ac_srcdir/configure.ac ||
865
 
           test -f $ac_srcdir/configure.in; then
866
 
      echo
867
 
      $ac_configure --help
 
1217
    ac_top_srcdir=$srcdir
 
1218
    ac_abs_top_srcdir=$srcdir ;;
 
1219
  *) # Relative name.
 
1220
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1221
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1222
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1223
esac
 
1224
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1225
 
 
1226
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1227
    # Check for guested configure.
 
1228
    if test -f "$ac_srcdir/configure.gnu"; then
 
1229
      echo &&
 
1230
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1231
    elif test -f "$ac_srcdir/configure"; then
 
1232
      echo &&
 
1233
      $SHELL "$ac_srcdir/configure" --help=recursive
868
1234
    else
869
1235
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
870
 
    fi
871
 
    cd "$ac_popdir"
 
1236
    fi || ac_status=$?
 
1237
    cd "$ac_pwd" || { ac_status=$?; break; }
872
1238
  done
873
1239
fi
874
1240
 
875
 
test -n "$ac_init_help" && exit 0
 
1241
test -n "$ac_init_help" && exit $ac_status
876
1242
if $ac_init_version; then
877
1243
  cat <<\_ACEOF
 
1244
configure
 
1245
generated by GNU Autoconf 2.60a
878
1246
 
879
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1247
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1248
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
880
1249
This configure script is free software; the Free Software Foundation
881
1250
gives unlimited permission to copy, distribute and modify it.
882
1251
_ACEOF
883
 
  exit 0
 
1252
  exit
884
1253
fi
885
 
exec 5>config.log
886
 
cat >&5 <<_ACEOF
 
1254
cat >config.log <<_ACEOF
887
1255
This file contains any messages produced by compilers while
888
1256
running configure, to aid debugging if configure makes a mistake.
889
1257
 
890
1258
It was created by $as_me, which was
891
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1259
generated by GNU Autoconf 2.60a.  Invocation command line was
892
1260
 
893
1261
  $ $0 $@
894
1262
 
895
1263
_ACEOF
 
1264
exec 5>>config.log
896
1265
{
897
1266
cat <<_ASUNAME
898
1267
## --------- ##
911
1280
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
912
1281
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
913
1282
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
914
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1283
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
915
1284
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
916
1285
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
917
1286
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
925
1294
  test -z "$as_dir" && as_dir=.
926
1295
  echo "PATH: $as_dir"
927
1296
done
 
1297
IFS=$as_save_IFS
928
1298
 
929
1299
} >&5
930
1300
 
946
1316
ac_configure_args=
947
1317
ac_configure_args0=
948
1318
ac_configure_args1=
949
 
ac_sep=
950
1319
ac_must_keep_next=false
951
1320
for ac_pass in 1 2
952
1321
do
957
1326
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958
1327
    | -silent | --silent | --silen | --sile | --sil)
959
1328
      continue ;;
960
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1329
    *\'*)
961
1330
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
962
1331
    esac
963
1332
    case $ac_pass in
979
1348
          -* ) ac_must_keep_next=true ;;
980
1349
        esac
981
1350
      fi
982
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
983
 
      # Get rid of the leading space.
984
 
      ac_sep=" "
 
1351
      ac_configure_args="$ac_configure_args '$ac_arg'"
985
1352
      ;;
986
1353
    esac
987
1354
  done
992
1359
# When interrupted or exit'd, cleanup temporary files, and complete
993
1360
# config.log.  We remove comments because anyway the quotes in there
994
1361
# would cause problems or look ugly.
995
 
# WARNING: Be sure not to use single quotes in there, as some shells,
996
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1362
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1363
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
997
1364
trap 'exit_status=$?
998
1365
  # Save into config.log some information that might help in debugging.
999
1366
  {
1006
1373
_ASBOX
1007
1374
    echo
1008
1375
    # The following way of writing the cache mishandles newlines in values,
1009
 
{
 
1376
(
 
1377
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1378
    eval ac_val=\$$ac_var
 
1379
    case $ac_val in #(
 
1380
    *${as_nl}*)
 
1381
      case $ac_var in #(
 
1382
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1383
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1384
      esac
 
1385
      case $ac_var in #(
 
1386
      _ | IFS | as_nl) ;; #(
 
1387
      *) $as_unset $ac_var ;;
 
1388
      esac ;;
 
1389
    esac
 
1390
  done
1010
1391
  (set) 2>&1 |
1011
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1012
 
    *ac_space=\ *)
 
1392
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1393
    *${as_nl}ac_space=\ *)
1013
1394
      sed -n \
1014
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1015
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1016
 
      ;;
 
1395
        "s/'\''/'\''\\\\'\'''\''/g;
 
1396
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1397
      ;; #(
1017
1398
    *)
1018
 
      sed -n \
1019
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1399
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1020
1400
      ;;
1021
 
    esac;
1022
 
}
 
1401
    esac |
 
1402
    sort
 
1403
)
1023
1404
    echo
1024
1405
 
1025
1406
    cat <<\_ASBOX
1030
1411
    echo
1031
1412
    for ac_var in $ac_subst_vars
1032
1413
    do
1033
 
      eval ac_val=$`echo $ac_var`
1034
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1414
      eval ac_val=\$$ac_var
 
1415
      case $ac_val in
 
1416
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1417
      esac
 
1418
      echo "$ac_var='\''$ac_val'\''"
1035
1419
    done | sort
1036
1420
    echo
1037
1421
 
1038
1422
    if test -n "$ac_subst_files"; then
1039
1423
      cat <<\_ASBOX
1040
 
## ------------- ##
1041
 
## Output files. ##
1042
 
## ------------- ##
 
1424
## ------------------- ##
 
1425
## File substitutions. ##
 
1426
## ------------------- ##
1043
1427
_ASBOX
1044
1428
      echo
1045
1429
      for ac_var in $ac_subst_files
1046
1430
      do
1047
 
        eval ac_val=$`echo $ac_var`
1048
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1431
        eval ac_val=\$$ac_var
 
1432
        case $ac_val in
 
1433
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1434
        esac
 
1435
        echo "$ac_var='\''$ac_val'\''"
1049
1436
      done | sort
1050
1437
      echo
1051
1438
    fi
1057
1444
## ----------- ##
1058
1445
_ASBOX
1059
1446
      echo
1060
 
      sed "/^$/d" confdefs.h | sort
 
1447
      cat confdefs.h
1061
1448
      echo
1062
1449
    fi
1063
1450
    test "$ac_signal" != 0 &&
1064
1451
      echo "$as_me: caught signal $ac_signal"
1065
1452
    echo "$as_me: exit $exit_status"
1066
1453
  } >&5
1067
 
  rm -f core *.core &&
1068
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1454
  rm -f core *.core core.conftest.* &&
 
1455
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1069
1456
    exit $exit_status
1070
 
     ' 0
 
1457
' 0
1071
1458
for ac_signal in 1 2 13 15; do
1072
1459
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1073
1460
done
1074
1461
ac_signal=0
1075
1462
 
1076
1463
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1077
 
rm -rf conftest* confdefs.h
1078
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1079
 
echo >confdefs.h
 
1464
rm -f -r conftest* confdefs.h
1080
1465
 
1081
1466
# Predefined preprocessor variables.
1082
1467
 
1107
1492
 
1108
1493
# Let the site file select an alternate cache file if it wants to.
1109
1494
# Prefer explicitly selected file to automatically selected ones.
1110
 
if test -z "$CONFIG_SITE"; then
1111
 
  if test "x$prefix" != xNONE; then
1112
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1113
 
  else
1114
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1115
 
  fi
 
1495
if test -n "$CONFIG_SITE"; then
 
1496
  set x "$CONFIG_SITE"
 
1497
elif test "x$prefix" != xNONE; then
 
1498
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1499
else
 
1500
  set x "$ac_default_prefix/share/config.site" \
 
1501
        "$ac_default_prefix/etc/config.site"
1116
1502
fi
1117
 
for ac_site_file in $CONFIG_SITE; do
 
1503
shift
 
1504
for ac_site_file
 
1505
do
1118
1506
  if test -r "$ac_site_file"; then
1119
1507
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1120
1508
echo "$as_me: loading site script $ac_site_file" >&6;}
1130
1518
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1131
1519
echo "$as_me: loading cache $cache_file" >&6;}
1132
1520
    case $cache_file in
1133
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1134
 
      *)                      . ./$cache_file;;
 
1521
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1522
      *)                      . "./$cache_file";;
1135
1523
    esac
1136
1524
  fi
1137
1525
else
1143
1531
# Check that the precious variables saved in the cache have kept the same
1144
1532
# value.
1145
1533
ac_cache_corrupted=false
1146
 
for ac_var in `(set) 2>&1 |
1147
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1534
for ac_var in $ac_precious_vars; do
1148
1535
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1149
1536
  eval ac_new_set=\$ac_env_${ac_var}_set
1150
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1151
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1537
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1538
  eval ac_new_val=\$ac_env_${ac_var}_value
1152
1539
  case $ac_old_set,$ac_new_set in
1153
1540
    set,)
1154
1541
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1173
1560
  # Pass precious variables to config.status.
1174
1561
  if test "$ac_new_set" = set; then
1175
1562
    case $ac_new_val in
1176
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1177
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1563
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1178
1564
    *) ac_arg=$ac_var=$ac_new_val ;;
1179
1565
    esac
1180
1566
    case " $ac_configure_args " in
1191
1577
   { (exit 1); exit 1; }; }
1192
1578
fi
1193
1579
 
 
1580
 
 
1581
 
 
1582
 
 
1583
 
 
1584
 
 
1585
 
 
1586
 
 
1587
 
 
1588
 
 
1589
 
 
1590
 
 
1591
 
 
1592
 
 
1593
 
 
1594
 
 
1595
 
1194
1596
ac_ext=c
1195
1597
ac_cpp='$CPP $CPPFLAGS'
1196
1598
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1198
1600
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1199
1601
 
1200
1602
 
1201
 
 
1202
 
 
1203
 
 
1204
 
 
1205
 
 
1206
 
 
1207
 
 
1208
 
 
1209
 
 
1210
 
 
1211
 
 
1212
 
 
1213
 
 
1214
 
 
1215
 
 
1216
 
 
1217
 
 
1218
 
          ac_config_headers="$ac_config_headers xml_config.h"
1219
 
 
1220
 
 
1221
 
 
1222
 
 
1223
 
 
1224
 
 
1225
 
 
1226
 
 
1227
 
 
1228
 
 
1229
 
 
1230
 
 
1231
 
 
1232
 
 
1233
 
          ac_config_files="$ac_config_files Makefile"
 
1603
ac_config_headers="$ac_config_headers xml_config.h"
 
1604
 
 
1605
 
 
1606
 
 
1607
 
 
1608
 
 
1609
 
 
1610
 
 
1611
 
 
1612
 
 
1613
 
 
1614
 
 
1615
 
 
1616
 
 
1617
 
 
1618
ac_config_files="$ac_config_files Makefile"
 
1619
 
1234
1620
cat >confcache <<\_ACEOF
1235
1621
# This file is a shell script that caches the results of configure
1236
1622
# tests run on this system so they can be shared between configure
1249
1635
 
1250
1636
# The following way of writing the cache mishandles newlines in values,
1251
1637
# but we know of no workaround that is simple, portable, and efficient.
1252
 
# So, don't put newlines in cache variables' values.
 
1638
# So, we kill variables containing newlines.
1253
1639
# Ultrix sh set writes to stderr and can't be redirected directly,
1254
1640
# and sets the high bit in the cache file unless we assign to the vars.
1255
 
{
 
1641
(
 
1642
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
1643
    eval ac_val=\$$ac_var
 
1644
    case $ac_val in #(
 
1645
    *${as_nl}*)
 
1646
      case $ac_var in #(
 
1647
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1648
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1649
      esac
 
1650
      case $ac_var in #(
 
1651
      _ | IFS | as_nl) ;; #(
 
1652
      *) $as_unset $ac_var ;;
 
1653
      esac ;;
 
1654
    esac
 
1655
  done
 
1656
 
1256
1657
  (set) 2>&1 |
1257
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1258
 
    *ac_space=\ *)
 
1658
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
1659
    *${as_nl}ac_space=\ *)
1259
1660
      # `set' does not quote correctly, so add quotes (double-quote
1260
1661
      # substitution turns \\\\ into \\, and sed turns \\ into \).
1261
1662
      sed -n \
1262
1663
        "s/'/'\\\\''/g;
1263
1664
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1264
 
      ;;
 
1665
      ;; #(
1265
1666
    *)
1266
1667
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1267
 
      sed -n \
1268
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1668
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1269
1669
      ;;
1270
 
    esac;
1271
 
} |
 
1670
    esac |
 
1671
    sort
 
1672
) |
1272
1673
  sed '
 
1674
     /^ac_cv_env_/b end
1273
1675
     t clear
1274
 
     : clear
 
1676
     :clear
1275
1677
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1276
1678
     t end
1277
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1278
 
     : end' >>confcache
1279
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1280
 
  if test -w $cache_file; then
1281
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
1679
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
1680
     :end' >>confcache
 
1681
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
1682
  if test -w "$cache_file"; then
 
1683
    test "x$cache_file" != "x/dev/null" &&
 
1684
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
1685
echo "$as_me: updating cache $cache_file" >&6;}
1282
1686
    cat confcache >$cache_file
1283
1687
  else
1284
 
    echo "not updating unwritable cache $cache_file"
 
1688
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
1689
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1285
1690
  fi
1286
1691
fi
1287
1692
rm -f confcache
1290
1695
# Let make expand exec_prefix.
1291
1696
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1292
1697
 
1293
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1294
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1295
 
# trailing colons and then remove the whole line if VPATH becomes empty
1296
 
# (actually we leave an empty line to preserve line numbers).
1297
 
if test "x$srcdir" = x.; then
1298
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
1299
 
s/:*\$(srcdir):*/:/;
1300
 
s/:*\${srcdir}:*/:/;
1301
 
s/:*@srcdir@:*/:/;
1302
 
s/^\([^=]*=[     ]*\):*/\1/;
1303
 
s/:*$//;
1304
 
s/^[^=]*=[       ]*$//;
1305
 
}'
1306
 
fi
1307
 
 
1308
1698
DEFS=-DHAVE_CONFIG_H
1309
1699
 
1310
1700
ac_libobjs=
1311
1701
ac_ltlibobjs=
1312
1702
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1313
1703
  # 1. Remove the extension, and $U if already installed.
1314
 
  ac_i=`echo "$ac_i" |
1315
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1316
 
  # 2. Add them.
1317
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1318
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
1704
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
1705
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
1706
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
1707
  #    will be set to the directory where LIBOBJS objects are built.
 
1708
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
1709
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1319
1710
done
1320
1711
LIBOBJS=$ac_libobjs
1321
1712
 
1353
1744
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1354
1745
  # is contrary to our usage.  Disable this feature.
1355
1746
  alias -g '${1+"$@"}'='"$@"'
1356
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1357
 
  set -o posix
 
1747
  setopt NO_GLOB_SUBST
 
1748
else
 
1749
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1358
1750
fi
 
1751
BIN_SH=xpg4; export BIN_SH # for Tru64
1359
1752
DUALCASE=1; export DUALCASE # for MKS sh
1360
1753
 
 
1754
 
 
1755
# PATH needs CR
 
1756
# Avoid depending upon Character Ranges.
 
1757
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
1758
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
1759
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
1760
as_cr_digits='0123456789'
 
1761
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
1762
 
 
1763
# The user is always right.
 
1764
if test "${PATH_SEPARATOR+set}" != set; then
 
1765
  echo "#! /bin/sh" >conf$$.sh
 
1766
  echo  "exit 0"   >>conf$$.sh
 
1767
  chmod +x conf$$.sh
 
1768
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
1769
    PATH_SEPARATOR=';'
 
1770
  else
 
1771
    PATH_SEPARATOR=:
 
1772
  fi
 
1773
  rm -f conf$$.sh
 
1774
fi
 
1775
 
1361
1776
# Support unset when possible.
1362
1777
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1363
1778
  as_unset=unset
1366
1781
fi
1367
1782
 
1368
1783
 
 
1784
# IFS
 
1785
# We need space, tab and new line, in precisely that order.  Quoting is
 
1786
# there to prevent editors from complaining about space-tab.
 
1787
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
1788
# splitting by setting IFS to empty value.)
 
1789
as_nl='
 
1790
'
 
1791
IFS=" ""        $as_nl"
 
1792
 
 
1793
# Find who we are.  Look in the path if we contain no directory separator.
 
1794
case $0 in
 
1795
  *[\\/]* ) as_myself=$0 ;;
 
1796
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1797
for as_dir in $PATH
 
1798
do
 
1799
  IFS=$as_save_IFS
 
1800
  test -z "$as_dir" && as_dir=.
 
1801
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
1802
done
 
1803
IFS=$as_save_IFS
 
1804
 
 
1805
     ;;
 
1806
esac
 
1807
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
1808
# in which case we are not to be found in the path.
 
1809
if test "x$as_myself" = x; then
 
1810
  as_myself=$0
 
1811
fi
 
1812
if test ! -f "$as_myself"; then
 
1813
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
1814
  { (exit 1); exit 1; }
 
1815
fi
 
1816
 
1369
1817
# Work around bugs in pre-3.0 UWIN ksh.
1370
 
$as_unset ENV MAIL MAILPATH
 
1818
for as_var in ENV MAIL MAILPATH
 
1819
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
1820
done
1371
1821
PS1='$ '
1372
1822
PS2='> '
1373
1823
PS4='+ '
1381
1831
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1382
1832
    eval $as_var=C; export $as_var
1383
1833
  else
1384
 
    $as_unset $as_var
 
1834
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1385
1835
  fi
1386
1836
done
1387
1837
 
1388
1838
# Required to use basename.
1389
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
1839
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
1840
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1390
1841
  as_expr=expr
1391
1842
else
1392
1843
  as_expr=false
1393
1844
fi
1394
1845
 
1395
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
1846
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1396
1847
  as_basename=basename
1397
1848
else
1398
1849
  as_basename=false
1400
1851
 
1401
1852
 
1402
1853
# Name of the executable.
1403
 
as_me=`$as_basename "$0" ||
 
1854
as_me=`$as_basename -- "$0" ||
1404
1855
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1405
1856
         X"$0" : 'X\(//\)$' \| \
1406
 
         X"$0" : 'X\(/\)$' \| \
1407
 
         .     : '\(.\)' 2>/dev/null ||
 
1857
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1408
1858
echo X/"$0" |
1409
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1410
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
1411
 
          /^X\/\(\/\).*/{ s//\1/; q; }
1412
 
          s/.*/./; q'`
1413
 
 
1414
 
 
1415
 
# PATH needs CR, and LINENO needs CR and PATH.
1416
 
# Avoid depending upon Character Ranges.
1417
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1418
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1419
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1420
 
as_cr_digits='0123456789'
1421
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
1422
 
 
1423
 
# The user is always right.
1424
 
if test "${PATH_SEPARATOR+set}" != set; then
1425
 
  echo "#! /bin/sh" >conf$$.sh
1426
 
  echo  "exit 0"   >>conf$$.sh
1427
 
  chmod +x conf$$.sh
1428
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1429
 
    PATH_SEPARATOR=';'
1430
 
  else
1431
 
    PATH_SEPARATOR=:
1432
 
  fi
1433
 
  rm -f conf$$.sh
1434
 
fi
1435
 
 
1436
 
 
1437
 
  as_lineno_1=$LINENO
1438
 
  as_lineno_2=$LINENO
1439
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1440
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
1441
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1442
 
  # Find who we are.  Look in the path if we contain no path at all
1443
 
  # relative or not.
1444
 
  case $0 in
1445
 
    *[\\/]* ) as_myself=$0 ;;
1446
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447
 
for as_dir in $PATH
1448
 
do
1449
 
  IFS=$as_save_IFS
1450
 
  test -z "$as_dir" && as_dir=.
1451
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1452
 
done
1453
 
 
1454
 
       ;;
1455
 
  esac
1456
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
1457
 
  # in which case we are not to be found in the path.
1458
 
  if test "x$as_myself" = x; then
1459
 
    as_myself=$0
1460
 
  fi
1461
 
  if test ! -f "$as_myself"; then
1462
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1463
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1464
 
   { (exit 1); exit 1; }; }
1465
 
  fi
1466
 
  case $CONFIG_SHELL in
1467
 
  '')
1468
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1469
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1470
 
do
1471
 
  IFS=$as_save_IFS
1472
 
  test -z "$as_dir" && as_dir=.
1473
 
  for as_base in sh bash ksh sh5; do
1474
 
         case $as_dir in
1475
 
         /*)
1476
 
           if ("$as_dir/$as_base" -c '
1477
 
  as_lineno_1=$LINENO
1478
 
  as_lineno_2=$LINENO
1479
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1480
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
1481
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1482
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1483
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1484
 
             CONFIG_SHELL=$as_dir/$as_base
1485
 
             export CONFIG_SHELL
1486
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1487
 
           fi;;
1488
 
         esac
1489
 
       done
1490
 
done
1491
 
;;
1492
 
  esac
 
1859
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
1860
            s//\1/
 
1861
            q
 
1862
          }
 
1863
          /^X\/\(\/\/\)$/{
 
1864
            s//\1/
 
1865
            q
 
1866
          }
 
1867
          /^X\/\(\/\).*/{
 
1868
            s//\1/
 
1869
            q
 
1870
          }
 
1871
          s/.*/./; q'`
 
1872
 
 
1873
# CDPATH.
 
1874
$as_unset CDPATH
 
1875
 
 
1876
 
 
1877
 
 
1878
  as_lineno_1=$LINENO
 
1879
  as_lineno_2=$LINENO
 
1880
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
1881
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1493
1882
 
1494
1883
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1495
1884
  # uniformly replaced by the line number.  The first 'sed' inserts a
1496
 
  # line-number line before each line; the second 'sed' does the real
1497
 
  # work.  The second script uses 'N' to pair each line-number line
1498
 
  # with the numbered line, and appends trailing '-' during
1499
 
  # substitution so that $LINENO is not a special case at line end.
 
1885
  # line-number line after each line using $LINENO; the second 'sed'
 
1886
  # does the real work.  The second script uses 'N' to pair each
 
1887
  # line-number line with the line containing $LINENO, and appends
 
1888
  # trailing '-' during substitution so that $LINENO is not a special
 
1889
  # case at line end.
1500
1890
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1501
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1502
 
  sed '=' <$as_myself |
 
1891
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
1892
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
1893
  sed -n '
 
1894
    p
 
1895
    /[$]LINENO/=
 
1896
  ' <$as_myself |
1503
1897
    sed '
 
1898
      s/[$]LINENO.*/&-/
 
1899
      t lineno
 
1900
      b
 
1901
      :lineno
1504
1902
      N
1505
 
      s,$,-,
1506
 
      : loop
1507
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
1903
      :loop
 
1904
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1508
1905
      t loop
1509
 
      s,-$,,
1510
 
      s,^['$as_cr_digits']*\n,,
 
1906
      s/-\n.*//
1511
1907
    ' >$as_me.lineno &&
1512
 
  chmod +x $as_me.lineno ||
1513
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1514
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
1908
  chmod +x "$as_me.lineno" ||
 
1909
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1515
1910
   { (exit 1); exit 1; }; }
1516
1911
 
1517
1912
  # Don't try to exec as it changes $[0], causing all sort of problems
1518
1913
  # (the dirname of $[0] is not the place where we might find the
1519
 
  # original and so on.  Autoconf is especially sensible to this).
1520
 
  . ./$as_me.lineno
 
1914
  # original and so on.  Autoconf is especially sensitive to this).
 
1915
  . "./$as_me.lineno"
1521
1916
  # Exit status is that of the last command.
1522
1917
  exit
1523
1918
}
1524
1919
 
1525
1920
 
1526
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1527
 
  *c*,-n*) ECHO_N= ECHO_C='
1528
 
' ECHO_T='      ' ;;
1529
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1530
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
1921
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
1922
  as_dirname=dirname
 
1923
else
 
1924
  as_dirname=false
 
1925
fi
 
1926
 
 
1927
ECHO_C= ECHO_N= ECHO_T=
 
1928
case `echo -n x` in
 
1929
-n*)
 
1930
  case `echo 'x\c'` in
 
1931
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
1932
  *)   ECHO_C='\c';;
 
1933
  esac;;
 
1934
*)
 
1935
  ECHO_N='-n';;
1531
1936
esac
1532
1937
 
1533
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
1938
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
1939
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1534
1940
  as_expr=expr
1535
1941
else
1536
1942
  as_expr=false
1537
1943
fi
1538
1944
 
1539
1945
rm -f conf$$ conf$$.exe conf$$.file
 
1946
if test -d conf$$.dir; then
 
1947
  rm -f conf$$.dir/conf$$.file
 
1948
else
 
1949
  rm -f conf$$.dir
 
1950
  mkdir conf$$.dir
 
1951
fi
1540
1952
echo >conf$$.file
1541
1953
if ln -s conf$$.file conf$$ 2>/dev/null; then
1542
 
  # We could just check for DJGPP; but this test a) works b) is more generic
1543
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1544
 
  if test -f conf$$.exe; then
1545
 
    # Don't use ln at all; we don't have any links
 
1954
  as_ln_s='ln -s'
 
1955
  # ... but there are two gotchas:
 
1956
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
1957
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
1958
  # In both cases, we have to default to `cp -p'.
 
1959
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1546
1960
    as_ln_s='cp -p'
1547
 
  else
1548
 
    as_ln_s='ln -s'
1549
 
  fi
1550
1961
elif ln conf$$.file conf$$ 2>/dev/null; then
1551
1962
  as_ln_s=ln
1552
1963
else
1553
1964
  as_ln_s='cp -p'
1554
1965
fi
1555
 
rm -f conf$$ conf$$.exe conf$$.file
 
1966
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
1967
rmdir conf$$.dir 2>/dev/null
1556
1968
 
1557
1969
if mkdir -p . 2>/dev/null; then
1558
1970
  as_mkdir_p=:
1561
1973
  as_mkdir_p=false
1562
1974
fi
1563
1975
 
1564
 
as_executable_p="test -f"
 
1976
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
1977
# systems may use methods other than mode bits to determine executability.
 
1978
cat >conf$$.file <<_ASEOF
 
1979
#! /bin/sh
 
1980
exit 0
 
1981
_ASEOF
 
1982
chmod +x conf$$.file
 
1983
if test -x conf$$.file >/dev/null 2>&1; then
 
1984
  as_executable_p="test -x"
 
1985
else
 
1986
  as_executable_p=:
 
1987
fi
 
1988
rm -f conf$$.file
1565
1989
 
1566
1990
# Sed expression to map a string onto a valid CPP name.
1567
1991
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1570
1994
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1571
1995
 
1572
1996
 
1573
 
# IFS
1574
 
# We need space, tab and new line, in precisely that order.
1575
 
as_nl='
1576
 
'
1577
 
IFS="   $as_nl"
1578
 
 
1579
 
# CDPATH.
1580
 
$as_unset CDPATH
1581
 
 
1582
1997
exec 6>&1
1583
1998
 
1584
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
1999
# Save the log message, to keep $[0] and so on meaningful, and to
1585
2000
# report actual input values of CONFIG_FILES etc. instead of their
1586
 
# values after options handling.  Logging --version etc. is OK.
1587
 
exec 5>>config.log
1588
 
{
1589
 
  echo
1590
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1591
 
## Running $as_me. ##
1592
 
_ASBOX
1593
 
} >&5
1594
 
cat >&5 <<_CSEOF
1595
 
 
 
2001
# values after options handling.
 
2002
ac_log="
1596
2003
This file was extended by $as_me, which was
1597
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
2004
generated by GNU Autoconf 2.60a.  Invocation command line was
1598
2005
 
1599
2006
  CONFIG_FILES    = $CONFIG_FILES
1600
2007
  CONFIG_HEADERS  = $CONFIG_HEADERS
1602
2009
  CONFIG_COMMANDS = $CONFIG_COMMANDS
1603
2010
  $ $0 $@
1604
2011
 
1605
 
_CSEOF
1606
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1607
 
echo >&5
 
2012
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2013
"
 
2014
 
1608
2015
_ACEOF
1609
2016
 
 
2017
cat >>$CONFIG_STATUS <<_ACEOF
1610
2018
# Files that config.status was made for.
1611
 
if test -n "$ac_config_files"; then
1612
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1613
 
fi
1614
 
 
1615
 
if test -n "$ac_config_headers"; then
1616
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1617
 
fi
1618
 
 
1619
 
if test -n "$ac_config_links"; then
1620
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1621
 
fi
1622
 
 
1623
 
if test -n "$ac_config_commands"; then
1624
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1625
 
fi
 
2019
config_files="$ac_config_files"
 
2020
config_headers="$ac_config_headers"
 
2021
 
 
2022
_ACEOF
1626
2023
 
1627
2024
cat >>$CONFIG_STATUS <<\_ACEOF
1628
 
 
1629
2025
ac_cs_usage="\
1630
2026
\`$as_me' instantiates files from templates according to the
1631
2027
current configuration.
1633
2029
Usage: $0 [OPTIONS] [FILE]...
1634
2030
 
1635
2031
  -h, --help       print this help, then exit
1636
 
  -V, --version    print version number, then exit
 
2032
  -V, --version    print version number and configuration settings, then exit
1637
2033
  -q, --quiet      do not print progress messages
1638
2034
  -d, --debug      don't remove temporary files
1639
2035
      --recheck    update $as_me by reconfiguring in the same conditions
1649
2045
$config_headers
1650
2046
 
1651
2047
Report bugs to <bug-autoconf@gnu.org>."
 
2048
 
1652
2049
_ACEOF
1653
 
 
1654
2050
cat >>$CONFIG_STATUS <<_ACEOF
1655
2051
ac_cs_version="\\
1656
2052
config.status
1657
 
configured by $0, generated by GNU Autoconf 2.59,
1658
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
2053
configured by $0, generated by GNU Autoconf 2.60a,
 
2054
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1659
2055
 
1660
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
2056
Copyright (C) 2006 Free Software Foundation, Inc.
1661
2057
This config.status script is free software; the Free Software Foundation
1662
2058
gives unlimited permission to copy, distribute and modify it."
1663
 
srcdir=$srcdir
 
2059
 
 
2060
ac_pwd='$ac_pwd'
 
2061
srcdir='$srcdir'
1664
2062
_ACEOF
1665
2063
 
1666
2064
cat >>$CONFIG_STATUS <<\_ACEOF
1671
2069
do
1672
2070
  case $1 in
1673
2071
  --*=*)
1674
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1675
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
2072
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
2073
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1676
2074
    ac_shift=:
1677
2075
    ;;
1678
 
  -*)
 
2076
  *)
1679
2077
    ac_option=$1
1680
2078
    ac_optarg=$2
1681
2079
    ac_shift=shift
1682
2080
    ;;
1683
 
  *) # This is not an option, so the user has probably given explicit
1684
 
     # arguments.
1685
 
     ac_option=$1
1686
 
     ac_need_defaults=false;;
1687
2081
  esac
1688
2082
 
1689
2083
  case $ac_option in
1690
2084
  # Handling of the options.
1691
 
_ACEOF
1692
 
cat >>$CONFIG_STATUS <<\_ACEOF
1693
2085
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1694
2086
    ac_cs_recheck=: ;;
1695
 
  --version | --vers* | -V )
1696
 
    echo "$ac_cs_version"; exit 0 ;;
1697
 
  --he | --h)
1698
 
    # Conflict between --help and --header
1699
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
1700
 
Try \`$0 --help' for more information." >&5
1701
 
echo "$as_me: error: ambiguous option: $1
1702
 
Try \`$0 --help' for more information." >&2;}
1703
 
   { (exit 1); exit 1; }; };;
1704
 
  --help | --hel | -h )
1705
 
    echo "$ac_cs_usage"; exit 0 ;;
1706
 
  --debug | --d* | -d )
 
2087
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
2088
    echo "$ac_cs_version"; exit ;;
 
2089
  --debug | --debu | --deb | --de | --d | -d )
1707
2090
    debug=: ;;
1708
2091
  --file | --fil | --fi | --f )
1709
2092
    $ac_shift
1713
2096
    $ac_shift
1714
2097
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1715
2098
    ac_need_defaults=false;;
 
2099
  --he | --h)
 
2100
    # Conflict between --help and --header
 
2101
    { echo "$as_me: error: ambiguous option: $1
 
2102
Try \`$0 --help' for more information." >&2
 
2103
   { (exit 1); exit 1; }; };;
 
2104
  --help | --hel | -h )
 
2105
    echo "$ac_cs_usage"; exit ;;
1716
2106
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1717
2107
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
1718
2108
    ac_cs_silent=: ;;
1719
2109
 
1720
2110
  # This is an error.
1721
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1722
 
Try \`$0 --help' for more information." >&5
1723
 
echo "$as_me: error: unrecognized option: $1
1724
 
Try \`$0 --help' for more information." >&2;}
 
2111
  -*) { echo "$as_me: error: unrecognized option: $1
 
2112
Try \`$0 --help' for more information." >&2
1725
2113
   { (exit 1); exit 1; }; } ;;
1726
2114
 
1727
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
2115
  *) ac_config_targets="$ac_config_targets $1"
 
2116
     ac_need_defaults=false ;;
1728
2117
 
1729
2118
  esac
1730
2119
  shift
1740
2129
_ACEOF
1741
2130
cat >>$CONFIG_STATUS <<_ACEOF
1742
2131
if \$ac_cs_recheck; then
1743
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1744
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2132
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
2133
  CONFIG_SHELL=$SHELL
 
2134
  export CONFIG_SHELL
 
2135
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1745
2136
fi
1746
2137
 
1747
2138
_ACEOF
1748
 
 
1749
 
 
1750
 
 
1751
 
 
1752
 
 
1753
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2139
cat >>$CONFIG_STATUS <<\_ACEOF
 
2140
exec 5>>config.log
 
2141
{
 
2142
  echo
 
2143
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2144
## Running $as_me. ##
 
2145
_ASBOX
 
2146
  echo "$ac_log"
 
2147
} >&5
 
2148
 
 
2149
_ACEOF
 
2150
cat >>$CONFIG_STATUS <<_ACEOF
 
2151
_ACEOF
 
2152
 
 
2153
cat >>$CONFIG_STATUS <<\_ACEOF
 
2154
 
 
2155
# Handling of arguments.
1754
2156
for ac_config_target in $ac_config_targets
1755
2157
do
1756
 
  case "$ac_config_target" in
1757
 
  # Handling of arguments.
1758
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1759
 
  "xml_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xml_config.h" ;;
 
2158
  case $ac_config_target in
 
2159
    "xml_config.h") CONFIG_HEADERS="$CONFIG_HEADERS xml_config.h" ;;
 
2160
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
2161
 
1760
2162
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1761
2163
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1762
2164
   { (exit 1); exit 1; }; };;
1763
2165
  esac
1764
2166
done
1765
2167
 
 
2168
 
1766
2169
# If the user did not use the arguments to specify the items to instantiate,
1767
2170
# then the envvar interface is used.  Set only those that are not.
1768
2171
# We use the long form for the default assignment because of an extremely
1773
2176
fi
1774
2177
 
1775
2178
# Have a temporary directory for convenience.  Make it in the build tree
1776
 
# simply because there is no reason to put it here, and in addition,
 
2179
# simply because there is no reason against having it here, and in addition,
1777
2180
# creating and moving files from /tmp can sometimes cause problems.
1778
 
# Create a temporary directory, and hook for its removal unless debugging.
 
2181
# Hook for its removal unless debugging.
 
2182
# Note that there is a small window in which the directory will not be cleaned:
 
2183
# after its creation but before its name has been assigned to `$tmp'.
1779
2184
$debug ||
1780
2185
{
1781
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
2186
  tmp=
 
2187
  trap 'exit_status=$?
 
2188
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
2189
' 0
1782
2190
  trap '{ (exit 1); exit 1; }' 1 2 13 15
1783
2191
}
1784
 
 
1785
2192
# Create a (secure) tmp directory for tmp files.
1786
2193
 
1787
2194
{
1788
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
2195
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1789
2196
  test -n "$tmp" && test -d "$tmp"
1790
2197
}  ||
1791
2198
{
1792
 
  tmp=./confstat$$-$RANDOM
1793
 
  (umask 077 && mkdir $tmp)
 
2199
  tmp=./conf$$-$RANDOM
 
2200
  (umask 077 && mkdir "$tmp")
1794
2201
} ||
1795
2202
{
1796
2203
   echo "$me: cannot create a temporary directory in ." >&2
1797
2204
   { (exit 1); exit 1; }
1798
2205
}
1799
2206
 
1800
 
_ACEOF
1801
 
 
1802
 
cat >>$CONFIG_STATUS <<_ACEOF
1803
 
 
1804
2207
#
1805
 
# CONFIG_FILES section.
 
2208
# Set up the sed scripts for CONFIG_FILES section.
1806
2209
#
1807
2210
 
1808
2211
# No need to generate the scripts if there are no CONFIG_FILES.
1809
2212
# This happens for instance when ./config.status config.h
1810
 
if test -n "\$CONFIG_FILES"; then
1811
 
  # Protect against being on the right side of a sed subst in config.status.
1812
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1813
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1814
 
s,@SHELL@,$SHELL,;t t
1815
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1816
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1817
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1818
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1819
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1820
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1821
 
s,@exec_prefix@,$exec_prefix,;t t
1822
 
s,@prefix@,$prefix,;t t
1823
 
s,@program_transform_name@,$program_transform_name,;t t
1824
 
s,@bindir@,$bindir,;t t
1825
 
s,@sbindir@,$sbindir,;t t
1826
 
s,@libexecdir@,$libexecdir,;t t
1827
 
s,@datadir@,$datadir,;t t
1828
 
s,@sysconfdir@,$sysconfdir,;t t
1829
 
s,@sharedstatedir@,$sharedstatedir,;t t
1830
 
s,@localstatedir@,$localstatedir,;t t
1831
 
s,@libdir@,$libdir,;t t
1832
 
s,@includedir@,$includedir,;t t
1833
 
s,@oldincludedir@,$oldincludedir,;t t
1834
 
s,@infodir@,$infodir,;t t
1835
 
s,@mandir@,$mandir,;t t
1836
 
s,@build_alias@,$build_alias,;t t
1837
 
s,@host_alias@,$host_alias,;t t
1838
 
s,@target_alias@,$target_alias,;t t
1839
 
s,@DEFS@,$DEFS,;t t
1840
 
s,@ECHO_C@,$ECHO_C,;t t
1841
 
s,@ECHO_N@,$ECHO_N,;t t
1842
 
s,@ECHO_T@,$ECHO_T,;t t
1843
 
s,@LIBS@,$LIBS,;t t
1844
 
s,@XML_CFLAGS@,$XML_CFLAGS,;t t
1845
 
s,@PIKE_INCLUDE_PREFIX@,$PIKE_INCLUDE_PREFIX,;t t
1846
 
s,@PIKE@,$PIKE,;t t
1847
 
s,@PIKE_VERSION@,$PIKE_VERSION,;t t
1848
 
s,@installprg@,$installprg,;t t
1849
 
s,@LIBXML2_INCLUDE@,$LIBXML2_INCLUDE,;t t
1850
 
s,@LIBXSL_INCLUDE@,$LIBXSL_INCLUDE,;t t
1851
 
s,@LIBDIR@,$LIBDIR,;t t
1852
 
s,@CFLAGS@,$CFLAGS,;t t
1853
 
s,@LDSHARED@,$LDSHARED,;t t
1854
 
s,@LDFLAGS@,$LDFLAGS,;t t
1855
 
s,@LIBOBJS@,$LIBOBJS,;t t
1856
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1857
 
CEOF
1858
 
 
1859
 
_ACEOF
1860
 
 
1861
 
  cat >>$CONFIG_STATUS <<\_ACEOF
1862
 
  # Split the substitutions into bite-sized pieces for seds with
1863
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
1864
 
  ac_max_sed_lines=48
1865
 
  ac_sed_frag=1 # Number of current file.
1866
 
  ac_beg=1 # First line for current file.
1867
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
1868
 
  ac_more_lines=:
1869
 
  ac_sed_cmds=
1870
 
  while $ac_more_lines; do
1871
 
    if test $ac_beg -gt 1; then
1872
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1873
 
    else
1874
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1875
 
    fi
1876
 
    if test ! -s $tmp/subs.frag; then
1877
 
      ac_more_lines=false
1878
 
    else
1879
 
      # The purpose of the label and of the branching condition is to
1880
 
      # speed up the sed processing (if there are no `@' at all, there
1881
 
      # is no need to browse any of the substitutions).
1882
 
      # These are the two extra sed commands mentioned above.
1883
 
      (echo ':t
1884
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1885
 
      if test -z "$ac_sed_cmds"; then
1886
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1887
 
      else
1888
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1889
 
      fi
1890
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
1891
 
      ac_beg=$ac_end
1892
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
1893
 
    fi
1894
 
  done
1895
 
  if test -z "$ac_sed_cmds"; then
1896
 
    ac_sed_cmds=cat
 
2213
if test -n "$CONFIG_FILES"; then
 
2214
 
 
2215
_ACEOF
 
2216
 
 
2217
 
 
2218
 
 
2219
ac_delim='%!_!# '
 
2220
for ac_last_try in false false false false false :; do
 
2221
  cat >conf$$subs.sed <<_ACEOF
 
2222
SHELL!$SHELL$ac_delim
 
2223
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
2224
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
2225
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
2226
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
2227
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
2228
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
2229
exec_prefix!$exec_prefix$ac_delim
 
2230
prefix!$prefix$ac_delim
 
2231
program_transform_name!$program_transform_name$ac_delim
 
2232
bindir!$bindir$ac_delim
 
2233
sbindir!$sbindir$ac_delim
 
2234
libexecdir!$libexecdir$ac_delim
 
2235
datarootdir!$datarootdir$ac_delim
 
2236
datadir!$datadir$ac_delim
 
2237
sysconfdir!$sysconfdir$ac_delim
 
2238
sharedstatedir!$sharedstatedir$ac_delim
 
2239
localstatedir!$localstatedir$ac_delim
 
2240
includedir!$includedir$ac_delim
 
2241
oldincludedir!$oldincludedir$ac_delim
 
2242
docdir!$docdir$ac_delim
 
2243
infodir!$infodir$ac_delim
 
2244
htmldir!$htmldir$ac_delim
 
2245
dvidir!$dvidir$ac_delim
 
2246
pdfdir!$pdfdir$ac_delim
 
2247
psdir!$psdir$ac_delim
 
2248
libdir!$libdir$ac_delim
 
2249
localedir!$localedir$ac_delim
 
2250
mandir!$mandir$ac_delim
 
2251
DEFS!$DEFS$ac_delim
 
2252
ECHO_C!$ECHO_C$ac_delim
 
2253
ECHO_N!$ECHO_N$ac_delim
 
2254
ECHO_T!$ECHO_T$ac_delim
 
2255
LIBS!$LIBS$ac_delim
 
2256
build_alias!$build_alias$ac_delim
 
2257
host_alias!$host_alias$ac_delim
 
2258
target_alias!$target_alias$ac_delim
 
2259
XML_CFLAGS!$XML_CFLAGS$ac_delim
 
2260
PIKE_INCLUDE_PREFIX!$PIKE_INCLUDE_PREFIX$ac_delim
 
2261
PIKE!$PIKE$ac_delim
 
2262
PIKE_VERSION!$PIKE_VERSION$ac_delim
 
2263
installprg!$installprg$ac_delim
 
2264
LIBXML2_INCLUDE!$LIBXML2_INCLUDE$ac_delim
 
2265
LIBXSL_INCLUDE!$LIBXSL_INCLUDE$ac_delim
 
2266
LIBDIR!$LIBDIR$ac_delim
 
2267
CFLAGS!$CFLAGS$ac_delim
 
2268
LDSHARED!$LDSHARED$ac_delim
 
2269
LDFLAGS!$LDFLAGS$ac_delim
 
2270
LIBOBJS!$LIBOBJS$ac_delim
 
2271
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
2272
_ACEOF
 
2273
 
 
2274
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
 
2275
    break
 
2276
  elif $ac_last_try; then
 
2277
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
2278
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
2279
   { (exit 1); exit 1; }; }
 
2280
  else
 
2281
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1897
2282
  fi
 
2283
done
 
2284
 
 
2285
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
2286
if test -n "$ac_eof"; then
 
2287
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
2288
  ac_eof=`expr $ac_eof + 1`
 
2289
fi
 
2290
 
 
2291
cat >>$CONFIG_STATUS <<_ACEOF
 
2292
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
2293
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
2294
_ACEOF
 
2295
sed '
 
2296
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
2297
s/^/s,@/; s/!/@,|#_!!_#|/
 
2298
:n
 
2299
t n
 
2300
s/'"$ac_delim"'$/,g/; t
 
2301
s/$/\\/; p
 
2302
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
2303
' >>$CONFIG_STATUS <conf$$subs.sed
 
2304
rm -f conf$$subs.sed
 
2305
cat >>$CONFIG_STATUS <<_ACEOF
 
2306
:end
 
2307
s/|#_!!_#|//g
 
2308
CEOF$ac_eof
 
2309
_ACEOF
 
2310
 
 
2311
 
 
2312
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
2313
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
2314
# trailing colons and then remove the whole line if VPATH becomes empty
 
2315
# (actually we leave an empty line to preserve line numbers).
 
2316
if test "x$srcdir" = x.; then
 
2317
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
2318
s/:*\$(srcdir):*/:/
 
2319
s/:*\${srcdir}:*/:/
 
2320
s/:*@srcdir@:*/:/
 
2321
s/^\([^=]*=[     ]*\):*/\1/
 
2322
s/:*$//
 
2323
s/^[^=]*=[       ]*$//
 
2324
}'
 
2325
fi
 
2326
 
 
2327
cat >>$CONFIG_STATUS <<\_ACEOF
1898
2328
fi # test -n "$CONFIG_FILES"
1899
2329
 
1900
 
_ACEOF
1901
 
cat >>$CONFIG_STATUS <<\_ACEOF
1902
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1903
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1904
 
  case $ac_file in
1905
 
  - | *:- | *:-:* ) # input from stdin
1906
 
        cat >$tmp/stdin
1907
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1908
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1909
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1910
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1911
 
  * )   ac_file_in=$ac_file.in ;;
1912
 
  esac
1913
 
 
1914
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1915
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
2330
 
 
2331
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
2332
do
 
2333
  case $ac_tag in
 
2334
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
2335
  esac
 
2336
  case $ac_mode$ac_tag in
 
2337
  :[FHL]*:*);;
 
2338
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
2339
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
2340
   { (exit 1); exit 1; }; };;
 
2341
  :[FH]-) ac_tag=-:-;;
 
2342
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
2343
  esac
 
2344
  ac_save_IFS=$IFS
 
2345
  IFS=:
 
2346
  set x $ac_tag
 
2347
  IFS=$ac_save_IFS
 
2348
  shift
 
2349
  ac_file=$1
 
2350
  shift
 
2351
 
 
2352
  case $ac_mode in
 
2353
  :L) ac_source=$1;;
 
2354
  :[FH])
 
2355
    ac_file_inputs=
 
2356
    for ac_f
 
2357
    do
 
2358
      case $ac_f in
 
2359
      -) ac_f="$tmp/stdin";;
 
2360
      *) # Look for the file first in the build tree, then in the source tree
 
2361
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
2362
         # because $ac_f cannot contain `:'.
 
2363
         test -f "$ac_f" ||
 
2364
           case $ac_f in
 
2365
           [\\/$]*) false;;
 
2366
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
2367
           esac ||
 
2368
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
2369
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
2370
   { (exit 1); exit 1; }; };;
 
2371
      esac
 
2372
      ac_file_inputs="$ac_file_inputs $ac_f"
 
2373
    done
 
2374
 
 
2375
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
2376
    # use $as_me), people would be surprised to read:
 
2377
    #    /* config.h.  Generated by config.status.  */
 
2378
    configure_input="Generated from "`IFS=:
 
2379
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
2380
    if test x"$ac_file" != x-; then
 
2381
      configure_input="$ac_file.  $configure_input"
 
2382
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
2383
echo "$as_me: creating $ac_file" >&6;}
 
2384
    fi
 
2385
 
 
2386
    case $ac_tag in
 
2387
    *:-:* | *:-) cat >"$tmp/stdin";;
 
2388
    esac
 
2389
    ;;
 
2390
  esac
 
2391
 
 
2392
  ac_dir=`$as_dirname -- "$ac_file" ||
1916
2393
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1917
2394
         X"$ac_file" : 'X\(//\)[^/]' \| \
1918
2395
         X"$ac_file" : 'X\(//\)$' \| \
1919
 
         X"$ac_file" : 'X\(/\)' \| \
1920
 
         .     : '\(.\)' 2>/dev/null ||
 
2396
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1921
2397
echo X"$ac_file" |
1922
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1923
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1924
 
          /^X\(\/\/\)$/{ s//\1/; q; }
1925
 
          /^X\(\/\).*/{ s//\1/; q; }
1926
 
          s/.*/./; q'`
1927
 
  { if $as_mkdir_p; then
1928
 
    mkdir -p "$ac_dir"
1929
 
  else
1930
 
    as_dir="$ac_dir"
 
2398
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2399
            s//\1/
 
2400
            q
 
2401
          }
 
2402
          /^X\(\/\/\)[^/].*/{
 
2403
            s//\1/
 
2404
            q
 
2405
          }
 
2406
          /^X\(\/\/\)$/{
 
2407
            s//\1/
 
2408
            q
 
2409
          }
 
2410
          /^X\(\/\).*/{
 
2411
            s//\1/
 
2412
            q
 
2413
          }
 
2414
          s/.*/./; q'`
 
2415
  { as_dir="$ac_dir"
 
2416
  case $as_dir in #(
 
2417
  -*) as_dir=./$as_dir;;
 
2418
  esac
 
2419
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1931
2420
    as_dirs=
1932
 
    while test ! -d "$as_dir"; do
1933
 
      as_dirs="$as_dir $as_dirs"
1934
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
2421
    while :; do
 
2422
      case $as_dir in #(
 
2423
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
2424
      *) as_qdir=$as_dir;;
 
2425
      esac
 
2426
      as_dirs="'$as_qdir' $as_dirs"
 
2427
      as_dir=`$as_dirname -- "$as_dir" ||
1935
2428
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1936
2429
         X"$as_dir" : 'X\(//\)[^/]' \| \
1937
2430
         X"$as_dir" : 'X\(//\)$' \| \
1938
 
         X"$as_dir" : 'X\(/\)' \| \
1939
 
         .     : '\(.\)' 2>/dev/null ||
 
2431
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1940
2432
echo X"$as_dir" |
1941
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1942
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1943
 
          /^X\(\/\/\)$/{ s//\1/; q; }
1944
 
          /^X\(\/\).*/{ s//\1/; q; }
1945
 
          s/.*/./; q'`
 
2433
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2434
            s//\1/
 
2435
            q
 
2436
          }
 
2437
          /^X\(\/\/\)[^/].*/{
 
2438
            s//\1/
 
2439
            q
 
2440
          }
 
2441
          /^X\(\/\/\)$/{
 
2442
            s//\1/
 
2443
            q
 
2444
          }
 
2445
          /^X\(\/\).*/{
 
2446
            s//\1/
 
2447
            q
 
2448
          }
 
2449
          s/.*/./; q'`
 
2450
      test -d "$as_dir" && break
1946
2451
    done
1947
 
    test ! -n "$as_dirs" || mkdir $as_dirs
1948
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1949
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
2452
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
2453
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
2454
echo "$as_me: error: cannot create directory $as_dir" >&2;}
1950
2455
   { (exit 1); exit 1; }; }; }
1951
 
 
1952
2456
  ac_builddir=.
1953
2457
 
1954
 
if test "$ac_dir" != .; then
 
2458
case "$ac_dir" in
 
2459
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
2460
*)
1955
2461
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1956
 
  # A "../" for each directory in $ac_dir_suffix.
1957
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1958
 
else
1959
 
  ac_dir_suffix= ac_top_builddir=
1960
 
fi
 
2462
  # A ".." for each directory in $ac_dir_suffix.
 
2463
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
2464
  case $ac_top_builddir_sub in
 
2465
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
2466
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
2467
  esac ;;
 
2468
esac
 
2469
ac_abs_top_builddir=$ac_pwd
 
2470
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
2471
# for backward compatibility:
 
2472
ac_top_builddir=$ac_top_build_prefix
1961
2473
 
1962
2474
case $srcdir in
1963
 
  .)  # No --srcdir option.  We are building in place.
 
2475
  .)  # We are building in place.
1964
2476
    ac_srcdir=.
1965
 
    if test -z "$ac_top_builddir"; then
1966
 
       ac_top_srcdir=.
1967
 
    else
1968
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1969
 
    fi ;;
1970
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
2477
    ac_top_srcdir=$ac_top_builddir_sub
 
2478
    ac_abs_top_srcdir=$ac_pwd ;;
 
2479
  [\\/]* | ?:[\\/]* )  # Absolute name.
1971
2480
    ac_srcdir=$srcdir$ac_dir_suffix;
1972
 
    ac_top_srcdir=$srcdir ;;
1973
 
  *) # Relative path.
1974
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1975
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1976
 
esac
1977
 
 
1978
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1979
 
# the directories may not exist.
1980
 
case `pwd` in
1981
 
.) ac_abs_builddir="$ac_dir";;
1982
 
*)
1983
 
  case "$ac_dir" in
1984
 
  .) ac_abs_builddir=`pwd`;;
1985
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1986
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1987
 
  esac;;
1988
 
esac
1989
 
case $ac_abs_builddir in
1990
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1991
 
*)
1992
 
  case ${ac_top_builddir}. in
1993
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1994
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1995
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1996
 
  esac;;
1997
 
esac
1998
 
case $ac_abs_builddir in
1999
 
.) ac_abs_srcdir=$ac_srcdir;;
2000
 
*)
2001
 
  case $ac_srcdir in
2002
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
2003
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2004
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2005
 
  esac;;
2006
 
esac
2007
 
case $ac_abs_builddir in
2008
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2009
 
*)
2010
 
  case $ac_top_srcdir in
2011
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2012
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2013
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2014
 
  esac;;
2015
 
esac
2016
 
 
2017
 
 
2018
 
 
2019
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
2020
 
  # use $as_me), people would be surprised to read:
2021
 
  #    /* config.h.  Generated by config.status.  */
2022
 
  if test x"$ac_file" = x-; then
2023
 
    configure_input=
2024
 
  else
2025
 
    configure_input="$ac_file.  "
2026
 
  fi
2027
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
2028
 
                                     sed 's,.*/,,'` by configure."
2029
 
 
2030
 
  # First look for the input files in the build tree, otherwise in the
2031
 
  # src tree.
2032
 
  ac_file_inputs=`IFS=:
2033
 
    for f in $ac_file_in; do
2034
 
      case $f in
2035
 
      -) echo $tmp/stdin ;;
2036
 
      [\\/$]*)
2037
 
         # Absolute (can't be DOS-style, as IFS=:)
2038
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2039
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2040
 
   { (exit 1); exit 1; }; }
2041
 
         echo "$f";;
2042
 
      *) # Relative
2043
 
         if test -f "$f"; then
2044
 
           # Build tree
2045
 
           echo "$f"
2046
 
         elif test -f "$srcdir/$f"; then
2047
 
           # Source tree
2048
 
           echo "$srcdir/$f"
2049
 
         else
2050
 
           # /dev/null tree
2051
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2052
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2053
 
   { (exit 1); exit 1; }; }
2054
 
         fi;;
2055
 
      esac
2056
 
    done` || { (exit 1); exit 1; }
2057
 
 
2058
 
  if test x"$ac_file" != x-; then
2059
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
2060
 
echo "$as_me: creating $ac_file" >&6;}
2061
 
    rm -f "$ac_file"
2062
 
  fi
2063
 
_ACEOF
 
2481
    ac_top_srcdir=$srcdir
 
2482
    ac_abs_top_srcdir=$srcdir ;;
 
2483
  *) # Relative name.
 
2484
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
2485
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
2486
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
2487
esac
 
2488
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
2489
 
 
2490
 
 
2491
  case $ac_mode in
 
2492
  :F)
 
2493
  #
 
2494
  # CONFIG_FILE
 
2495
  #
 
2496
 
 
2497
_ACEOF
 
2498
 
 
2499
cat >>$CONFIG_STATUS <<\_ACEOF
 
2500
# If the template does not know about datarootdir, expand it.
 
2501
# FIXME: This hack should be removed a few years after 2.60.
 
2502
ac_datarootdir_hack=; ac_datarootdir_seen=
 
2503
 
 
2504
case `sed -n '/datarootdir/ {
 
2505
  p
 
2506
  q
 
2507
}
 
2508
/@datadir@/p
 
2509
/@docdir@/p
 
2510
/@infodir@/p
 
2511
/@localedir@/p
 
2512
/@mandir@/p
 
2513
' $ac_file_inputs` in
 
2514
*datarootdir*) ac_datarootdir_seen=yes;;
 
2515
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
2516
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
2517
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
2518
_ACEOF
 
2519
cat >>$CONFIG_STATUS <<_ACEOF
 
2520
  ac_datarootdir_hack='
 
2521
  s&@datadir@&$datadir&g
 
2522
  s&@docdir@&$docdir&g
 
2523
  s&@infodir@&$infodir&g
 
2524
  s&@localedir@&$localedir&g
 
2525
  s&@mandir@&$mandir&g
 
2526
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
2527
esac
 
2528
_ACEOF
 
2529
 
 
2530
# Neutralize VPATH when `$srcdir' = `.'.
 
2531
# Shell code in configure.ac might set extrasub.
 
2532
# FIXME: do we really want to maintain this feature?
2064
2533
cat >>$CONFIG_STATUS <<_ACEOF
2065
2534
  sed "$ac_vpsub
2066
2535
$extrasub
2068
2537
cat >>$CONFIG_STATUS <<\_ACEOF
2069
2538
:t
2070
2539
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2071
 
s,@configure_input@,$configure_input,;t t
2072
 
s,@srcdir@,$ac_srcdir,;t t
2073
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2074
 
s,@top_srcdir@,$ac_top_srcdir,;t t
2075
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2076
 
s,@builddir@,$ac_builddir,;t t
2077
 
s,@abs_builddir@,$ac_abs_builddir,;t t
2078
 
s,@top_builddir@,$ac_top_builddir,;t t
2079
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2080
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2081
 
  rm -f $tmp/stdin
2082
 
  if test x"$ac_file" != x-; then
2083
 
    mv $tmp/out $ac_file
2084
 
  else
2085
 
    cat $tmp/out
2086
 
    rm -f $tmp/out
2087
 
  fi
2088
 
 
2089
 
done
 
2540
s&@configure_input@&$configure_input&;t t
 
2541
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
2542
s&@srcdir@&$ac_srcdir&;t t
 
2543
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
2544
s&@top_srcdir@&$ac_top_srcdir&;t t
 
2545
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
2546
s&@builddir@&$ac_builddir&;t t
 
2547
s&@abs_builddir@&$ac_abs_builddir&;t t
 
2548
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
2549
$ac_datarootdir_hack
 
2550
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
2551
 
 
2552
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
2553
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
2554
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
2555
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
2556
which seems to be undefined.  Please make sure it is defined." >&5
 
2557
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
2558
which seems to be undefined.  Please make sure it is defined." >&2;}
 
2559
 
 
2560
  rm -f "$tmp/stdin"
 
2561
  case $ac_file in
 
2562
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
2563
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
2564
  esac
 
2565
 ;;
 
2566
  :H)
 
2567
  #
 
2568
  # CONFIG_HEADER
 
2569
  #
2090
2570
_ACEOF
2091
 
cat >>$CONFIG_STATUS <<\_ACEOF
2092
 
 
2093
 
#
2094
 
# CONFIG_HEADER section.
2095
 
#
2096
 
 
2097
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2098
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
2099
 
#
2100
 
# ac_d sets the value in "#define NAME VALUE" lines.
2101
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
2102
 
ac_dB='[         ].*$,\1#\2'
 
2571
 
 
2572
# Transform confdefs.h into a sed script `conftest.defines', that
 
2573
# substitutes the proper values into config.h.in to produce config.h.
 
2574
rm -f conftest.defines conftest.tail
 
2575
# First, append a space to every undef/define line, to ease matching.
 
2576
echo 's/$/ /' >conftest.defines
 
2577
# Then, protect against being on the right side of a sed subst, or in
 
2578
# an unquoted here document, in config.status.  If some macros were
 
2579
# called several times there might be several #defines for the same
 
2580
# symbol, which is useless.  But do not sort them, since the last
 
2581
# AC_DEFINE must be honored.
 
2582
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
2583
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
2584
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
2585
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
2586
# just an empty string.
 
2587
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
2588
ac_dB='\\)[      (].*,\\1define\\2'
2103
2589
ac_dC=' '
2104
 
ac_dD=',;t'
2105
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2106
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
2107
 
ac_uB='$,\1#\2define\3'
2108
 
ac_uC=' '
2109
 
ac_uD=',;t'
2110
 
 
2111
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
2112
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2113
 
  case $ac_file in
2114
 
  - | *:- | *:-:* ) # input from stdin
2115
 
        cat >$tmp/stdin
2116
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2117
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2118
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2119
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2120
 
  * )   ac_file_in=$ac_file.in ;;
2121
 
  esac
2122
 
 
2123
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
2124
 
echo "$as_me: creating $ac_file" >&6;}
2125
 
 
2126
 
  # First look for the input files in the build tree, otherwise in the
2127
 
  # src tree.
2128
 
  ac_file_inputs=`IFS=:
2129
 
    for f in $ac_file_in; do
2130
 
      case $f in
2131
 
      -) echo $tmp/stdin ;;
2132
 
      [\\/$]*)
2133
 
         # Absolute (can't be DOS-style, as IFS=:)
2134
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2135
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2136
 
   { (exit 1); exit 1; }; }
2137
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
2138
 
         echo "$f";;
2139
 
      *) # Relative
2140
 
         if test -f "$f"; then
2141
 
           # Build tree
2142
 
           echo "$f"
2143
 
         elif test -f "$srcdir/$f"; then
2144
 
           # Source tree
2145
 
           echo "$srcdir/$f"
2146
 
         else
2147
 
           # /dev/null tree
2148
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2149
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2150
 
   { (exit 1); exit 1; }; }
2151
 
         fi;;
2152
 
      esac
2153
 
    done` || { (exit 1); exit 1; }
2154
 
  # Remove the trailing spaces.
2155
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
2156
 
 
2157
 
_ACEOF
2158
 
 
2159
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
2160
 
# `conftest.undefs', that substitutes the proper values into
2161
 
# config.h.in to produce config.h.  The first handles `#define'
2162
 
# templates, and the second `#undef' templates.
2163
 
# And first: Protect against being on the right side of a sed subst in
2164
 
# config.status.  Protect against being in an unquoted here document
2165
 
# in config.status.
2166
 
rm -f conftest.defines conftest.undefs
2167
 
# Using a here document instead of a string reduces the quoting nightmare.
2168
 
# Putting comments in sed scripts is not portable.
2169
 
#
2170
 
# `end' is used to avoid that the second main sed command (meant for
2171
 
# 0-ary CPP macros) applies to n-ary macro definitions.
2172
 
# See the Autoconf documentation for `clear'.
2173
 
cat >confdef2sed.sed <<\_ACEOF
2174
 
s/[\\&,]/\\&/g
2175
 
s,[\\$`],\\&,g
2176
 
t clear
2177
 
: clear
2178
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
2179
 
t end
2180
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
2181
 
: end
2182
 
_ACEOF
2183
 
# If some macros were called several times there might be several times
2184
 
# the same #defines, which is useless.  Nevertheless, we may not want to
2185
 
# sort them, since we want the *last* AC-DEFINE to be honored.
2186
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
2187
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
2188
 
rm -f confdef2sed.sed
2189
 
 
2190
 
# This sed command replaces #undef with comments.  This is necessary, for
 
2590
ac_dD=' ,'
 
2591
 
 
2592
uniq confdefs.h |
 
2593
  sed -n '
 
2594
        t rset
 
2595
        :rset
 
2596
        s/^[     ]*#[    ]*define[       ][      ]*//
 
2597
        t ok
 
2598
        d
 
2599
        :ok
 
2600
        s/[\\&,]/\\&/g
 
2601
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
2602
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
2603
  ' >>conftest.defines
 
2604
 
 
2605
# Remove the space that was appended to ease matching.
 
2606
# Then replace #undef with comments.  This is necessary, for
2191
2607
# example, in the case of _POSIX_SOURCE, which is predefined and required
2192
2608
# on some systems where configure will not decide to define it.
2193
 
cat >>conftest.undefs <<\_ACEOF
2194
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
2609
# (The regexp can be short, since the line contains either #define or #undef.)
 
2610
echo 's/ $//
 
2611
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
2612
 
 
2613
# Break up conftest.defines:
 
2614
ac_max_sed_lines=50
 
2615
 
 
2616
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
2617
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
2618
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
2619
# et cetera.
 
2620
ac_in='$ac_file_inputs'
 
2621
ac_out='"$tmp/out1"'
 
2622
ac_nxt='"$tmp/out2"'
 
2623
 
 
2624
while :
 
2625
do
 
2626
  # Write a here document:
 
2627
    cat >>$CONFIG_STATUS <<_ACEOF
 
2628
    # First, check the format of the line:
 
2629
    cat >"\$tmp/defines.sed" <<\\CEOF
 
2630
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
2631
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
2632
b
 
2633
:def
2195
2634
_ACEOF
2196
 
 
2197
 
# Break up conftest.defines because some shells have a limit on the size
2198
 
# of here documents, and old seds have small limits too (100 cmds).
2199
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
2200
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
2201
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
2202
 
echo '  :' >>$CONFIG_STATUS
2203
 
rm -f conftest.tail
2204
 
while grep . conftest.defines >/dev/null
2205
 
do
2206
 
  # Write a limited-size here document to $tmp/defines.sed.
2207
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
2208
 
  # Speed up: don't consider the non `#define' lines.
2209
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
2210
 
  # Work around the forget-to-reset-the-flag bug.
2211
 
  echo 't clr' >>$CONFIG_STATUS
2212
 
  echo ': clr' >>$CONFIG_STATUS
2213
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
2635
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
2214
2636
  echo 'CEOF
2215
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
2216
 
  rm -f $tmp/in
2217
 
  mv $tmp/out $tmp/in
2218
 
' >>$CONFIG_STATUS
2219
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
2637
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
2638
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
2639
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
2640
  grep . conftest.tail >/dev/null || break
2220
2641
  rm -f conftest.defines
2221
2642
  mv conftest.tail conftest.defines
2222
2643
done
2223
 
rm -f conftest.defines
2224
 
echo '  fi # grep' >>$CONFIG_STATUS
2225
 
echo >>$CONFIG_STATUS
2226
 
 
2227
 
# Break up conftest.undefs because some shells have a limit on the size
2228
 
# of here documents, and old seds have small limits too (100 cmds).
2229
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
2230
 
rm -f conftest.tail
2231
 
while grep . conftest.undefs >/dev/null
2232
 
do
2233
 
  # Write a limited-size here document to $tmp/undefs.sed.
2234
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
2235
 
  # Speed up: don't consider the non `#undef'
2236
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
2237
 
  # Work around the forget-to-reset-the-flag bug.
2238
 
  echo 't clr' >>$CONFIG_STATUS
2239
 
  echo ': clr' >>$CONFIG_STATUS
2240
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
2241
 
  echo 'CEOF
2242
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
2243
 
  rm -f $tmp/in
2244
 
  mv $tmp/out $tmp/in
2245
 
' >>$CONFIG_STATUS
2246
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
2247
 
  rm -f conftest.undefs
2248
 
  mv conftest.tail conftest.undefs
2249
 
done
2250
 
rm -f conftest.undefs
2251
 
 
 
2644
rm -f conftest.defines conftest.tail
 
2645
 
 
2646
echo "ac_result=$ac_in" >>$CONFIG_STATUS
2252
2647
cat >>$CONFIG_STATUS <<\_ACEOF
2253
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
2254
 
  # use $as_me), people would be surprised to read:
2255
 
  #    /* config.h.  Generated by config.status.  */
2256
 
  if test x"$ac_file" = x-; then
2257
 
    echo "/* Generated by configure.  */" >$tmp/config.h
2258
 
  else
2259
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
2260
 
  fi
2261
 
  cat $tmp/in >>$tmp/config.h
2262
 
  rm -f $tmp/in
2263
2648
  if test x"$ac_file" != x-; then
2264
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
2649
    echo "/* $configure_input  */" >"$tmp/config.h"
 
2650
    cat "$ac_result" >>"$tmp/config.h"
 
2651
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
2265
2652
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
2266
2653
echo "$as_me: $ac_file is unchanged" >&6;}
2267
2654
    else
2268
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2269
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2270
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
2271
 
         X"$ac_file" : 'X\(//\)$' \| \
2272
 
         X"$ac_file" : 'X\(/\)' \| \
2273
 
         .     : '\(.\)' 2>/dev/null ||
2274
 
echo X"$ac_file" |
2275
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2276
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2277
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2278
 
          /^X\(\/\).*/{ s//\1/; q; }
2279
 
          s/.*/./; q'`
2280
 
      { if $as_mkdir_p; then
2281
 
    mkdir -p "$ac_dir"
2282
 
  else
2283
 
    as_dir="$ac_dir"
2284
 
    as_dirs=
2285
 
    while test ! -d "$as_dir"; do
2286
 
      as_dirs="$as_dir $as_dirs"
2287
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2288
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2289
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
2290
 
         X"$as_dir" : 'X\(//\)$' \| \
2291
 
         X"$as_dir" : 'X\(/\)' \| \
2292
 
         .     : '\(.\)' 2>/dev/null ||
2293
 
echo X"$as_dir" |
2294
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2295
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2296
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2297
 
          /^X\(\/\).*/{ s//\1/; q; }
2298
 
          s/.*/./; q'`
2299
 
    done
2300
 
    test ! -n "$as_dirs" || mkdir $as_dirs
2301
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2302
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2303
 
   { (exit 1); exit 1; }; }; }
2304
 
 
2305
2655
      rm -f $ac_file
2306
 
      mv $tmp/config.h $ac_file
 
2656
      mv "$tmp/config.h" $ac_file
2307
2657
    fi
2308
2658
  else
2309
 
    cat $tmp/config.h
2310
 
    rm -f $tmp/config.h
 
2659
    echo "/* $configure_input  */"
 
2660
    cat "$ac_result"
2311
2661
  fi
2312
 
done
2313
 
_ACEOF
2314
 
 
2315
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2662
  rm -f "$tmp/out12"
 
2663
 ;;
 
2664
 
 
2665
 
 
2666
  esac
 
2667
 
 
2668
done # for ac_tag
 
2669
 
2316
2670
 
2317
2671
{ (exit 0); exit 0; }
2318
2672
_ACEOF