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

« back to all changes in this revision

Viewing changes to 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="Makefile.in"
275
 
ac_subdirs_all="$ac_subdirs_all sources spm"
276
 
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 DIRS SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PIKE_INCLUDE_DIRS PIKE PIKE_VERSION PIKE_VERSION_STR PIKE_FULL_VERSION configs realdir installdir subdirs 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
DIRS
 
603
SET_MAKE
 
604
INSTALL_PROGRAM
 
605
INSTALL_SCRIPT
 
606
INSTALL_DATA
 
607
PIKE_INCLUDE_DIRS
 
608
PIKE
 
609
PIKE_VERSION
 
610
PIKE_VERSION_STR
 
611
PIKE_FULL_VERSION
 
612
brand
 
613
installdir
 
614
configdir
 
615
logdir
 
616
steamdir
 
617
javahome
 
618
subdirs
 
619
LIBOBJS
 
620
LTLIBOBJS'
277
621
ac_subst_files=''
 
622
      ac_precious_vars='build_alias
 
623
host_alias
 
624
target_alias'
 
625
ac_subdirs_all='sources spm'
278
626
 
279
627
# Initialize some variables set by options.
280
628
ac_init_help=
301
649
# and all the variables that are supposed to be based on exec_prefix
302
650
# by default will actually change.
303
651
# Use braces instead of parens because sh, perl, etc. also accept them.
 
652
# (The list follows the same order as the GNU Coding Standards.)
304
653
bindir='${exec_prefix}/bin'
305
654
sbindir='${exec_prefix}/sbin'
306
655
libexecdir='${exec_prefix}/libexec'
307
 
datadir='${prefix}/share'
 
656
datarootdir='${prefix}/share'
 
657
datadir='${datarootdir}'
308
658
sysconfdir='${prefix}/etc'
309
659
sharedstatedir='${prefix}/com'
310
660
localstatedir='${prefix}/var'
311
 
libdir='${exec_prefix}/lib'
312
661
includedir='${prefix}/include'
313
662
oldincludedir='/usr/include'
314
 
infodir='${prefix}/info'
315
 
mandir='${prefix}/man'
 
663
docdir='${datarootdir}/doc/${PACKAGE}'
 
664
infodir='${datarootdir}/info'
 
665
htmldir='${docdir}'
 
666
dvidir='${docdir}'
 
667
pdfdir='${docdir}'
 
668
psdir='${docdir}'
 
669
libdir='${exec_prefix}/lib'
 
670
localedir='${datarootdir}/locale'
 
671
mandir='${datarootdir}/man'
316
672
 
317
673
ac_prev=
 
674
ac_dashdash=
318
675
for ac_option
319
676
do
320
677
  # If the previous option needs an argument, assign it.
321
678
  if test -n "$ac_prev"; then
322
 
    eval "$ac_prev=\$ac_option"
 
679
    eval $ac_prev=\$ac_option
323
680
    ac_prev=
324
681
    continue
325
682
  fi
326
683
 
327
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
684
  case $ac_option in
 
685
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
686
  *)    ac_optarg=yes ;;
 
687
  esac
328
688
 
329
689
  # Accept the important Cygnus configure options, so we can diagnose typos.
330
690
 
331
 
  case $ac_option in
 
691
  case $ac_dashdash$ac_option in
 
692
  --)
 
693
    ac_dashdash=yes ;;
332
694
 
333
695
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334
696
    ac_prev=bindir ;;
350
712
  --config-cache | -C)
351
713
    cache_file=config.cache ;;
352
714
 
353
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
715
  -datadir | --datadir | --datadi | --datad)
354
716
    ac_prev=datadir ;;
355
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356
 
  | --da=*)
 
717
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
357
718
    datadir=$ac_optarg ;;
358
719
 
 
720
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
721
  | --dataroo | --dataro | --datar)
 
722
    ac_prev=datarootdir ;;
 
723
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
724
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
725
    datarootdir=$ac_optarg ;;
 
726
 
359
727
  -disable-* | --disable-*)
360
728
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361
729
    # Reject names that are not valid shell variable names.
363
731
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364
732
   { (exit 1); exit 1; }; }
365
733
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366
 
    eval "enable_$ac_feature=no" ;;
 
734
    eval enable_$ac_feature=no ;;
 
735
 
 
736
  -docdir | --docdir | --docdi | --doc | --do)
 
737
    ac_prev=docdir ;;
 
738
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
739
    docdir=$ac_optarg ;;
 
740
 
 
741
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
742
    ac_prev=dvidir ;;
 
743
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
744
    dvidir=$ac_optarg ;;
367
745
 
368
746
  -enable-* | --enable-*)
369
747
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372
750
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373
751
   { (exit 1); exit 1; }; }
374
752
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375
 
    case $ac_option in
376
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377
 
      *) ac_optarg=yes ;;
378
 
    esac
379
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
753
    eval enable_$ac_feature=\$ac_optarg ;;
380
754
 
381
755
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382
756
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
403
777
  -host=* | --host=* | --hos=* | --ho=*)
404
778
    host_alias=$ac_optarg ;;
405
779
 
 
780
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
781
    ac_prev=htmldir ;;
 
782
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
783
  | --ht=*)
 
784
    htmldir=$ac_optarg ;;
 
785
 
406
786
  -includedir | --includedir | --includedi | --included | --include \
407
787
  | --includ | --inclu | --incl | --inc)
408
788
    ac_prev=includedir ;;
427
807
  | --libexe=* | --libex=* | --libe=*)
428
808
    libexecdir=$ac_optarg ;;
429
809
 
 
810
  -localedir | --localedir | --localedi | --localed | --locale)
 
811
    ac_prev=localedir ;;
 
812
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
813
    localedir=$ac_optarg ;;
 
814
 
430
815
  -localstatedir | --localstatedir | --localstatedi | --localstated \
431
 
  | --localstate | --localstat | --localsta | --localst \
432
 
  | --locals | --local | --loca | --loc | --lo)
 
816
  | --localstate | --localstat | --localsta | --localst | --locals)
433
817
    ac_prev=localstatedir ;;
434
818
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
819
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
437
820
    localstatedir=$ac_optarg ;;
438
821
 
439
822
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498
881
  | --progr-tra=* | --program-tr=* | --program-t=*)
499
882
    program_transform_name=$ac_optarg ;;
500
883
 
 
884
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
885
    ac_prev=pdfdir ;;
 
886
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
887
    pdfdir=$ac_optarg ;;
 
888
 
 
889
  -psdir | --psdir | --psdi | --psd | --ps)
 
890
    ac_prev=psdir ;;
 
891
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
892
    psdir=$ac_optarg ;;
 
893
 
501
894
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
895
  | -silent | --silent | --silen | --sile | --sil)
503
896
    silent=yes ;;
554
947
      { echo "$as_me: error: invalid package name: $ac_package" >&2
555
948
   { (exit 1); exit 1; }; }
556
949
    ac_package=`echo $ac_package| sed 's/-/_/g'`
557
 
    case $ac_option in
558
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559
 
      *) ac_optarg=yes ;;
560
 
    esac
561
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
950
    eval with_$ac_package=\$ac_optarg ;;
562
951
 
563
952
  -without-* | --without-*)
564
953
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567
956
      { echo "$as_me: error: invalid package name: $ac_package" >&2
568
957
   { (exit 1); exit 1; }; }
569
958
    ac_package=`echo $ac_package | sed 's/-/_/g'`
570
 
    eval "with_$ac_package=no" ;;
 
959
    eval with_$ac_package=no ;;
571
960
 
572
961
  --x)
573
962
    # Obsolete; use --with-x.
598
987
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599
988
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600
989
   { (exit 1); exit 1; }; }
601
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602
 
    eval "$ac_envvar='$ac_optarg'"
 
990
    eval $ac_envvar=\$ac_optarg
603
991
    export $ac_envvar ;;
604
992
 
605
993
  *)
619
1007
   { (exit 1); exit 1; }; }
620
1008
fi
621
1009
 
622
 
# Be sure to have absolute paths.
623
 
for ac_var in exec_prefix prefix
624
 
do
625
 
  eval ac_val=$`echo $ac_var`
626
 
  case $ac_val in
627
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
 
   { (exit 1); exit 1; }; };;
630
 
  esac
631
 
done
632
 
 
633
 
# Be sure to have absolute paths.
634
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635
 
              localstatedir libdir includedir oldincludedir infodir mandir
636
 
do
637
 
  eval ac_val=$`echo $ac_var`
638
 
  case $ac_val in
639
 
    [\\/$]* | ?:[\\/]* ) ;;
640
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
 
   { (exit 1); exit 1; }; };;
642
 
  esac
 
1010
# Be sure to have absolute directory names.
 
1011
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1012
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1013
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1014
                libdir localedir mandir
 
1015
do
 
1016
  eval ac_val=\$$ac_var
 
1017
  case $ac_val in
 
1018
    [\\/$]* | ?:[\\/]* )  continue;;
 
1019
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1020
  esac
 
1021
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1022
   { (exit 1); exit 1; }; }
643
1023
done
644
1024
 
645
1025
# There might be people who depend on the old broken behavior: `$host'
666
1046
test "$silent" = yes && exec 6>/dev/null
667
1047
 
668
1048
 
 
1049
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1050
ac_ls_di=`ls -di .` &&
 
1051
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1052
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1053
   { (exit 1); exit 1; }; }
 
1054
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1055
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1056
   { (exit 1); exit 1; }; }
 
1057
 
 
1058
 
669
1059
# Find the source files, if location was not specified.
670
1060
if test -z "$srcdir"; then
671
1061
  ac_srcdir_defaulted=yes
672
 
  # Try the directory containing this script, then its parent.
673
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1062
  # Try the directory containing this script, then the parent directory.
 
1063
  ac_confdir=`$as_dirname -- "$0" ||
674
1064
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
1065
         X"$0" : 'X\(//\)[^/]' \| \
676
1066
         X"$0" : 'X\(//\)$' \| \
677
 
         X"$0" : 'X\(/\)' \| \
678
 
         .     : '\(.\)' 2>/dev/null ||
 
1067
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
679
1068
echo X"$0" |
680
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
 
          /^X\(\/\/\)$/{ s//\1/; q; }
683
 
          /^X\(\/\).*/{ s//\1/; q; }
684
 
          s/.*/./; q'`
 
1069
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1070
            s//\1/
 
1071
            q
 
1072
          }
 
1073
          /^X\(\/\/\)[^/].*/{
 
1074
            s//\1/
 
1075
            q
 
1076
          }
 
1077
          /^X\(\/\/\)$/{
 
1078
            s//\1/
 
1079
            q
 
1080
          }
 
1081
          /^X\(\/\).*/{
 
1082
            s//\1/
 
1083
            q
 
1084
          }
 
1085
          s/.*/./; q'`
685
1086
  srcdir=$ac_confdir
686
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1087
  if test ! -r "$srcdir/$ac_unique_file"; then
687
1088
    srcdir=..
688
1089
  fi
689
1090
else
690
1091
  ac_srcdir_defaulted=no
691
1092
fi
692
 
if test ! -r $srcdir/$ac_unique_file; then
693
 
  if test "$ac_srcdir_defaulted" = yes; then
694
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
 
   { (exit 1); exit 1; }; }
696
 
  else
697
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
 
   { (exit 1); exit 1; }; }
699
 
  fi
700
 
fi
701
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
 
   { (exit 1); exit 1; }; }
704
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
 
ac_env_build_alias_set=${build_alias+set}
706
 
ac_env_build_alias_value=$build_alias
707
 
ac_cv_env_build_alias_set=${build_alias+set}
708
 
ac_cv_env_build_alias_value=$build_alias
709
 
ac_env_host_alias_set=${host_alias+set}
710
 
ac_env_host_alias_value=$host_alias
711
 
ac_cv_env_host_alias_set=${host_alias+set}
712
 
ac_cv_env_host_alias_value=$host_alias
713
 
ac_env_target_alias_set=${target_alias+set}
714
 
ac_env_target_alias_value=$target_alias
715
 
ac_cv_env_target_alias_set=${target_alias+set}
716
 
ac_cv_env_target_alias_value=$target_alias
 
1093
if test ! -r "$srcdir/$ac_unique_file"; then
 
1094
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1095
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1096
   { (exit 1); exit 1; }; }
 
1097
fi
 
1098
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1099
ac_abs_confdir=`(
 
1100
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1101
   { (exit 1); exit 1; }; }
 
1102
        pwd)`
 
1103
# When building in place, set srcdir=.
 
1104
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1105
  srcdir=.
 
1106
fi
 
1107
# Remove unnecessary trailing slashes from srcdir.
 
1108
# Double slashes in file names in object file debugging info
 
1109
# mess up M-x gdb in Emacs.
 
1110
case $srcdir in
 
1111
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1112
esac
 
1113
for ac_var in $ac_precious_vars; do
 
1114
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1115
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1116
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1117
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1118
done
717
1119
 
718
1120
#
719
1121
# Report the --help message.
742
1144
  -n, --no-create         do not create output files
743
1145
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
744
1146
 
745
 
_ACEOF
746
 
 
747
 
  cat <<_ACEOF
748
1147
Installation directories:
749
1148
  --prefix=PREFIX         install architecture-independent files in PREFIX
750
1149
                          [$ac_default_prefix]
762
1161
  --bindir=DIR           user executables [EPREFIX/bin]
763
1162
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
764
1163
  --libexecdir=DIR       program executables [EPREFIX/libexec]
765
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
766
1164
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
767
1165
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
768
1166
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
769
1167
  --libdir=DIR           object code libraries [EPREFIX/lib]
770
1168
  --includedir=DIR       C header files [PREFIX/include]
771
1169
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
772
 
  --infodir=DIR          info documentation [PREFIX/info]
773
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1170
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1171
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1172
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1173
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1174
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1175
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1176
  --htmldir=DIR          html documentation [DOCDIR]
 
1177
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1178
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1179
  --psdir=DIR            ps documentation [DOCDIR]
774
1180
_ACEOF
775
1181
 
776
1182
  cat <<\_ACEOF
784
1190
Optional Packages:
785
1191
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
786
1192
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
787
 
  --with-pike=binary    Use the specified Pike.
788
 
  --with-config=config-dir
789
 
                          Use the specified config dir. The default is to
790
 
                          append /lib/steam/config to the prefix.
791
 
  --with-realdir=realdir Use the specified real dir.
792
 
  --with-installdir=installdir
 
1193
  --with-pike=binary      Use the specified Pike.
 
1194
  --with-brand[=brand_name]
 
1195
                          Specify the name to use for the steam folders and
 
1196
                          database. Only alphanumeric characters are allowed,
 
1197
                          and the name must start with a letter, not a number.
 
1198
                          Also, don't use a name that you already use as a
 
1199
                          database name. This will be used as the folder name
 
1200
                          for configs, logs and server and as the database
 
1201
                          name, unless overridden. Default: steam
 
1202
  --with-installdir[=installdir]
793
1203
                          Use the specified install dir. This will be
794
1204
                          prepended to the prefix variable. Default is: /.
 
1205
  --with-configdir[=config-dir]
 
1206
                          Use the specified dir for config files. Default:
 
1207
                          /etc/steam.
 
1208
  --with-logdir[=logdir]  Use the specified dir for log files. Default:
 
1209
                          /var/log/steam.
 
1210
  --with-steamdir[=steam-dir]
 
1211
                          Use the specified dir for the steam server files.
 
1212
                          Default: /usr/local/lib/steam (or /usr/lib/steam,
 
1213
                          depending on your prefix).
 
1214
  --with-javahome[=java_install_dir]
 
1215
                          Specify the directory where java is installed (e.g.
 
1216
                          /usr/java/j2sdk_1.4.0). Default is: \$JAVA_HOME.
795
1217
 
796
1218
_ACEOF
 
1219
ac_status=$?
797
1220
fi
798
1221
 
799
1222
if test "$ac_init_help" = "recursive"; then
800
1223
  # If there are subdirs, report their specific --help.
801
 
  ac_popdir=`pwd`
802
1224
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
803
 
    test -d $ac_dir || continue
 
1225
    test -d "$ac_dir" || continue
804
1226
    ac_builddir=.
805
1227
 
806
 
if test "$ac_dir" != .; then
 
1228
case "$ac_dir" in
 
1229
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1230
*)
807
1231
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
808
 
  # A "../" for each directory in $ac_dir_suffix.
809
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
810
 
else
811
 
  ac_dir_suffix= ac_top_builddir=
812
 
fi
 
1232
  # A ".." for each directory in $ac_dir_suffix.
 
1233
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1234
  case $ac_top_builddir_sub in
 
1235
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1236
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1237
  esac ;;
 
1238
esac
 
1239
ac_abs_top_builddir=$ac_pwd
 
1240
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1241
# for backward compatibility:
 
1242
ac_top_builddir=$ac_top_build_prefix
813
1243
 
814
1244
case $srcdir in
815
 
  .)  # No --srcdir option.  We are building in place.
 
1245
  .)  # We are building in place.
816
1246
    ac_srcdir=.
817
 
    if test -z "$ac_top_builddir"; then
818
 
       ac_top_srcdir=.
819
 
    else
820
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
821
 
    fi ;;
822
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1247
    ac_top_srcdir=$ac_top_builddir_sub
 
1248
    ac_abs_top_srcdir=$ac_pwd ;;
 
1249
  [\\/]* | ?:[\\/]* )  # Absolute name.
823
1250
    ac_srcdir=$srcdir$ac_dir_suffix;
824
 
    ac_top_srcdir=$srcdir ;;
825
 
  *) # Relative path.
826
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
827
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
828
 
esac
829
 
 
830
 
# Do not use `cd foo && pwd` to compute absolute paths, because
831
 
# the directories may not exist.
832
 
case `pwd` in
833
 
.) ac_abs_builddir="$ac_dir";;
834
 
*)
835
 
  case "$ac_dir" in
836
 
  .) ac_abs_builddir=`pwd`;;
837
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
838
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
839
 
  esac;;
840
 
esac
841
 
case $ac_abs_builddir in
842
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
843
 
*)
844
 
  case ${ac_top_builddir}. in
845
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
846
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
847
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
848
 
  esac;;
849
 
esac
850
 
case $ac_abs_builddir in
851
 
.) ac_abs_srcdir=$ac_srcdir;;
852
 
*)
853
 
  case $ac_srcdir in
854
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
855
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
856
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
857
 
  esac;;
858
 
esac
859
 
case $ac_abs_builddir in
860
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
861
 
*)
862
 
  case $ac_top_srcdir in
863
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
864
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
865
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
866
 
  esac;;
867
 
esac
868
 
 
869
 
    cd $ac_dir
870
 
    # Check for guested configure; otherwise get Cygnus style configure.
871
 
    if test -f $ac_srcdir/configure.gnu; then
872
 
      echo
873
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
874
 
    elif test -f $ac_srcdir/configure; then
875
 
      echo
876
 
      $SHELL $ac_srcdir/configure  --help=recursive
877
 
    elif test -f $ac_srcdir/configure.ac ||
878
 
           test -f $ac_srcdir/configure.in; then
879
 
      echo
880
 
      $ac_configure --help
 
1251
    ac_top_srcdir=$srcdir
 
1252
    ac_abs_top_srcdir=$srcdir ;;
 
1253
  *) # Relative name.
 
1254
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1255
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1256
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1257
esac
 
1258
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1259
 
 
1260
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1261
    # Check for guested configure.
 
1262
    if test -f "$ac_srcdir/configure.gnu"; then
 
1263
      echo &&
 
1264
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1265
    elif test -f "$ac_srcdir/configure"; then
 
1266
      echo &&
 
1267
      $SHELL "$ac_srcdir/configure" --help=recursive
881
1268
    else
882
1269
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
883
 
    fi
884
 
    cd "$ac_popdir"
 
1270
    fi || ac_status=$?
 
1271
    cd "$ac_pwd" || { ac_status=$?; break; }
885
1272
  done
886
1273
fi
887
1274
 
888
 
test -n "$ac_init_help" && exit 0
 
1275
test -n "$ac_init_help" && exit $ac_status
889
1276
if $ac_init_version; then
890
1277
  cat <<\_ACEOF
 
1278
configure
 
1279
generated by GNU Autoconf 2.60a
891
1280
 
892
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1281
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1282
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
893
1283
This configure script is free software; the Free Software Foundation
894
1284
gives unlimited permission to copy, distribute and modify it.
895
1285
_ACEOF
896
 
  exit 0
 
1286
  exit
897
1287
fi
898
 
exec 5>config.log
899
 
cat >&5 <<_ACEOF
 
1288
cat >config.log <<_ACEOF
900
1289
This file contains any messages produced by compilers while
901
1290
running configure, to aid debugging if configure makes a mistake.
902
1291
 
903
1292
It was created by $as_me, which was
904
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1293
generated by GNU Autoconf 2.60a.  Invocation command line was
905
1294
 
906
1295
  $ $0 $@
907
1296
 
908
1297
_ACEOF
 
1298
exec 5>>config.log
909
1299
{
910
1300
cat <<_ASUNAME
911
1301
## --------- ##
924
1314
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
925
1315
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
926
1316
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
927
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1317
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
928
1318
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
929
1319
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
930
1320
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
938
1328
  test -z "$as_dir" && as_dir=.
939
1329
  echo "PATH: $as_dir"
940
1330
done
 
1331
IFS=$as_save_IFS
941
1332
 
942
1333
} >&5
943
1334
 
959
1350
ac_configure_args=
960
1351
ac_configure_args0=
961
1352
ac_configure_args1=
962
 
ac_sep=
963
1353
ac_must_keep_next=false
964
1354
for ac_pass in 1 2
965
1355
do
970
1360
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971
1361
    | -silent | --silent | --silen | --sile | --sil)
972
1362
      continue ;;
973
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1363
    *\'*)
974
1364
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
975
1365
    esac
976
1366
    case $ac_pass in
992
1382
          -* ) ac_must_keep_next=true ;;
993
1383
        esac
994
1384
      fi
995
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
996
 
      # Get rid of the leading space.
997
 
      ac_sep=" "
 
1385
      ac_configure_args="$ac_configure_args '$ac_arg'"
998
1386
      ;;
999
1387
    esac
1000
1388
  done
1005
1393
# When interrupted or exit'd, cleanup temporary files, and complete
1006
1394
# config.log.  We remove comments because anyway the quotes in there
1007
1395
# would cause problems or look ugly.
1008
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1009
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1396
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1397
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1010
1398
trap 'exit_status=$?
1011
1399
  # Save into config.log some information that might help in debugging.
1012
1400
  {
1019
1407
_ASBOX
1020
1408
    echo
1021
1409
    # The following way of writing the cache mishandles newlines in values,
1022
 
{
 
1410
(
 
1411
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1412
    eval ac_val=\$$ac_var
 
1413
    case $ac_val in #(
 
1414
    *${as_nl}*)
 
1415
      case $ac_var in #(
 
1416
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1417
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1418
      esac
 
1419
      case $ac_var in #(
 
1420
      _ | IFS | as_nl) ;; #(
 
1421
      *) $as_unset $ac_var ;;
 
1422
      esac ;;
 
1423
    esac
 
1424
  done
1023
1425
  (set) 2>&1 |
1024
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1025
 
    *ac_space=\ *)
 
1426
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1427
    *${as_nl}ac_space=\ *)
1026
1428
      sed -n \
1027
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1028
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1029
 
      ;;
 
1429
        "s/'\''/'\''\\\\'\'''\''/g;
 
1430
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1431
      ;; #(
1030
1432
    *)
1031
 
      sed -n \
1032
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1433
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1033
1434
      ;;
1034
 
    esac;
1035
 
}
 
1435
    esac |
 
1436
    sort
 
1437
)
1036
1438
    echo
1037
1439
 
1038
1440
    cat <<\_ASBOX
1043
1445
    echo
1044
1446
    for ac_var in $ac_subst_vars
1045
1447
    do
1046
 
      eval ac_val=$`echo $ac_var`
1047
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1448
      eval ac_val=\$$ac_var
 
1449
      case $ac_val in
 
1450
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1451
      esac
 
1452
      echo "$ac_var='\''$ac_val'\''"
1048
1453
    done | sort
1049
1454
    echo
1050
1455
 
1051
1456
    if test -n "$ac_subst_files"; then
1052
1457
      cat <<\_ASBOX
1053
 
## ------------- ##
1054
 
## Output files. ##
1055
 
## ------------- ##
 
1458
## ------------------- ##
 
1459
## File substitutions. ##
 
1460
## ------------------- ##
1056
1461
_ASBOX
1057
1462
      echo
1058
1463
      for ac_var in $ac_subst_files
1059
1464
      do
1060
 
        eval ac_val=$`echo $ac_var`
1061
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1465
        eval ac_val=\$$ac_var
 
1466
        case $ac_val in
 
1467
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1468
        esac
 
1469
        echo "$ac_var='\''$ac_val'\''"
1062
1470
      done | sort
1063
1471
      echo
1064
1472
    fi
1070
1478
## ----------- ##
1071
1479
_ASBOX
1072
1480
      echo
1073
 
      sed "/^$/d" confdefs.h | sort
 
1481
      cat confdefs.h
1074
1482
      echo
1075
1483
    fi
1076
1484
    test "$ac_signal" != 0 &&
1077
1485
      echo "$as_me: caught signal $ac_signal"
1078
1486
    echo "$as_me: exit $exit_status"
1079
1487
  } >&5
1080
 
  rm -f core *.core &&
1081
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1488
  rm -f core *.core core.conftest.* &&
 
1489
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1082
1490
    exit $exit_status
1083
 
     ' 0
 
1491
' 0
1084
1492
for ac_signal in 1 2 13 15; do
1085
1493
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1086
1494
done
1087
1495
ac_signal=0
1088
1496
 
1089
1497
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1090
 
rm -rf conftest* confdefs.h
1091
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1092
 
echo >confdefs.h
 
1498
rm -f -r conftest* confdefs.h
1093
1499
 
1094
1500
# Predefined preprocessor variables.
1095
1501
 
1120
1526
 
1121
1527
# Let the site file select an alternate cache file if it wants to.
1122
1528
# Prefer explicitly selected file to automatically selected ones.
1123
 
if test -z "$CONFIG_SITE"; then
1124
 
  if test "x$prefix" != xNONE; then
1125
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1126
 
  else
1127
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1128
 
  fi
 
1529
if test -n "$CONFIG_SITE"; then
 
1530
  set x "$CONFIG_SITE"
 
1531
elif test "x$prefix" != xNONE; then
 
1532
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1533
else
 
1534
  set x "$ac_default_prefix/share/config.site" \
 
1535
        "$ac_default_prefix/etc/config.site"
1129
1536
fi
1130
 
for ac_site_file in $CONFIG_SITE; do
 
1537
shift
 
1538
for ac_site_file
 
1539
do
1131
1540
  if test -r "$ac_site_file"; then
1132
1541
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1133
1542
echo "$as_me: loading site script $ac_site_file" >&6;}
1143
1552
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1144
1553
echo "$as_me: loading cache $cache_file" >&6;}
1145
1554
    case $cache_file in
1146
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1147
 
      *)                      . ./$cache_file;;
 
1555
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1556
      *)                      . "./$cache_file";;
1148
1557
    esac
1149
1558
  fi
1150
1559
else
1156
1565
# Check that the precious variables saved in the cache have kept the same
1157
1566
# value.
1158
1567
ac_cache_corrupted=false
1159
 
for ac_var in `(set) 2>&1 |
1160
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1568
for ac_var in $ac_precious_vars; do
1161
1569
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1162
1570
  eval ac_new_set=\$ac_env_${ac_var}_set
1163
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1164
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1571
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1572
  eval ac_new_val=\$ac_env_${ac_var}_value
1165
1573
  case $ac_old_set,$ac_new_set in
1166
1574
    set,)
1167
1575
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1186
1594
  # Pass precious variables to config.status.
1187
1595
  if test "$ac_new_set" = set; then
1188
1596
    case $ac_new_val in
1189
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1190
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1597
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1191
1598
    *) ac_arg=$ac_var=$ac_new_val ;;
1192
1599
    esac
1193
1600
    case " $ac_configure_args " in
1204
1611
   { (exit 1); exit 1; }; }
1205
1612
fi
1206
1613
 
 
1614
 
 
1615
 
 
1616
 
 
1617
 
 
1618
 
 
1619
 
 
1620
 
 
1621
 
 
1622
 
 
1623
 
 
1624
 
 
1625
 
 
1626
 
 
1627
 
 
1628
 
 
1629
 
1207
1630
ac_ext=c
1208
1631
ac_cpp='$CPP $CPPFLAGS'
1209
1632
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1212
1635
 
1213
1636
 
1214
1637
 
1215
 
 
1216
 
 
1217
 
 
1218
 
 
1219
 
 
1220
 
 
1221
 
 
1222
 
 
1223
 
 
1224
 
 
1225
 
 
1226
 
 
1227
 
 
1228
 
 
1229
 
 
1230
 
 
1231
 
 
1232
1638
DIRS="sources"
1233
1639
 
1234
1640
 
1237
1643
fi
1238
1644
echo "Installing into ${prefix}"
1239
1645
 
1240
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1241
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1242
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1243
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1646
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1647
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1648
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1649
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1244
1650
  echo $ECHO_N "(cached) $ECHO_C" >&6
1245
1651
else
1246
1652
  cat >conftest.make <<\_ACEOF
 
1653
SHELL = /bin/sh
1247
1654
all:
1248
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1655
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1249
1656
_ACEOF
1250
1657
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1251
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1252
 
if test -n "$ac_maketemp"; then
1253
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1254
 
else
1255
 
  eval ac_cv_prog_make_${ac_make}_set=no
1256
 
fi
 
1658
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1659
  *@@@%%%=?*=@@@%%%*)
 
1660
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1661
  *)
 
1662
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1663
esac
1257
1664
rm -f conftest.make
1258
1665
fi
1259
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1260
 
  echo "$as_me:$LINENO: result: yes" >&5
1261
 
echo "${ECHO_T}yes" >&6
 
1666
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1667
  { echo "$as_me:$LINENO: result: yes" >&5
 
1668
echo "${ECHO_T}yes" >&6; }
1262
1669
  SET_MAKE=
1263
1670
else
1264
 
  echo "$as_me:$LINENO: result: no" >&5
1265
 
echo "${ECHO_T}no" >&6
 
1671
  { echo "$as_me:$LINENO: result: no" >&5
 
1672
echo "${ECHO_T}no" >&6; }
1266
1673
  SET_MAKE="MAKE=${MAKE-make}"
1267
1674
fi
1268
1675
 
1269
1676
ac_aux_dir=
1270
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1271
 
  if test -f $ac_dir/install-sh; then
 
1677
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1678
  if test -f "$ac_dir/install-sh"; then
1272
1679
    ac_aux_dir=$ac_dir
1273
1680
    ac_install_sh="$ac_aux_dir/install-sh -c"
1274
1681
    break
1275
 
  elif test -f $ac_dir/install.sh; then
 
1682
  elif test -f "$ac_dir/install.sh"; then
1276
1683
    ac_aux_dir=$ac_dir
1277
1684
    ac_install_sh="$ac_aux_dir/install.sh -c"
1278
1685
    break
1279
 
  elif test -f $ac_dir/shtool; then
 
1686
  elif test -f "$ac_dir/shtool"; then
1280
1687
    ac_aux_dir=$ac_dir
1281
1688
    ac_install_sh="$ac_aux_dir/shtool install -c"
1282
1689
    break
1283
1690
  fi
1284
1691
done
1285
1692
if test -z "$ac_aux_dir"; then
1286
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1287
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1693
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1694
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1288
1695
   { (exit 1); exit 1; }; }
1289
1696
fi
1290
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1291
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1292
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1697
 
 
1698
# These three variables are undocumented and unsupported,
 
1699
# and are intended to be withdrawn in a future Autoconf release.
 
1700
# They can cause serious problems if a builder's source tree is in a directory
 
1701
# whose full name contains unusual characters.
 
1702
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1703
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1704
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1705
 
1293
1706
 
1294
1707
# Find a good install program.  We prefer a C program (faster),
1295
1708
# so one script is as good as another.  But avoid the broken or
1304
1717
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1305
1718
# OS/2's system install, which has a completely different semantic
1306
1719
# ./install, which can be erroneously created by make from ./install.sh.
1307
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1308
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1720
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1721
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1309
1722
if test -z "$INSTALL"; then
1310
1723
if test "${ac_cv_path_install+set}" = set; then
1311
1724
  echo $ECHO_N "(cached) $ECHO_C" >&6
1327
1740
    # by default.
1328
1741
    for ac_prog in ginstall scoinst install; do
1329
1742
      for ac_exec_ext in '' $ac_executable_extensions; do
1330
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1743
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1331
1744
          if test $ac_prog = install &&
1332
1745
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333
1746
            # AIX install.  It has an incompatible calling convention.
1346
1759
    ;;
1347
1760
esac
1348
1761
done
 
1762
IFS=$as_save_IFS
1349
1763
 
1350
1764
 
1351
1765
fi
1352
1766
  if test "${ac_cv_path_install+set}" = set; then
1353
1767
    INSTALL=$ac_cv_path_install
1354
1768
  else
1355
 
    # As a last resort, use the slow shell script.  We don't cache a
1356
 
    # path for INSTALL within a source directory, because that will
 
1769
    # As a last resort, use the slow shell script.  Don't cache a
 
1770
    # value for INSTALL within a source directory, because that will
1357
1771
    # break other packages using the cache if that directory is
1358
 
    # removed, or if the path is relative.
 
1772
    # removed, or if the value is a relative name.
1359
1773
    INSTALL=$ac_install_sh
1360
1774
  fi
1361
1775
fi
1362
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1363
 
echo "${ECHO_T}$INSTALL" >&6
 
1776
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1777
echo "${ECHO_T}$INSTALL" >&6; }
1364
1778
 
1365
1779
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1366
1780
# It thinks the first close brace ends the variable substitution.
1374
1788
#routines to check for PIKE
1375
1789
 
1376
1790
 
1377
 
# Check whether --with-pike or --without-pike was given.
 
1791
# Check whether --with-pike was given.
1378
1792
if test "${with_pike+set}" = set; then
1379
 
  withval="$with_pike"
1380
 
 
 
1793
  withval=$with_pike;
1381
1794
    if test ! -z "$withval" -a "$withval" != "yes"; then
1382
1795
                extpike="`type  $withval |sed "s:$withval is ::" 2>/dev/null`"
1383
1796
                if test "$extpike" != ""; then
1394
1807
                fi
1395
1808
        fi
1396
1809
 
1397
 
fi;
 
1810
fi
 
1811
 
1398
1812
 
1399
1813
RESULT=no
1400
 
echo "$as_me:$LINENO: checking for a working Pike" >&5
1401
 
echo $ECHO_N "checking for a working Pike... $ECHO_C" >&6
 
1814
{ echo "$as_me:$LINENO: checking for a working Pike" >&5
 
1815
echo $ECHO_N "checking for a working Pike... $ECHO_C" >&6; }
1402
1816
 
1403
1817
pathpike="`type  pike |sed 's/pike is//' 2>/dev/null`"
1404
1818
if test "$prefix" != "NONE"; then
1411
1825
  fi
1412
1826
  a="`dirname ${path}`"
1413
1827
  a="`dirname ${a}`"
1414
 
  echo "$as_me:$LINENO: checking ${a}" >&5
1415
 
echo $ECHO_N "checking ${a}... $ECHO_C" >&6
 
1828
  { echo "$as_me:$LINENO: checking ${a}" >&5
 
1829
echo $ECHO_N "checking ${a}... $ECHO_C" >&6; }
1416
1830
  if test -x $path; then
1417
1831
    PIKE="${path}"
1418
 
    echo "$as_me:$LINENO: result: \"Pike is $PIKE\"" >&5
1419
 
echo "${ECHO_T}\"Pike is $PIKE\"" >&6
 
1832
    { echo "$as_me:$LINENO: result: \"Pike is $PIKE\"" >&5
 
1833
echo "${ECHO_T}\"Pike is $PIKE\"" >&6; }
1420
1834
    if $PIKE -e 'float v; int rel;sscanf(version(), "Pike v%f release %d", v, rel);v += rel/10000.0; if(v < 7.4) exit(1); exit(0);'; then
1421
1835
        PIKE_VERSION="`${PIKE} -e 'int v,sv;sscanf(version(),\"Pike v%d.%d %*s\", v, sv); write(v+\".\"+sv);exit(0);'`"
1422
1836
        PIKE_VERSION_STR="`${PIKE} -e 'write(version());exit(0);'`"
1424
1838
        PIKE_MODULE_DIR="`$PIKE --show-paths 2>&1| grep lib|grep modules|head -1 | sed -e 's/.*: //'`"
1425
1839
        PIKE_INCLUDE_DIRS="-I`echo "$PIKE_MODULE_DIR" | sed -e 's,lib/pike/modules,include/pike,' -e 's,lib/modules,include/pike,'`"
1426
1840
 
1427
 
        for b in include/pike pike/${PIKE_VERSION}/include/pike include/pike${PIKE_VERSION}/include include/pike${PIKE_VERSION} pike/${PIKE_FULL_VERSION}/include/pike include/pike/${PIKE_FULL_VERSION}; do
 
1841
        for b in include/pike pike/${PIKE_VERSION}/include/pike include/pike${PIKE_VERSION}/include include/pike${PIKE_VERSION} pike/${PIKE_FULL_VERSION}/include/pike include/pike/${PIKE_FULL_VERSION} include/pike/pike${PIKE_VERSION}; do
1428
1842
            PIKE_C_INCLUDE=${a}/${b}
1429
 
            echo "$as_me:$LINENO: checking \"C_INCLUDE_DIR=${PIKE_C_INCLUDE}\"" >&5
1430
 
echo $ECHO_N "checking \"C_INCLUDE_DIR=${PIKE_C_INCLUDE}\"... $ECHO_C" >&6
 
1843
            { echo "$as_me:$LINENO: checking \"C_INCLUDE_DIR=${PIKE_C_INCLUDE}\"" >&5
 
1844
echo $ECHO_N "checking \"C_INCLUDE_DIR=${PIKE_C_INCLUDE}\"... $ECHO_C" >&6; }
1431
1845
            if test -f $PIKE_C_INCLUDE/global.h; then
1432
1846
               PIKE_INCLUDE_PREFIX="${PIKE_C_INCLUDE}"
1433
1847
            fi
1434
1848
         done
1435
1849
         if test -d $PIKE_C_INCLUDE; then
1436
1850
              PIKE_INCLUDE_DIRS="$PIKE_INCLUDE_DIRS -I$PIKE_INCLUDE_PREFIX"
1437
 
              echo "$as_me:$LINENO: result: found" >&5
1438
 
echo "${ECHO_T}found" >&6
 
1851
              { echo "$as_me:$LINENO: result: found" >&5
 
1852
echo "${ECHO_T}found" >&6; }
1439
1853
         else
1440
 
              echo "$as_me:$LINENO: result: not found" >&5
1441
 
echo "${ECHO_T}not found" >&6
 
1854
              { echo "$as_me:$LINENO: result: not found" >&5
 
1855
echo "${ECHO_T}not found" >&6; }
1442
1856
         fi
1443
1857
    fi
1444
1858
else
1445
 
    echo "$as_me:$LINENO: result: no" >&5
1446
 
echo "${ECHO_T}no" >&6
 
1859
    { echo "$as_me:$LINENO: result: no" >&5
 
1860
echo "${ECHO_T}no" >&6; }
1447
1861
fi
1448
1862
export PIKE_INCLUDE_PREFIX PIKE_INCLUDE_DIRS PIKE PIKE_VERSION
1449
1863
 
1458
1872
   { (exit 1); exit 1; }; }
1459
1873
fi
1460
1874
 
1461
 
#find configs
1462
 
configs=$prefix/lib/steam/config
1463
 
 
1464
 
# Check whether --with-config or --without-config was given.
1465
 
if test "${with_config+set}" = set; then
1466
 
  withval="$with_config"
1467
 
 
 
1875
#brand name
 
1876
brand=steam
 
1877
 
 
1878
# Check whether --with-brand was given.
 
1879
if test "${with_brand+set}" = set; then
 
1880
  withval=$with_brand;
1468
1881
        echo "$withval ... trying..."
1469
 
        configs="$withval"
1470
 
 
1471
 
fi;
1472
 
 
1473
 
export configs
1474
 
 
1475
 
realdir=/lib/steam
1476
 
 
1477
 
# Check whether --with-realdir or --without-realdir was given.
1478
 
if test "${with_realdir+set}" = set; then
1479
 
  withval="$with_realdir"
1480
 
 
1481
 
        echo "$withval ... trying..."
1482
 
        realdir="$withval"
1483
 
 
1484
 
fi;
1485
 
 
1486
 
export realdir
1487
 
 
 
1882
        brand="$withval"
 
1883
 
 
1884
fi
 
1885
 
 
1886
 
 
1887
export brand
 
1888
 
 
1889
#installdir
1488
1890
installdir=/
1489
1891
 
1490
 
# Check whether --with-installdir or --without-installdir was given.
 
1892
# Check whether --with-installdir was given.
1491
1893
if test "${with_installdir+set}" = set; then
1492
 
  withval="$with_installdir"
1493
 
 
 
1894
  withval=$with_installdir;
1494
1895
        echo "$withval ... trying..."
1495
1896
        installdir="$withval"
1496
1897
 
1497
 
fi;
 
1898
fi
 
1899
 
 
1900
installdir=`echo "$installdir" | sed 's,//*,/,g'`
1498
1901
 
1499
1902
export installdir
1500
1903
 
1501
 
 
 
1904
#configdir
 
1905
configdir=/etc/$brand
 
1906
 
 
1907
# Check whether --with-configdir was given.
 
1908
if test "${with_configdir+set}" = set; then
 
1909
  withval=$with_configdir;
 
1910
        echo "$withval ... trying..."
 
1911
        configdir="$withval"
 
1912
 
 
1913
fi
 
1914
 
 
1915
configdir=`echo "$configdir" | sed 's,//*,/,g'`
 
1916
 
 
1917
export configdir
 
1918
 
 
1919
#logdir
 
1920
logdir=/var/log/$brand
 
1921
 
 
1922
# Check whether --with-logdir was given.
 
1923
if test "${with_logdir+set}" = set; then
 
1924
  withval=$with_logdir;
 
1925
        echo "$withval ... trying..."
 
1926
        logdir="$withval"
 
1927
 
 
1928
fi
 
1929
 
 
1930
logdir=`echo "$logdir" | sed 's,//*,/,g'`
 
1931
 
 
1932
export logdir
 
1933
 
 
1934
#steamdir
 
1935
steamdir=/$prefix/lib/$brand
 
1936
 
 
1937
# Check whether --with-steamdir was given.
 
1938
if test "${with_steamdir+set}" = set; then
 
1939
  withval=$with_steamdir;
 
1940
        echo "$withval ... trying..."
 
1941
        steamdir="$withval"
 
1942
 
 
1943
fi
 
1944
 
 
1945
steamdir=`echo "$steamdir" | sed 's,//*,/,g'`
 
1946
 
 
1947
export steamdir
 
1948
 
 
1949
javahome=$JAVA_HOME
 
1950
 
 
1951
# Check whether --with-javahome was given.
 
1952
if test "${with_javahome+set}" = set; then
 
1953
  withval=$with_javahome;
 
1954
        echo "$withval ... trying..."
 
1955
        javahome="$withval"
 
1956
 
 
1957
fi
 
1958
 
 
1959
 
 
1960
export javahome
1502
1961
 
1503
1962
subdirs="$subdirs sources spm"
1504
1963
 
1505
 
                                                                      ac_config_files="$ac_config_files setup version redhat/init.d/steam tools/debug.pike tools/export tools/export_users tools/import"
1506
 
 
1507
 
 
1508
 
          ac_config_files="$ac_config_files Makefile"
 
1964
ac_config_files="$ac_config_files setup version distrib/redhat/init.d/steam distrib/suse/init.d/steam distrib/generic/init.d/steam tools/debug.pike tools/export tools/export_users tools/import tools/create_cert.pike server/include/configure.h"
 
1965
 
 
1966
 
 
1967
ac_config_files="$ac_config_files Makefile"
 
1968
 
1509
1969
cat >confcache <<\_ACEOF
1510
1970
# This file is a shell script that caches the results of configure
1511
1971
# tests run on this system so they can be shared between configure
1524
1984
 
1525
1985
# The following way of writing the cache mishandles newlines in values,
1526
1986
# but we know of no workaround that is simple, portable, and efficient.
1527
 
# So, don't put newlines in cache variables' values.
 
1987
# So, we kill variables containing newlines.
1528
1988
# Ultrix sh set writes to stderr and can't be redirected directly,
1529
1989
# and sets the high bit in the cache file unless we assign to the vars.
1530
 
{
 
1990
(
 
1991
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
1992
    eval ac_val=\$$ac_var
 
1993
    case $ac_val in #(
 
1994
    *${as_nl}*)
 
1995
      case $ac_var in #(
 
1996
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1997
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1998
      esac
 
1999
      case $ac_var in #(
 
2000
      _ | IFS | as_nl) ;; #(
 
2001
      *) $as_unset $ac_var ;;
 
2002
      esac ;;
 
2003
    esac
 
2004
  done
 
2005
 
1531
2006
  (set) 2>&1 |
1532
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1533
 
    *ac_space=\ *)
 
2007
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
2008
    *${as_nl}ac_space=\ *)
1534
2009
      # `set' does not quote correctly, so add quotes (double-quote
1535
2010
      # substitution turns \\\\ into \\, and sed turns \\ into \).
1536
2011
      sed -n \
1537
2012
        "s/'/'\\\\''/g;
1538
2013
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1539
 
      ;;
 
2014
      ;; #(
1540
2015
    *)
1541
2016
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1542
 
      sed -n \
1543
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2017
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1544
2018
      ;;
1545
 
    esac;
1546
 
} |
 
2019
    esac |
 
2020
    sort
 
2021
) |
1547
2022
  sed '
 
2023
     /^ac_cv_env_/b end
1548
2024
     t clear
1549
 
     : clear
 
2025
     :clear
1550
2026
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1551
2027
     t end
1552
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1553
 
     : end' >>confcache
1554
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1555
 
  if test -w $cache_file; then
1556
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
2028
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2029
     :end' >>confcache
 
2030
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
2031
  if test -w "$cache_file"; then
 
2032
    test "x$cache_file" != "x/dev/null" &&
 
2033
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
2034
echo "$as_me: updating cache $cache_file" >&6;}
1557
2035
    cat confcache >$cache_file
1558
2036
  else
1559
 
    echo "not updating unwritable cache $cache_file"
 
2037
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
2038
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1560
2039
  fi
1561
2040
fi
1562
2041
rm -f confcache
1565
2044
# Let make expand exec_prefix.
1566
2045
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1567
2046
 
1568
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1569
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1570
 
# trailing colons and then remove the whole line if VPATH becomes empty
1571
 
# (actually we leave an empty line to preserve line numbers).
1572
 
if test "x$srcdir" = x.; then
1573
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
1574
 
s/:*\$(srcdir):*/:/;
1575
 
s/:*\${srcdir}:*/:/;
1576
 
s/:*@srcdir@:*/:/;
1577
 
s/^\([^=]*=[     ]*\):*/\1/;
1578
 
s/:*$//;
1579
 
s/^[^=]*=[       ]*$//;
1580
 
}'
1581
 
fi
1582
 
 
1583
2047
# Transform confdefs.h into DEFS.
1584
2048
# Protect against shell expansion while executing Makefile rules.
1585
2049
# Protect against Makefile macro expansion.
1586
2050
#
1587
2051
# If the first sed substitution is executed (which looks for macros that
1588
 
# take arguments), then we branch to the quote section.  Otherwise,
 
2052
# take arguments), then branch to the quote section.  Otherwise,
1589
2053
# look for a macro that doesn't take arguments.
1590
 
cat >confdef2opt.sed <<\_ACEOF
 
2054
ac_script='
1591
2055
t clear
1592
 
: clear
1593
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1594
 
t quote
1595
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1596
 
t quote
1597
 
d
1598
 
: quote
1599
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
1600
 
s,\[,\\&,g
1601
 
s,\],\\&,g
1602
 
s,\$,$$,g
1603
 
p
1604
 
_ACEOF
1605
 
# We use echo to avoid assuming a particular line-breaking character.
1606
 
# The extra dot is to prevent the shell from consuming trailing
1607
 
# line-breaks from the sub-command output.  A line-break within
1608
 
# single-quotes doesn't work because, if this script is created in a
1609
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
1610
 
# would break.
1611
 
ac_LF_and_DOT=`echo; echo .`
1612
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1613
 
rm -f confdef2opt.sed
 
2056
:clear
 
2057
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
2058
t quote
 
2059
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
2060
t quote
 
2061
b any
 
2062
:quote
 
2063
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
2064
s/\[/\\&/g
 
2065
s/\]/\\&/g
 
2066
s/\$/$$/g
 
2067
H
 
2068
:any
 
2069
${
 
2070
        g
 
2071
        s/^\n//
 
2072
        s/\n/ /g
 
2073
        p
 
2074
}
 
2075
'
 
2076
DEFS=`sed -n "$ac_script" confdefs.h`
1614
2077
 
1615
2078
 
1616
2079
ac_libobjs=
1617
2080
ac_ltlibobjs=
1618
2081
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1619
2082
  # 1. Remove the extension, and $U if already installed.
1620
 
  ac_i=`echo "$ac_i" |
1621
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1622
 
  # 2. Add them.
1623
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1624
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
2083
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
2084
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
2085
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
2086
  #    will be set to the directory where LIBOBJS objects are built.
 
2087
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2088
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1625
2089
done
1626
2090
LIBOBJS=$ac_libobjs
1627
2091
 
1659
2123
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1660
2124
  # is contrary to our usage.  Disable this feature.
1661
2125
  alias -g '${1+"$@"}'='"$@"'
1662
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1663
 
  set -o posix
 
2126
  setopt NO_GLOB_SUBST
 
2127
else
 
2128
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1664
2129
fi
 
2130
BIN_SH=xpg4; export BIN_SH # for Tru64
1665
2131
DUALCASE=1; export DUALCASE # for MKS sh
1666
2132
 
 
2133
 
 
2134
# PATH needs CR
 
2135
# Avoid depending upon Character Ranges.
 
2136
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2137
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2138
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2139
as_cr_digits='0123456789'
 
2140
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2141
 
 
2142
# The user is always right.
 
2143
if test "${PATH_SEPARATOR+set}" != set; then
 
2144
  echo "#! /bin/sh" >conf$$.sh
 
2145
  echo  "exit 0"   >>conf$$.sh
 
2146
  chmod +x conf$$.sh
 
2147
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2148
    PATH_SEPARATOR=';'
 
2149
  else
 
2150
    PATH_SEPARATOR=:
 
2151
  fi
 
2152
  rm -f conf$$.sh
 
2153
fi
 
2154
 
1667
2155
# Support unset when possible.
1668
2156
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1669
2157
  as_unset=unset
1672
2160
fi
1673
2161
 
1674
2162
 
 
2163
# IFS
 
2164
# We need space, tab and new line, in precisely that order.  Quoting is
 
2165
# there to prevent editors from complaining about space-tab.
 
2166
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
2167
# splitting by setting IFS to empty value.)
 
2168
as_nl='
 
2169
'
 
2170
IFS=" ""        $as_nl"
 
2171
 
 
2172
# Find who we are.  Look in the path if we contain no directory separator.
 
2173
case $0 in
 
2174
  *[\\/]* ) as_myself=$0 ;;
 
2175
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2176
for as_dir in $PATH
 
2177
do
 
2178
  IFS=$as_save_IFS
 
2179
  test -z "$as_dir" && as_dir=.
 
2180
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2181
done
 
2182
IFS=$as_save_IFS
 
2183
 
 
2184
     ;;
 
2185
esac
 
2186
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
2187
# in which case we are not to be found in the path.
 
2188
if test "x$as_myself" = x; then
 
2189
  as_myself=$0
 
2190
fi
 
2191
if test ! -f "$as_myself"; then
 
2192
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2193
  { (exit 1); exit 1; }
 
2194
fi
 
2195
 
1675
2196
# Work around bugs in pre-3.0 UWIN ksh.
1676
 
$as_unset ENV MAIL MAILPATH
 
2197
for as_var in ENV MAIL MAILPATH
 
2198
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2199
done
1677
2200
PS1='$ '
1678
2201
PS2='> '
1679
2202
PS4='+ '
1687
2210
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1688
2211
    eval $as_var=C; export $as_var
1689
2212
  else
1690
 
    $as_unset $as_var
 
2213
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1691
2214
  fi
1692
2215
done
1693
2216
 
1694
2217
# Required to use basename.
1695
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2218
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2219
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1696
2220
  as_expr=expr
1697
2221
else
1698
2222
  as_expr=false
1699
2223
fi
1700
2224
 
1701
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
2225
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1702
2226
  as_basename=basename
1703
2227
else
1704
2228
  as_basename=false
1706
2230
 
1707
2231
 
1708
2232
# Name of the executable.
1709
 
as_me=`$as_basename "$0" ||
 
2233
as_me=`$as_basename -- "$0" ||
1710
2234
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1711
2235
         X"$0" : 'X\(//\)$' \| \
1712
 
         X"$0" : 'X\(/\)$' \| \
1713
 
         .     : '\(.\)' 2>/dev/null ||
 
2236
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1714
2237
echo X/"$0" |
1715
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1716
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
1717
 
          /^X\/\(\/\).*/{ s//\1/; q; }
1718
 
          s/.*/./; q'`
1719
 
 
1720
 
 
1721
 
# PATH needs CR, and LINENO needs CR and PATH.
1722
 
# Avoid depending upon Character Ranges.
1723
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1724
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1725
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1726
 
as_cr_digits='0123456789'
1727
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
1728
 
 
1729
 
# The user is always right.
1730
 
if test "${PATH_SEPARATOR+set}" != set; then
1731
 
  echo "#! /bin/sh" >conf$$.sh
1732
 
  echo  "exit 0"   >>conf$$.sh
1733
 
  chmod +x conf$$.sh
1734
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1735
 
    PATH_SEPARATOR=';'
1736
 
  else
1737
 
    PATH_SEPARATOR=:
1738
 
  fi
1739
 
  rm -f conf$$.sh
1740
 
fi
1741
 
 
1742
 
 
1743
 
  as_lineno_1=$LINENO
1744
 
  as_lineno_2=$LINENO
1745
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1746
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
1747
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1748
 
  # Find who we are.  Look in the path if we contain no path at all
1749
 
  # relative or not.
1750
 
  case $0 in
1751
 
    *[\\/]* ) as_myself=$0 ;;
1752
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753
 
for as_dir in $PATH
1754
 
do
1755
 
  IFS=$as_save_IFS
1756
 
  test -z "$as_dir" && as_dir=.
1757
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1758
 
done
1759
 
 
1760
 
       ;;
1761
 
  esac
1762
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
1763
 
  # in which case we are not to be found in the path.
1764
 
  if test "x$as_myself" = x; then
1765
 
    as_myself=$0
1766
 
  fi
1767
 
  if test ! -f "$as_myself"; then
1768
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1769
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1770
 
   { (exit 1); exit 1; }; }
1771
 
  fi
1772
 
  case $CONFIG_SHELL in
1773
 
  '')
1774
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1776
 
do
1777
 
  IFS=$as_save_IFS
1778
 
  test -z "$as_dir" && as_dir=.
1779
 
  for as_base in sh bash ksh sh5; do
1780
 
         case $as_dir in
1781
 
         /*)
1782
 
           if ("$as_dir/$as_base" -c '
1783
 
  as_lineno_1=$LINENO
1784
 
  as_lineno_2=$LINENO
1785
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1786
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
1787
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1788
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1789
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1790
 
             CONFIG_SHELL=$as_dir/$as_base
1791
 
             export CONFIG_SHELL
1792
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1793
 
           fi;;
1794
 
         esac
1795
 
       done
1796
 
done
1797
 
;;
1798
 
  esac
 
2238
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
2239
            s//\1/
 
2240
            q
 
2241
          }
 
2242
          /^X\/\(\/\/\)$/{
 
2243
            s//\1/
 
2244
            q
 
2245
          }
 
2246
          /^X\/\(\/\).*/{
 
2247
            s//\1/
 
2248
            q
 
2249
          }
 
2250
          s/.*/./; q'`
 
2251
 
 
2252
# CDPATH.
 
2253
$as_unset CDPATH
 
2254
 
 
2255
 
 
2256
 
 
2257
  as_lineno_1=$LINENO
 
2258
  as_lineno_2=$LINENO
 
2259
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2260
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1799
2261
 
1800
2262
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1801
2263
  # uniformly replaced by the line number.  The first 'sed' inserts a
1802
 
  # line-number line before each line; the second 'sed' does the real
1803
 
  # work.  The second script uses 'N' to pair each line-number line
1804
 
  # with the numbered line, and appends trailing '-' during
1805
 
  # substitution so that $LINENO is not a special case at line end.
 
2264
  # line-number line after each line using $LINENO; the second 'sed'
 
2265
  # does the real work.  The second script uses 'N' to pair each
 
2266
  # line-number line with the line containing $LINENO, and appends
 
2267
  # trailing '-' during substitution so that $LINENO is not a special
 
2268
  # case at line end.
1806
2269
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1807
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1808
 
  sed '=' <$as_myself |
 
2270
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
2271
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
2272
  sed -n '
 
2273
    p
 
2274
    /[$]LINENO/=
 
2275
  ' <$as_myself |
1809
2276
    sed '
 
2277
      s/[$]LINENO.*/&-/
 
2278
      t lineno
 
2279
      b
 
2280
      :lineno
1810
2281
      N
1811
 
      s,$,-,
1812
 
      : loop
1813
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
2282
      :loop
 
2283
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1814
2284
      t loop
1815
 
      s,-$,,
1816
 
      s,^['$as_cr_digits']*\n,,
 
2285
      s/-\n.*//
1817
2286
    ' >$as_me.lineno &&
1818
 
  chmod +x $as_me.lineno ||
1819
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1820
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
2287
  chmod +x "$as_me.lineno" ||
 
2288
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1821
2289
   { (exit 1); exit 1; }; }
1822
2290
 
1823
2291
  # Don't try to exec as it changes $[0], causing all sort of problems
1824
2292
  # (the dirname of $[0] is not the place where we might find the
1825
 
  # original and so on.  Autoconf is especially sensible to this).
1826
 
  . ./$as_me.lineno
 
2293
  # original and so on.  Autoconf is especially sensitive to this).
 
2294
  . "./$as_me.lineno"
1827
2295
  # Exit status is that of the last command.
1828
2296
  exit
1829
2297
}
1830
2298
 
1831
2299
 
1832
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1833
 
  *c*,-n*) ECHO_N= ECHO_C='
1834
 
' ECHO_T='      ' ;;
1835
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1836
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
2300
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2301
  as_dirname=dirname
 
2302
else
 
2303
  as_dirname=false
 
2304
fi
 
2305
 
 
2306
ECHO_C= ECHO_N= ECHO_T=
 
2307
case `echo -n x` in
 
2308
-n*)
 
2309
  case `echo 'x\c'` in
 
2310
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
2311
  *)   ECHO_C='\c';;
 
2312
  esac;;
 
2313
*)
 
2314
  ECHO_N='-n';;
1837
2315
esac
1838
2316
 
1839
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2317
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2318
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1840
2319
  as_expr=expr
1841
2320
else
1842
2321
  as_expr=false
1843
2322
fi
1844
2323
 
1845
2324
rm -f conf$$ conf$$.exe conf$$.file
 
2325
if test -d conf$$.dir; then
 
2326
  rm -f conf$$.dir/conf$$.file
 
2327
else
 
2328
  rm -f conf$$.dir
 
2329
  mkdir conf$$.dir
 
2330
fi
1846
2331
echo >conf$$.file
1847
2332
if ln -s conf$$.file conf$$ 2>/dev/null; then
1848
 
  # We could just check for DJGPP; but this test a) works b) is more generic
1849
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1850
 
  if test -f conf$$.exe; then
1851
 
    # Don't use ln at all; we don't have any links
 
2333
  as_ln_s='ln -s'
 
2334
  # ... but there are two gotchas:
 
2335
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2336
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2337
  # In both cases, we have to default to `cp -p'.
 
2338
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1852
2339
    as_ln_s='cp -p'
1853
 
  else
1854
 
    as_ln_s='ln -s'
1855
 
  fi
1856
2340
elif ln conf$$.file conf$$ 2>/dev/null; then
1857
2341
  as_ln_s=ln
1858
2342
else
1859
2343
  as_ln_s='cp -p'
1860
2344
fi
1861
 
rm -f conf$$ conf$$.exe conf$$.file
 
2345
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
2346
rmdir conf$$.dir 2>/dev/null
1862
2347
 
1863
2348
if mkdir -p . 2>/dev/null; then
1864
2349
  as_mkdir_p=:
1867
2352
  as_mkdir_p=false
1868
2353
fi
1869
2354
 
1870
 
as_executable_p="test -f"
 
2355
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
2356
# systems may use methods other than mode bits to determine executability.
 
2357
cat >conf$$.file <<_ASEOF
 
2358
#! /bin/sh
 
2359
exit 0
 
2360
_ASEOF
 
2361
chmod +x conf$$.file
 
2362
if test -x conf$$.file >/dev/null 2>&1; then
 
2363
  as_executable_p="test -x"
 
2364
else
 
2365
  as_executable_p=:
 
2366
fi
 
2367
rm -f conf$$.file
1871
2368
 
1872
2369
# Sed expression to map a string onto a valid CPP name.
1873
2370
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1876
2373
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1877
2374
 
1878
2375
 
1879
 
# IFS
1880
 
# We need space, tab and new line, in precisely that order.
1881
 
as_nl='
1882
 
'
1883
 
IFS="   $as_nl"
1884
 
 
1885
 
# CDPATH.
1886
 
$as_unset CDPATH
1887
 
 
1888
2376
exec 6>&1
1889
2377
 
1890
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
2378
# Save the log message, to keep $[0] and so on meaningful, and to
1891
2379
# report actual input values of CONFIG_FILES etc. instead of their
1892
 
# values after options handling.  Logging --version etc. is OK.
1893
 
exec 5>>config.log
1894
 
{
1895
 
  echo
1896
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1897
 
## Running $as_me. ##
1898
 
_ASBOX
1899
 
} >&5
1900
 
cat >&5 <<_CSEOF
1901
 
 
 
2380
# values after options handling.
 
2381
ac_log="
1902
2382
This file was extended by $as_me, which was
1903
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
2383
generated by GNU Autoconf 2.60a.  Invocation command line was
1904
2384
 
1905
2385
  CONFIG_FILES    = $CONFIG_FILES
1906
2386
  CONFIG_HEADERS  = $CONFIG_HEADERS
1908
2388
  CONFIG_COMMANDS = $CONFIG_COMMANDS
1909
2389
  $ $0 $@
1910
2390
 
1911
 
_CSEOF
1912
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1913
 
echo >&5
 
2391
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2392
"
 
2393
 
1914
2394
_ACEOF
1915
2395
 
 
2396
cat >>$CONFIG_STATUS <<_ACEOF
1916
2397
# Files that config.status was made for.
1917
 
if test -n "$ac_config_files"; then
1918
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1919
 
fi
1920
 
 
1921
 
if test -n "$ac_config_headers"; then
1922
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1923
 
fi
1924
 
 
1925
 
if test -n "$ac_config_links"; then
1926
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1927
 
fi
1928
 
 
1929
 
if test -n "$ac_config_commands"; then
1930
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1931
 
fi
 
2398
config_files="$ac_config_files"
 
2399
 
 
2400
_ACEOF
1932
2401
 
1933
2402
cat >>$CONFIG_STATUS <<\_ACEOF
1934
 
 
1935
2403
ac_cs_usage="\
1936
2404
\`$as_me' instantiates files from templates according to the
1937
2405
current configuration.
1939
2407
Usage: $0 [OPTIONS] [FILE]...
1940
2408
 
1941
2409
  -h, --help       print this help, then exit
1942
 
  -V, --version    print version number, then exit
 
2410
  -V, --version    print version number and configuration settings, then exit
1943
2411
  -q, --quiet      do not print progress messages
1944
2412
  -d, --debug      don't remove temporary files
1945
2413
      --recheck    update $as_me by reconfiguring in the same conditions
1950
2418
$config_files
1951
2419
 
1952
2420
Report bugs to <bug-autoconf@gnu.org>."
 
2421
 
1953
2422
_ACEOF
1954
 
 
1955
2423
cat >>$CONFIG_STATUS <<_ACEOF
1956
2424
ac_cs_version="\\
1957
2425
config.status
1958
 
configured by $0, generated by GNU Autoconf 2.59,
1959
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
2426
configured by $0, generated by GNU Autoconf 2.60a,
 
2427
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1960
2428
 
1961
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
2429
Copyright (C) 2006 Free Software Foundation, Inc.
1962
2430
This config.status script is free software; the Free Software Foundation
1963
2431
gives unlimited permission to copy, distribute and modify it."
1964
 
srcdir=$srcdir
1965
 
INSTALL="$INSTALL"
 
2432
 
 
2433
ac_pwd='$ac_pwd'
 
2434
srcdir='$srcdir'
 
2435
INSTALL='$INSTALL'
1966
2436
_ACEOF
1967
2437
 
1968
2438
cat >>$CONFIG_STATUS <<\_ACEOF
1973
2443
do
1974
2444
  case $1 in
1975
2445
  --*=*)
1976
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1977
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
2446
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
2447
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1978
2448
    ac_shift=:
1979
2449
    ;;
1980
 
  -*)
 
2450
  *)
1981
2451
    ac_option=$1
1982
2452
    ac_optarg=$2
1983
2453
    ac_shift=shift
1984
2454
    ;;
1985
 
  *) # This is not an option, so the user has probably given explicit
1986
 
     # arguments.
1987
 
     ac_option=$1
1988
 
     ac_need_defaults=false;;
1989
2455
  esac
1990
2456
 
1991
2457
  case $ac_option in
1992
2458
  # Handling of the options.
1993
 
_ACEOF
1994
 
cat >>$CONFIG_STATUS <<\_ACEOF
1995
2459
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1996
2460
    ac_cs_recheck=: ;;
1997
 
  --version | --vers* | -V )
1998
 
    echo "$ac_cs_version"; exit 0 ;;
1999
 
  --he | --h)
2000
 
    # Conflict between --help and --header
2001
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2002
 
Try \`$0 --help' for more information." >&5
2003
 
echo "$as_me: error: ambiguous option: $1
2004
 
Try \`$0 --help' for more information." >&2;}
2005
 
   { (exit 1); exit 1; }; };;
2006
 
  --help | --hel | -h )
2007
 
    echo "$ac_cs_usage"; exit 0 ;;
2008
 
  --debug | --d* | -d )
 
2461
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
2462
    echo "$ac_cs_version"; exit ;;
 
2463
  --debug | --debu | --deb | --de | --d | -d )
2009
2464
    debug=: ;;
2010
2465
  --file | --fil | --fi | --f )
2011
2466
    $ac_shift
2012
2467
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2013
2468
    ac_need_defaults=false;;
2014
 
  --header | --heade | --head | --hea )
2015
 
    $ac_shift
2016
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2017
 
    ac_need_defaults=false;;
 
2469
  --he | --h |  --help | --hel | -h )
 
2470
    echo "$ac_cs_usage"; exit ;;
2018
2471
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019
2472
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2020
2473
    ac_cs_silent=: ;;
2021
2474
 
2022
2475
  # This is an error.
2023
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2024
 
Try \`$0 --help' for more information." >&5
2025
 
echo "$as_me: error: unrecognized option: $1
2026
 
Try \`$0 --help' for more information." >&2;}
 
2476
  -*) { echo "$as_me: error: unrecognized option: $1
 
2477
Try \`$0 --help' for more information." >&2
2027
2478
   { (exit 1); exit 1; }; } ;;
2028
2479
 
2029
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
2480
  *) ac_config_targets="$ac_config_targets $1"
 
2481
     ac_need_defaults=false ;;
2030
2482
 
2031
2483
  esac
2032
2484
  shift
2042
2494
_ACEOF
2043
2495
cat >>$CONFIG_STATUS <<_ACEOF
2044
2496
if \$ac_cs_recheck; then
2045
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2046
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2497
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
2498
  CONFIG_SHELL=$SHELL
 
2499
  export CONFIG_SHELL
 
2500
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2047
2501
fi
2048
2502
 
2049
2503
_ACEOF
2050
 
 
2051
 
 
2052
 
 
2053
 
 
2054
 
 
2055
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2504
cat >>$CONFIG_STATUS <<\_ACEOF
 
2505
exec 5>>config.log
 
2506
{
 
2507
  echo
 
2508
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2509
## Running $as_me. ##
 
2510
_ASBOX
 
2511
  echo "$ac_log"
 
2512
} >&5
 
2513
 
 
2514
_ACEOF
 
2515
cat >>$CONFIG_STATUS <<_ACEOF
 
2516
_ACEOF
 
2517
 
 
2518
cat >>$CONFIG_STATUS <<\_ACEOF
 
2519
 
 
2520
# Handling of arguments.
2056
2521
for ac_config_target in $ac_config_targets
2057
2522
do
2058
 
  case "$ac_config_target" in
2059
 
  # Handling of arguments.
2060
 
  "setup" ) CONFIG_FILES="$CONFIG_FILES setup" ;;
2061
 
  "version" ) CONFIG_FILES="$CONFIG_FILES version" ;;
2062
 
  "redhat/init.d/steam" ) CONFIG_FILES="$CONFIG_FILES redhat/init.d/steam" ;;
2063
 
  "tools/debug.pike" ) CONFIG_FILES="$CONFIG_FILES tools/debug.pike" ;;
2064
 
  "tools/export" ) CONFIG_FILES="$CONFIG_FILES tools/export" ;;
2065
 
  "tools/export_users" ) CONFIG_FILES="$CONFIG_FILES tools/export_users" ;;
2066
 
  "tools/import" ) CONFIG_FILES="$CONFIG_FILES tools/import" ;;
2067
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
2523
  case $ac_config_target in
 
2524
    "setup") CONFIG_FILES="$CONFIG_FILES setup" ;;
 
2525
    "version") CONFIG_FILES="$CONFIG_FILES version" ;;
 
2526
    "distrib/redhat/init.d/steam") CONFIG_FILES="$CONFIG_FILES distrib/redhat/init.d/steam" ;;
 
2527
    "distrib/suse/init.d/steam") CONFIG_FILES="$CONFIG_FILES distrib/suse/init.d/steam" ;;
 
2528
    "distrib/generic/init.d/steam") CONFIG_FILES="$CONFIG_FILES distrib/generic/init.d/steam" ;;
 
2529
    "tools/debug.pike") CONFIG_FILES="$CONFIG_FILES tools/debug.pike" ;;
 
2530
    "tools/export") CONFIG_FILES="$CONFIG_FILES tools/export" ;;
 
2531
    "tools/export_users") CONFIG_FILES="$CONFIG_FILES tools/export_users" ;;
 
2532
    "tools/import") CONFIG_FILES="$CONFIG_FILES tools/import" ;;
 
2533
    "tools/create_cert.pike") CONFIG_FILES="$CONFIG_FILES tools/create_cert.pike" ;;
 
2534
    "server/include/configure.h") CONFIG_FILES="$CONFIG_FILES server/include/configure.h" ;;
 
2535
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
2536
 
2068
2537
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2069
2538
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2070
2539
   { (exit 1); exit 1; }; };;
2071
2540
  esac
2072
2541
done
2073
2542
 
 
2543
 
2074
2544
# If the user did not use the arguments to specify the items to instantiate,
2075
2545
# then the envvar interface is used.  Set only those that are not.
2076
2546
# We use the long form for the default assignment because of an extremely
2080
2550
fi
2081
2551
 
2082
2552
# Have a temporary directory for convenience.  Make it in the build tree
2083
 
# simply because there is no reason to put it here, and in addition,
 
2553
# simply because there is no reason against having it here, and in addition,
2084
2554
# creating and moving files from /tmp can sometimes cause problems.
2085
 
# Create a temporary directory, and hook for its removal unless debugging.
 
2555
# Hook for its removal unless debugging.
 
2556
# Note that there is a small window in which the directory will not be cleaned:
 
2557
# after its creation but before its name has been assigned to `$tmp'.
2086
2558
$debug ||
2087
2559
{
2088
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
2560
  tmp=
 
2561
  trap 'exit_status=$?
 
2562
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
2563
' 0
2089
2564
  trap '{ (exit 1); exit 1; }' 1 2 13 15
2090
2565
}
2091
 
 
2092
2566
# Create a (secure) tmp directory for tmp files.
2093
2567
 
2094
2568
{
2095
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
2569
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2096
2570
  test -n "$tmp" && test -d "$tmp"
2097
2571
}  ||
2098
2572
{
2099
 
  tmp=./confstat$$-$RANDOM
2100
 
  (umask 077 && mkdir $tmp)
 
2573
  tmp=./conf$$-$RANDOM
 
2574
  (umask 077 && mkdir "$tmp")
2101
2575
} ||
2102
2576
{
2103
2577
   echo "$me: cannot create a temporary directory in ." >&2
2104
2578
   { (exit 1); exit 1; }
2105
2579
}
2106
2580
 
2107
 
_ACEOF
2108
 
 
2109
 
cat >>$CONFIG_STATUS <<_ACEOF
2110
 
 
2111
2581
#
2112
 
# CONFIG_FILES section.
 
2582
# Set up the sed scripts for CONFIG_FILES section.
2113
2583
#
2114
2584
 
2115
2585
# No need to generate the scripts if there are no CONFIG_FILES.
2116
2586
# This happens for instance when ./config.status config.h
2117
 
if test -n "\$CONFIG_FILES"; then
2118
 
  # Protect against being on the right side of a sed subst in config.status.
2119
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2120
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2121
 
s,@SHELL@,$SHELL,;t t
2122
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2123
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2124
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2125
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2126
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2127
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2128
 
s,@exec_prefix@,$exec_prefix,;t t
2129
 
s,@prefix@,$prefix,;t t
2130
 
s,@program_transform_name@,$program_transform_name,;t t
2131
 
s,@bindir@,$bindir,;t t
2132
 
s,@sbindir@,$sbindir,;t t
2133
 
s,@libexecdir@,$libexecdir,;t t
2134
 
s,@datadir@,$datadir,;t t
2135
 
s,@sysconfdir@,$sysconfdir,;t t
2136
 
s,@sharedstatedir@,$sharedstatedir,;t t
2137
 
s,@localstatedir@,$localstatedir,;t t
2138
 
s,@libdir@,$libdir,;t t
2139
 
s,@includedir@,$includedir,;t t
2140
 
s,@oldincludedir@,$oldincludedir,;t t
2141
 
s,@infodir@,$infodir,;t t
2142
 
s,@mandir@,$mandir,;t t
2143
 
s,@build_alias@,$build_alias,;t t
2144
 
s,@host_alias@,$host_alias,;t t
2145
 
s,@target_alias@,$target_alias,;t t
2146
 
s,@DEFS@,$DEFS,;t t
2147
 
s,@ECHO_C@,$ECHO_C,;t t
2148
 
s,@ECHO_N@,$ECHO_N,;t t
2149
 
s,@ECHO_T@,$ECHO_T,;t t
2150
 
s,@LIBS@,$LIBS,;t t
2151
 
s,@DIRS@,$DIRS,;t t
2152
 
s,@SET_MAKE@,$SET_MAKE,;t t
2153
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2154
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2155
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2156
 
s,@PIKE_INCLUDE_DIRS@,$PIKE_INCLUDE_DIRS,;t t
2157
 
s,@PIKE@,$PIKE,;t t
2158
 
s,@PIKE_VERSION@,$PIKE_VERSION,;t t
2159
 
s,@PIKE_VERSION_STR@,$PIKE_VERSION_STR,;t t
2160
 
s,@PIKE_FULL_VERSION@,$PIKE_FULL_VERSION,;t t
2161
 
s,@configs@,$configs,;t t
2162
 
s,@realdir@,$realdir,;t t
2163
 
s,@installdir@,$installdir,;t t
2164
 
s,@subdirs@,$subdirs,;t t
2165
 
s,@LIBOBJS@,$LIBOBJS,;t t
2166
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2167
 
CEOF
2168
 
 
2169
 
_ACEOF
2170
 
 
2171
 
  cat >>$CONFIG_STATUS <<\_ACEOF
2172
 
  # Split the substitutions into bite-sized pieces for seds with
2173
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
2174
 
  ac_max_sed_lines=48
2175
 
  ac_sed_frag=1 # Number of current file.
2176
 
  ac_beg=1 # First line for current file.
2177
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
2178
 
  ac_more_lines=:
2179
 
  ac_sed_cmds=
2180
 
  while $ac_more_lines; do
2181
 
    if test $ac_beg -gt 1; then
2182
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2183
 
    else
2184
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2185
 
    fi
2186
 
    if test ! -s $tmp/subs.frag; then
2187
 
      ac_more_lines=false
2188
 
    else
2189
 
      # The purpose of the label and of the branching condition is to
2190
 
      # speed up the sed processing (if there are no `@' at all, there
2191
 
      # is no need to browse any of the substitutions).
2192
 
      # These are the two extra sed commands mentioned above.
2193
 
      (echo ':t
2194
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2195
 
      if test -z "$ac_sed_cmds"; then
2196
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2197
 
      else
2198
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2199
 
      fi
2200
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
2201
 
      ac_beg=$ac_end
2202
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
2203
 
    fi
2204
 
  done
2205
 
  if test -z "$ac_sed_cmds"; then
2206
 
    ac_sed_cmds=cat
 
2587
if test -n "$CONFIG_FILES"; then
 
2588
 
 
2589
_ACEOF
 
2590
 
 
2591
 
 
2592
 
 
2593
ac_delim='%!_!# '
 
2594
for ac_last_try in false false false false false :; do
 
2595
  cat >conf$$subs.sed <<_ACEOF
 
2596
SHELL!$SHELL$ac_delim
 
2597
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
2598
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
2599
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
2600
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
2601
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
2602
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
2603
exec_prefix!$exec_prefix$ac_delim
 
2604
prefix!$prefix$ac_delim
 
2605
program_transform_name!$program_transform_name$ac_delim
 
2606
bindir!$bindir$ac_delim
 
2607
sbindir!$sbindir$ac_delim
 
2608
libexecdir!$libexecdir$ac_delim
 
2609
datarootdir!$datarootdir$ac_delim
 
2610
datadir!$datadir$ac_delim
 
2611
sysconfdir!$sysconfdir$ac_delim
 
2612
sharedstatedir!$sharedstatedir$ac_delim
 
2613
localstatedir!$localstatedir$ac_delim
 
2614
includedir!$includedir$ac_delim
 
2615
oldincludedir!$oldincludedir$ac_delim
 
2616
docdir!$docdir$ac_delim
 
2617
infodir!$infodir$ac_delim
 
2618
htmldir!$htmldir$ac_delim
 
2619
dvidir!$dvidir$ac_delim
 
2620
pdfdir!$pdfdir$ac_delim
 
2621
psdir!$psdir$ac_delim
 
2622
libdir!$libdir$ac_delim
 
2623
localedir!$localedir$ac_delim
 
2624
mandir!$mandir$ac_delim
 
2625
DEFS!$DEFS$ac_delim
 
2626
ECHO_C!$ECHO_C$ac_delim
 
2627
ECHO_N!$ECHO_N$ac_delim
 
2628
ECHO_T!$ECHO_T$ac_delim
 
2629
LIBS!$LIBS$ac_delim
 
2630
build_alias!$build_alias$ac_delim
 
2631
host_alias!$host_alias$ac_delim
 
2632
target_alias!$target_alias$ac_delim
 
2633
DIRS!$DIRS$ac_delim
 
2634
SET_MAKE!$SET_MAKE$ac_delim
 
2635
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
2636
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
2637
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
2638
PIKE_INCLUDE_DIRS!$PIKE_INCLUDE_DIRS$ac_delim
 
2639
PIKE!$PIKE$ac_delim
 
2640
PIKE_VERSION!$PIKE_VERSION$ac_delim
 
2641
PIKE_VERSION_STR!$PIKE_VERSION_STR$ac_delim
 
2642
PIKE_FULL_VERSION!$PIKE_FULL_VERSION$ac_delim
 
2643
brand!$brand$ac_delim
 
2644
installdir!$installdir$ac_delim
 
2645
configdir!$configdir$ac_delim
 
2646
logdir!$logdir$ac_delim
 
2647
steamdir!$steamdir$ac_delim
 
2648
javahome!$javahome$ac_delim
 
2649
subdirs!$subdirs$ac_delim
 
2650
LIBOBJS!$LIBOBJS$ac_delim
 
2651
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
2652
_ACEOF
 
2653
 
 
2654
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
 
2655
    break
 
2656
  elif $ac_last_try; then
 
2657
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
2658
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
2659
   { (exit 1); exit 1; }; }
 
2660
  else
 
2661
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2207
2662
  fi
 
2663
done
 
2664
 
 
2665
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
2666
if test -n "$ac_eof"; then
 
2667
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
2668
  ac_eof=`expr $ac_eof + 1`
 
2669
fi
 
2670
 
 
2671
cat >>$CONFIG_STATUS <<_ACEOF
 
2672
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
2673
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
2674
_ACEOF
 
2675
sed '
 
2676
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
2677
s/^/s,@/; s/!/@,|#_!!_#|/
 
2678
:n
 
2679
t n
 
2680
s/'"$ac_delim"'$/,g/; t
 
2681
s/$/\\/; p
 
2682
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
2683
' >>$CONFIG_STATUS <conf$$subs.sed
 
2684
rm -f conf$$subs.sed
 
2685
cat >>$CONFIG_STATUS <<_ACEOF
 
2686
:end
 
2687
s/|#_!!_#|//g
 
2688
CEOF$ac_eof
 
2689
_ACEOF
 
2690
 
 
2691
 
 
2692
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
2693
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
2694
# trailing colons and then remove the whole line if VPATH becomes empty
 
2695
# (actually we leave an empty line to preserve line numbers).
 
2696
if test "x$srcdir" = x.; then
 
2697
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
2698
s/:*\$(srcdir):*/:/
 
2699
s/:*\${srcdir}:*/:/
 
2700
s/:*@srcdir@:*/:/
 
2701
s/^\([^=]*=[     ]*\):*/\1/
 
2702
s/:*$//
 
2703
s/^[^=]*=[       ]*$//
 
2704
}'
 
2705
fi
 
2706
 
 
2707
cat >>$CONFIG_STATUS <<\_ACEOF
2208
2708
fi # test -n "$CONFIG_FILES"
2209
2709
 
2210
 
_ACEOF
2211
 
cat >>$CONFIG_STATUS <<\_ACEOF
2212
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2213
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2214
 
  case $ac_file in
2215
 
  - | *:- | *:-:* ) # input from stdin
2216
 
        cat >$tmp/stdin
2217
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2218
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2219
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2220
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2221
 
  * )   ac_file_in=$ac_file.in ;;
2222
 
  esac
2223
 
 
2224
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2225
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
2710
 
 
2711
for ac_tag in  :F $CONFIG_FILES
 
2712
do
 
2713
  case $ac_tag in
 
2714
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
2715
  esac
 
2716
  case $ac_mode$ac_tag in
 
2717
  :[FHL]*:*);;
 
2718
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
2719
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
2720
   { (exit 1); exit 1; }; };;
 
2721
  :[FH]-) ac_tag=-:-;;
 
2722
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
2723
  esac
 
2724
  ac_save_IFS=$IFS
 
2725
  IFS=:
 
2726
  set x $ac_tag
 
2727
  IFS=$ac_save_IFS
 
2728
  shift
 
2729
  ac_file=$1
 
2730
  shift
 
2731
 
 
2732
  case $ac_mode in
 
2733
  :L) ac_source=$1;;
 
2734
  :[FH])
 
2735
    ac_file_inputs=
 
2736
    for ac_f
 
2737
    do
 
2738
      case $ac_f in
 
2739
      -) ac_f="$tmp/stdin";;
 
2740
      *) # Look for the file first in the build tree, then in the source tree
 
2741
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
2742
         # because $ac_f cannot contain `:'.
 
2743
         test -f "$ac_f" ||
 
2744
           case $ac_f in
 
2745
           [\\/$]*) false;;
 
2746
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
2747
           esac ||
 
2748
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
2749
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
2750
   { (exit 1); exit 1; }; };;
 
2751
      esac
 
2752
      ac_file_inputs="$ac_file_inputs $ac_f"
 
2753
    done
 
2754
 
 
2755
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
2756
    # use $as_me), people would be surprised to read:
 
2757
    #    /* config.h.  Generated by config.status.  */
 
2758
    configure_input="Generated from "`IFS=:
 
2759
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
2760
    if test x"$ac_file" != x-; then
 
2761
      configure_input="$ac_file.  $configure_input"
 
2762
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
2763
echo "$as_me: creating $ac_file" >&6;}
 
2764
    fi
 
2765
 
 
2766
    case $ac_tag in
 
2767
    *:-:* | *:-) cat >"$tmp/stdin";;
 
2768
    esac
 
2769
    ;;
 
2770
  esac
 
2771
 
 
2772
  ac_dir=`$as_dirname -- "$ac_file" ||
2226
2773
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2227
2774
         X"$ac_file" : 'X\(//\)[^/]' \| \
2228
2775
         X"$ac_file" : 'X\(//\)$' \| \
2229
 
         X"$ac_file" : 'X\(/\)' \| \
2230
 
         .     : '\(.\)' 2>/dev/null ||
 
2776
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2231
2777
echo X"$ac_file" |
2232
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2233
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2234
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2235
 
          /^X\(\/\).*/{ s//\1/; q; }
2236
 
          s/.*/./; q'`
2237
 
  { if $as_mkdir_p; then
2238
 
    mkdir -p "$ac_dir"
2239
 
  else
2240
 
    as_dir="$ac_dir"
 
2778
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2779
            s//\1/
 
2780
            q
 
2781
          }
 
2782
          /^X\(\/\/\)[^/].*/{
 
2783
            s//\1/
 
2784
            q
 
2785
          }
 
2786
          /^X\(\/\/\)$/{
 
2787
            s//\1/
 
2788
            q
 
2789
          }
 
2790
          /^X\(\/\).*/{
 
2791
            s//\1/
 
2792
            q
 
2793
          }
 
2794
          s/.*/./; q'`
 
2795
  { as_dir="$ac_dir"
 
2796
  case $as_dir in #(
 
2797
  -*) as_dir=./$as_dir;;
 
2798
  esac
 
2799
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2241
2800
    as_dirs=
2242
 
    while test ! -d "$as_dir"; do
2243
 
      as_dirs="$as_dir $as_dirs"
2244
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
2801
    while :; do
 
2802
      case $as_dir in #(
 
2803
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
2804
      *) as_qdir=$as_dir;;
 
2805
      esac
 
2806
      as_dirs="'$as_qdir' $as_dirs"
 
2807
      as_dir=`$as_dirname -- "$as_dir" ||
2245
2808
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2246
2809
         X"$as_dir" : 'X\(//\)[^/]' \| \
2247
2810
         X"$as_dir" : 'X\(//\)$' \| \
2248
 
         X"$as_dir" : 'X\(/\)' \| \
2249
 
         .     : '\(.\)' 2>/dev/null ||
 
2811
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2250
2812
echo X"$as_dir" |
2251
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2252
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2253
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2254
 
          /^X\(\/\).*/{ s//\1/; q; }
2255
 
          s/.*/./; q'`
 
2813
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2814
            s//\1/
 
2815
            q
 
2816
          }
 
2817
          /^X\(\/\/\)[^/].*/{
 
2818
            s//\1/
 
2819
            q
 
2820
          }
 
2821
          /^X\(\/\/\)$/{
 
2822
            s//\1/
 
2823
            q
 
2824
          }
 
2825
          /^X\(\/\).*/{
 
2826
            s//\1/
 
2827
            q
 
2828
          }
 
2829
          s/.*/./; q'`
 
2830
      test -d "$as_dir" && break
2256
2831
    done
2257
 
    test ! -n "$as_dirs" || mkdir $as_dirs
2258
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2259
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
2832
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
2833
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
2834
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2260
2835
   { (exit 1); exit 1; }; }; }
2261
 
 
2262
2836
  ac_builddir=.
2263
2837
 
2264
 
if test "$ac_dir" != .; then
 
2838
case "$ac_dir" in
 
2839
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
2840
*)
2265
2841
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2266
 
  # A "../" for each directory in $ac_dir_suffix.
2267
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2268
 
else
2269
 
  ac_dir_suffix= ac_top_builddir=
2270
 
fi
 
2842
  # A ".." for each directory in $ac_dir_suffix.
 
2843
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
2844
  case $ac_top_builddir_sub in
 
2845
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
2846
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
2847
  esac ;;
 
2848
esac
 
2849
ac_abs_top_builddir=$ac_pwd
 
2850
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
2851
# for backward compatibility:
 
2852
ac_top_builddir=$ac_top_build_prefix
2271
2853
 
2272
2854
case $srcdir in
2273
 
  .)  # No --srcdir option.  We are building in place.
 
2855
  .)  # We are building in place.
2274
2856
    ac_srcdir=.
2275
 
    if test -z "$ac_top_builddir"; then
2276
 
       ac_top_srcdir=.
2277
 
    else
2278
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2279
 
    fi ;;
2280
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
2857
    ac_top_srcdir=$ac_top_builddir_sub
 
2858
    ac_abs_top_srcdir=$ac_pwd ;;
 
2859
  [\\/]* | ?:[\\/]* )  # Absolute name.
2281
2860
    ac_srcdir=$srcdir$ac_dir_suffix;
2282
 
    ac_top_srcdir=$srcdir ;;
2283
 
  *) # Relative path.
2284
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2285
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2286
 
esac
2287
 
 
2288
 
# Do not use `cd foo && pwd` to compute absolute paths, because
2289
 
# the directories may not exist.
2290
 
case `pwd` in
2291
 
.) ac_abs_builddir="$ac_dir";;
2292
 
*)
2293
 
  case "$ac_dir" in
2294
 
  .) ac_abs_builddir=`pwd`;;
2295
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2296
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2297
 
  esac;;
2298
 
esac
2299
 
case $ac_abs_builddir in
2300
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2301
 
*)
2302
 
  case ${ac_top_builddir}. in
2303
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
2304
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2305
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2306
 
  esac;;
2307
 
esac
2308
 
case $ac_abs_builddir in
2309
 
.) ac_abs_srcdir=$ac_srcdir;;
2310
 
*)
2311
 
  case $ac_srcdir in
2312
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
2313
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2314
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2315
 
  esac;;
2316
 
esac
2317
 
case $ac_abs_builddir in
2318
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2319
 
*)
2320
 
  case $ac_top_srcdir in
2321
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2322
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2323
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2324
 
  esac;;
2325
 
esac
2326
 
 
 
2861
    ac_top_srcdir=$srcdir
 
2862
    ac_abs_top_srcdir=$srcdir ;;
 
2863
  *) # Relative name.
 
2864
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
2865
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
2866
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
2867
esac
 
2868
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
2869
 
 
2870
 
 
2871
  case $ac_mode in
 
2872
  :F)
 
2873
  #
 
2874
  # CONFIG_FILE
 
2875
  #
2327
2876
 
2328
2877
  case $INSTALL in
2329
2878
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2330
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
2879
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2331
2880
  esac
2332
 
 
2333
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
2334
 
  # use $as_me), people would be surprised to read:
2335
 
  #    /* config.h.  Generated by config.status.  */
2336
 
  if test x"$ac_file" = x-; then
2337
 
    configure_input=
2338
 
  else
2339
 
    configure_input="$ac_file.  "
2340
 
  fi
2341
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
2342
 
                                     sed 's,.*/,,'` by configure."
2343
 
 
2344
 
  # First look for the input files in the build tree, otherwise in the
2345
 
  # src tree.
2346
 
  ac_file_inputs=`IFS=:
2347
 
    for f in $ac_file_in; do
2348
 
      case $f in
2349
 
      -) echo $tmp/stdin ;;
2350
 
      [\\/$]*)
2351
 
         # Absolute (can't be DOS-style, as IFS=:)
2352
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2353
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2354
 
   { (exit 1); exit 1; }; }
2355
 
         echo "$f";;
2356
 
      *) # Relative
2357
 
         if test -f "$f"; then
2358
 
           # Build tree
2359
 
           echo "$f"
2360
 
         elif test -f "$srcdir/$f"; then
2361
 
           # Source tree
2362
 
           echo "$srcdir/$f"
2363
 
         else
2364
 
           # /dev/null tree
2365
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2366
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2367
 
   { (exit 1); exit 1; }; }
2368
 
         fi;;
2369
 
      esac
2370
 
    done` || { (exit 1); exit 1; }
2371
 
 
2372
 
  if test x"$ac_file" != x-; then
2373
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
2374
 
echo "$as_me: creating $ac_file" >&6;}
2375
 
    rm -f "$ac_file"
2376
 
  fi
2377
 
_ACEOF
 
2881
_ACEOF
 
2882
 
 
2883
cat >>$CONFIG_STATUS <<\_ACEOF
 
2884
# If the template does not know about datarootdir, expand it.
 
2885
# FIXME: This hack should be removed a few years after 2.60.
 
2886
ac_datarootdir_hack=; ac_datarootdir_seen=
 
2887
 
 
2888
case `sed -n '/datarootdir/ {
 
2889
  p
 
2890
  q
 
2891
}
 
2892
/@datadir@/p
 
2893
/@docdir@/p
 
2894
/@infodir@/p
 
2895
/@localedir@/p
 
2896
/@mandir@/p
 
2897
' $ac_file_inputs` in
 
2898
*datarootdir*) ac_datarootdir_seen=yes;;
 
2899
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
2900
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
2901
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
2902
_ACEOF
 
2903
cat >>$CONFIG_STATUS <<_ACEOF
 
2904
  ac_datarootdir_hack='
 
2905
  s&@datadir@&$datadir&g
 
2906
  s&@docdir@&$docdir&g
 
2907
  s&@infodir@&$infodir&g
 
2908
  s&@localedir@&$localedir&g
 
2909
  s&@mandir@&$mandir&g
 
2910
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
2911
esac
 
2912
_ACEOF
 
2913
 
 
2914
# Neutralize VPATH when `$srcdir' = `.'.
 
2915
# Shell code in configure.ac might set extrasub.
 
2916
# FIXME: do we really want to maintain this feature?
2378
2917
cat >>$CONFIG_STATUS <<_ACEOF
2379
2918
  sed "$ac_vpsub
2380
2919
$extrasub
2382
2921
cat >>$CONFIG_STATUS <<\_ACEOF
2383
2922
:t
2384
2923
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2385
 
s,@configure_input@,$configure_input,;t t
2386
 
s,@srcdir@,$ac_srcdir,;t t
2387
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2388
 
s,@top_srcdir@,$ac_top_srcdir,;t t
2389
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2390
 
s,@builddir@,$ac_builddir,;t t
2391
 
s,@abs_builddir@,$ac_abs_builddir,;t t
2392
 
s,@top_builddir@,$ac_top_builddir,;t t
2393
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2394
 
s,@INSTALL@,$ac_INSTALL,;t t
2395
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2396
 
  rm -f $tmp/stdin
2397
 
  if test x"$ac_file" != x-; then
2398
 
    mv $tmp/out $ac_file
2399
 
  else
2400
 
    cat $tmp/out
2401
 
    rm -f $tmp/out
2402
 
  fi
2403
 
 
2404
 
done
2405
 
_ACEOF
2406
 
 
2407
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2924
s&@configure_input@&$configure_input&;t t
 
2925
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
2926
s&@srcdir@&$ac_srcdir&;t t
 
2927
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
2928
s&@top_srcdir@&$ac_top_srcdir&;t t
 
2929
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
2930
s&@builddir@&$ac_builddir&;t t
 
2931
s&@abs_builddir@&$ac_abs_builddir&;t t
 
2932
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
2933
s&@INSTALL@&$ac_INSTALL&;t t
 
2934
$ac_datarootdir_hack
 
2935
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
2936
 
 
2937
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
2938
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
2939
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
2940
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
2941
which seems to be undefined.  Please make sure it is defined." >&5
 
2942
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
2943
which seems to be undefined.  Please make sure it is defined." >&2;}
 
2944
 
 
2945
  rm -f "$tmp/stdin"
 
2946
  case $ac_file in
 
2947
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
2948
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
2949
  esac
 
2950
 ;;
 
2951
 
 
2952
 
 
2953
 
 
2954
  esac
 
2955
 
 
2956
done # for ac_tag
 
2957
 
2408
2958
 
2409
2959
{ (exit 0); exit 0; }
2410
2960
_ACEOF
2441
2991
  # Remove --cache-file and --srcdir arguments so they do not pile up.
2442
2992
  ac_sub_configure_args=
2443
2993
  ac_prev=
2444
 
  for ac_arg in $ac_configure_args; do
 
2994
  eval "set x $ac_configure_args"
 
2995
  shift
 
2996
  for ac_arg
 
2997
  do
2445
2998
    if test -n "$ac_prev"; then
2446
2999
      ac_prev=
2447
3000
      continue
2464
3017
      ac_prev=prefix ;;
2465
3018
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2466
3019
      ;;
2467
 
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
3020
    *)
 
3021
      case $ac_arg in
 
3022
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
3023
      esac
 
3024
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
2468
3025
    esac
2469
3026
  done
2470
3027
 
2471
3028
  # Always prepend --prefix to ensure using the same prefix
2472
3029
  # in subdir configurations.
2473
 
  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
 
3030
  ac_arg="--prefix=$prefix"
 
3031
  case $ac_arg in
 
3032
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
3033
  esac
 
3034
  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
2474
3035
 
2475
3036
  ac_popdir=`pwd`
2476
3037
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2477
3038
 
2478
3039
    # Do not complain, so a configure script can configure whichever
2479
3040
    # parts of a large source tree are present.
2480
 
    test -d $srcdir/$ac_dir || continue
 
3041
    test -d "$srcdir/$ac_dir" || continue
2481
3042
 
2482
 
    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
2483
 
echo "$as_me: configuring in $ac_dir" >&6;}
2484
 
    { if $as_mkdir_p; then
2485
 
    mkdir -p "$ac_dir"
2486
 
  else
2487
 
    as_dir="$ac_dir"
 
3043
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
 
3044
    echo "$as_me:$LINENO: $ac_msg" >&5
 
3045
    echo "$ac_msg" >&6
 
3046
    { as_dir="$ac_dir"
 
3047
  case $as_dir in #(
 
3048
  -*) as_dir=./$as_dir;;
 
3049
  esac
 
3050
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2488
3051
    as_dirs=
2489
 
    while test ! -d "$as_dir"; do
2490
 
      as_dirs="$as_dir $as_dirs"
2491
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
3052
    while :; do
 
3053
      case $as_dir in #(
 
3054
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
3055
      *) as_qdir=$as_dir;;
 
3056
      esac
 
3057
      as_dirs="'$as_qdir' $as_dirs"
 
3058
      as_dir=`$as_dirname -- "$as_dir" ||
2492
3059
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493
3060
         X"$as_dir" : 'X\(//\)[^/]' \| \
2494
3061
         X"$as_dir" : 'X\(//\)$' \| \
2495
 
         X"$as_dir" : 'X\(/\)' \| \
2496
 
         .     : '\(.\)' 2>/dev/null ||
 
3062
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2497
3063
echo X"$as_dir" |
2498
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2499
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2500
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2501
 
          /^X\(\/\).*/{ s//\1/; q; }
2502
 
          s/.*/./; q'`
 
3064
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3065
            s//\1/
 
3066
            q
 
3067
          }
 
3068
          /^X\(\/\/\)[^/].*/{
 
3069
            s//\1/
 
3070
            q
 
3071
          }
 
3072
          /^X\(\/\/\)$/{
 
3073
            s//\1/
 
3074
            q
 
3075
          }
 
3076
          /^X\(\/\).*/{
 
3077
            s//\1/
 
3078
            q
 
3079
          }
 
3080
          s/.*/./; q'`
 
3081
      test -d "$as_dir" && break
2503
3082
    done
2504
 
    test ! -n "$as_dirs" || mkdir $as_dirs
2505
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2506
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
3083
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
3084
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
3085
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2507
3086
   { (exit 1); exit 1; }; }; }
2508
 
 
2509
3087
    ac_builddir=.
2510
3088
 
2511
 
if test "$ac_dir" != .; then
 
3089
case "$ac_dir" in
 
3090
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3091
*)
2512
3092
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2513
 
  # A "../" for each directory in $ac_dir_suffix.
2514
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2515
 
else
2516
 
  ac_dir_suffix= ac_top_builddir=
2517
 
fi
 
3093
  # A ".." for each directory in $ac_dir_suffix.
 
3094
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
3095
  case $ac_top_builddir_sub in
 
3096
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3097
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
3098
  esac ;;
 
3099
esac
 
3100
ac_abs_top_builddir=$ac_pwd
 
3101
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
3102
# for backward compatibility:
 
3103
ac_top_builddir=$ac_top_build_prefix
2518
3104
 
2519
3105
case $srcdir in
2520
 
  .)  # No --srcdir option.  We are building in place.
 
3106
  .)  # We are building in place.
2521
3107
    ac_srcdir=.
2522
 
    if test -z "$ac_top_builddir"; then
2523
 
       ac_top_srcdir=.
2524
 
    else
2525
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2526
 
    fi ;;
2527
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
3108
    ac_top_srcdir=$ac_top_builddir_sub
 
3109
    ac_abs_top_srcdir=$ac_pwd ;;
 
3110
  [\\/]* | ?:[\\/]* )  # Absolute name.
2528
3111
    ac_srcdir=$srcdir$ac_dir_suffix;
2529
 
    ac_top_srcdir=$srcdir ;;
2530
 
  *) # Relative path.
2531
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2532
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2533
 
esac
2534
 
 
2535
 
# Do not use `cd foo && pwd` to compute absolute paths, because
2536
 
# the directories may not exist.
2537
 
case `pwd` in
2538
 
.) ac_abs_builddir="$ac_dir";;
2539
 
*)
2540
 
  case "$ac_dir" in
2541
 
  .) ac_abs_builddir=`pwd`;;
2542
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2543
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2544
 
  esac;;
2545
 
esac
2546
 
case $ac_abs_builddir in
2547
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2548
 
*)
2549
 
  case ${ac_top_builddir}. in
2550
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
2551
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2552
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2553
 
  esac;;
2554
 
esac
2555
 
case $ac_abs_builddir in
2556
 
.) ac_abs_srcdir=$ac_srcdir;;
2557
 
*)
2558
 
  case $ac_srcdir in
2559
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
2560
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2561
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2562
 
  esac;;
2563
 
esac
2564
 
case $ac_abs_builddir in
2565
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2566
 
*)
2567
 
  case $ac_top_srcdir in
2568
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2569
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2570
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2571
 
  esac;;
2572
 
esac
2573
 
 
2574
 
 
2575
 
    cd $ac_dir
 
3112
    ac_top_srcdir=$srcdir
 
3113
    ac_abs_top_srcdir=$srcdir ;;
 
3114
  *) # Relative name.
 
3115
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
3116
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
3117
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
3118
esac
 
3119
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
3120
 
 
3121
 
 
3122
    cd "$ac_dir"
2576
3123
 
2577
3124
    # Check for guested configure; otherwise get Cygnus style configure.
2578
 
    if test -f $ac_srcdir/configure.gnu; then
2579
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
2580
 
    elif test -f $ac_srcdir/configure; then
2581
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
2582
 
    elif test -f $ac_srcdir/configure.in; then
2583
 
      ac_sub_configure=$ac_configure
 
3125
    if test -f "$ac_srcdir/configure.gnu"; then
 
3126
      ac_sub_configure=$ac_srcdir/configure.gnu
 
3127
    elif test -f "$ac_srcdir/configure"; then
 
3128
      ac_sub_configure=$ac_srcdir/configure
 
3129
    elif test -f "$ac_srcdir/configure.in"; then
 
3130
      # This should be Cygnus configure.
 
3131
      ac_sub_configure=$ac_aux_dir/configure
2584
3132
    else
2585
3133
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2586
3134
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
2592
3140
      # Make the cache file name correct relative to the subdirectory.
2593
3141
      case $cache_file in
2594
3142
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2595
 
      *) # Relative path.
2596
 
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
3143
      *) # Relative name.
 
3144
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
2597
3145
      esac
2598
3146
 
2599
 
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2600
 
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
3147
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
3148
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
2601
3149
      # The eval makes quoting arguments work.
2602
 
      eval $ac_sub_configure $ac_sub_configure_args \
2603
 
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
 
3150
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
 
3151
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
2604
3152
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2605
3153
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2606
3154
   { (exit 1); exit 1; }; }
2610
3158
  done
2611
3159
fi
2612
3160
 
2613
 
chmod +x redhat/init.d/steam
2614
3161
 
 
3162
chmod +x distrib/redhat/init.d/steam
 
3163
chmod +x distrib/suse/init.d/steam
 
3164
chmod +x distrib/generic/init.d/steam