~ubuntu-branches/ubuntu/hardy/libapache2-mod-python/hardy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2007-04-12 20:52:05 UTC
  • mfrom: (1.2.4 upstream) (1.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070412205205-j4qlsw3o4tl615iq
Tags: 3.3.1-1
* New upstream release
* Remove configure and mod_python.h files in clean rule to make the diff.gz
  file smaller
* Current Python version in libapache2-mod-pythonX.Y package name (Provides:
  field) filled in automatically.
* Added XS-Vcs-Browser field

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.61.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
10
9
## M4sh Initialization.  ##
11
10
## --------------------- ##
12
11
 
13
 
# Be more Bourne compatible
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17
  # is contrary to our usage.  Disable this feature.
 
18
  alias -g '${1+"$@"}'='"$@"'
 
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
20
  set -o posix
 
21
fi
14
22
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
  setopt NO_GLOB_SUBST
22
 
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
25
 
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
 
# The user is always right.
41
 
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
23
 
53
24
# Support unset when possible.
54
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58
29
fi
59
30
 
60
31
 
61
 
# IFS
62
 
# We need space, tab and new line, in precisely that order.  Quoting is
63
 
# there to prevent editors from complaining about space-tab.
64
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
 
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
 
IFS=" ""        $as_nl"
69
 
 
70
 
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
72
 
  *[\\/]* ) as_myself=$0 ;;
73
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
 
for as_dir in $PATH
75
 
do
76
 
  IFS=$as_save_IFS
77
 
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
80
 
IFS=$as_save_IFS
81
 
 
82
 
     ;;
83
 
esac
84
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
 
# in which case we are not to be found in the path.
86
 
if test "x$as_myself" = x; then
87
 
  as_myself=$0
88
 
fi
89
 
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
92
 
fi
93
 
 
94
32
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
 
done
 
33
$as_unset ENV MAIL MAILPATH
98
34
PS1='$ '
99
35
PS2='> '
100
36
PS4='+ '
108
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
45
    eval $as_var=C; export $as_var
110
46
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
47
    $as_unset $as_var
112
48
  fi
113
49
done
114
50
 
115
51
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
118
53
  as_expr=expr
119
54
else
120
55
  as_expr=false
121
56
fi
122
57
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
124
59
  as_basename=basename
125
60
else
126
61
  as_basename=false
128
63
 
129
64
 
130
65
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
 
66
as_me=`$as_basename "$0" ||
132
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
68
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
69
         X"$0" : 'X\(/\)$' \| \
 
70
         .     : '\(.\)' 2>/dev/null ||
135
71
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
149
 
 
150
 
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
154
 
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
156
 
  as_have_required=yes
157
 
else
158
 
  as_have_required=no
159
 
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
 
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
  '')
221
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
132
do
224
133
  IFS=$as_save_IFS
225
134
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
227
137
         /*)
228
 
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
 
           done;;
231
 
       esac
 
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
232
152
done
233
 
IFS=$as_save_IFS
234
 
 
235
 
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
153
;;
 
154
  esac
427
155
 
428
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
 
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.
435
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
 
  sed -n '
439
 
    p
440
 
    /[$]LINENO/=
441
 
  ' <$as_myself |
 
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
164
  sed '=' <$as_myself |
442
165
    sed '
443
 
      s/[$]LINENO.*/&-/
444
 
      t lineno
445
 
      b
446
 
      :lineno
447
166
      N
448
 
      :loop
449
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
450
170
      t loop
451
 
      s/-\n.*//
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
452
173
    ' >$as_me.lineno &&
453
 
  chmod +x "$as_me.lineno" ||
 
174
  chmod +x $as_me.lineno ||
454
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
176
   { (exit 1); exit 1; }; }
456
177
 
457
178
  # Don't try to exec as it changes $[0], causing all sort of problems
458
179
  # (the dirname of $[0] is not the place where we might find the
459
 
  # original and so on.  Autoconf is especially sensitive to this).
460
 
  . "./$as_me.lineno"
 
180
  # original and so on.  Autoconf is especially sensible to this).
 
181
  . ./$as_me.lineno
461
182
  # Exit status is that of the last command.
462
183
  exit
463
184
}
464
185
 
465
186
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
474
 
-n*)
475
 
  case `echo 'x\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
478
 
  esac;;
479
 
*)
480
 
  ECHO_N='-n';;
 
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= ;;
481
192
esac
482
193
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
485
195
  as_expr=expr
486
196
else
487
197
  as_expr=false
488
198
fi
489
199
 
490
200
rm -f conf$$ conf$$.exe conf$$.file
491
 
if test -d conf$$.dir; then
492
 
  rm -f conf$$.dir/conf$$.file
493
 
else
494
 
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
496
 
fi
497
201
echo >conf$$.file
498
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
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
505
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
506
211
elif ln conf$$.file conf$$ 2>/dev/null; then
507
212
  as_ln_s=ln
508
213
else
509
214
  as_ln_s='cp -p'
510
215
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
 
216
rm -f conf$$ conf$$.exe conf$$.file
513
217
 
514
218
if mkdir -p . 2>/dev/null; then
515
219
  as_mkdir_p=:
518
222
  as_mkdir_p=false
519
223
fi
520
224
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
 
225
as_executable_p="test -f"
543
226
 
544
227
# Sed expression to map a string onto a valid CPP name.
545
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
232
 
550
233
 
551
 
 
552
 
exec 7<&0 </dev/null 6>&1
 
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
 
553
243
 
554
244
# Name of the host.
555
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556
246
# so uname gets run too.
557
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
248
 
 
249
exec 6>&1
 
250
 
559
251
#
560
252
# Initializations.
561
253
#
562
254
ac_default_prefix=/usr/local
563
 
ac_clean_files=
564
255
ac_config_libobj_dir=.
565
 
LIBOBJS=
566
256
cross_compiling=no
567
257
subdirs=
568
258
MFLAGS=
569
259
MAKEFLAGS=
570
260
SHELL=${CONFIG_SHELL-/bin/sh}
571
261
 
 
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
 
572
267
# Identity of this package.
573
268
PACKAGE_NAME=
574
269
PACKAGE_TARNAME=
577
272
PACKAGE_BUGREPORT=
578
273
 
579
274
ac_unique_file="src/mod_python.c"
580
 
ac_subst_vars='SHELL
581
 
PATH_SEPARATOR
582
 
PACKAGE_NAME
583
 
PACKAGE_TARNAME
584
 
PACKAGE_VERSION
585
 
PACKAGE_STRING
586
 
PACKAGE_BUGREPORT
587
 
exec_prefix
588
 
prefix
589
 
program_transform_name
590
 
bindir
591
 
sbindir
592
 
libexecdir
593
 
datarootdir
594
 
datadir
595
 
sysconfdir
596
 
sharedstatedir
597
 
localstatedir
598
 
includedir
599
 
oldincludedir
600
 
docdir
601
 
infodir
602
 
htmldir
603
 
dvidir
604
 
pdfdir
605
 
psdir
606
 
libdir
607
 
localedir
608
 
mandir
609
 
DEFS
610
 
ECHO_C
611
 
ECHO_N
612
 
ECHO_T
613
 
LIBS
614
 
build_alias
615
 
host_alias
616
 
target_alias
617
 
CC
618
 
CFLAGS
619
 
LDFLAGS
620
 
CPPFLAGS
621
 
ac_ct_CC
622
 
EXEEXT
623
 
OBJEXT
624
 
AR
625
 
INSTALL_PROGRAM
626
 
INSTALL_SCRIPT
627
 
INSTALL_DATA
628
 
SET_MAKE
629
 
APXS
630
 
DSO
631
 
ALL
632
 
LIBEXECDIR
633
 
SOLARIS_HACKS
634
 
HTTPD
635
 
AP_SRC
636
 
AP_SRC_OWN
637
 
AP_SRC_GRP
638
 
STATIC
639
 
PYTHON_BIN
640
 
PY_STD_LIB
641
 
INCLUDES
642
 
TEST_SERVER_ROOT
643
 
MOD_PYTHON_SO
644
 
MP_VERSION
645
 
PYTHON_SRC
646
 
MUTEX_DIR
647
 
MAX_LOCKS
648
 
LEX
649
 
LIBOBJS
650
 
LTLIBOBJS'
 
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE APXS DSO ALL LIBEXECDIR SOLARIS_HACKS HTTPD AP_SRC AP_SRC_OWN AP_SRC_GRP STATIC PYTHON_BIN PY_STD_LIB INCLUDES TEST_SERVER_ROOT MOD_PYTHON_SO MP_VERSION PYTHON_SRC MUTEX_DIR MAX_LOCKS LEX LIBOBJS LTLIBOBJS'
651
276
ac_subst_files=''
652
 
      ac_precious_vars='build_alias
653
 
host_alias
654
 
target_alias
655
 
CC
656
 
CFLAGS
657
 
LDFLAGS
658
 
LIBS
659
 
CPPFLAGS'
660
 
 
661
277
 
662
278
# Initialize some variables set by options.
663
279
ac_init_help=
684
300
# and all the variables that are supposed to be based on exec_prefix
685
301
# by default will actually change.
686
302
# Use braces instead of parens because sh, perl, etc. also accept them.
687
 
# (The list follows the same order as the GNU Coding Standards.)
688
303
bindir='${exec_prefix}/bin'
689
304
sbindir='${exec_prefix}/sbin'
690
305
libexecdir='${exec_prefix}/libexec'
691
 
datarootdir='${prefix}/share'
692
 
datadir='${datarootdir}'
 
306
datadir='${prefix}/share'
693
307
sysconfdir='${prefix}/etc'
694
308
sharedstatedir='${prefix}/com'
695
309
localstatedir='${prefix}/var'
 
310
libdir='${exec_prefix}/lib'
696
311
includedir='${prefix}/include'
697
312
oldincludedir='/usr/include'
698
 
docdir='${datarootdir}/doc/${PACKAGE}'
699
 
infodir='${datarootdir}/info'
700
 
htmldir='${docdir}'
701
 
dvidir='${docdir}'
702
 
pdfdir='${docdir}'
703
 
psdir='${docdir}'
704
 
libdir='${exec_prefix}/lib'
705
 
localedir='${datarootdir}/locale'
706
 
mandir='${datarootdir}/man'
 
313
infodir='${prefix}/info'
 
314
mandir='${prefix}/man'
707
315
 
708
316
ac_prev=
709
 
ac_dashdash=
710
317
for ac_option
711
318
do
712
319
  # If the previous option needs an argument, assign it.
713
320
  if test -n "$ac_prev"; then
714
 
    eval $ac_prev=\$ac_option
 
321
    eval "$ac_prev=\$ac_option"
715
322
    ac_prev=
716
323
    continue
717
324
  fi
718
325
 
719
 
  case $ac_option in
720
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
721
 
  *)    ac_optarg=yes ;;
722
 
  esac
 
326
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
723
327
 
724
328
  # Accept the important Cygnus configure options, so we can diagnose typos.
725
329
 
726
 
  case $ac_dashdash$ac_option in
727
 
  --)
728
 
    ac_dashdash=yes ;;
 
330
  case $ac_option in
729
331
 
730
332
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
731
333
    ac_prev=bindir ;;
747
349
  --config-cache | -C)
748
350
    cache_file=config.cache ;;
749
351
 
750
 
  -datadir | --datadir | --datadi | --datad)
 
352
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
751
353
    ac_prev=datadir ;;
752
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
354
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
355
  | --da=*)
753
356
    datadir=$ac_optarg ;;
754
357
 
755
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
756
 
  | --dataroo | --dataro | --datar)
757
 
    ac_prev=datarootdir ;;
758
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
759
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
760
 
    datarootdir=$ac_optarg ;;
761
 
 
762
358
  -disable-* | --disable-*)
763
359
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
764
360
    # Reject names that are not valid shell variable names.
765
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
361
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
766
362
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767
363
   { (exit 1); exit 1; }; }
768
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
769
 
    eval enable_$ac_feature=no ;;
770
 
 
771
 
  -docdir | --docdir | --docdi | --doc | --do)
772
 
    ac_prev=docdir ;;
773
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
774
 
    docdir=$ac_optarg ;;
775
 
 
776
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777
 
    ac_prev=dvidir ;;
778
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
779
 
    dvidir=$ac_optarg ;;
 
364
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
365
    eval "enable_$ac_feature=no" ;;
780
366
 
781
367
  -enable-* | --enable-*)
782
368
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783
369
    # Reject names that are not valid shell variable names.
784
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
370
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
785
371
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
786
372
   { (exit 1); exit 1; }; }
787
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
788
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
373
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
374
    case $ac_option in
 
375
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
376
      *) ac_optarg=yes ;;
 
377
    esac
 
378
    eval "enable_$ac_feature='$ac_optarg'" ;;
789
379
 
790
380
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
791
381
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
812
402
  -host=* | --host=* | --hos=* | --ho=*)
813
403
    host_alias=$ac_optarg ;;
814
404
 
815
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
816
 
    ac_prev=htmldir ;;
817
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
818
 
  | --ht=*)
819
 
    htmldir=$ac_optarg ;;
820
 
 
821
405
  -includedir | --includedir | --includedi | --included | --include \
822
406
  | --includ | --inclu | --incl | --inc)
823
407
    ac_prev=includedir ;;
842
426
  | --libexe=* | --libex=* | --libe=*)
843
427
    libexecdir=$ac_optarg ;;
844
428
 
845
 
  -localedir | --localedir | --localedi | --localed | --locale)
846
 
    ac_prev=localedir ;;
847
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
848
 
    localedir=$ac_optarg ;;
849
 
 
850
429
  -localstatedir | --localstatedir | --localstatedi | --localstated \
851
 
  | --localstate | --localstat | --localsta | --localst | --locals)
 
430
  | --localstate | --localstat | --localsta | --localst \
 
431
  | --locals | --local | --loca | --loc | --lo)
852
432
    ac_prev=localstatedir ;;
853
433
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
854
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
434
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
435
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
855
436
    localstatedir=$ac_optarg ;;
856
437
 
857
438
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916
497
  | --progr-tra=* | --program-tr=* | --program-t=*)
917
498
    program_transform_name=$ac_optarg ;;
918
499
 
919
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
920
 
    ac_prev=pdfdir ;;
921
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922
 
    pdfdir=$ac_optarg ;;
923
 
 
924
 
  -psdir | --psdir | --psdi | --psd | --ps)
925
 
    ac_prev=psdir ;;
926
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927
 
    psdir=$ac_optarg ;;
928
 
 
929
500
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
930
501
  | -silent | --silent | --silen | --sile | --sil)
931
502
    silent=yes ;;
978
549
  -with-* | --with-*)
979
550
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
980
551
    # Reject names that are not valid shell variable names.
981
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
552
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
982
553
      { echo "$as_me: error: invalid package name: $ac_package" >&2
983
554
   { (exit 1); exit 1; }; }
984
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
985
 
    eval with_$ac_package=\$ac_optarg ;;
 
555
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
556
    case $ac_option in
 
557
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
558
      *) ac_optarg=yes ;;
 
559
    esac
 
560
    eval "with_$ac_package='$ac_optarg'" ;;
986
561
 
987
562
  -without-* | --without-*)
988
563
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989
564
    # Reject names that are not valid shell variable names.
990
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
565
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
991
566
      { echo "$as_me: error: invalid package name: $ac_package" >&2
992
567
   { (exit 1); exit 1; }; }
993
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
994
 
    eval with_$ac_package=no ;;
 
568
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
569
    eval "with_$ac_package=no" ;;
995
570
 
996
571
  --x)
997
572
    # Obsolete; use --with-x.
1022
597
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1023
598
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1024
599
   { (exit 1); exit 1; }; }
1025
 
    eval $ac_envvar=\$ac_optarg
 
600
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
601
    eval "$ac_envvar='$ac_optarg'"
1026
602
    export $ac_envvar ;;
1027
603
 
1028
604
  *)
1042
618
   { (exit 1); exit 1; }; }
1043
619
fi
1044
620
 
1045
 
# Be sure to have absolute directory names.
1046
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1047
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1048
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1049
 
                libdir localedir mandir
1050
 
do
1051
 
  eval ac_val=\$$ac_var
1052
 
  case $ac_val in
1053
 
    [\\/$]* | ?:[\\/]* )  continue;;
1054
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1055
 
  esac
1056
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1057
 
   { (exit 1); exit 1; }; }
 
621
# Be sure to have absolute paths.
 
622
for ac_var in exec_prefix prefix
 
623
do
 
624
  eval ac_val=$`echo $ac_var`
 
625
  case $ac_val in
 
626
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
627
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
628
   { (exit 1); exit 1; }; };;
 
629
  esac
 
630
done
 
631
 
 
632
# Be sure to have absolute paths.
 
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
634
              localstatedir libdir includedir oldincludedir infodir mandir
 
635
do
 
636
  eval ac_val=$`echo $ac_var`
 
637
  case $ac_val in
 
638
    [\\/$]* | ?:[\\/]* ) ;;
 
639
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
640
   { (exit 1); exit 1; }; };;
 
641
  esac
1058
642
done
1059
643
 
1060
644
# There might be people who depend on the old broken behavior: `$host'
1081
665
test "$silent" = yes && exec 6>/dev/null
1082
666
 
1083
667
 
1084
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1085
 
ac_ls_di=`ls -di .` &&
1086
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1087
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1088
 
   { (exit 1); exit 1; }; }
1089
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1090
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1091
 
   { (exit 1); exit 1; }; }
1092
 
 
1093
 
 
1094
668
# Find the source files, if location was not specified.
1095
669
if test -z "$srcdir"; then
1096
670
  ac_srcdir_defaulted=yes
1097
 
  # Try the directory containing this script, then the parent directory.
1098
 
  ac_confdir=`$as_dirname -- "$0" ||
 
671
  # Try the directory containing this script, then its parent.
 
672
  ac_confdir=`(dirname "$0") 2>/dev/null ||
1099
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1100
674
         X"$0" : 'X\(//\)[^/]' \| \
1101
675
         X"$0" : 'X\(//\)$' \| \
1102
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
676
         X"$0" : 'X\(/\)' \| \
 
677
         .     : '\(.\)' 2>/dev/null ||
1103
678
echo X"$0" |
1104
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1105
 
            s//\1/
1106
 
            q
1107
 
          }
1108
 
          /^X\(\/\/\)[^/].*/{
1109
 
            s//\1/
1110
 
            q
1111
 
          }
1112
 
          /^X\(\/\/\)$/{
1113
 
            s//\1/
1114
 
            q
1115
 
          }
1116
 
          /^X\(\/\).*/{
1117
 
            s//\1/
1118
 
            q
1119
 
          }
1120
 
          s/.*/./; q'`
 
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
680
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
681
          /^X\(\/\/\)$/{ s//\1/; q; }
 
682
          /^X\(\/\).*/{ s//\1/; q; }
 
683
          s/.*/./; q'`
1121
684
  srcdir=$ac_confdir
1122
 
  if test ! -r "$srcdir/$ac_unique_file"; then
 
685
  if test ! -r $srcdir/$ac_unique_file; then
1123
686
    srcdir=..
1124
687
  fi
1125
688
else
1126
689
  ac_srcdir_defaulted=no
1127
690
fi
1128
 
if test ! -r "$srcdir/$ac_unique_file"; then
1129
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1130
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1131
 
   { (exit 1); exit 1; }; }
1132
 
fi
1133
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1134
 
ac_abs_confdir=`(
1135
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1136
 
   { (exit 1); exit 1; }; }
1137
 
        pwd)`
1138
 
# When building in place, set srcdir=.
1139
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1140
 
  srcdir=.
1141
 
fi
1142
 
# Remove unnecessary trailing slashes from srcdir.
1143
 
# Double slashes in file names in object file debugging info
1144
 
# mess up M-x gdb in Emacs.
1145
 
case $srcdir in
1146
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1147
 
esac
1148
 
for ac_var in $ac_precious_vars; do
1149
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1150
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1151
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1152
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1153
 
done
 
691
if test ! -r $srcdir/$ac_unique_file; then
 
692
  if test "$ac_srcdir_defaulted" = yes; then
 
693
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
694
   { (exit 1); exit 1; }; }
 
695
  else
 
696
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
697
   { (exit 1); exit 1; }; }
 
698
  fi
 
699
fi
 
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
701
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
702
   { (exit 1); exit 1; }; }
 
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
704
ac_env_build_alias_set=${build_alias+set}
 
705
ac_env_build_alias_value=$build_alias
 
706
ac_cv_env_build_alias_set=${build_alias+set}
 
707
ac_cv_env_build_alias_value=$build_alias
 
708
ac_env_host_alias_set=${host_alias+set}
 
709
ac_env_host_alias_value=$host_alias
 
710
ac_cv_env_host_alias_set=${host_alias+set}
 
711
ac_cv_env_host_alias_value=$host_alias
 
712
ac_env_target_alias_set=${target_alias+set}
 
713
ac_env_target_alias_value=$target_alias
 
714
ac_cv_env_target_alias_set=${target_alias+set}
 
715
ac_cv_env_target_alias_value=$target_alias
 
716
ac_env_CC_set=${CC+set}
 
717
ac_env_CC_value=$CC
 
718
ac_cv_env_CC_set=${CC+set}
 
719
ac_cv_env_CC_value=$CC
 
720
ac_env_CFLAGS_set=${CFLAGS+set}
 
721
ac_env_CFLAGS_value=$CFLAGS
 
722
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
723
ac_cv_env_CFLAGS_value=$CFLAGS
 
724
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
725
ac_env_LDFLAGS_value=$LDFLAGS
 
726
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
727
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
728
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
729
ac_env_CPPFLAGS_value=$CPPFLAGS
 
730
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
731
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1154
732
 
1155
733
#
1156
734
# Report the --help message.
1179
757
  -n, --no-create         do not create output files
1180
758
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1181
759
 
 
760
_ACEOF
 
761
 
 
762
  cat <<_ACEOF
1182
763
Installation directories:
1183
764
  --prefix=PREFIX         install architecture-independent files in PREFIX
1184
765
                          [$ac_default_prefix]
1196
777
  --bindir=DIR           user executables [EPREFIX/bin]
1197
778
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1198
779
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
780
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1199
781
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1200
782
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1201
783
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1202
784
  --libdir=DIR           object code libraries [EPREFIX/lib]
1203
785
  --includedir=DIR       C header files [PREFIX/include]
1204
786
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1205
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1206
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1207
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1208
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1209
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1210
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1211
 
  --htmldir=DIR          html documentation [DOCDIR]
1212
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1213
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1214
 
  --psdir=DIR            ps documentation [DOCDIR]
 
787
  --infodir=DIR          info documentation [PREFIX/info]
 
788
  --mandir=DIR           man documentation [PREFIX/man]
1215
789
_ACEOF
1216
790
 
1217
791
  cat <<\_ACEOF
1242
816
  CFLAGS      C compiler flags
1243
817
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1244
818
              nonstandard directory <lib dir>
1245
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1246
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1247
 
              you have headers in a nonstandard directory <include dir>
 
819
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
820
              headers in a nonstandard directory <include dir>
1248
821
 
1249
822
Use these variables to override the choices made by `configure' or to help
1250
823
it to find libraries and programs with nonstandard names/locations.
1251
824
 
1252
825
_ACEOF
1253
 
ac_status=$?
1254
826
fi
1255
827
 
1256
828
if test "$ac_init_help" = "recursive"; then
1257
829
  # If there are subdirs, report their specific --help.
 
830
  ac_popdir=`pwd`
1258
831
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1259
 
    test -d "$ac_dir" || continue
 
832
    test -d $ac_dir || continue
1260
833
    ac_builddir=.
1261
834
 
1262
 
case "$ac_dir" in
1263
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1264
 
*)
 
835
if test "$ac_dir" != .; then
1265
836
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1266
 
  # A ".." for each directory in $ac_dir_suffix.
1267
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1268
 
  case $ac_top_builddir_sub in
1269
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1271
 
  esac ;;
1272
 
esac
1273
 
ac_abs_top_builddir=$ac_pwd
1274
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1275
 
# for backward compatibility:
1276
 
ac_top_builddir=$ac_top_build_prefix
 
837
  # A "../" for each directory in $ac_dir_suffix.
 
838
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
839
else
 
840
  ac_dir_suffix= ac_top_builddir=
 
841
fi
1277
842
 
1278
843
case $srcdir in
1279
 
  .)  # We are building in place.
 
844
  .)  # No --srcdir option.  We are building in place.
1280
845
    ac_srcdir=.
1281
 
    ac_top_srcdir=$ac_top_builddir_sub
1282
 
    ac_abs_top_srcdir=$ac_pwd ;;
1283
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
846
    if test -z "$ac_top_builddir"; then
 
847
       ac_top_srcdir=.
 
848
    else
 
849
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
850
    fi ;;
 
851
  [\\/]* | ?:[\\/]* )  # Absolute path.
1284
852
    ac_srcdir=$srcdir$ac_dir_suffix;
1285
 
    ac_top_srcdir=$srcdir
1286
 
    ac_abs_top_srcdir=$srcdir ;;
1287
 
  *) # Relative name.
1288
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1289
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1290
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1291
 
esac
1292
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1293
 
 
1294
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1295
 
    # Check for guested configure.
1296
 
    if test -f "$ac_srcdir/configure.gnu"; then
1297
 
      echo &&
1298
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1299
 
    elif test -f "$ac_srcdir/configure"; then
1300
 
      echo &&
1301
 
      $SHELL "$ac_srcdir/configure" --help=recursive
 
853
    ac_top_srcdir=$srcdir ;;
 
854
  *) # Relative path.
 
855
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
856
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
857
esac
 
858
 
 
859
# Do not use `cd foo && pwd` to compute absolute paths, because
 
860
# the directories may not exist.
 
861
case `pwd` in
 
862
.) ac_abs_builddir="$ac_dir";;
 
863
*)
 
864
  case "$ac_dir" in
 
865
  .) ac_abs_builddir=`pwd`;;
 
866
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
867
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
868
  esac;;
 
869
esac
 
870
case $ac_abs_builddir in
 
871
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
872
*)
 
873
  case ${ac_top_builddir}. in
 
874
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
875
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
876
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
877
  esac;;
 
878
esac
 
879
case $ac_abs_builddir in
 
880
.) ac_abs_srcdir=$ac_srcdir;;
 
881
*)
 
882
  case $ac_srcdir in
 
883
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
884
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
885
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
886
  esac;;
 
887
esac
 
888
case $ac_abs_builddir in
 
889
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
890
*)
 
891
  case $ac_top_srcdir in
 
892
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
893
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
894
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
895
  esac;;
 
896
esac
 
897
 
 
898
    cd $ac_dir
 
899
    # Check for guested configure; otherwise get Cygnus style configure.
 
900
    if test -f $ac_srcdir/configure.gnu; then
 
901
      echo
 
902
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
903
    elif test -f $ac_srcdir/configure; then
 
904
      echo
 
905
      $SHELL $ac_srcdir/configure  --help=recursive
 
906
    elif test -f $ac_srcdir/configure.ac ||
 
907
           test -f $ac_srcdir/configure.in; then
 
908
      echo
 
909
      $ac_configure --help
1302
910
    else
1303
911
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1304
 
    fi || ac_status=$?
1305
 
    cd "$ac_pwd" || { ac_status=$?; break; }
 
912
    fi
 
913
    cd "$ac_popdir"
1306
914
  done
1307
915
fi
1308
916
 
1309
 
test -n "$ac_init_help" && exit $ac_status
 
917
test -n "$ac_init_help" && exit 0
1310
918
if $ac_init_version; then
1311
919
  cat <<\_ACEOF
1312
 
configure
1313
 
generated by GNU Autoconf 2.61
1314
920
 
1315
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1316
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
921
Copyright (C) 2003 Free Software Foundation, Inc.
1317
922
This configure script is free software; the Free Software Foundation
1318
923
gives unlimited permission to copy, distribute and modify it.
1319
924
_ACEOF
1320
 
  exit
 
925
  exit 0
1321
926
fi
1322
 
cat >config.log <<_ACEOF
 
927
exec 5>config.log
 
928
cat >&5 <<_ACEOF
1323
929
This file contains any messages produced by compilers while
1324
930
running configure, to aid debugging if configure makes a mistake.
1325
931
 
1326
932
It was created by $as_me, which was
1327
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
933
generated by GNU Autoconf 2.59.  Invocation command line was
1328
934
 
1329
935
  $ $0 $@
1330
936
 
1331
937
_ACEOF
1332
 
exec 5>>config.log
1333
938
{
1334
939
cat <<_ASUNAME
1335
940
## --------- ##
1348
953
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1349
954
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1350
955
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1351
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
956
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1352
957
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1353
958
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1354
959
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1362
967
  test -z "$as_dir" && as_dir=.
1363
968
  echo "PATH: $as_dir"
1364
969
done
1365
 
IFS=$as_save_IFS
1366
970
 
1367
971
} >&5
1368
972
 
1384
988
ac_configure_args=
1385
989
ac_configure_args0=
1386
990
ac_configure_args1=
 
991
ac_sep=
1387
992
ac_must_keep_next=false
1388
993
for ac_pass in 1 2
1389
994
do
1394
999
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1395
1000
    | -silent | --silent | --silen | --sile | --sil)
1396
1001
      continue ;;
1397
 
    *\'*)
 
1002
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1398
1003
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1399
1004
    esac
1400
1005
    case $ac_pass in
1416
1021
          -* ) ac_must_keep_next=true ;;
1417
1022
        esac
1418
1023
      fi
1419
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1024
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1025
      # Get rid of the leading space.
 
1026
      ac_sep=" "
1420
1027
      ;;
1421
1028
    esac
1422
1029
  done
1427
1034
# When interrupted or exit'd, cleanup temporary files, and complete
1428
1035
# config.log.  We remove comments because anyway the quotes in there
1429
1036
# would cause problems or look ugly.
1430
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1431
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1037
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1038
# such as our DU 5.0 friend, will then `close' the trap.
1432
1039
trap 'exit_status=$?
1433
1040
  # Save into config.log some information that might help in debugging.
1434
1041
  {
1441
1048
_ASBOX
1442
1049
    echo
1443
1050
    # The following way of writing the cache mishandles newlines in values,
1444
 
(
1445
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1446
 
    eval ac_val=\$$ac_var
1447
 
    case $ac_val in #(
1448
 
    *${as_nl}*)
1449
 
      case $ac_var in #(
1450
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1451
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1452
 
      esac
1453
 
      case $ac_var in #(
1454
 
      _ | IFS | as_nl) ;; #(
1455
 
      *) $as_unset $ac_var ;;
1456
 
      esac ;;
1457
 
    esac
1458
 
  done
 
1051
{
1459
1052
  (set) 2>&1 |
1460
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1461
 
    *${as_nl}ac_space=\ *)
 
1053
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1054
    *ac_space=\ *)
1462
1055
      sed -n \
1463
 
        "s/'\''/'\''\\\\'\'''\''/g;
1464
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1465
 
      ;; #(
 
1056
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1057
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1058
      ;;
1466
1059
    *)
1467
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1060
      sed -n \
 
1061
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1468
1062
      ;;
1469
 
    esac |
1470
 
    sort
1471
 
)
 
1063
    esac;
 
1064
}
1472
1065
    echo
1473
1066
 
1474
1067
    cat <<\_ASBOX
1479
1072
    echo
1480
1073
    for ac_var in $ac_subst_vars
1481
1074
    do
1482
 
      eval ac_val=\$$ac_var
1483
 
      case $ac_val in
1484
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1485
 
      esac
1486
 
      echo "$ac_var='\''$ac_val'\''"
 
1075
      eval ac_val=$`echo $ac_var`
 
1076
      echo "$ac_var='"'"'$ac_val'"'"'"
1487
1077
    done | sort
1488
1078
    echo
1489
1079
 
1490
1080
    if test -n "$ac_subst_files"; then
1491
1081
      cat <<\_ASBOX
1492
 
## ------------------- ##
1493
 
## File substitutions. ##
1494
 
## ------------------- ##
 
1082
## ------------- ##
 
1083
## Output files. ##
 
1084
## ------------- ##
1495
1085
_ASBOX
1496
1086
      echo
1497
1087
      for ac_var in $ac_subst_files
1498
1088
      do
1499
 
        eval ac_val=\$$ac_var
1500
 
        case $ac_val in
1501
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1502
 
        esac
1503
 
        echo "$ac_var='\''$ac_val'\''"
 
1089
        eval ac_val=$`echo $ac_var`
 
1090
        echo "$ac_var='"'"'$ac_val'"'"'"
1504
1091
      done | sort
1505
1092
      echo
1506
1093
    fi
1512
1099
## ----------- ##
1513
1100
_ASBOX
1514
1101
      echo
1515
 
      cat confdefs.h
 
1102
      sed "/^$/d" confdefs.h | sort
1516
1103
      echo
1517
1104
    fi
1518
1105
    test "$ac_signal" != 0 &&
1519
1106
      echo "$as_me: caught signal $ac_signal"
1520
1107
    echo "$as_me: exit $exit_status"
1521
1108
  } >&5
1522
 
  rm -f core *.core core.conftest.* &&
1523
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1109
  rm -f core *.core &&
 
1110
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1524
1111
    exit $exit_status
1525
 
' 0
 
1112
     ' 0
1526
1113
for ac_signal in 1 2 13 15; do
1527
1114
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1528
1115
done
1529
1116
ac_signal=0
1530
1117
 
1531
1118
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1532
 
rm -f -r conftest* confdefs.h
 
1119
rm -rf conftest* confdefs.h
 
1120
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1121
echo >confdefs.h
1533
1122
 
1534
1123
# Predefined preprocessor variables.
1535
1124
 
1560
1149
 
1561
1150
# Let the site file select an alternate cache file if it wants to.
1562
1151
# Prefer explicitly selected file to automatically selected ones.
1563
 
if test -n "$CONFIG_SITE"; then
1564
 
  set x "$CONFIG_SITE"
1565
 
elif test "x$prefix" != xNONE; then
1566
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1567
 
else
1568
 
  set x "$ac_default_prefix/share/config.site" \
1569
 
        "$ac_default_prefix/etc/config.site"
 
1152
if test -z "$CONFIG_SITE"; then
 
1153
  if test "x$prefix" != xNONE; then
 
1154
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1155
  else
 
1156
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1157
  fi
1570
1158
fi
1571
 
shift
1572
 
for ac_site_file
1573
 
do
 
1159
for ac_site_file in $CONFIG_SITE; do
1574
1160
  if test -r "$ac_site_file"; then
1575
1161
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1576
1162
echo "$as_me: loading site script $ac_site_file" >&6;}
1586
1172
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1587
1173
echo "$as_me: loading cache $cache_file" >&6;}
1588
1174
    case $cache_file in
1589
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1590
 
      *)                      . "./$cache_file";;
 
1175
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1176
      *)                      . ./$cache_file;;
1591
1177
    esac
1592
1178
  fi
1593
1179
else
1599
1185
# Check that the precious variables saved in the cache have kept the same
1600
1186
# value.
1601
1187
ac_cache_corrupted=false
1602
 
for ac_var in $ac_precious_vars; do
 
1188
for ac_var in `(set) 2>&1 |
 
1189
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1603
1190
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1604
1191
  eval ac_new_set=\$ac_env_${ac_var}_set
1605
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1606
 
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1192
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1193
  eval ac_new_val="\$ac_env_${ac_var}_value"
1607
1194
  case $ac_old_set,$ac_new_set in
1608
1195
    set,)
1609
1196
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1628
1215
  # Pass precious variables to config.status.
1629
1216
  if test "$ac_new_set" = set; then
1630
1217
    case $ac_new_val in
1631
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1218
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1219
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1632
1220
    *) ac_arg=$ac_var=$ac_new_val ;;
1633
1221
    esac
1634
1222
    case " $ac_configure_args " in
1645
1233
   { (exit 1); exit 1; }; }
1646
1234
fi
1647
1235
 
1648
 
 
1649
 
 
1650
 
 
1651
 
 
1652
 
 
1653
 
 
1654
 
 
1655
 
 
1656
 
 
1657
 
 
1658
 
 
1659
 
 
1660
 
 
1661
 
 
1662
 
 
1663
 
 
1664
1236
ac_ext=c
1665
1237
ac_cpp='$CPP $CPPFLAGS'
1666
1238
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1669
1241
 
1670
1242
 
1671
1243
 
 
1244
 
 
1245
 
 
1246
 
 
1247
 
 
1248
 
 
1249
 
 
1250
 
 
1251
 
 
1252
 
 
1253
 
 
1254
 
 
1255
 
 
1256
 
 
1257
 
 
1258
 
 
1259
 
 
1260
 
1672
1261
# includes
1673
1262
INCLUDES="-I`pwd`/src/include"
1674
1263
 
1680
1269
if test -n "$ac_tool_prefix"; then
1681
1270
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1682
1271
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1683
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1684
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1272
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685
1274
if test "${ac_cv_prog_CC+set}" = set; then
1686
1275
  echo $ECHO_N "(cached) $ECHO_C" >&6
1687
1276
else
1694
1283
  IFS=$as_save_IFS
1695
1284
  test -z "$as_dir" && as_dir=.
1696
1285
  for ac_exec_ext in '' $ac_executable_extensions; do
1697
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1286
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698
1287
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1699
1288
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700
1289
    break 2
1701
1290
  fi
1702
1291
done
1703
1292
done
1704
 
IFS=$as_save_IFS
1705
1293
 
1706
1294
fi
1707
1295
fi
1708
1296
CC=$ac_cv_prog_CC
1709
1297
if test -n "$CC"; then
1710
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1711
 
echo "${ECHO_T}$CC" >&6; }
 
1298
  echo "$as_me:$LINENO: result: $CC" >&5
 
1299
echo "${ECHO_T}$CC" >&6
1712
1300
else
1713
 
  { echo "$as_me:$LINENO: result: no" >&5
1714
 
echo "${ECHO_T}no" >&6; }
 
1301
  echo "$as_me:$LINENO: result: no" >&5
 
1302
echo "${ECHO_T}no" >&6
1715
1303
fi
1716
 
 
1717
1304
 
1718
1305
fi
1719
1306
if test -z "$ac_cv_prog_CC"; then
1720
1307
  ac_ct_CC=$CC
1721
1308
  # Extract the first word of "gcc", so it can be a program name with args.
1722
1309
set dummy gcc; ac_word=$2
1723
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1310
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1725
1312
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1726
1313
  echo $ECHO_N "(cached) $ECHO_C" >&6
1727
1314
else
1734
1321
  IFS=$as_save_IFS
1735
1322
  test -z "$as_dir" && as_dir=.
1736
1323
  for ac_exec_ext in '' $ac_executable_extensions; do
1737
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1324
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1738
1325
    ac_cv_prog_ac_ct_CC="gcc"
1739
1326
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1740
1327
    break 2
1741
1328
  fi
1742
1329
done
1743
1330
done
1744
 
IFS=$as_save_IFS
1745
1331
 
1746
1332
fi
1747
1333
fi
1748
1334
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1749
1335
if test -n "$ac_ct_CC"; then
1750
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
1336
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1337
echo "${ECHO_T}$ac_ct_CC" >&6
1752
1338
else
1753
 
  { echo "$as_me:$LINENO: result: no" >&5
1754
 
echo "${ECHO_T}no" >&6; }
 
1339
  echo "$as_me:$LINENO: result: no" >&5
 
1340
echo "${ECHO_T}no" >&6
1755
1341
fi
1756
1342
 
1757
 
  if test "x$ac_ct_CC" = x; then
1758
 
    CC=""
1759
 
  else
1760
 
    case $cross_compiling:$ac_tool_warned in
1761
 
yes:)
1762
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1763
 
whose name does not start with the host triplet.  If you think this
1764
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1765
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1766
 
whose name does not start with the host triplet.  If you think this
1767
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1768
 
ac_tool_warned=yes ;;
1769
 
esac
1770
 
    CC=$ac_ct_CC
1771
 
  fi
 
1343
  CC=$ac_ct_CC
1772
1344
else
1773
1345
  CC="$ac_cv_prog_CC"
1774
1346
fi
1775
1347
 
1776
1348
if test -z "$CC"; then
1777
 
          if test -n "$ac_tool_prefix"; then
1778
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1349
  if test -n "$ac_tool_prefix"; then
 
1350
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1779
1351
set dummy ${ac_tool_prefix}cc; ac_word=$2
1780
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1781
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1352
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1782
1354
if test "${ac_cv_prog_CC+set}" = set; then
1783
1355
  echo $ECHO_N "(cached) $ECHO_C" >&6
1784
1356
else
1791
1363
  IFS=$as_save_IFS
1792
1364
  test -z "$as_dir" && as_dir=.
1793
1365
  for ac_exec_ext in '' $ac_executable_extensions; do
1794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1366
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1795
1367
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1796
1368
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797
1369
    break 2
1798
1370
  fi
1799
1371
done
1800
1372
done
1801
 
IFS=$as_save_IFS
1802
1373
 
1803
1374
fi
1804
1375
fi
1805
1376
CC=$ac_cv_prog_CC
1806
1377
if test -n "$CC"; then
1807
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1808
 
echo "${ECHO_T}$CC" >&6; }
1809
 
else
1810
 
  { echo "$as_me:$LINENO: result: no" >&5
1811
 
echo "${ECHO_T}no" >&6; }
1812
 
fi
1813
 
 
1814
 
 
 
1378
  echo "$as_me:$LINENO: result: $CC" >&5
 
1379
echo "${ECHO_T}$CC" >&6
 
1380
else
 
1381
  echo "$as_me:$LINENO: result: no" >&5
 
1382
echo "${ECHO_T}no" >&6
 
1383
fi
 
1384
 
 
1385
fi
 
1386
if test -z "$ac_cv_prog_CC"; then
 
1387
  ac_ct_CC=$CC
 
1388
  # Extract the first word of "cc", so it can be a program name with args.
 
1389
set dummy cc; ac_word=$2
 
1390
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1391
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1392
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1393
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1394
else
 
1395
  if test -n "$ac_ct_CC"; then
 
1396
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1397
else
 
1398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1399
for as_dir in $PATH
 
1400
do
 
1401
  IFS=$as_save_IFS
 
1402
  test -z "$as_dir" && as_dir=.
 
1403
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1404
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1405
    ac_cv_prog_ac_ct_CC="cc"
 
1406
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1407
    break 2
1815
1408
  fi
 
1409
done
 
1410
done
 
1411
 
 
1412
fi
 
1413
fi
 
1414
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1415
if test -n "$ac_ct_CC"; then
 
1416
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1417
echo "${ECHO_T}$ac_ct_CC" >&6
 
1418
else
 
1419
  echo "$as_me:$LINENO: result: no" >&5
 
1420
echo "${ECHO_T}no" >&6
 
1421
fi
 
1422
 
 
1423
  CC=$ac_ct_CC
 
1424
else
 
1425
  CC="$ac_cv_prog_CC"
 
1426
fi
 
1427
 
1816
1428
fi
1817
1429
if test -z "$CC"; then
1818
1430
  # Extract the first word of "cc", so it can be a program name with args.
1819
1431
set dummy cc; ac_word=$2
1820
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1821
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1432
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1822
1434
if test "${ac_cv_prog_CC+set}" = set; then
1823
1435
  echo $ECHO_N "(cached) $ECHO_C" >&6
1824
1436
else
1832
1444
  IFS=$as_save_IFS
1833
1445
  test -z "$as_dir" && as_dir=.
1834
1446
  for ac_exec_ext in '' $ac_executable_extensions; do
1835
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1447
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1836
1448
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1837
1449
       ac_prog_rejected=yes
1838
1450
       continue
1843
1455
  fi
1844
1456
done
1845
1457
done
1846
 
IFS=$as_save_IFS
1847
1458
 
1848
1459
if test $ac_prog_rejected = yes; then
1849
1460
  # We found a bogon in the path, so make sure we never use it.
1861
1472
fi
1862
1473
CC=$ac_cv_prog_CC
1863
1474
if test -n "$CC"; then
1864
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1865
 
echo "${ECHO_T}$CC" >&6; }
 
1475
  echo "$as_me:$LINENO: result: $CC" >&5
 
1476
echo "${ECHO_T}$CC" >&6
1866
1477
else
1867
 
  { echo "$as_me:$LINENO: result: no" >&5
1868
 
echo "${ECHO_T}no" >&6; }
 
1478
  echo "$as_me:$LINENO: result: no" >&5
 
1479
echo "${ECHO_T}no" >&6
1869
1480
fi
1870
 
 
1871
1481
 
1872
1482
fi
1873
1483
if test -z "$CC"; then
1874
1484
  if test -n "$ac_tool_prefix"; then
1875
 
  for ac_prog in cl.exe
 
1485
  for ac_prog in cl
1876
1486
  do
1877
1487
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1878
1488
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1879
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1880
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1489
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1490
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1881
1491
if test "${ac_cv_prog_CC+set}" = set; then
1882
1492
  echo $ECHO_N "(cached) $ECHO_C" >&6
1883
1493
else
1890
1500
  IFS=$as_save_IFS
1891
1501
  test -z "$as_dir" && as_dir=.
1892
1502
  for ac_exec_ext in '' $ac_executable_extensions; do
1893
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1503
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1894
1504
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1895
1505
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896
1506
    break 2
1897
1507
  fi
1898
1508
done
1899
1509
done
1900
 
IFS=$as_save_IFS
1901
1510
 
1902
1511
fi
1903
1512
fi
1904
1513
CC=$ac_cv_prog_CC
1905
1514
if test -n "$CC"; then
1906
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1907
 
echo "${ECHO_T}$CC" >&6; }
 
1515
  echo "$as_me:$LINENO: result: $CC" >&5
 
1516
echo "${ECHO_T}$CC" >&6
1908
1517
else
1909
 
  { echo "$as_me:$LINENO: result: no" >&5
1910
 
echo "${ECHO_T}no" >&6; }
 
1518
  echo "$as_me:$LINENO: result: no" >&5
 
1519
echo "${ECHO_T}no" >&6
1911
1520
fi
1912
1521
 
1913
 
 
1914
1522
    test -n "$CC" && break
1915
1523
  done
1916
1524
fi
1917
1525
if test -z "$CC"; then
1918
1526
  ac_ct_CC=$CC
1919
 
  for ac_prog in cl.exe
 
1527
  for ac_prog in cl
1920
1528
do
1921
1529
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1922
1530
set dummy $ac_prog; ac_word=$2
1923
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1924
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1531
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925
1533
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1926
1534
  echo $ECHO_N "(cached) $ECHO_C" >&6
1927
1535
else
1934
1542
  IFS=$as_save_IFS
1935
1543
  test -z "$as_dir" && as_dir=.
1936
1544
  for ac_exec_ext in '' $ac_executable_extensions; do
1937
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1545
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938
1546
    ac_cv_prog_ac_ct_CC="$ac_prog"
1939
1547
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940
1548
    break 2
1941
1549
  fi
1942
1550
done
1943
1551
done
1944
 
IFS=$as_save_IFS
1945
1552
 
1946
1553
fi
1947
1554
fi
1948
1555
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1949
1556
if test -n "$ac_ct_CC"; then
1950
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
1557
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1558
echo "${ECHO_T}$ac_ct_CC" >&6
1952
1559
else
1953
 
  { echo "$as_me:$LINENO: result: no" >&5
1954
 
echo "${ECHO_T}no" >&6; }
 
1560
  echo "$as_me:$LINENO: result: no" >&5
 
1561
echo "${ECHO_T}no" >&6
1955
1562
fi
1956
1563
 
1957
 
 
1958
1564
  test -n "$ac_ct_CC" && break
1959
1565
done
1960
1566
 
1961
 
  if test "x$ac_ct_CC" = x; then
1962
 
    CC=""
1963
 
  else
1964
 
    case $cross_compiling:$ac_tool_warned in
1965
 
yes:)
1966
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1967
 
whose name does not start with the host triplet.  If you think this
1968
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1969
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1970
 
whose name does not start with the host triplet.  If you think this
1971
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1972
 
ac_tool_warned=yes ;;
1973
 
esac
1974
 
    CC=$ac_ct_CC
1975
 
  fi
 
1567
  CC=$ac_ct_CC
1976
1568
fi
1977
1569
 
1978
1570
fi
1985
1577
   { (exit 1); exit 1; }; }
1986
1578
 
1987
1579
# Provide some information about the compiler.
1988
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
1580
echo "$as_me:$LINENO:" \
 
1581
     "checking for C compiler version" >&5
1989
1582
ac_compiler=`set X $ac_compile; echo $2`
1990
 
{ (ac_try="$ac_compiler --version >&5"
1991
 
case "(($ac_try" in
1992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993
 
  *) ac_try_echo=$ac_try;;
1994
 
esac
1995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1996
 
  (eval "$ac_compiler --version >&5") 2>&5
1997
 
  ac_status=$?
1998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999
 
  (exit $ac_status); }
2000
 
{ (ac_try="$ac_compiler -v >&5"
2001
 
case "(($ac_try" in
2002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2003
 
  *) ac_try_echo=$ac_try;;
2004
 
esac
2005
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2006
 
  (eval "$ac_compiler -v >&5") 2>&5
2007
 
  ac_status=$?
2008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009
 
  (exit $ac_status); }
2010
 
{ (ac_try="$ac_compiler -V >&5"
2011
 
case "(($ac_try" in
2012
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013
 
  *) ac_try_echo=$ac_try;;
2014
 
esac
2015
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2016
 
  (eval "$ac_compiler -V >&5") 2>&5
 
1583
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
1584
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
1585
  ac_status=$?
 
1586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1587
  (exit $ac_status); }
 
1588
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
1589
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
1590
  ac_status=$?
 
1591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1592
  (exit $ac_status); }
 
1593
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
1594
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2017
1595
  ac_status=$?
2018
1596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019
1597
  (exit $ac_status); }
2038
1616
# Try to create an executable without -o first, disregard a.out.
2039
1617
# It will help us diagnose broken compilers, and finding out an intuition
2040
1618
# of exeext.
2041
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2042
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
1619
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
1620
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2043
1621
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2044
 
#
2045
 
# List of possible output files, starting from the most likely.
2046
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2047
 
# only as a last resort.  b.out is created by i960 compilers.
2048
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2049
 
#
2050
 
# The IRIX 6 linker writes into existing files which may not be
2051
 
# executable, retaining their permissions.  Remove them first so a
2052
 
# subsequent execution test works.
2053
 
ac_rmfiles=
2054
 
for ac_file in $ac_files
2055
 
do
2056
 
  case $ac_file in
2057
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2058
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2059
 
  esac
2060
 
done
2061
 
rm -f $ac_rmfiles
2062
 
 
2063
 
if { (ac_try="$ac_link_default"
2064
 
case "(($ac_try" in
2065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2066
 
  *) ac_try_echo=$ac_try;;
2067
 
esac
2068
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2069
 
  (eval "$ac_link_default") 2>&5
 
1622
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
1623
  (eval $ac_link_default) 2>&5
2070
1624
  ac_status=$?
2071
1625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072
1626
  (exit $ac_status); }; then
2073
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2074
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2075
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2076
 
# so that the user can short-circuit this test for compilers unknown to
2077
 
# Autoconf.
2078
 
for ac_file in $ac_files ''
 
1627
  # Find the output, starting from the most likely.  This scheme is
 
1628
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
1629
# resort.
 
1630
 
 
1631
# Be careful to initialize this variable, since it used to be cached.
 
1632
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
1633
ac_cv_exeext=
 
1634
# b.out is created by i960 compilers.
 
1635
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2079
1636
do
2080
1637
  test -f "$ac_file" || continue
2081
1638
  case $ac_file in
2082
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
1639
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
1640
        ;;
 
1641
    conftest.$ac_ext )
 
1642
        # This is the source file.
2083
1643
        ;;
2084
1644
    [ab].out )
2085
1645
        # We found the default executable, but exeext='' is most
2086
1646
        # certainly right.
2087
1647
        break;;
2088
1648
    *.* )
2089
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2090
 
        then :; else
2091
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2092
 
        fi
2093
 
        # We set ac_cv_exeext here because the later test for it is not
2094
 
        # safe: cross compilers may not add the suffix if given an `-o'
2095
 
        # argument, so we may need to know it at that point already.
2096
 
        # Even if this section looks crufty: it has the advantage of
2097
 
        # actually working.
 
1649
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1650
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1651
        # but it would be cool to find out if it's true.  Does anybody
 
1652
        # maintain Libtool? --akim.
 
1653
        export ac_cv_exeext
2098
1654
        break;;
2099
1655
    * )
2100
1656
        break;;
2101
1657
  esac
2102
1658
done
2103
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2104
 
 
2105
1659
else
2106
 
  ac_file=''
2107
 
fi
2108
 
 
2109
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2110
 
echo "${ECHO_T}$ac_file" >&6; }
2111
 
if test -z "$ac_file"; then
2112
1660
  echo "$as_me: failed program was:" >&5
2113
1661
sed 's/^/| /' conftest.$ac_ext >&5
2114
1662
 
2120
1668
fi
2121
1669
 
2122
1670
ac_exeext=$ac_cv_exeext
 
1671
echo "$as_me:$LINENO: result: $ac_file" >&5
 
1672
echo "${ECHO_T}$ac_file" >&6
2123
1673
 
2124
 
# Check that the compiler produces executables we can run.  If not, either
 
1674
# Check the compiler produces executables we can run.  If not, either
2125
1675
# the compiler is broken, or we cross compile.
2126
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2127
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
1676
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
1677
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2128
1678
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2129
1679
# If not cross compiling, check that we can run a simple program.
2130
1680
if test "$cross_compiling" != yes; then
2131
1681
  if { ac_try='./$ac_file'
2132
 
  { (case "(($ac_try" in
2133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134
 
  *) ac_try_echo=$ac_try;;
2135
 
esac
2136
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2137
 
  (eval "$ac_try") 2>&5
 
1682
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1683
  (eval $ac_try) 2>&5
2138
1684
  ac_status=$?
2139
1685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140
1686
  (exit $ac_status); }; }; then
2153
1699
    fi
2154
1700
  fi
2155
1701
fi
2156
 
{ echo "$as_me:$LINENO: result: yes" >&5
2157
 
echo "${ECHO_T}yes" >&6; }
 
1702
echo "$as_me:$LINENO: result: yes" >&5
 
1703
echo "${ECHO_T}yes" >&6
2158
1704
 
2159
1705
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2160
1706
ac_clean_files=$ac_clean_files_save
2161
 
# Check that the compiler produces executables we can run.  If not, either
 
1707
# Check the compiler produces executables we can run.  If not, either
2162
1708
# the compiler is broken, or we cross compile.
2163
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2164
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2165
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2166
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
1709
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
1710
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
1711
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
1712
echo "${ECHO_T}$cross_compiling" >&6
2167
1713
 
2168
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2169
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2170
 
if { (ac_try="$ac_link"
2171
 
case "(($ac_try" in
2172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2173
 
  *) ac_try_echo=$ac_try;;
2174
 
esac
2175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2176
 
  (eval "$ac_link") 2>&5
 
1714
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
1715
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
1716
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
1717
  (eval $ac_link) 2>&5
2177
1718
  ac_status=$?
2178
1719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
1720
  (exit $ac_status); }; then
2184
1725
for ac_file in conftest.exe conftest conftest.*; do
2185
1726
  test -f "$ac_file" || continue
2186
1727
  case $ac_file in
2187
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
1728
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2188
1729
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1730
          export ac_cv_exeext
2189
1731
          break;;
2190
1732
    * ) break;;
2191
1733
  esac
2199
1741
fi
2200
1742
 
2201
1743
rm -f conftest$ac_cv_exeext
2202
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2203
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
1744
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
1745
echo "${ECHO_T}$ac_cv_exeext" >&6
2204
1746
 
2205
1747
rm -f conftest.$ac_ext
2206
1748
EXEEXT=$ac_cv_exeext
2207
1749
ac_exeext=$EXEEXT
2208
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2209
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
1750
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
1751
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2210
1752
if test "${ac_cv_objext+set}" = set; then
2211
1753
  echo $ECHO_N "(cached) $ECHO_C" >&6
2212
1754
else
2226
1768
}
2227
1769
_ACEOF
2228
1770
rm -f conftest.o conftest.obj
2229
 
if { (ac_try="$ac_compile"
2230
 
case "(($ac_try" in
2231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2232
 
  *) ac_try_echo=$ac_try;;
2233
 
esac
2234
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2235
 
  (eval "$ac_compile") 2>&5
 
1771
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1772
  (eval $ac_compile) 2>&5
2236
1773
  ac_status=$?
2237
1774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238
1775
  (exit $ac_status); }; then
2239
 
  for ac_file in conftest.o conftest.obj conftest.*; do
2240
 
  test -f "$ac_file" || continue;
 
1776
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2241
1777
  case $ac_file in
2242
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
1778
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2243
1779
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2244
1780
       break;;
2245
1781
  esac
2257
1793
 
2258
1794
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2259
1795
fi
2260
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2261
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
1796
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
1797
echo "${ECHO_T}$ac_cv_objext" >&6
2262
1798
OBJEXT=$ac_cv_objext
2263
1799
ac_objext=$OBJEXT
2264
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2265
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
1800
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
1801
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2266
1802
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2267
1803
  echo $ECHO_N "(cached) $ECHO_C" >&6
2268
1804
else
2285
1821
}
2286
1822
_ACEOF
2287
1823
rm -f conftest.$ac_objext
2288
 
if { (ac_try="$ac_compile"
2289
 
case "(($ac_try" in
2290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291
 
  *) ac_try_echo=$ac_try;;
2292
 
esac
2293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2294
 
  (eval "$ac_compile") 2>conftest.er1
 
1824
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1825
  (eval $ac_compile) 2>conftest.er1
2295
1826
  ac_status=$?
2296
1827
  grep -v '^ *+' conftest.er1 >conftest.err
2297
1828
  rm -f conftest.er1
2298
1829
  cat conftest.err >&5
2299
1830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300
 
  (exit $ac_status); } && {
2301
 
         test -z "$ac_c_werror_flag" ||
2302
 
         test ! -s conftest.err
2303
 
       } && test -s conftest.$ac_objext; then
 
1831
  (exit $ac_status); } &&
 
1832
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
1833
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1834
  (eval $ac_try) 2>&5
 
1835
  ac_status=$?
 
1836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1837
  (exit $ac_status); }; } &&
 
1838
         { ac_try='test -s conftest.$ac_objext'
 
1839
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1840
  (eval $ac_try) 2>&5
 
1841
  ac_status=$?
 
1842
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1843
  (exit $ac_status); }; }; then
2304
1844
  ac_compiler_gnu=yes
2305
1845
else
2306
1846
  echo "$as_me: failed program was:" >&5
2307
1847
sed 's/^/| /' conftest.$ac_ext >&5
2308
1848
 
2309
 
        ac_compiler_gnu=no
 
1849
ac_compiler_gnu=no
2310
1850
fi
2311
 
 
2312
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1851
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2313
1852
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2314
1853
 
2315
1854
fi
2316
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2317
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
1855
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
1856
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2318
1857
GCC=`test $ac_compiler_gnu = yes && echo yes`
2319
1858
ac_test_CFLAGS=${CFLAGS+set}
2320
1859
ac_save_CFLAGS=$CFLAGS
2321
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2322
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
1860
CFLAGS="-g"
 
1861
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
1862
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2323
1863
if test "${ac_cv_prog_cc_g+set}" = set; then
2324
1864
  echo $ECHO_N "(cached) $ECHO_C" >&6
2325
1865
else
2326
 
  ac_save_c_werror_flag=$ac_c_werror_flag
2327
 
   ac_c_werror_flag=yes
2328
 
   ac_cv_prog_cc_g=no
2329
 
   CFLAGS="-g"
2330
 
   cat >conftest.$ac_ext <<_ACEOF
2331
 
/* confdefs.h.  */
2332
 
_ACEOF
2333
 
cat confdefs.h >>conftest.$ac_ext
2334
 
cat >>conftest.$ac_ext <<_ACEOF
2335
 
/* end confdefs.h.  */
2336
 
 
2337
 
int
2338
 
main ()
2339
 
{
2340
 
 
2341
 
  ;
2342
 
  return 0;
2343
 
}
2344
 
_ACEOF
2345
 
rm -f conftest.$ac_objext
2346
 
if { (ac_try="$ac_compile"
2347
 
case "(($ac_try" in
2348
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2349
 
  *) ac_try_echo=$ac_try;;
2350
 
esac
2351
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2352
 
  (eval "$ac_compile") 2>conftest.er1
2353
 
  ac_status=$?
2354
 
  grep -v '^ *+' conftest.er1 >conftest.err
2355
 
  rm -f conftest.er1
2356
 
  cat conftest.err >&5
2357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
 
  (exit $ac_status); } && {
2359
 
         test -z "$ac_c_werror_flag" ||
2360
 
         test ! -s conftest.err
2361
 
       } && test -s conftest.$ac_objext; then
2362
 
  ac_cv_prog_cc_g=yes
2363
 
else
2364
 
  echo "$as_me: failed program was:" >&5
2365
 
sed 's/^/| /' conftest.$ac_ext >&5
2366
 
 
2367
 
        CFLAGS=""
2368
 
      cat >conftest.$ac_ext <<_ACEOF
2369
 
/* confdefs.h.  */
2370
 
_ACEOF
2371
 
cat confdefs.h >>conftest.$ac_ext
2372
 
cat >>conftest.$ac_ext <<_ACEOF
2373
 
/* end confdefs.h.  */
2374
 
 
2375
 
int
2376
 
main ()
2377
 
{
2378
 
 
2379
 
  ;
2380
 
  return 0;
2381
 
}
2382
 
_ACEOF
2383
 
rm -f conftest.$ac_objext
2384
 
if { (ac_try="$ac_compile"
2385
 
case "(($ac_try" in
2386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387
 
  *) ac_try_echo=$ac_try;;
2388
 
esac
2389
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390
 
  (eval "$ac_compile") 2>conftest.er1
2391
 
  ac_status=$?
2392
 
  grep -v '^ *+' conftest.er1 >conftest.err
2393
 
  rm -f conftest.er1
2394
 
  cat conftest.err >&5
2395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396
 
  (exit $ac_status); } && {
2397
 
         test -z "$ac_c_werror_flag" ||
2398
 
         test ! -s conftest.err
2399
 
       } && test -s conftest.$ac_objext; then
2400
 
  :
2401
 
else
2402
 
  echo "$as_me: failed program was:" >&5
2403
 
sed 's/^/| /' conftest.$ac_ext >&5
2404
 
 
2405
 
        ac_c_werror_flag=$ac_save_c_werror_flag
2406
 
         CFLAGS="-g"
2407
 
         cat >conftest.$ac_ext <<_ACEOF
2408
 
/* confdefs.h.  */
2409
 
_ACEOF
2410
 
cat confdefs.h >>conftest.$ac_ext
2411
 
cat >>conftest.$ac_ext <<_ACEOF
2412
 
/* end confdefs.h.  */
2413
 
 
2414
 
int
2415
 
main ()
2416
 
{
2417
 
 
2418
 
  ;
2419
 
  return 0;
2420
 
}
2421
 
_ACEOF
2422
 
rm -f conftest.$ac_objext
2423
 
if { (ac_try="$ac_compile"
2424
 
case "(($ac_try" in
2425
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426
 
  *) ac_try_echo=$ac_try;;
2427
 
esac
2428
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2429
 
  (eval "$ac_compile") 2>conftest.er1
2430
 
  ac_status=$?
2431
 
  grep -v '^ *+' conftest.er1 >conftest.err
2432
 
  rm -f conftest.er1
2433
 
  cat conftest.err >&5
2434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
 
  (exit $ac_status); } && {
2436
 
         test -z "$ac_c_werror_flag" ||
2437
 
         test ! -s conftest.err
2438
 
       } && test -s conftest.$ac_objext; then
2439
 
  ac_cv_prog_cc_g=yes
2440
 
else
2441
 
  echo "$as_me: failed program was:" >&5
2442
 
sed 's/^/| /' conftest.$ac_ext >&5
2443
 
 
2444
 
 
2445
 
fi
2446
 
 
2447
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448
 
fi
2449
 
 
2450
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451
 
fi
2452
 
 
2453
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454
 
   ac_c_werror_flag=$ac_save_c_werror_flag
2455
 
fi
2456
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2457
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
1866
  cat >conftest.$ac_ext <<_ACEOF
 
1867
/* confdefs.h.  */
 
1868
_ACEOF
 
1869
cat confdefs.h >>conftest.$ac_ext
 
1870
cat >>conftest.$ac_ext <<_ACEOF
 
1871
/* end confdefs.h.  */
 
1872
 
 
1873
int
 
1874
main ()
 
1875
{
 
1876
 
 
1877
  ;
 
1878
  return 0;
 
1879
}
 
1880
_ACEOF
 
1881
rm -f conftest.$ac_objext
 
1882
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1883
  (eval $ac_compile) 2>conftest.er1
 
1884
  ac_status=$?
 
1885
  grep -v '^ *+' conftest.er1 >conftest.err
 
1886
  rm -f conftest.er1
 
1887
  cat conftest.err >&5
 
1888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1889
  (exit $ac_status); } &&
 
1890
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
1891
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1892
  (eval $ac_try) 2>&5
 
1893
  ac_status=$?
 
1894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1895
  (exit $ac_status); }; } &&
 
1896
         { ac_try='test -s conftest.$ac_objext'
 
1897
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1898
  (eval $ac_try) 2>&5
 
1899
  ac_status=$?
 
1900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1901
  (exit $ac_status); }; }; then
 
1902
  ac_cv_prog_cc_g=yes
 
1903
else
 
1904
  echo "$as_me: failed program was:" >&5
 
1905
sed 's/^/| /' conftest.$ac_ext >&5
 
1906
 
 
1907
ac_cv_prog_cc_g=no
 
1908
fi
 
1909
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
1910
fi
 
1911
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
1912
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2458
1913
if test "$ac_test_CFLAGS" = set; then
2459
1914
  CFLAGS=$ac_save_CFLAGS
2460
1915
elif test $ac_cv_prog_cc_g = yes; then
2470
1925
    CFLAGS=
2471
1926
  fi
2472
1927
fi
2473
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2474
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2475
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
1928
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
1929
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
1930
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2476
1931
  echo $ECHO_N "(cached) $ECHO_C" >&6
2477
1932
else
2478
 
  ac_cv_prog_cc_c89=no
 
1933
  ac_cv_prog_cc_stdc=no
2479
1934
ac_save_CC=$CC
2480
1935
cat >conftest.$ac_ext <<_ACEOF
2481
1936
/* confdefs.h.  */
2509
1964
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2510
1965
   function prototypes and stuff, but not '\xHH' hex character constants.
2511
1966
   These don't provoke an error unfortunately, instead are silently treated
2512
 
   as 'x'.  The following induces an error, until -std is added to get
 
1967
   as 'x'.  The following induces an error, until -std1 is added to get
2513
1968
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2514
1969
   array size at least.  It's necessary to write '\x00'==0 to get something
2515
 
   that's true only with -std.  */
 
1970
   that's true only with -std1.  */
2516
1971
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2517
1972
 
2518
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2519
 
   inside strings and character constants.  */
2520
 
#define FOO(x) 'x'
2521
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2522
 
 
2523
1973
int test (int i, double x);
2524
1974
struct s1 {int (*f) (int a);};
2525
1975
struct s2 {int (*f) (double a);};
2534
1984
  return 0;
2535
1985
}
2536
1986
_ACEOF
2537
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2538
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
1987
# Don't try gcc -ansi; that turns off useful extensions and
 
1988
# breaks some systems' header files.
 
1989
# AIX                   -qlanglvl=ansi
 
1990
# Ultrix and OSF/1      -std1
 
1991
# HP-UX 10.20 and later -Ae
 
1992
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
1993
# SVR4                  -Xc -D__EXTENSIONS__
 
1994
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2539
1995
do
2540
1996
  CC="$ac_save_CC $ac_arg"
2541
1997
  rm -f conftest.$ac_objext
2542
 
if { (ac_try="$ac_compile"
2543
 
case "(($ac_try" in
2544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545
 
  *) ac_try_echo=$ac_try;;
2546
 
esac
2547
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548
 
  (eval "$ac_compile") 2>conftest.er1
 
1998
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1999
  (eval $ac_compile) 2>conftest.er1
2549
2000
  ac_status=$?
2550
2001
  grep -v '^ *+' conftest.er1 >conftest.err
2551
2002
  rm -f conftest.er1
2552
2003
  cat conftest.err >&5
2553
2004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
 
  (exit $ac_status); } && {
2555
 
         test -z "$ac_c_werror_flag" ||
2556
 
         test ! -s conftest.err
2557
 
       } && test -s conftest.$ac_objext; then
2558
 
  ac_cv_prog_cc_c89=$ac_arg
 
2005
  (exit $ac_status); } &&
 
2006
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2008
  (eval $ac_try) 2>&5
 
2009
  ac_status=$?
 
2010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2011
  (exit $ac_status); }; } &&
 
2012
         { ac_try='test -s conftest.$ac_objext'
 
2013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2014
  (eval $ac_try) 2>&5
 
2015
  ac_status=$?
 
2016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2017
  (exit $ac_status); }; }; then
 
2018
  ac_cv_prog_cc_stdc=$ac_arg
 
2019
break
2559
2020
else
2560
2021
  echo "$as_me: failed program was:" >&5
2561
2022
sed 's/^/| /' conftest.$ac_ext >&5
2562
2023
 
2563
 
 
2564
2024
fi
2565
 
 
2566
 
rm -f core conftest.err conftest.$ac_objext
2567
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
2025
rm -f conftest.err conftest.$ac_objext
2568
2026
done
2569
 
rm -f conftest.$ac_ext
 
2027
rm -f conftest.$ac_ext conftest.$ac_objext
2570
2028
CC=$ac_save_CC
2571
2029
 
2572
2030
fi
2573
 
# AC_CACHE_VAL
2574
 
case "x$ac_cv_prog_cc_c89" in
2575
 
  x)
2576
 
    { echo "$as_me:$LINENO: result: none needed" >&5
2577
 
echo "${ECHO_T}none needed" >&6; } ;;
2578
 
  xno)
2579
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
2580
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
2031
 
 
2032
case "x$ac_cv_prog_cc_stdc" in
 
2033
  x|xno)
 
2034
    echo "$as_me:$LINENO: result: none needed" >&5
 
2035
echo "${ECHO_T}none needed" >&6 ;;
2581
2036
  *)
2582
 
    CC="$CC $ac_cv_prog_cc_c89"
2583
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2584
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
2037
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2038
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2039
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2585
2040
esac
2586
2041
 
2587
 
 
 
2042
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2043
# in C++ we need to declare it.  In case someone uses the same compiler
 
2044
# for both compiling C and C++ we need to have the C++ compiler decide
 
2045
# the declaration of exit, since it's the most demanding environment.
 
2046
cat >conftest.$ac_ext <<_ACEOF
 
2047
#ifndef __cplusplus
 
2048
  choke me
 
2049
#endif
 
2050
_ACEOF
 
2051
rm -f conftest.$ac_objext
 
2052
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2053
  (eval $ac_compile) 2>conftest.er1
 
2054
  ac_status=$?
 
2055
  grep -v '^ *+' conftest.er1 >conftest.err
 
2056
  rm -f conftest.er1
 
2057
  cat conftest.err >&5
 
2058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2059
  (exit $ac_status); } &&
 
2060
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2061
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2062
  (eval $ac_try) 2>&5
 
2063
  ac_status=$?
 
2064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2065
  (exit $ac_status); }; } &&
 
2066
         { ac_try='test -s conftest.$ac_objext'
 
2067
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2068
  (eval $ac_try) 2>&5
 
2069
  ac_status=$?
 
2070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2071
  (exit $ac_status); }; }; then
 
2072
  for ac_declaration in \
 
2073
   '' \
 
2074
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2075
   'extern "C" void std::exit (int); using std::exit;' \
 
2076
   'extern "C" void exit (int) throw ();' \
 
2077
   'extern "C" void exit (int);' \
 
2078
   'void exit (int);'
 
2079
do
 
2080
  cat >conftest.$ac_ext <<_ACEOF
 
2081
/* confdefs.h.  */
 
2082
_ACEOF
 
2083
cat confdefs.h >>conftest.$ac_ext
 
2084
cat >>conftest.$ac_ext <<_ACEOF
 
2085
/* end confdefs.h.  */
 
2086
$ac_declaration
 
2087
#include <stdlib.h>
 
2088
int
 
2089
main ()
 
2090
{
 
2091
exit (42);
 
2092
  ;
 
2093
  return 0;
 
2094
}
 
2095
_ACEOF
 
2096
rm -f conftest.$ac_objext
 
2097
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2098
  (eval $ac_compile) 2>conftest.er1
 
2099
  ac_status=$?
 
2100
  grep -v '^ *+' conftest.er1 >conftest.err
 
2101
  rm -f conftest.er1
 
2102
  cat conftest.err >&5
 
2103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2104
  (exit $ac_status); } &&
 
2105
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2107
  (eval $ac_try) 2>&5
 
2108
  ac_status=$?
 
2109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2110
  (exit $ac_status); }; } &&
 
2111
         { ac_try='test -s conftest.$ac_objext'
 
2112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2113
  (eval $ac_try) 2>&5
 
2114
  ac_status=$?
 
2115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2116
  (exit $ac_status); }; }; then
 
2117
  :
 
2118
else
 
2119
  echo "$as_me: failed program was:" >&5
 
2120
sed 's/^/| /' conftest.$ac_ext >&5
 
2121
 
 
2122
continue
 
2123
fi
 
2124
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2125
  cat >conftest.$ac_ext <<_ACEOF
 
2126
/* confdefs.h.  */
 
2127
_ACEOF
 
2128
cat confdefs.h >>conftest.$ac_ext
 
2129
cat >>conftest.$ac_ext <<_ACEOF
 
2130
/* end confdefs.h.  */
 
2131
$ac_declaration
 
2132
int
 
2133
main ()
 
2134
{
 
2135
exit (42);
 
2136
  ;
 
2137
  return 0;
 
2138
}
 
2139
_ACEOF
 
2140
rm -f conftest.$ac_objext
 
2141
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2142
  (eval $ac_compile) 2>conftest.er1
 
2143
  ac_status=$?
 
2144
  grep -v '^ *+' conftest.er1 >conftest.err
 
2145
  rm -f conftest.er1
 
2146
  cat conftest.err >&5
 
2147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2148
  (exit $ac_status); } &&
 
2149
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2151
  (eval $ac_try) 2>&5
 
2152
  ac_status=$?
 
2153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2154
  (exit $ac_status); }; } &&
 
2155
         { ac_try='test -s conftest.$ac_objext'
 
2156
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2157
  (eval $ac_try) 2>&5
 
2158
  ac_status=$?
 
2159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2160
  (exit $ac_status); }; }; then
 
2161
  break
 
2162
else
 
2163
  echo "$as_me: failed program was:" >&5
 
2164
sed 's/^/| /' conftest.$ac_ext >&5
 
2165
 
 
2166
fi
 
2167
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2168
done
 
2169
rm -f conftest*
 
2170
if test -n "$ac_declaration"; then
 
2171
  echo '#ifdef __cplusplus' >>confdefs.h
 
2172
  echo $ac_declaration      >>confdefs.h
 
2173
  echo '#endif'             >>confdefs.h
 
2174
fi
 
2175
 
 
2176
else
 
2177
  echo "$as_me: failed program was:" >&5
 
2178
sed 's/^/| /' conftest.$ac_ext >&5
 
2179
 
 
2180
fi
 
2181
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2588
2182
ac_ext=c
2589
2183
ac_cpp='$CPP $CPPFLAGS'
2590
2184
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596
2190
do
2597
2191
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2598
2192
set dummy $ac_prog; ac_word=$2
2599
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2600
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2193
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2194
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2601
2195
if test "${ac_cv_prog_AR+set}" = set; then
2602
2196
  echo $ECHO_N "(cached) $ECHO_C" >&6
2603
2197
else
2610
2204
  IFS=$as_save_IFS
2611
2205
  test -z "$as_dir" && as_dir=.
2612
2206
  for ac_exec_ext in '' $ac_executable_extensions; do
2613
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2207
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614
2208
    ac_cv_prog_AR="$ac_prog"
2615
2209
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616
2210
    break 2
2617
2211
  fi
2618
2212
done
2619
2213
done
2620
 
IFS=$as_save_IFS
2621
2214
 
2622
2215
fi
2623
2216
fi
2624
2217
AR=$ac_cv_prog_AR
2625
2218
if test -n "$AR"; then
2626
 
  { echo "$as_me:$LINENO: result: $AR" >&5
2627
 
echo "${ECHO_T}$AR" >&6; }
 
2219
  echo "$as_me:$LINENO: result: $AR" >&5
 
2220
echo "${ECHO_T}$AR" >&6
2628
2221
else
2629
 
  { echo "$as_me:$LINENO: result: no" >&5
2630
 
echo "${ECHO_T}no" >&6; }
 
2222
  echo "$as_me:$LINENO: result: no" >&5
 
2223
echo "${ECHO_T}no" >&6
2631
2224
fi
2632
2225
 
2633
 
 
2634
2226
  test -n "$AR" && break
2635
2227
done
2636
2228
test -n "$AR" || AR="ar"
2637
2229
 
2638
2230
ac_aux_dir=
2639
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2640
 
  if test -f "$ac_dir/install-sh"; then
 
2231
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
2232
  if test -f $ac_dir/install-sh; then
2641
2233
    ac_aux_dir=$ac_dir
2642
2234
    ac_install_sh="$ac_aux_dir/install-sh -c"
2643
2235
    break
2644
 
  elif test -f "$ac_dir/install.sh"; then
 
2236
  elif test -f $ac_dir/install.sh; then
2645
2237
    ac_aux_dir=$ac_dir
2646
2238
    ac_install_sh="$ac_aux_dir/install.sh -c"
2647
2239
    break
2648
 
  elif test -f "$ac_dir/shtool"; then
 
2240
  elif test -f $ac_dir/shtool; then
2649
2241
    ac_aux_dir=$ac_dir
2650
2242
    ac_install_sh="$ac_aux_dir/shtool install -c"
2651
2243
    break
2652
2244
  fi
2653
2245
done
2654
2246
if test -z "$ac_aux_dir"; then
2655
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2656
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2247
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
2248
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2657
2249
   { (exit 1); exit 1; }; }
2658
2250
fi
2659
 
 
2660
 
# These three variables are undocumented and unsupported,
2661
 
# and are intended to be withdrawn in a future Autoconf release.
2662
 
# They can cause serious problems if a builder's source tree is in a directory
2663
 
# whose full name contains unusual characters.
2664
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2665
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2666
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2667
 
 
 
2251
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
2252
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
2253
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2668
2254
 
2669
2255
# Find a good install program.  We prefer a C program (faster),
2670
2256
# so one script is as good as another.  But avoid the broken or
2679
2265
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2680
2266
# OS/2's system install, which has a completely different semantic
2681
2267
# ./install, which can be erroneously created by make from ./install.sh.
2682
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2683
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2268
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2269
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2684
2270
if test -z "$INSTALL"; then
2685
2271
if test "${ac_cv_path_install+set}" = set; then
2686
2272
  echo $ECHO_N "(cached) $ECHO_C" >&6
2702
2288
    # by default.
2703
2289
    for ac_prog in ginstall scoinst install; do
2704
2290
      for ac_exec_ext in '' $ac_executable_extensions; do
2705
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2291
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2706
2292
          if test $ac_prog = install &&
2707
2293
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2708
2294
            # AIX install.  It has an incompatible calling convention.
2721
2307
    ;;
2722
2308
esac
2723
2309
done
2724
 
IFS=$as_save_IFS
2725
2310
 
2726
2311
 
2727
2312
fi
2728
2313
  if test "${ac_cv_path_install+set}" = set; then
2729
2314
    INSTALL=$ac_cv_path_install
2730
2315
  else
2731
 
    # As a last resort, use the slow shell script.  Don't cache a
2732
 
    # value for INSTALL within a source directory, because that will
 
2316
    # As a last resort, use the slow shell script.  We don't cache a
 
2317
    # path for INSTALL within a source directory, because that will
2733
2318
    # break other packages using the cache if that directory is
2734
 
    # removed, or if the value is a relative name.
 
2319
    # removed, or if the path is relative.
2735
2320
    INSTALL=$ac_install_sh
2736
2321
  fi
2737
2322
fi
2738
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2739
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2323
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2324
echo "${ECHO_T}$INSTALL" >&6
2740
2325
 
2741
2326
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2742
2327
# It thinks the first close brace ends the variable substitution.
2746
2331
 
2747
2332
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2748
2333
 
2749
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2750
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2751
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2752
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2334
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2335
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
2336
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
2337
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2753
2338
  echo $ECHO_N "(cached) $ECHO_C" >&6
2754
2339
else
2755
2340
  cat >conftest.make <<\_ACEOF
2756
 
SHELL = /bin/sh
2757
2341
all:
2758
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2342
        @echo 'ac_maketemp="$(MAKE)"'
2759
2343
_ACEOF
2760
2344
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2761
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2762
 
  *@@@%%%=?*=@@@%%%*)
2763
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2764
 
  *)
2765
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2766
 
esac
 
2345
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
2346
if test -n "$ac_maketemp"; then
 
2347
  eval ac_cv_prog_make_${ac_make}_set=yes
 
2348
else
 
2349
  eval ac_cv_prog_make_${ac_make}_set=no
 
2350
fi
2767
2351
rm -f conftest.make
2768
2352
fi
2769
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2770
 
  { echo "$as_me:$LINENO: result: yes" >&5
2771
 
echo "${ECHO_T}yes" >&6; }
 
2353
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
2354
  echo "$as_me:$LINENO: result: yes" >&5
 
2355
echo "${ECHO_T}yes" >&6
2772
2356
  SET_MAKE=
2773
2357
else
2774
 
  { echo "$as_me:$LINENO: result: no" >&5
2775
 
echo "${ECHO_T}no" >&6; }
 
2358
  echo "$as_me:$LINENO: result: no" >&5
 
2359
echo "${ECHO_T}no" >&6
2776
2360
  SET_MAKE="MAKE=${MAKE-make}"
2777
2361
fi
2778
2362
 
2779
2363
 
2780
2364
 
2781
2365
 
2782
 
{ echo "$as_me:$LINENO: checking for main in -lm" >&5
2783
 
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
 
2366
echo "$as_me:$LINENO: checking for main in -lm" >&5
 
2367
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
2784
2368
if test "${ac_cv_lib_m_main+set}" = set; then
2785
2369
  echo $ECHO_N "(cached) $ECHO_C" >&6
2786
2370
else
2797
2381
int
2798
2382
main ()
2799
2383
{
2800
 
return main ();
 
2384
main ();
2801
2385
  ;
2802
2386
  return 0;
2803
2387
}
2804
2388
_ACEOF
2805
2389
rm -f conftest.$ac_objext conftest$ac_exeext
2806
 
if { (ac_try="$ac_link"
2807
 
case "(($ac_try" in
2808
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809
 
  *) ac_try_echo=$ac_try;;
2810
 
esac
2811
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812
 
  (eval "$ac_link") 2>conftest.er1
 
2390
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2391
  (eval $ac_link) 2>conftest.er1
2813
2392
  ac_status=$?
2814
2393
  grep -v '^ *+' conftest.er1 >conftest.err
2815
2394
  rm -f conftest.er1
2816
2395
  cat conftest.err >&5
2817
2396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818
 
  (exit $ac_status); } && {
2819
 
         test -z "$ac_c_werror_flag" ||
2820
 
         test ! -s conftest.err
2821
 
       } && test -s conftest$ac_exeext &&
2822
 
       $as_test_x conftest$ac_exeext; then
 
2397
  (exit $ac_status); } &&
 
2398
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2399
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2400
  (eval $ac_try) 2>&5
 
2401
  ac_status=$?
 
2402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2403
  (exit $ac_status); }; } &&
 
2404
         { ac_try='test -s conftest$ac_exeext'
 
2405
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2406
  (eval $ac_try) 2>&5
 
2407
  ac_status=$?
 
2408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2409
  (exit $ac_status); }; }; then
2823
2410
  ac_cv_lib_m_main=yes
2824
2411
else
2825
2412
  echo "$as_me: failed program was:" >&5
2826
2413
sed 's/^/| /' conftest.$ac_ext >&5
2827
2414
 
2828
 
        ac_cv_lib_m_main=no
 
2415
ac_cv_lib_m_main=no
2829
2416
fi
2830
 
 
2831
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
2417
rm -f conftest.err conftest.$ac_objext \
2832
2418
      conftest$ac_exeext conftest.$ac_ext
2833
2419
LIBS=$ac_check_lib_save_LIBS
2834
2420
fi
2835
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
2836
 
echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
 
2421
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
 
2422
echo "${ECHO_T}$ac_cv_lib_m_main" >&6
2837
2423
if test $ac_cv_lib_m_main = yes; then
2838
2424
  cat >>confdefs.h <<_ACEOF
2839
2425
#define HAVE_LIBM 1
2845
2431
 
2846
2432
 
2847
2433
 
2848
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2849
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
2434
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
2435
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2850
2436
if test "${ac_cv_c_const+set}" = set; then
2851
2437
  echo $ECHO_N "(cached) $ECHO_C" >&6
2852
2438
else
2864
2450
#ifndef __cplusplus
2865
2451
  /* Ultrix mips cc rejects this.  */
2866
2452
  typedef int charset[2];
2867
 
  const charset cs;
 
2453
  const charset x;
2868
2454
  /* SunOS 4.1.1 cc rejects this.  */
2869
 
  char const *const *pcpcc;
2870
 
  char **ppc;
 
2455
  char const *const *ccp;
 
2456
  char **p;
2871
2457
  /* NEC SVR4.0.2 mips cc rejects this.  */
2872
2458
  struct point {int x, y;};
2873
2459
  static struct point const zero = {0,0};
2876
2462
     an arm of an if-expression whose if-part is not a constant
2877
2463
     expression */
2878
2464
  const char *g = "string";
2879
 
  pcpcc = &g + (g ? g-g : 0);
 
2465
  ccp = &g + (g ? g-g : 0);
2880
2466
  /* HPUX 7.0 cc rejects these. */
2881
 
  ++pcpcc;
2882
 
  ppc = (char**) pcpcc;
2883
 
  pcpcc = (char const *const *) ppc;
 
2467
  ++ccp;
 
2468
  p = (char**) ccp;
 
2469
  ccp = (char const *const *) p;
2884
2470
  { /* SCO 3.2v4 cc rejects this.  */
2885
2471
    char *t;
2886
2472
    char const *s = 0 ? (char *) 0 : (char const *) 0;
2887
2473
 
2888
2474
    *t++ = 0;
2889
 
    if (s) return 0;
2890
2475
  }
2891
2476
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
2892
2477
    int x[] = {25, 17};
2905
2490
  }
2906
2491
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2907
2492
    const int foo = 10;
2908
 
    if (!foo) return 0;
2909
2493
  }
2910
 
  return !cs[0] && !zero.x;
2911
2494
#endif
2912
2495
 
2913
2496
  ;
2915
2498
}
2916
2499
_ACEOF
2917
2500
rm -f conftest.$ac_objext
2918
 
if { (ac_try="$ac_compile"
2919
 
case "(($ac_try" in
2920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921
 
  *) ac_try_echo=$ac_try;;
2922
 
esac
2923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924
 
  (eval "$ac_compile") 2>conftest.er1
 
2501
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2502
  (eval $ac_compile) 2>conftest.er1
2925
2503
  ac_status=$?
2926
2504
  grep -v '^ *+' conftest.er1 >conftest.err
2927
2505
  rm -f conftest.er1
2928
2506
  cat conftest.err >&5
2929
2507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930
 
  (exit $ac_status); } && {
2931
 
         test -z "$ac_c_werror_flag" ||
2932
 
         test ! -s conftest.err
2933
 
       } && test -s conftest.$ac_objext; then
 
2508
  (exit $ac_status); } &&
 
2509
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2510
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2511
  (eval $ac_try) 2>&5
 
2512
  ac_status=$?
 
2513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2514
  (exit $ac_status); }; } &&
 
2515
         { ac_try='test -s conftest.$ac_objext'
 
2516
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2517
  (eval $ac_try) 2>&5
 
2518
  ac_status=$?
 
2519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2520
  (exit $ac_status); }; }; then
2934
2521
  ac_cv_c_const=yes
2935
2522
else
2936
2523
  echo "$as_me: failed program was:" >&5
2937
2524
sed 's/^/| /' conftest.$ac_ext >&5
2938
2525
 
2939
 
        ac_cv_c_const=no
2940
 
fi
2941
 
 
2942
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943
 
fi
2944
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2945
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
2526
ac_cv_c_const=no
 
2527
fi
 
2528
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2529
fi
 
2530
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
2531
echo "${ECHO_T}$ac_cv_c_const" >&6
2946
2532
if test $ac_cv_c_const = no; then
2947
2533
 
2948
2534
cat >>confdefs.h <<\_ACEOF
2953
2539
 
2954
2540
 
2955
2541
### humor lowers blood pressure
2956
 
{ echo "$as_me:$LINENO: checking your blood pressure" >&5
2957
 
echo $ECHO_N "checking your blood pressure... $ECHO_C" >&6; }
2958
 
{ echo "$as_me:$LINENO: result: a bit high, but we can proceed" >&5
2959
 
echo "${ECHO_T}a bit high, but we can proceed" >&6; }
 
2542
echo "$as_me:$LINENO: checking your blood pressure" >&5
 
2543
echo $ECHO_N "checking your blood pressure... $ECHO_C" >&6
 
2544
echo "$as_me:$LINENO: result: a bit high, but we can proceed" >&5
 
2545
echo "${ECHO_T}a bit high, but we can proceed" >&6
2960
2546
 
2961
2547
## The goal is to find apxs
2962
2548
{ echo "$as_me:$LINENO: checking whether apxs is available..." >&5
2966
2552
 
2967
2553
 
2968
2554
# check for --with-apxs
2969
 
{ echo "$as_me:$LINENO: checking for --with-apxs" >&5
2970
 
echo $ECHO_N "checking for --with-apxs... $ECHO_C" >&6; }
 
2555
echo "$as_me:$LINENO: checking for --with-apxs" >&5
 
2556
echo $ECHO_N "checking for --with-apxs... $ECHO_C" >&6
2971
2557
 
2972
 
# Check whether --with-apxs was given.
 
2558
# Check whether --with-apxs or --without-apxs was given.
2973
2559
if test "${with_apxs+set}" = set; then
2974
 
  withval=$with_apxs;
 
2560
  withval="$with_apxs"
 
2561
 
2975
2562
  if test -x "$withval"
2976
2563
  then
2977
 
    { echo "$as_me:$LINENO: result: $withval executable, good" >&5
2978
 
echo "${ECHO_T}$withval executable, good" >&6; }
 
2564
    echo "$as_me:$LINENO: result: $withval executable, good" >&5
 
2565
echo "${ECHO_T}$withval executable, good" >&6
2979
2566
    APXS=$withval
2980
2567
  else
2981
2568
    echo
2985
2572
  fi
2986
2573
 
2987
2574
else
2988
 
  { echo "$as_me:$LINENO: result: no" >&5
2989
 
echo "${ECHO_T}no" >&6; }
2990
 
fi
2991
 
 
 
2575
  echo "$as_me:$LINENO: result: no" >&5
 
2576
echo "${ECHO_T}no" >&6
 
2577
fi;
2992
2578
 
2993
2579
# if no apxs found yet, check /usr/local/apache/sbin
2994
2580
# since it's the default Apache location
2995
2581
if test -z "$APXS"; then
2996
 
  { echo "$as_me:$LINENO: checking for apxs in /usr/local/apache/sbin" >&5
2997
 
echo $ECHO_N "checking for apxs in /usr/local/apache/sbin... $ECHO_C" >&6; }
 
2582
  echo "$as_me:$LINENO: checking for apxs in /usr/local/apache/sbin" >&5
 
2583
echo $ECHO_N "checking for apxs in /usr/local/apache/sbin... $ECHO_C" >&6
2998
2584
  if test -x /usr/local/apache/sbin/apxs; then
2999
2585
    APXS=/usr/local/apache/sbin/apxs
3000
 
    { echo "$as_me:$LINENO: result: found, we'll use this. Use --with-apxs to specify another." >&5
3001
 
echo "${ECHO_T}found, we'll use this. Use --with-apxs to specify another." >&6; }
 
2586
    echo "$as_me:$LINENO: result: found, we'll use this. Use --with-apxs to specify another." >&5
 
2587
echo "${ECHO_T}found, we'll use this. Use --with-apxs to specify another." >&6
3002
2588
  else
3003
 
    { echo "$as_me:$LINENO: result: no" >&5
3004
 
echo "${ECHO_T}no" >&6; }
 
2589
    echo "$as_me:$LINENO: result: no" >&5
 
2590
echo "${ECHO_T}no" >&6
3005
2591
  fi
3006
2592
fi
3007
2593
 
3008
2594
# second last resort
3009
2595
if test -z "$APXS"; then
3010
 
  { echo "$as_me:$LINENO: checking for apxs in your PATH" >&5
3011
 
echo $ECHO_N "checking for apxs in your PATH... $ECHO_C" >&6; }
 
2596
  echo "$as_me:$LINENO: checking for apxs in your PATH" >&5
 
2597
echo $ECHO_N "checking for apxs in your PATH... $ECHO_C" >&6
3012
2598
  # Extract the first word of "apxs", so it can be a program name with args.
3013
2599
set dummy apxs; ac_word=$2
3014
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3015
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2600
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2601
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3016
2602
if test "${ac_cv_path_APXS+set}" = set; then
3017
2603
  echo $ECHO_N "(cached) $ECHO_C" >&6
3018
2604
else
3027
2613
  IFS=$as_save_IFS
3028
2614
  test -z "$as_dir" && as_dir=.
3029
2615
  for ac_exec_ext in '' $ac_executable_extensions; do
3030
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2616
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3031
2617
    ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3032
2618
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033
2619
    break 2
3034
2620
  fi
3035
2621
done
3036
2622
done
3037
 
IFS=$as_save_IFS
3038
2623
 
3039
2624
  ;;
3040
2625
esac
3041
2626
fi
3042
2627
APXS=$ac_cv_path_APXS
 
2628
 
3043
2629
if test -n "$APXS"; then
3044
 
  { echo "$as_me:$LINENO: result: $APXS" >&5
3045
 
echo "${ECHO_T}$APXS" >&6; }
 
2630
  echo "$as_me:$LINENO: result: $APXS" >&5
 
2631
echo "${ECHO_T}$APXS" >&6
3046
2632
else
3047
 
  { echo "$as_me:$LINENO: result: no" >&5
3048
 
echo "${ECHO_T}no" >&6; }
 
2633
  echo "$as_me:$LINENO: result: no" >&5
 
2634
echo "${ECHO_T}no" >&6
3049
2635
fi
3050
2636
 
3051
 
 
3052
2637
  if test -n "$APXS"; then
3053
 
    { echo "$as_me:$LINENO: result: found $APXS, we'll use this. Use --with-apxs to specify another." >&5
3054
 
echo "${ECHO_T}found $APXS, we'll use this. Use --with-apxs to specify another." >&6; }
 
2638
    echo "$as_me:$LINENO: result: found $APXS, we'll use this. Use --with-apxs to specify another." >&5
 
2639
echo "${ECHO_T}found $APXS, we'll use this. Use --with-apxs to specify another." >&6
3055
2640
  fi
3056
2641
fi
3057
2642
 
3059
2644
# some linux distributions use apxs2 for apache2 installations,
3060
2645
# so check for apxs2 before we give up.
3061
2646
if test -z "$APXS"; then
3062
 
  { echo "$as_me:$LINENO: checking for apxs2 in your PATH" >&5
3063
 
echo $ECHO_N "checking for apxs2 in your PATH... $ECHO_C" >&6; }
 
2647
  echo "$as_me:$LINENO: checking for apxs2 in your PATH" >&5
 
2648
echo $ECHO_N "checking for apxs2 in your PATH... $ECHO_C" >&6
3064
2649
  # Extract the first word of "apxs2", so it can be a program name with args.
3065
2650
set dummy apxs2; ac_word=$2
3066
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3067
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2651
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2652
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3068
2653
if test "${ac_cv_path_APXS+set}" = set; then
3069
2654
  echo $ECHO_N "(cached) $ECHO_C" >&6
3070
2655
else
3079
2664
  IFS=$as_save_IFS
3080
2665
  test -z "$as_dir" && as_dir=.
3081
2666
  for ac_exec_ext in '' $ac_executable_extensions; do
3082
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2667
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083
2668
    ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3084
2669
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085
2670
    break 2
3086
2671
  fi
3087
2672
done
3088
2673
done
3089
 
IFS=$as_save_IFS
3090
2674
 
3091
2675
  ;;
3092
2676
esac
3093
2677
fi
3094
2678
APXS=$ac_cv_path_APXS
 
2679
 
3095
2680
if test -n "$APXS"; then
3096
 
  { echo "$as_me:$LINENO: result: $APXS" >&5
3097
 
echo "${ECHO_T}$APXS" >&6; }
 
2681
  echo "$as_me:$LINENO: result: $APXS" >&5
 
2682
echo "${ECHO_T}$APXS" >&6
3098
2683
else
3099
 
  { echo "$as_me:$LINENO: result: no" >&5
3100
 
echo "${ECHO_T}no" >&6; }
 
2684
  echo "$as_me:$LINENO: result: no" >&5
 
2685
echo "${ECHO_T}no" >&6
3101
2686
fi
3102
2687
 
3103
 
 
3104
2688
  if test -n "$APXS"; then
3105
 
    { echo "$as_me:$LINENO: result: found $APXS, we'll use this. Use --with-apxs to specify another." >&5
3106
 
echo "${ECHO_T}found $APXS, we'll use this. Use --with-apxs to specify another." >&6; }
 
2689
    echo "$as_me:$LINENO: result: found $APXS, we'll use this. Use --with-apxs to specify another." >&5
 
2690
echo "${ECHO_T}found $APXS, we'll use this. Use --with-apxs to specify another." >&6
3107
2691
  fi
3108
2692
fi
3109
2693
 
3123
2707
  ALL="dso"
3124
2708
 
3125
2709
  # check Apache version
3126
 
# peterh: Remove apache version check for debian package, since we don't
3127
 
# want to build-depend on apache2.
3128
 
#  AC_MSG_CHECKING(Apache version)
3129
 
#  HTTPD="`${APXS} -q SBINDIR`/`${APXS} -q TARGET`"
3130
 
#  ver=`$HTTPD -v | awk '/version/ {print $3}' | awk -F/ '{print $2}'`
3131
 
#  AC_MSG_RESULT($ver)
 
2710
  echo "$as_me:$LINENO: checking Apache version" >&5
 
2711
echo $ECHO_N "checking Apache version... $ECHO_C" >&6
 
2712
  HTTPD="`${APXS} -q SBINDIR`/`${APXS} -q TARGET`"
 
2713
  ver=`$HTTPD -v | awk '/version/ {print $3}' | awk -F/ '{print $2}'`
 
2714
  echo "$as_me:$LINENO: result: $ver" >&5
 
2715
echo "${ECHO_T}$ver" >&6
3132
2716
 
3133
2717
  # make sure version begins with 2
3134
 
#  if test -z "`echo $ver | egrep \^2`"; then
3135
 
#    AC_MSG_ERROR([This version of mod_python only works with Apache 2. The one you have seems to be $ver.])
3136
 
#  fi
 
2718
  if test -z "`echo $ver | egrep \^2`"; then
 
2719
    { { echo "$as_me:$LINENO: error: This version of mod_python only works with Apache 2. The one you have seems to be $ver." >&5
 
2720
echo "$as_me: error: This version of mod_python only works with Apache 2. The one you have seems to be $ver." >&2;}
 
2721
   { (exit 1); exit 1; }; }
 
2722
  fi
3137
2723
 
3138
2724
  # determine LIBEXEC
3139
 
  { echo "$as_me:$LINENO: checking for Apache libexec directory" >&5
3140
 
echo $ECHO_N "checking for Apache libexec directory... $ECHO_C" >&6; }
 
2725
  echo "$as_me:$LINENO: checking for Apache libexec directory" >&5
 
2726
echo $ECHO_N "checking for Apache libexec directory... $ECHO_C" >&6
3141
2727
  LIBEXECDIR=`${APXS} -q LIBEXECDIR`
3142
 
  { echo "$as_me:$LINENO: result: $LIBEXECDIR" >&5
3143
 
echo "${ECHO_T}$LIBEXECDIR" >&6; }
 
2728
  echo "$as_me:$LINENO: result: $LIBEXECDIR" >&5
 
2729
echo "${ECHO_T}$LIBEXECDIR" >&6
3144
2730
 
3145
2731
  # determine INCLUDES
3146
 
  { echo "$as_me:$LINENO: checking for Apache include directory" >&5
3147
 
echo $ECHO_N "checking for Apache include directory... $ECHO_C" >&6; }
 
2732
  echo "$as_me:$LINENO: checking for Apache include directory" >&5
 
2733
echo $ECHO_N "checking for Apache include directory... $ECHO_C" >&6
3148
2734
  AP_INCLUDES="-I`${APXS} -q INCLUDEDIR`"
3149
 
  { echo "$as_me:$LINENO: result: $AP_INCLUDES" >&5
3150
 
echo "${ECHO_T}$AP_INCLUDES" >&6; }
 
2735
  echo "$as_me:$LINENO: result: $AP_INCLUDES" >&5
 
2736
echo "${ECHO_T}$AP_INCLUDES" >&6
3151
2737
 
3152
2738
    if test "`uname`" = "SunOS"; then
3153
 
    { echo "$as_me:$LINENO: checking for gcc on Solaris possible missing _eprintf problem" >&5
3154
 
echo $ECHO_N "checking for gcc on Solaris possible missing _eprintf problem... $ECHO_C" >&6; }
 
2739
    echo "$as_me:$LINENO: checking for gcc on Solaris possible missing _eprintf problem" >&5
 
2740
echo $ECHO_N "checking for gcc on Solaris possible missing _eprintf problem... $ECHO_C" >&6
3155
2741
    if test "$CC" = "gcc"; then
3156
2742
      SOLARIS_HACKS="_eprintf.o _floatdidf.o _muldi3.o"
3157
2743
    fi
3158
 
    { echo "$as_me:$LINENO: result: \"done\"" >&5
3159
 
echo "${ECHO_T}\"done\"" >&6; }
 
2744
    echo "$as_me:$LINENO: result: \"done\"" >&5
 
2745
echo "${ECHO_T}\"done\"" >&6
3160
2746
  fi
3161
2747
 
3162
2748
fi
3168
2754
## static is disabled, thus no --with-apache
3169
2755
##AC_MSG_CHECKING(for --with-apache)
3170
2756
 
3171
 
# Check whether --with-apache was given.
 
2757
# Check whether --with-apache or --without-apache was given.
3172
2758
if test "${with_apache+set}" = set; then
3173
 
  withval=$with_apache;
 
2759
  withval="$with_apache"
 
2760
 
3174
2761
 
3175
2762
  # temporarily disable static on 2.0 until I figure out how to
3176
2763
  # do it right
3186
2773
   { (exit 1); exit 1; }; }
3187
2774
  fi
3188
2775
 
3189
 
  { echo "$as_me:$LINENO: result: $AP_SRC" >&5
3190
 
echo "${ECHO_T}$AP_SRC" >&6; }
 
2776
  echo "$as_me:$LINENO: result: $AP_SRC" >&5
 
2777
echo "${ECHO_T}$AP_SRC" >&6
3191
2778
  AP_INCLUDES="-I${AP_SRC}/src/include -I${AP_SRC}/src/os/unix"
3192
2779
 
3193
2780
  # note who owns the apache source directory
3194
2781
  AP_SRC_OWN="`ls -ld $AP_SRC | awk '{print $3}'`"
3195
2782
  AP_SRC_GRP="`ls -ld $AP_SRC | awk '{print $4}'`"
3196
2783
 
3197
 
fi
3198
 
 
 
2784
fi;
3199
2785
##AC_MSG_RESULT(no))
3200
2786
 
3201
2787
 
3214
2800
fi
3215
2801
 
3216
2802
 
3217
 
{ echo "$as_me:$LINENO: checking for --with-python" >&5
3218
 
echo $ECHO_N "checking for --with-python... $ECHO_C" >&6; }
 
2803
echo "$as_me:$LINENO: checking for --with-python" >&5
 
2804
echo $ECHO_N "checking for --with-python... $ECHO_C" >&6
3219
2805
 
3220
 
# Check whether --with-python was given.
 
2806
# Check whether --with-python or --without-python was given.
3221
2807
if test "${with_python+set}" = set; then
3222
 
  withval=$with_python;
 
2808
  withval="$with_python"
 
2809
 
3223
2810
  PYTHON_BIN="$withval"
3224
 
  { echo "$as_me:$LINENO: result: $PYTHON_BIN" >&5
3225
 
echo "${ECHO_T}$PYTHON_BIN" >&6; }
 
2811
  echo "$as_me:$LINENO: result: $PYTHON_BIN" >&5
 
2812
echo "${ECHO_T}$PYTHON_BIN" >&6
3226
2813
 
3227
2814
else
3228
 
  { echo "$as_me:$LINENO: result: no" >&5
3229
 
echo "${ECHO_T}no" >&6; }
3230
 
fi
3231
 
 
 
2815
  echo "$as_me:$LINENO: result: no" >&5
 
2816
echo "${ECHO_T}no" >&6
 
2817
fi;
3232
2818
 
3233
2819
# check for Python executable
3234
2820
if test -z "$PYTHON_BIN"; then
3235
2821
  # Extract the first word of "python", so it can be a program name with args.
3236
2822
set dummy python; ac_word=$2
3237
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3238
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2823
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2824
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3239
2825
if test "${ac_cv_path_PYTHON_BIN+set}" = set; then
3240
2826
  echo $ECHO_N "(cached) $ECHO_C" >&6
3241
2827
else
3250
2836
  IFS=$as_save_IFS
3251
2837
  test -z "$as_dir" && as_dir=.
3252
2838
  for ac_exec_ext in '' $ac_executable_extensions; do
3253
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2839
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254
2840
    ac_cv_path_PYTHON_BIN="$as_dir/$ac_word$ac_exec_ext"
3255
2841
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3256
2842
    break 2
3257
2843
  fi
3258
2844
done
3259
2845
done
3260
 
IFS=$as_save_IFS
3261
2846
 
3262
2847
  ;;
3263
2848
esac
3264
2849
fi
3265
2850
PYTHON_BIN=$ac_cv_path_PYTHON_BIN
 
2851
 
3266
2852
if test -n "$PYTHON_BIN"; then
3267
 
  { echo "$as_me:$LINENO: result: $PYTHON_BIN" >&5
3268
 
echo "${ECHO_T}$PYTHON_BIN" >&6; }
 
2853
  echo "$as_me:$LINENO: result: $PYTHON_BIN" >&5
 
2854
echo "${ECHO_T}$PYTHON_BIN" >&6
3269
2855
else
3270
 
  { echo "$as_me:$LINENO: result: no" >&5
3271
 
echo "${ECHO_T}no" >&6; }
 
2856
  echo "$as_me:$LINENO: result: no" >&5
 
2857
echo "${ECHO_T}no" >&6
3272
2858
fi
3273
2859
 
3274
 
 
3275
2860
  if test -z "$PYTHON_BIN"; then
3276
2861
    { { echo "$as_me:$LINENO: error: python binary not found in path" >&5
3277
2862
echo "$as_me: error: python binary not found in path" >&2;}
3280
2865
fi
3281
2866
 
3282
2867
# find out python version
3283
 
{ echo "$as_me:$LINENO: checking Python version" >&5
3284
 
echo $ECHO_N "checking Python version... $ECHO_C" >&6; }
 
2868
echo "$as_me:$LINENO: checking Python version" >&5
 
2869
echo $ECHO_N "checking Python version... $ECHO_C" >&6
3285
2870
PyVERSION=`$PYTHON_BIN -c 'import sys; print sys.version[:3]'`
3286
2871
PyMAJVERSION=`$PYTHON_BIN -c 'import sys; print sys.version[:1]'`
3287
 
{ echo "$as_me:$LINENO: result: $PyVERSION" >&5
3288
 
echo "${ECHO_T}$PyVERSION" >&6; }
 
2872
echo "$as_me:$LINENO: result: $PyVERSION" >&5
 
2873
echo "${ECHO_T}$PyVERSION" >&6
3289
2874
 
3290
2875
# make sure Python is version 2
3291
2876
if test "$PyMAJVERSION" != "2"; then
3295
2880
fi
3296
2881
 
3297
2882
# find out compiled in install prefix
3298
 
{ echo "$as_me:$LINENO: checking Python install prefix" >&5
3299
 
echo $ECHO_N "checking Python install prefix... $ECHO_C" >&6; }
 
2883
echo "$as_me:$LINENO: checking Python install prefix" >&5
 
2884
echo $ECHO_N "checking Python install prefix... $ECHO_C" >&6
3300
2885
PyEXEC_INSTALLDIR=`$PYTHON_BIN -c "import sys; print sys.exec_prefix"`
3301
 
{ echo "$as_me:$LINENO: result: $PyEXEC_INSTALLDIR" >&5
3302
 
echo "${ECHO_T}$PyEXEC_INSTALLDIR" >&6; }
 
2886
echo "$as_me:$LINENO: result: $PyEXEC_INSTALLDIR" >&5
 
2887
echo "${ECHO_T}$PyEXEC_INSTALLDIR" >&6
3303
2888
 
3304
2889
# this is where the Python libraries will get installed
3305
2890
 
3306
 
{ echo "$as_me:$LINENO: checking checking where python libraries are installed" >&5
3307
 
echo $ECHO_N "checking checking where python libraries are installed... $ECHO_C" >&6; }
 
2891
echo "$as_me:$LINENO: checking checking where python libraries are installed" >&5
 
2892
echo $ECHO_N "checking checking where python libraries are installed... $ECHO_C" >&6
3308
2893
PY_STD_LIB=`$PYTHON_BIN -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1, standard_lib=1)'`
3309
 
{ echo "$as_me:$LINENO: result: $PY_STD_LIB" >&5
3310
 
echo "${ECHO_T}$PY_STD_LIB" >&6; }
 
2894
echo "$as_me:$LINENO: result: $PY_STD_LIB" >&5
 
2895
echo "${ECHO_T}$PY_STD_LIB" >&6
3311
2896
# set python std library variable
3312
2897
 
3313
2898
 
3329
2914
else
3330
2915
  LDFLAGS="${LDFLAGS} -L${PyLIBPL}"
3331
2916
  as_ac_Lib=`echo "ac_cv_lib_python${PyVERSION}''_Py_NewInterpreter" | $as_tr_sh`
3332
 
{ echo "$as_me:$LINENO: checking for Py_NewInterpreter in -lpython${PyVERSION}" >&5
3333
 
echo $ECHO_N "checking for Py_NewInterpreter in -lpython${PyVERSION}... $ECHO_C" >&6; }
3334
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
2917
echo "$as_me:$LINENO: checking for Py_NewInterpreter in -lpython${PyVERSION}" >&5
 
2918
echo $ECHO_N "checking for Py_NewInterpreter in -lpython${PyVERSION}... $ECHO_C" >&6
 
2919
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
3335
2920
  echo $ECHO_N "(cached) $ECHO_C" >&6
3336
2921
else
3337
2922
  ac_check_lib_save_LIBS=$LIBS
3343
2928
cat >>conftest.$ac_ext <<_ACEOF
3344
2929
/* end confdefs.h.  */
3345
2930
 
3346
 
/* Override any GCC internal prototype to avoid an error.
3347
 
   Use char because int might match the return type of a GCC
3348
 
   builtin and then its argument prototype would still apply.  */
 
2931
/* Override any gcc2 internal prototype to avoid an error.  */
3349
2932
#ifdef __cplusplus
3350
2933
extern "C"
3351
2934
#endif
 
2935
/* We use char because int might match the return type of a gcc2
 
2936
   builtin and then its argument prototype would still apply.  */
3352
2937
char Py_NewInterpreter ();
3353
2938
int
3354
2939
main ()
3355
2940
{
3356
 
return Py_NewInterpreter ();
 
2941
Py_NewInterpreter ();
3357
2942
  ;
3358
2943
  return 0;
3359
2944
}
3360
2945
_ACEOF
3361
2946
rm -f conftest.$ac_objext conftest$ac_exeext
3362
 
if { (ac_try="$ac_link"
3363
 
case "(($ac_try" in
3364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365
 
  *) ac_try_echo=$ac_try;;
3366
 
esac
3367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368
 
  (eval "$ac_link") 2>conftest.er1
 
2947
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2948
  (eval $ac_link) 2>conftest.er1
3369
2949
  ac_status=$?
3370
2950
  grep -v '^ *+' conftest.er1 >conftest.err
3371
2951
  rm -f conftest.er1
3372
2952
  cat conftest.err >&5
3373
2953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374
 
  (exit $ac_status); } && {
3375
 
         test -z "$ac_c_werror_flag" ||
3376
 
         test ! -s conftest.err
3377
 
       } && test -s conftest$ac_exeext &&
3378
 
       $as_test_x conftest$ac_exeext; then
 
2954
  (exit $ac_status); } &&
 
2955
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2956
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2957
  (eval $ac_try) 2>&5
 
2958
  ac_status=$?
 
2959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2960
  (exit $ac_status); }; } &&
 
2961
         { ac_try='test -s conftest$ac_exeext'
 
2962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2963
  (eval $ac_try) 2>&5
 
2964
  ac_status=$?
 
2965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2966
  (exit $ac_status); }; }; then
3379
2967
  eval "$as_ac_Lib=yes"
3380
2968
else
3381
2969
  echo "$as_me: failed program was:" >&5
3382
2970
sed 's/^/| /' conftest.$ac_ext >&5
3383
2971
 
3384
 
        eval "$as_ac_Lib=no"
 
2972
eval "$as_ac_Lib=no"
3385
2973
fi
3386
 
 
3387
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
2974
rm -f conftest.err conftest.$ac_objext \
3388
2975
      conftest$ac_exeext conftest.$ac_ext
3389
2976
LIBS=$ac_check_lib_save_LIBS
3390
2977
fi
3391
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
3392
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3393
 
echo "${ECHO_T}$ac_res" >&6; }
 
2978
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
 
2979
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
3394
2980
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
3395
2981
   PyPYTHONLIBS="-lpython${PyVERSION}"
3396
2982
else
3409
2995
LIBS="$save_LIBS"
3410
2996
 
3411
2997
# (actually this check already just happened above)
3412
 
{ echo "$as_me:$LINENO: checking what libraries Python was linked with" >&5
3413
 
echo $ECHO_N "checking what libraries Python was linked with... $ECHO_C" >&6; }
 
2998
echo "$as_me:$LINENO: checking what libraries Python was linked with" >&5
 
2999
echo $ECHO_N "checking what libraries Python was linked with... $ECHO_C" >&6
3414
3000
PY_LIBS="${PyPYTHONLIBS} ${PyLIBS} ${PyMODLIBS}"
3415
3001
 
3416
3002
## XXX this is a small work around for a weird RedHat problem
3420
3006
fi
3421
3007
 
3422
3008
LIBS="${LIBS} ${PY_LIBS}"
3423
 
{ echo "$as_me:$LINENO: result: $PY_LIBS" >&5
3424
 
echo "${ECHO_T}$PY_LIBS" >&6; }
 
3009
echo "$as_me:$LINENO: result: $PY_LIBS" >&5
 
3010
echo "${ECHO_T}$PY_LIBS" >&6
3425
3011
 
3426
 
{ echo "$as_me:$LINENO: checking linker flags used to link Python" >&5
3427
 
echo $ECHO_N "checking linker flags used to link Python... $ECHO_C" >&6; }
 
3012
echo "$as_me:$LINENO: checking linker flags used to link Python" >&5
 
3013
echo $ECHO_N "checking linker flags used to link Python... $ECHO_C" >&6
3428
3014
 
3429
3015
PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' '   '`
3430
3016
PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' '   '`
3431
3017
LDFLAGS="${LDFLAGS} ${PyLFS} ${PyLDFLAGS}"
3432
3018
LDFLAGS="${LDFLAGS} ${PY_LDFLAGS}"
3433
 
{ echo "$as_me:$LINENO: result: $PY_LDFLAGS" >&5
3434
 
echo "${ECHO_T}$PY_LDFLAGS" >&6; }
 
3019
echo "$as_me:$LINENO: result: $PY_LDFLAGS" >&5
 
3020
echo "${ECHO_T}$PY_LDFLAGS" >&6
3435
3021
 
3436
 
{ echo "$as_me:$LINENO: checking where Python include files are" >&5
3437
 
echo $ECHO_N "checking where Python include files are... $ECHO_C" >&6; }
 
3022
echo "$as_me:$LINENO: checking where Python include files are" >&5
 
3023
echo $ECHO_N "checking where Python include files are... $ECHO_C" >&6
3438
3024
 
3439
3025
PY_INCLUDES="-I${PyEXEC_INSTALLDIR}/include/python${PyVERSION}"
3440
3026
INCLUDES="${INCLUDES} ${AP_INCLUDES} ${PY_INCLUDES}"
3441
 
{ echo "$as_me:$LINENO: result: $PY_INCLUDES" >&5
3442
 
echo "${ECHO_T}$PY_INCLUDES" >&6; }
 
3027
echo "$as_me:$LINENO: result: $PY_INCLUDES" >&5
 
3028
echo "${ECHO_T}$PY_INCLUDES" >&6
3443
3029
 
3444
3030
# this for the test.py script
3445
3031
 
3455
3041
# get --with-python-src. The python src is required to generate the documentation
3456
3042
# It is not required to compile or install mod_python itself
3457
3043
 
3458
 
{ echo "$as_me:$LINENO: checking for --with-python-src" >&5
3459
 
echo $ECHO_N "checking for --with-python-src... $ECHO_C" >&6; }
 
3044
echo "$as_me:$LINENO: checking for --with-python-src" >&5
 
3045
echo $ECHO_N "checking for --with-python-src... $ECHO_C" >&6
3460
3046
 
3461
 
# Check whether --with-python-src was given.
 
3047
# Check whether --with-python-src or --without-python-src was given.
3462
3048
if test "${with_python_src+set}" = set; then
3463
 
  withval=$with_python_src;
 
3049
  withval="$with_python_src"
 
3050
 
3464
3051
  PYTHON_SRC="$withval"
3465
 
  { echo "$as_me:$LINENO: result: $PYTHON_SRC" >&5
3466
 
echo "${ECHO_T}$PYTHON_SRC" >&6; }
 
3052
  echo "$as_me:$LINENO: result: $PYTHON_SRC" >&5
 
3053
echo "${ECHO_T}$PYTHON_SRC" >&6
3467
3054
 
3468
3055
else
3469
 
  { echo "$as_me:$LINENO: result: no" >&5
3470
 
echo "${ECHO_T}no" >&6; }
3471
 
fi
3472
 
 
 
3056
  echo "$as_me:$LINENO: result: no" >&5
 
3057
echo "${ECHO_T}no" >&6
 
3058
fi;
3473
3059
if test -z "$PYTHON_SRC"; then
3474
3060
  PYTHON_SRC=""
3475
3061
fi
3476
3062
 
3477
3063
# configure the MUTEX_DIR for location of mutex locks
3478
3064
 
3479
 
{ echo "$as_me:$LINENO: checking for --with-mutex-dir" >&5
3480
 
echo $ECHO_N "checking for --with-mutex-dir... $ECHO_C" >&6; }
 
3065
echo "$as_me:$LINENO: checking for --with-mutex-dir" >&5
 
3066
echo $ECHO_N "checking for --with-mutex-dir... $ECHO_C" >&6
3481
3067
 
3482
 
# Check whether --with-mutex-dir was given.
 
3068
# Check whether --with-mutex-dir or --without-mutex-dir was given.
3483
3069
if test "${with_mutex_dir+set}" = set; then
3484
 
  withval=$with_mutex_dir;
 
3070
  withval="$with_mutex_dir"
 
3071
 
3485
3072
  MUTEX_DIR="$withval"
3486
 
  { echo "$as_me:$LINENO: result: $MUTEX_DIR" >&5
3487
 
echo "${ECHO_T}$MUTEX_DIR" >&6; }
 
3073
  echo "$as_me:$LINENO: result: $MUTEX_DIR" >&5
 
3074
echo "${ECHO_T}$MUTEX_DIR" >&6
3488
3075
 
3489
3076
else
3490
 
  { echo "$as_me:$LINENO: result: no" >&5
3491
 
echo "${ECHO_T}no" >&6; }
3492
 
fi
3493
 
 
 
3077
  echo "$as_me:$LINENO: result: no" >&5
 
3078
echo "${ECHO_T}no" >&6
 
3079
fi;
3494
3080
 
3495
3081
if test -z "$MUTEX_DIR"; then
3496
3082
  MUTEX_DIR="/tmp"
3497
3083
fi
3498
3084
# TODO - check if MUTEX_DIR is an absolute path
3499
 
{ echo "$as_me:$LINENO: result: Using MUTEX_DIR $MUTEX_DIR" >&5
3500
 
echo "${ECHO_T}Using MUTEX_DIR $MUTEX_DIR" >&6; }
 
3085
echo "$as_me:$LINENO: result: Using MUTEX_DIR $MUTEX_DIR" >&5
 
3086
echo "${ECHO_T}Using MUTEX_DIR $MUTEX_DIR" >&6
3501
3087
 
3502
3088
# configure the MAX_LOCKS for number of mutex locks
3503
3089
 
3504
 
{ echo "$as_me:$LINENO: checking for --with-max-locks" >&5
3505
 
echo $ECHO_N "checking for --with-max-locks... $ECHO_C" >&6; }
 
3090
echo "$as_me:$LINENO: checking for --with-max-locks" >&5
 
3091
echo $ECHO_N "checking for --with-max-locks... $ECHO_C" >&6
3506
3092
 
3507
 
# Check whether --with-max-locks was given.
 
3093
# Check whether --with-max-locks or --without-max-locks was given.
3508
3094
if test "${with_max_locks+set}" = set; then
3509
 
  withval=$with_max_locks;
 
3095
  withval="$with_max_locks"
 
3096
 
3510
3097
  MAX_LOCKS="$withval"
3511
 
  { echo "$as_me:$LINENO: result: $MAX_LOCKS" >&5
3512
 
echo "${ECHO_T}$MAX_LOCKS" >&6; }
 
3098
  echo "$as_me:$LINENO: result: $MAX_LOCKS" >&5
 
3099
echo "${ECHO_T}$MAX_LOCKS" >&6
3513
3100
 
3514
3101
else
3515
 
  { echo "$as_me:$LINENO: result: no" >&5
3516
 
echo "${ECHO_T}no" >&6; }
3517
 
fi
3518
 
 
 
3102
  echo "$as_me:$LINENO: result: no" >&5
 
3103
echo "${ECHO_T}no" >&6
 
3104
fi;
3519
3105
 
3520
3106
if test -z "$MAX_LOCKS"; then
3521
3107
  MAX_LOCKS="8"
3522
3108
fi
3523
 
{ echo "$as_me:$LINENO: result: Using $MAX_LOCKS MAX_LOCKS." >&5
3524
 
echo "${ECHO_T}Using $MAX_LOCKS MAX_LOCKS." >&6; }
 
3109
echo "$as_me:$LINENO: result: Using $MAX_LOCKS MAX_LOCKS." >&5
 
3110
echo "${ECHO_T}Using $MAX_LOCKS MAX_LOCKS." >&6
3525
3111
 
3526
3112
# Check for correct flex version
3527
3113
# Requires flex 2.5.31 for reentrant support
3528
3114
# See README for more details
3529
3115
 
3530
3116
 
3531
 
{ echo "$as_me:$LINENO: checking for --with-flex" >&5
3532
 
echo $ECHO_N "checking for --with-flex... $ECHO_C" >&6; }
 
3117
echo "$as_me:$LINENO: checking for --with-flex" >&5
 
3118
echo $ECHO_N "checking for --with-flex... $ECHO_C" >&6
3533
3119
 
3534
 
# Check whether --with-flex was given.
 
3120
# Check whether --with-flex or --without-flex was given.
3535
3121
if test "${with_flex+set}" = set; then
3536
 
  withval=$with_flex;
 
3122
  withval="$with_flex"
 
3123
 
3537
3124
  LEX="$withval"
3538
 
  { echo "$as_me:$LINENO: result: $LEX" >&5
3539
 
echo "${ECHO_T}$LEX" >&6; }
 
3125
  echo "$as_me:$LINENO: result: $LEX" >&5
 
3126
echo "${ECHO_T}$LEX" >&6
3540
3127
 
3541
3128
else
3542
 
  { echo "$as_me:$LINENO: result: no" >&5
3543
 
echo "${ECHO_T}no" >&6; }
3544
 
fi
3545
 
 
 
3129
  echo "$as_me:$LINENO: result: no" >&5
 
3130
echo "${ECHO_T}no" >&6
 
3131
fi;
3546
3132
 
3547
3133
# check for flex executable
3548
3134
if test -z "$LEX"; then
3549
3135
  # Extract the first word of "flex", so it can be a program name with args.
3550
3136
set dummy flex; ac_word=$2
3551
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3552
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3137
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3138
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3553
3139
if test "${ac_cv_path_LEX+set}" = set; then
3554
3140
  echo $ECHO_N "(cached) $ECHO_C" >&6
3555
3141
else
3564
3150
  IFS=$as_save_IFS
3565
3151
  test -z "$as_dir" && as_dir=.
3566
3152
  for ac_exec_ext in '' $ac_executable_extensions; do
3567
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3153
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568
3154
    ac_cv_path_LEX="$as_dir/$ac_word$ac_exec_ext"
3569
3155
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3570
3156
    break 2
3571
3157
  fi
3572
3158
done
3573
3159
done
3574
 
IFS=$as_save_IFS
3575
3160
 
3576
3161
  ;;
3577
3162
esac
3578
3163
fi
3579
3164
LEX=$ac_cv_path_LEX
 
3165
 
3580
3166
if test -n "$LEX"; then
3581
 
  { echo "$as_me:$LINENO: result: $LEX" >&5
3582
 
echo "${ECHO_T}$LEX" >&6; }
 
3167
  echo "$as_me:$LINENO: result: $LEX" >&5
 
3168
echo "${ECHO_T}$LEX" >&6
3583
3169
else
3584
 
  { echo "$as_me:$LINENO: result: no" >&5
3585
 
echo "${ECHO_T}no" >&6; }
 
3170
  echo "$as_me:$LINENO: result: no" >&5
 
3171
echo "${ECHO_T}no" >&6
3586
3172
fi
3587
 
 
3588
3173
 
3589
3174
fi
3590
3175
 
3591
3176
if test "$LEX" && test -x "$LEX"; then
3592
 
  { echo "$as_me:$LINENO: result: found $LEX, we'll use this. Use --with-flex to specify another." >&5
3593
 
echo "${ECHO_T}found $LEX, we'll use this. Use --with-flex to specify another." >&6; }
 
3177
  echo "$as_me:$LINENO: result: found $LEX, we'll use this. Use --with-flex to specify another." >&5
 
3178
echo "${ECHO_T}found $LEX, we'll use this. Use --with-flex to specify another." >&6
3594
3179
 
3595
 
  { echo "$as_me:$LINENO: checking flex version" >&5
3596
 
echo $ECHO_N "checking flex version... $ECHO_C" >&6; }
 
3180
  echo "$as_me:$LINENO: checking flex version" >&5
 
3181
echo $ECHO_N "checking flex version... $ECHO_C" >&6
3597
3182
  FlexVERSION=`$LEX --version | sed 's/version//g' | awk '/flex/ {print $2}'`
3598
3183
  Flex_MAJOR=`echo $FlexVERSION| awk -F .  '{print $1}'`
3599
3184
  Flex_MINOR=`echo $FlexVERSION| awk -F .  '{print $2}'`
3600
3185
  Flex_PATCH=`echo $FlexVERSION| awk -F .  '{print $3}'`
3601
3186
 
3602
3187
  if test "$Flex_MAJOR" -eq "2" && test "$Flex_MINOR" -eq "5" && test "$Flex_PATCH" -ge "31"; then
3603
 
    { echo "$as_me:$LINENO: result: $FlexVERSION. Good" >&5
3604
 
echo "${ECHO_T}$FlexVERSION. Good" >&6; }
 
3188
    echo "$as_me:$LINENO: result: $FlexVERSION. Good" >&5
 
3189
echo "${ECHO_T}$FlexVERSION. Good" >&6
3605
3190
  else
3606
3191
    { echo "$as_me:$LINENO: WARNING: Flex version $FlexVERSION found.
3607
3192
    Version 2.5.31 or greater is required.  You can generally ignore this
3628
3213
  See the README for more information." >&2;}
3629
3214
fi
3630
3215
 
3631
 
ac_config_files="$ac_config_files Makefile src/Makefile Doc/Makefile src/include/mod_python.h test/testconf.py dist/setup.py dist/Makefile"
3632
 
 
 
3216
                                                                                ac_config_files="$ac_config_files Makefile src/Makefile Doc/Makefile src/include/mod_python.h test/Makefile test/testconf.py dist/setup.py dist/Makefile"
3633
3217
cat >confcache <<\_ACEOF
3634
3218
# This file is a shell script that caches the results of configure
3635
3219
# tests run on this system so they can be shared between configure
3648
3232
 
3649
3233
# The following way of writing the cache mishandles newlines in values,
3650
3234
# but we know of no workaround that is simple, portable, and efficient.
3651
 
# So, we kill variables containing newlines.
 
3235
# So, don't put newlines in cache variables' values.
3652
3236
# Ultrix sh set writes to stderr and can't be redirected directly,
3653
3237
# and sets the high bit in the cache file unless we assign to the vars.
3654
 
(
3655
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3656
 
    eval ac_val=\$$ac_var
3657
 
    case $ac_val in #(
3658
 
    *${as_nl}*)
3659
 
      case $ac_var in #(
3660
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3661
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3662
 
      esac
3663
 
      case $ac_var in #(
3664
 
      _ | IFS | as_nl) ;; #(
3665
 
      *) $as_unset $ac_var ;;
3666
 
      esac ;;
3667
 
    esac
3668
 
  done
3669
 
 
 
3238
{
3670
3239
  (set) 2>&1 |
3671
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3672
 
    *${as_nl}ac_space=\ *)
 
3240
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
3241
    *ac_space=\ *)
3673
3242
      # `set' does not quote correctly, so add quotes (double-quote
3674
3243
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3675
3244
      sed -n \
3676
3245
        "s/'/'\\\\''/g;
3677
3246
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3678
 
      ;; #(
 
3247
      ;;
3679
3248
    *)
3680
3249
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3681
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
3250
      sed -n \
 
3251
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3682
3252
      ;;
3683
 
    esac |
3684
 
    sort
3685
 
) |
 
3253
    esac;
 
3254
} |
3686
3255
  sed '
3687
 
     /^ac_cv_env_/b end
3688
3256
     t clear
3689
 
     :clear
 
3257
     : clear
3690
3258
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3691
3259
     t end
3692
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3693
 
     :end' >>confcache
3694
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3695
 
  if test -w "$cache_file"; then
3696
 
    test "x$cache_file" != "x/dev/null" &&
3697
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3698
 
echo "$as_me: updating cache $cache_file" >&6;}
 
3260
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3261
     : end' >>confcache
 
3262
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
3263
  if test -w $cache_file; then
 
3264
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3699
3265
    cat confcache >$cache_file
3700
3266
  else
3701
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3702
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
3267
    echo "not updating unwritable cache $cache_file"
3703
3268
  fi
3704
3269
fi
3705
3270
rm -f confcache
3708
3273
# Let make expand exec_prefix.
3709
3274
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3710
3275
 
 
3276
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
3277
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3278
# trailing colons and then remove the whole line if VPATH becomes empty
 
3279
# (actually we leave an empty line to preserve line numbers).
 
3280
if test "x$srcdir" = x.; then
 
3281
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
3282
s/:*\$(srcdir):*/:/;
 
3283
s/:*\${srcdir}:*/:/;
 
3284
s/:*@srcdir@:*/:/;
 
3285
s/^\([^=]*=[     ]*\):*/\1/;
 
3286
s/:*$//;
 
3287
s/^[^=]*=[       ]*$//;
 
3288
}'
 
3289
fi
 
3290
 
3711
3291
# Transform confdefs.h into DEFS.
3712
3292
# Protect against shell expansion while executing Makefile rules.
3713
3293
# Protect against Makefile macro expansion.
3714
3294
#
3715
3295
# If the first sed substitution is executed (which looks for macros that
3716
 
# take arguments), then branch to the quote section.  Otherwise,
 
3296
# take arguments), then we branch to the quote section.  Otherwise,
3717
3297
# look for a macro that doesn't take arguments.
3718
 
ac_script='
 
3298
cat >confdef2opt.sed <<\_ACEOF
3719
3299
t clear
3720
 
:clear
3721
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3722
 
t quote
3723
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3724
 
t quote
3725
 
b any
3726
 
:quote
3727
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3728
 
s/\[/\\&/g
3729
 
s/\]/\\&/g
3730
 
s/\$/$$/g
3731
 
H
3732
 
:any
3733
 
${
3734
 
        g
3735
 
        s/^\n//
3736
 
        s/\n/ /g
3737
 
        p
3738
 
}
3739
 
'
3740
 
DEFS=`sed -n "$ac_script" confdefs.h`
 
3300
: clear
 
3301
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
3302
t quote
 
3303
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
3304
t quote
 
3305
d
 
3306
: quote
 
3307
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
3308
s,\[,\\&,g
 
3309
s,\],\\&,g
 
3310
s,\$,$$,g
 
3311
p
 
3312
_ACEOF
 
3313
# We use echo to avoid assuming a particular line-breaking character.
 
3314
# The extra dot is to prevent the shell from consuming trailing
 
3315
# line-breaks from the sub-command output.  A line-break within
 
3316
# single-quotes doesn't work because, if this script is created in a
 
3317
# platform that uses two characters for line-breaks (e.g., DOS), tr
 
3318
# would break.
 
3319
ac_LF_and_DOT=`echo; echo .`
 
3320
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
 
3321
rm -f confdef2opt.sed
3741
3322
 
3742
3323
 
3743
3324
ac_libobjs=
3744
3325
ac_ltlibobjs=
3745
3326
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3746
3327
  # 1. Remove the extension, and $U if already installed.
3747
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3748
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
3749
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3750
 
  #    will be set to the directory where LIBOBJS objects are built.
3751
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3752
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
3328
  ac_i=`echo "$ac_i" |
 
3329
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3330
  # 2. Add them.
 
3331
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
3332
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3753
3333
done
3754
3334
LIBOBJS=$ac_libobjs
3755
3335
 
3780
3360
## M4sh Initialization.  ##
3781
3361
## --------------------- ##
3782
3362
 
3783
 
# Be more Bourne compatible
3784
 
DUALCASE=1; export DUALCASE # for MKS sh
 
3363
# Be Bourne compatible
3785
3364
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3786
3365
  emulate sh
3787
3366
  NULLCMD=:
3788
3367
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3789
3368
  # is contrary to our usage.  Disable this feature.
3790
3369
  alias -g '${1+"$@"}'='"$@"'
3791
 
  setopt NO_GLOB_SUBST
3792
 
else
3793
 
  case `(set -o) 2>/dev/null` in
3794
 
  *posix*) set -o posix ;;
3795
 
esac
3796
 
 
3797
 
fi
3798
 
 
3799
 
 
3800
 
 
3801
 
 
3802
 
# PATH needs CR
3803
 
# Avoid depending upon Character Ranges.
3804
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3805
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3806
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3807
 
as_cr_digits='0123456789'
3808
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
3809
 
 
3810
 
# The user is always right.
3811
 
if test "${PATH_SEPARATOR+set}" != set; then
3812
 
  echo "#! /bin/sh" >conf$$.sh
3813
 
  echo  "exit 0"   >>conf$$.sh
3814
 
  chmod +x conf$$.sh
3815
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3816
 
    PATH_SEPARATOR=';'
3817
 
  else
3818
 
    PATH_SEPARATOR=:
3819
 
  fi
3820
 
  rm -f conf$$.sh
3821
 
fi
 
3370
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
3371
  set -o posix
 
3372
fi
 
3373
DUALCASE=1; export DUALCASE # for MKS sh
3822
3374
 
3823
3375
# Support unset when possible.
3824
3376
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3828
3380
fi
3829
3381
 
3830
3382
 
3831
 
# IFS
3832
 
# We need space, tab and new line, in precisely that order.  Quoting is
3833
 
# there to prevent editors from complaining about space-tab.
3834
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3835
 
# splitting by setting IFS to empty value.)
3836
 
as_nl='
3837
 
'
3838
 
IFS=" ""        $as_nl"
3839
 
 
3840
 
# Find who we are.  Look in the path if we contain no directory separator.
3841
 
case $0 in
3842
 
  *[\\/]* ) as_myself=$0 ;;
3843
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844
 
for as_dir in $PATH
3845
 
do
3846
 
  IFS=$as_save_IFS
3847
 
  test -z "$as_dir" && as_dir=.
3848
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3849
 
done
3850
 
IFS=$as_save_IFS
3851
 
 
3852
 
     ;;
3853
 
esac
3854
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
3855
 
# in which case we are not to be found in the path.
3856
 
if test "x$as_myself" = x; then
3857
 
  as_myself=$0
3858
 
fi
3859
 
if test ! -f "$as_myself"; then
3860
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3861
 
  { (exit 1); exit 1; }
3862
 
fi
3863
 
 
3864
3383
# Work around bugs in pre-3.0 UWIN ksh.
3865
 
for as_var in ENV MAIL MAILPATH
3866
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3867
 
done
 
3384
$as_unset ENV MAIL MAILPATH
3868
3385
PS1='$ '
3869
3386
PS2='> '
3870
3387
PS4='+ '
3878
3395
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3879
3396
    eval $as_var=C; export $as_var
3880
3397
  else
3881
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
3398
    $as_unset $as_var
3882
3399
  fi
3883
3400
done
3884
3401
 
3885
3402
# Required to use basename.
3886
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
3887
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
3403
if expr a : '\(a\)' >/dev/null 2>&1; then
3888
3404
  as_expr=expr
3889
3405
else
3890
3406
  as_expr=false
3891
3407
fi
3892
3408
 
3893
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
3409
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3894
3410
  as_basename=basename
3895
3411
else
3896
3412
  as_basename=false
3898
3414
 
3899
3415
 
3900
3416
# Name of the executable.
3901
 
as_me=`$as_basename -- "$0" ||
 
3417
as_me=`$as_basename "$0" ||
3902
3418
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3903
3419
         X"$0" : 'X\(//\)$' \| \
3904
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
3420
         X"$0" : 'X\(/\)$' \| \
 
3421
         .     : '\(.\)' 2>/dev/null ||
3905
3422
echo X/"$0" |
3906
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3907
 
            s//\1/
3908
 
            q
3909
 
          }
3910
 
          /^X\/\(\/\/\)$/{
3911
 
            s//\1/
3912
 
            q
3913
 
          }
3914
 
          /^X\/\(\/\).*/{
3915
 
            s//\1/
3916
 
            q
3917
 
          }
3918
 
          s/.*/./; q'`
3919
 
 
3920
 
# CDPATH.
3921
 
$as_unset CDPATH
3922
 
 
3923
 
 
3924
 
 
3925
 
  as_lineno_1=$LINENO
3926
 
  as_lineno_2=$LINENO
3927
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3928
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
3423
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
3424
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
3425
          /^X\/\(\/\).*/{ s//\1/; q; }
 
3426
          s/.*/./; q'`
 
3427
 
 
3428
 
 
3429
# PATH needs CR, and LINENO needs CR and PATH.
 
3430
# Avoid depending upon Character Ranges.
 
3431
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3432
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3433
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3434
as_cr_digits='0123456789'
 
3435
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
3436
 
 
3437
# The user is always right.
 
3438
if test "${PATH_SEPARATOR+set}" != set; then
 
3439
  echo "#! /bin/sh" >conf$$.sh
 
3440
  echo  "exit 0"   >>conf$$.sh
 
3441
  chmod +x conf$$.sh
 
3442
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
3443
    PATH_SEPARATOR=';'
 
3444
  else
 
3445
    PATH_SEPARATOR=:
 
3446
  fi
 
3447
  rm -f conf$$.sh
 
3448
fi
 
3449
 
 
3450
 
 
3451
  as_lineno_1=$LINENO
 
3452
  as_lineno_2=$LINENO
 
3453
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
3454
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
3455
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
3456
  # Find who we are.  Look in the path if we contain no path at all
 
3457
  # relative or not.
 
3458
  case $0 in
 
3459
    *[\\/]* ) as_myself=$0 ;;
 
3460
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3461
for as_dir in $PATH
 
3462
do
 
3463
  IFS=$as_save_IFS
 
3464
  test -z "$as_dir" && as_dir=.
 
3465
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3466
done
 
3467
 
 
3468
       ;;
 
3469
  esac
 
3470
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
3471
  # in which case we are not to be found in the path.
 
3472
  if test "x$as_myself" = x; then
 
3473
    as_myself=$0
 
3474
  fi
 
3475
  if test ! -f "$as_myself"; then
 
3476
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
3477
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
3478
   { (exit 1); exit 1; }; }
 
3479
  fi
 
3480
  case $CONFIG_SHELL in
 
3481
  '')
 
3482
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3483
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
3484
do
 
3485
  IFS=$as_save_IFS
 
3486
  test -z "$as_dir" && as_dir=.
 
3487
  for as_base in sh bash ksh sh5; do
 
3488
         case $as_dir in
 
3489
         /*)
 
3490
           if ("$as_dir/$as_base" -c '
 
3491
  as_lineno_1=$LINENO
 
3492
  as_lineno_2=$LINENO
 
3493
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
3494
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
3495
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
3496
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
3497
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
3498
             CONFIG_SHELL=$as_dir/$as_base
 
3499
             export CONFIG_SHELL
 
3500
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
3501
           fi;;
 
3502
         esac
 
3503
       done
 
3504
done
 
3505
;;
 
3506
  esac
3929
3507
 
3930
3508
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3931
3509
  # uniformly replaced by the line number.  The first 'sed' inserts a
3932
 
  # line-number line after each line using $LINENO; the second 'sed'
3933
 
  # does the real work.  The second script uses 'N' to pair each
3934
 
  # line-number line with the line containing $LINENO, and appends
3935
 
  # trailing '-' during substitution so that $LINENO is not a special
3936
 
  # case at line end.
 
3510
  # line-number line before each line; the second 'sed' does the real
 
3511
  # work.  The second script uses 'N' to pair each line-number line
 
3512
  # with the numbered line, and appends trailing '-' during
 
3513
  # substitution so that $LINENO is not a special case at line end.
3937
3514
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3938
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3939
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
3940
 
  sed -n '
3941
 
    p
3942
 
    /[$]LINENO/=
3943
 
  ' <$as_myself |
 
3515
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
3516
  sed '=' <$as_myself |
3944
3517
    sed '
3945
 
      s/[$]LINENO.*/&-/
3946
 
      t lineno
3947
 
      b
3948
 
      :lineno
3949
3518
      N
3950
 
      :loop
3951
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
3519
      s,$,-,
 
3520
      : loop
 
3521
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3952
3522
      t loop
3953
 
      s/-\n.*//
 
3523
      s,-$,,
 
3524
      s,^['$as_cr_digits']*\n,,
3954
3525
    ' >$as_me.lineno &&
3955
 
  chmod +x "$as_me.lineno" ||
3956
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
3526
  chmod +x $as_me.lineno ||
 
3527
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
3528
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3957
3529
   { (exit 1); exit 1; }; }
3958
3530
 
3959
3531
  # Don't try to exec as it changes $[0], causing all sort of problems
3960
3532
  # (the dirname of $[0] is not the place where we might find the
3961
 
  # original and so on.  Autoconf is especially sensitive to this).
3962
 
  . "./$as_me.lineno"
 
3533
  # original and so on.  Autoconf is especially sensible to this).
 
3534
  . ./$as_me.lineno
3963
3535
  # Exit status is that of the last command.
3964
3536
  exit
3965
3537
}
3966
3538
 
3967
3539
 
3968
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3969
 
  as_dirname=dirname
3970
 
else
3971
 
  as_dirname=false
3972
 
fi
3973
 
 
3974
 
ECHO_C= ECHO_N= ECHO_T=
3975
 
case `echo -n x` in
3976
 
-n*)
3977
 
  case `echo 'x\c'` in
3978
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3979
 
  *)   ECHO_C='\c';;
3980
 
  esac;;
3981
 
*)
3982
 
  ECHO_N='-n';;
 
3540
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
3541
  *c*,-n*) ECHO_N= ECHO_C='
 
3542
' ECHO_T='      ' ;;
 
3543
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
3544
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3983
3545
esac
3984
3546
 
3985
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
3986
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
3547
if expr a : '\(a\)' >/dev/null 2>&1; then
3987
3548
  as_expr=expr
3988
3549
else
3989
3550
  as_expr=false
3990
3551
fi
3991
3552
 
3992
3553
rm -f conf$$ conf$$.exe conf$$.file
3993
 
if test -d conf$$.dir; then
3994
 
  rm -f conf$$.dir/conf$$.file
3995
 
else
3996
 
  rm -f conf$$.dir
3997
 
  mkdir conf$$.dir
3998
 
fi
3999
3554
echo >conf$$.file
4000
3555
if ln -s conf$$.file conf$$ 2>/dev/null; then
4001
 
  as_ln_s='ln -s'
4002
 
  # ... but there are two gotchas:
4003
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4004
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4005
 
  # In both cases, we have to default to `cp -p'.
4006
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
3556
  # We could just check for DJGPP; but this test a) works b) is more generic
 
3557
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
3558
  if test -f conf$$.exe; then
 
3559
    # Don't use ln at all; we don't have any links
4007
3560
    as_ln_s='cp -p'
 
3561
  else
 
3562
    as_ln_s='ln -s'
 
3563
  fi
4008
3564
elif ln conf$$.file conf$$ 2>/dev/null; then
4009
3565
  as_ln_s=ln
4010
3566
else
4011
3567
  as_ln_s='cp -p'
4012
3568
fi
4013
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4014
 
rmdir conf$$.dir 2>/dev/null
 
3569
rm -f conf$$ conf$$.exe conf$$.file
4015
3570
 
4016
3571
if mkdir -p . 2>/dev/null; then
4017
3572
  as_mkdir_p=:
4020
3575
  as_mkdir_p=false
4021
3576
fi
4022
3577
 
4023
 
if test -x / >/dev/null 2>&1; then
4024
 
  as_test_x='test -x'
4025
 
else
4026
 
  if ls -dL / >/dev/null 2>&1; then
4027
 
    as_ls_L_option=L
4028
 
  else
4029
 
    as_ls_L_option=
4030
 
  fi
4031
 
  as_test_x='
4032
 
    eval sh -c '\''
4033
 
      if test -d "$1"; then
4034
 
        test -d "$1/.";
4035
 
      else
4036
 
        case $1 in
4037
 
        -*)set "./$1";;
4038
 
        esac;
4039
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4040
 
        ???[sx]*):;;*)false;;esac;fi
4041
 
    '\'' sh
4042
 
  '
4043
 
fi
4044
 
as_executable_p=$as_test_x
 
3578
as_executable_p="test -f"
4045
3579
 
4046
3580
# Sed expression to map a string onto a valid CPP name.
4047
3581
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4050
3584
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4051
3585
 
4052
3586
 
 
3587
# IFS
 
3588
# We need space, tab and new line, in precisely that order.
 
3589
as_nl='
 
3590
'
 
3591
IFS="   $as_nl"
 
3592
 
 
3593
# CDPATH.
 
3594
$as_unset CDPATH
 
3595
 
4053
3596
exec 6>&1
4054
3597
 
4055
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
3598
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4056
3599
# report actual input values of CONFIG_FILES etc. instead of their
4057
 
# values after options handling.
4058
 
ac_log="
 
3600
# values after options handling.  Logging --version etc. is OK.
 
3601
exec 5>>config.log
 
3602
{
 
3603
  echo
 
3604
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3605
## Running $as_me. ##
 
3606
_ASBOX
 
3607
} >&5
 
3608
cat >&5 <<_CSEOF
 
3609
 
4059
3610
This file was extended by $as_me, which was
4060
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
3611
generated by GNU Autoconf 2.59.  Invocation command line was
4061
3612
 
4062
3613
  CONFIG_FILES    = $CONFIG_FILES
4063
3614
  CONFIG_HEADERS  = $CONFIG_HEADERS
4065
3616
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4066
3617
  $ $0 $@
4067
3618
 
4068
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4069
 
"
4070
 
 
 
3619
_CSEOF
 
3620
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
3621
echo >&5
4071
3622
_ACEOF
4072
3623
 
4073
 
cat >>$CONFIG_STATUS <<_ACEOF
4074
3624
# Files that config.status was made for.
4075
 
config_files="$ac_config_files"
4076
 
 
4077
 
_ACEOF
 
3625
if test -n "$ac_config_files"; then
 
3626
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
3627
fi
 
3628
 
 
3629
if test -n "$ac_config_headers"; then
 
3630
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
3631
fi
 
3632
 
 
3633
if test -n "$ac_config_links"; then
 
3634
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
3635
fi
 
3636
 
 
3637
if test -n "$ac_config_commands"; then
 
3638
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
3639
fi
4078
3640
 
4079
3641
cat >>$CONFIG_STATUS <<\_ACEOF
 
3642
 
4080
3643
ac_cs_usage="\
4081
3644
\`$as_me' instantiates files from templates according to the
4082
3645
current configuration.
4084
3647
Usage: $0 [OPTIONS] [FILE]...
4085
3648
 
4086
3649
  -h, --help       print this help, then exit
4087
 
  -V, --version    print version number and configuration settings, then exit
 
3650
  -V, --version    print version number, then exit
4088
3651
  -q, --quiet      do not print progress messages
4089
3652
  -d, --debug      don't remove temporary files
4090
3653
      --recheck    update $as_me by reconfiguring in the same conditions
4095
3658
$config_files
4096
3659
 
4097
3660
Report bugs to <bug-autoconf@gnu.org>."
 
3661
_ACEOF
4098
3662
 
4099
 
_ACEOF
4100
3663
cat >>$CONFIG_STATUS <<_ACEOF
4101
3664
ac_cs_version="\\
4102
3665
config.status
4103
 
configured by $0, generated by GNU Autoconf 2.61,
4104
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
3666
configured by $0, generated by GNU Autoconf 2.59,
 
3667
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4105
3668
 
4106
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
3669
Copyright (C) 2003 Free Software Foundation, Inc.
4107
3670
This config.status script is free software; the Free Software Foundation
4108
3671
gives unlimited permission to copy, distribute and modify it."
4109
 
 
4110
 
ac_pwd='$ac_pwd'
4111
 
srcdir='$srcdir'
4112
 
INSTALL='$INSTALL'
 
3672
srcdir=$srcdir
 
3673
INSTALL="$INSTALL"
4113
3674
_ACEOF
4114
3675
 
4115
3676
cat >>$CONFIG_STATUS <<\_ACEOF
4120
3681
do
4121
3682
  case $1 in
4122
3683
  --*=*)
4123
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4124
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
3684
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
3685
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4125
3686
    ac_shift=:
4126
3687
    ;;
4127
 
  *)
 
3688
  -*)
4128
3689
    ac_option=$1
4129
3690
    ac_optarg=$2
4130
3691
    ac_shift=shift
4131
3692
    ;;
 
3693
  *) # This is not an option, so the user has probably given explicit
 
3694
     # arguments.
 
3695
     ac_option=$1
 
3696
     ac_need_defaults=false;;
4132
3697
  esac
4133
3698
 
4134
3699
  case $ac_option in
4135
3700
  # Handling of the options.
 
3701
_ACEOF
 
3702
cat >>$CONFIG_STATUS <<\_ACEOF
4136
3703
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4137
3704
    ac_cs_recheck=: ;;
4138
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4139
 
    echo "$ac_cs_version"; exit ;;
4140
 
  --debug | --debu | --deb | --de | --d | -d )
 
3705
  --version | --vers* | -V )
 
3706
    echo "$ac_cs_version"; exit 0 ;;
 
3707
  --he | --h)
 
3708
    # Conflict between --help and --header
 
3709
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
3710
Try \`$0 --help' for more information." >&5
 
3711
echo "$as_me: error: ambiguous option: $1
 
3712
Try \`$0 --help' for more information." >&2;}
 
3713
   { (exit 1); exit 1; }; };;
 
3714
  --help | --hel | -h )
 
3715
    echo "$ac_cs_usage"; exit 0 ;;
 
3716
  --debug | --d* | -d )
4141
3717
    debug=: ;;
4142
3718
  --file | --fil | --fi | --f )
4143
3719
    $ac_shift
4144
3720
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4145
3721
    ac_need_defaults=false;;
4146
 
  --he | --h |  --help | --hel | -h )
4147
 
    echo "$ac_cs_usage"; exit ;;
 
3722
  --header | --heade | --head | --hea )
 
3723
    $ac_shift
 
3724
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
3725
    ac_need_defaults=false;;
4148
3726
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4149
3727
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4150
3728
    ac_cs_silent=: ;;
4151
3729
 
4152
3730
  # This is an error.
4153
 
  -*) { echo "$as_me: error: unrecognized option: $1
4154
 
Try \`$0 --help' for more information." >&2
 
3731
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
3732
Try \`$0 --help' for more information." >&5
 
3733
echo "$as_me: error: unrecognized option: $1
 
3734
Try \`$0 --help' for more information." >&2;}
4155
3735
   { (exit 1); exit 1; }; } ;;
4156
3736
 
4157
 
  *) ac_config_targets="$ac_config_targets $1"
4158
 
     ac_need_defaults=false ;;
 
3737
  *) ac_config_targets="$ac_config_targets $1" ;;
4159
3738
 
4160
3739
  esac
4161
3740
  shift
4171
3750
_ACEOF
4172
3751
cat >>$CONFIG_STATUS <<_ACEOF
4173
3752
if \$ac_cs_recheck; then
4174
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4175
 
  CONFIG_SHELL=$SHELL
4176
 
  export CONFIG_SHELL
4177
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
3753
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
3754
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4178
3755
fi
4179
3756
 
4180
3757
_ACEOF
4181
 
cat >>$CONFIG_STATUS <<\_ACEOF
4182
 
exec 5>>config.log
4183
 
{
4184
 
  echo
4185
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4186
 
## Running $as_me. ##
4187
 
_ASBOX
4188
 
  echo "$ac_log"
4189
 
} >&5
4190
 
 
4191
 
_ACEOF
4192
 
cat >>$CONFIG_STATUS <<_ACEOF
4193
 
_ACEOF
4194
 
 
4195
 
cat >>$CONFIG_STATUS <<\_ACEOF
4196
 
 
4197
 
# Handling of arguments.
 
3758
 
 
3759
 
 
3760
 
 
3761
 
 
3762
 
 
3763
cat >>$CONFIG_STATUS <<\_ACEOF
4198
3764
for ac_config_target in $ac_config_targets
4199
3765
do
4200
 
  case $ac_config_target in
4201
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4202
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4203
 
    "Doc/Makefile") CONFIG_FILES="$CONFIG_FILES Doc/Makefile" ;;
4204
 
    "src/include/mod_python.h") CONFIG_FILES="$CONFIG_FILES src/include/mod_python.h" ;;
4205
 
    "test/testconf.py") CONFIG_FILES="$CONFIG_FILES test/testconf.py" ;;
4206
 
    "dist/setup.py") CONFIG_FILES="$CONFIG_FILES dist/setup.py" ;;
4207
 
    "dist/Makefile") CONFIG_FILES="$CONFIG_FILES dist/Makefile" ;;
4208
 
 
 
3766
  case "$ac_config_target" in
 
3767
  # Handling of arguments.
 
3768
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3769
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
3770
  "Doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES Doc/Makefile" ;;
 
3771
  "src/include/mod_python.h" ) CONFIG_FILES="$CONFIG_FILES src/include/mod_python.h" ;;
 
3772
  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
3773
  "test/testconf.py" ) CONFIG_FILES="$CONFIG_FILES test/testconf.py" ;;
 
3774
  "dist/setup.py" ) CONFIG_FILES="$CONFIG_FILES dist/setup.py" ;;
 
3775
  "dist/Makefile" ) CONFIG_FILES="$CONFIG_FILES dist/Makefile" ;;
4209
3776
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4210
3777
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4211
3778
   { (exit 1); exit 1; }; };;
4212
3779
  esac
4213
3780
done
4214
3781
 
4215
 
 
4216
3782
# If the user did not use the arguments to specify the items to instantiate,
4217
3783
# then the envvar interface is used.  Set only those that are not.
4218
3784
# We use the long form for the default assignment because of an extremely
4222
3788
fi
4223
3789
 
4224
3790
# Have a temporary directory for convenience.  Make it in the build tree
4225
 
# simply because there is no reason against having it here, and in addition,
 
3791
# simply because there is no reason to put it here, and in addition,
4226
3792
# creating and moving files from /tmp can sometimes cause problems.
4227
 
# Hook for its removal unless debugging.
4228
 
# Note that there is a small window in which the directory will not be cleaned:
4229
 
# after its creation but before its name has been assigned to `$tmp'.
 
3793
# Create a temporary directory, and hook for its removal unless debugging.
4230
3794
$debug ||
4231
3795
{
4232
 
  tmp=
4233
 
  trap 'exit_status=$?
4234
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4235
 
' 0
 
3796
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4236
3797
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4237
3798
}
 
3799
 
4238
3800
# Create a (secure) tmp directory for tmp files.
4239
3801
 
4240
3802
{
4241
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
3803
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4242
3804
  test -n "$tmp" && test -d "$tmp"
4243
3805
}  ||
4244
3806
{
4245
 
  tmp=./conf$$-$RANDOM
4246
 
  (umask 077 && mkdir "$tmp")
 
3807
  tmp=./confstat$$-$RANDOM
 
3808
  (umask 077 && mkdir $tmp)
4247
3809
} ||
4248
3810
{
4249
3811
   echo "$me: cannot create a temporary directory in ." >&2
4250
3812
   { (exit 1); exit 1; }
4251
3813
}
4252
3814
 
 
3815
_ACEOF
 
3816
 
 
3817
cat >>$CONFIG_STATUS <<_ACEOF
 
3818
 
4253
3819
#
4254
 
# Set up the sed scripts for CONFIG_FILES section.
 
3820
# CONFIG_FILES section.
4255
3821
#
4256
3822
 
4257
3823
# No need to generate the scripts if there are no CONFIG_FILES.
4258
3824
# This happens for instance when ./config.status config.h
4259
 
if test -n "$CONFIG_FILES"; then
4260
 
 
4261
 
_ACEOF
4262
 
 
4263
 
 
4264
 
 
4265
 
ac_delim='%!_!# '
4266
 
for ac_last_try in false false false false false :; do
4267
 
  cat >conf$$subs.sed <<_ACEOF
4268
 
SHELL!$SHELL$ac_delim
4269
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4270
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4271
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4272
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4273
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4274
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4275
 
exec_prefix!$exec_prefix$ac_delim
4276
 
prefix!$prefix$ac_delim
4277
 
program_transform_name!$program_transform_name$ac_delim
4278
 
bindir!$bindir$ac_delim
4279
 
sbindir!$sbindir$ac_delim
4280
 
libexecdir!$libexecdir$ac_delim
4281
 
datarootdir!$datarootdir$ac_delim
4282
 
datadir!$datadir$ac_delim
4283
 
sysconfdir!$sysconfdir$ac_delim
4284
 
sharedstatedir!$sharedstatedir$ac_delim
4285
 
localstatedir!$localstatedir$ac_delim
4286
 
includedir!$includedir$ac_delim
4287
 
oldincludedir!$oldincludedir$ac_delim
4288
 
docdir!$docdir$ac_delim
4289
 
infodir!$infodir$ac_delim
4290
 
htmldir!$htmldir$ac_delim
4291
 
dvidir!$dvidir$ac_delim
4292
 
pdfdir!$pdfdir$ac_delim
4293
 
psdir!$psdir$ac_delim
4294
 
libdir!$libdir$ac_delim
4295
 
localedir!$localedir$ac_delim
4296
 
mandir!$mandir$ac_delim
4297
 
DEFS!$DEFS$ac_delim
4298
 
ECHO_C!$ECHO_C$ac_delim
4299
 
ECHO_N!$ECHO_N$ac_delim
4300
 
ECHO_T!$ECHO_T$ac_delim
4301
 
LIBS!$LIBS$ac_delim
4302
 
build_alias!$build_alias$ac_delim
4303
 
host_alias!$host_alias$ac_delim
4304
 
target_alias!$target_alias$ac_delim
4305
 
CC!$CC$ac_delim
4306
 
CFLAGS!$CFLAGS$ac_delim
4307
 
LDFLAGS!$LDFLAGS$ac_delim
4308
 
CPPFLAGS!$CPPFLAGS$ac_delim
4309
 
ac_ct_CC!$ac_ct_CC$ac_delim
4310
 
EXEEXT!$EXEEXT$ac_delim
4311
 
OBJEXT!$OBJEXT$ac_delim
4312
 
AR!$AR$ac_delim
4313
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4314
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4315
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
4316
 
SET_MAKE!$SET_MAKE$ac_delim
4317
 
APXS!$APXS$ac_delim
4318
 
DSO!$DSO$ac_delim
4319
 
ALL!$ALL$ac_delim
4320
 
LIBEXECDIR!$LIBEXECDIR$ac_delim
4321
 
SOLARIS_HACKS!$SOLARIS_HACKS$ac_delim
4322
 
HTTPD!$HTTPD$ac_delim
4323
 
AP_SRC!$AP_SRC$ac_delim
4324
 
AP_SRC_OWN!$AP_SRC_OWN$ac_delim
4325
 
AP_SRC_GRP!$AP_SRC_GRP$ac_delim
4326
 
STATIC!$STATIC$ac_delim
4327
 
PYTHON_BIN!$PYTHON_BIN$ac_delim
4328
 
PY_STD_LIB!$PY_STD_LIB$ac_delim
4329
 
INCLUDES!$INCLUDES$ac_delim
4330
 
TEST_SERVER_ROOT!$TEST_SERVER_ROOT$ac_delim
4331
 
MOD_PYTHON_SO!$MOD_PYTHON_SO$ac_delim
4332
 
MP_VERSION!$MP_VERSION$ac_delim
4333
 
PYTHON_SRC!$PYTHON_SRC$ac_delim
4334
 
MUTEX_DIR!$MUTEX_DIR$ac_delim
4335
 
MAX_LOCKS!$MAX_LOCKS$ac_delim
4336
 
LEX!$LEX$ac_delim
4337
 
LIBOBJS!$LIBOBJS$ac_delim
4338
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
4339
 
_ACEOF
4340
 
 
4341
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
4342
 
    break
4343
 
  elif $ac_last_try; then
4344
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4345
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4346
 
   { (exit 1); exit 1; }; }
4347
 
  else
4348
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
3825
if test -n "\$CONFIG_FILES"; then
 
3826
  # Protect against being on the right side of a sed subst in config.status.
 
3827
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
3828
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
3829
s,@SHELL@,$SHELL,;t t
 
3830
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
3831
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
3832
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
3833
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
3834
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
3835
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
3836
s,@exec_prefix@,$exec_prefix,;t t
 
3837
s,@prefix@,$prefix,;t t
 
3838
s,@program_transform_name@,$program_transform_name,;t t
 
3839
s,@bindir@,$bindir,;t t
 
3840
s,@sbindir@,$sbindir,;t t
 
3841
s,@libexecdir@,$libexecdir,;t t
 
3842
s,@datadir@,$datadir,;t t
 
3843
s,@sysconfdir@,$sysconfdir,;t t
 
3844
s,@sharedstatedir@,$sharedstatedir,;t t
 
3845
s,@localstatedir@,$localstatedir,;t t
 
3846
s,@libdir@,$libdir,;t t
 
3847
s,@includedir@,$includedir,;t t
 
3848
s,@oldincludedir@,$oldincludedir,;t t
 
3849
s,@infodir@,$infodir,;t t
 
3850
s,@mandir@,$mandir,;t t
 
3851
s,@build_alias@,$build_alias,;t t
 
3852
s,@host_alias@,$host_alias,;t t
 
3853
s,@target_alias@,$target_alias,;t t
 
3854
s,@DEFS@,$DEFS,;t t
 
3855
s,@ECHO_C@,$ECHO_C,;t t
 
3856
s,@ECHO_N@,$ECHO_N,;t t
 
3857
s,@ECHO_T@,$ECHO_T,;t t
 
3858
s,@LIBS@,$LIBS,;t t
 
3859
s,@CC@,$CC,;t t
 
3860
s,@CFLAGS@,$CFLAGS,;t t
 
3861
s,@LDFLAGS@,$LDFLAGS,;t t
 
3862
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
3863
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
3864
s,@EXEEXT@,$EXEEXT,;t t
 
3865
s,@OBJEXT@,$OBJEXT,;t t
 
3866
s,@AR@,$AR,;t t
 
3867
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
3868
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
3869
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
3870
s,@SET_MAKE@,$SET_MAKE,;t t
 
3871
s,@APXS@,$APXS,;t t
 
3872
s,@DSO@,$DSO,;t t
 
3873
s,@ALL@,$ALL,;t t
 
3874
s,@LIBEXECDIR@,$LIBEXECDIR,;t t
 
3875
s,@SOLARIS_HACKS@,$SOLARIS_HACKS,;t t
 
3876
s,@HTTPD@,$HTTPD,;t t
 
3877
s,@AP_SRC@,$AP_SRC,;t t
 
3878
s,@AP_SRC_OWN@,$AP_SRC_OWN,;t t
 
3879
s,@AP_SRC_GRP@,$AP_SRC_GRP,;t t
 
3880
s,@STATIC@,$STATIC,;t t
 
3881
s,@PYTHON_BIN@,$PYTHON_BIN,;t t
 
3882
s,@PY_STD_LIB@,$PY_STD_LIB,;t t
 
3883
s,@INCLUDES@,$INCLUDES,;t t
 
3884
s,@TEST_SERVER_ROOT@,$TEST_SERVER_ROOT,;t t
 
3885
s,@MOD_PYTHON_SO@,$MOD_PYTHON_SO,;t t
 
3886
s,@MP_VERSION@,$MP_VERSION,;t t
 
3887
s,@PYTHON_SRC@,$PYTHON_SRC,;t t
 
3888
s,@MUTEX_DIR@,$MUTEX_DIR,;t t
 
3889
s,@MAX_LOCKS@,$MAX_LOCKS,;t t
 
3890
s,@LEX@,$LEX,;t t
 
3891
s,@LIBOBJS@,$LIBOBJS,;t t
 
3892
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
3893
CEOF
 
3894
 
 
3895
_ACEOF
 
3896
 
 
3897
  cat >>$CONFIG_STATUS <<\_ACEOF
 
3898
  # Split the substitutions into bite-sized pieces for seds with
 
3899
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
3900
  ac_max_sed_lines=48
 
3901
  ac_sed_frag=1 # Number of current file.
 
3902
  ac_beg=1 # First line for current file.
 
3903
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
3904
  ac_more_lines=:
 
3905
  ac_sed_cmds=
 
3906
  while $ac_more_lines; do
 
3907
    if test $ac_beg -gt 1; then
 
3908
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3909
    else
 
3910
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3911
    fi
 
3912
    if test ! -s $tmp/subs.frag; then
 
3913
      ac_more_lines=false
 
3914
    else
 
3915
      # The purpose of the label and of the branching condition is to
 
3916
      # speed up the sed processing (if there are no `@' at all, there
 
3917
      # is no need to browse any of the substitutions).
 
3918
      # These are the two extra sed commands mentioned above.
 
3919
      (echo ':t
 
3920
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
3921
      if test -z "$ac_sed_cmds"; then
 
3922
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
3923
      else
 
3924
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
3925
      fi
 
3926
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
3927
      ac_beg=$ac_end
 
3928
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
3929
    fi
 
3930
  done
 
3931
  if test -z "$ac_sed_cmds"; then
 
3932
    ac_sed_cmds=cat
4349
3933
  fi
4350
 
done
4351
 
 
4352
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4353
 
if test -n "$ac_eof"; then
4354
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4355
 
  ac_eof=`expr $ac_eof + 1`
4356
 
fi
4357
 
 
4358
 
cat >>$CONFIG_STATUS <<_ACEOF
4359
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4360
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4361
 
_ACEOF
4362
 
sed '
4363
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4364
 
s/^/s,@/; s/!/@,|#_!!_#|/
4365
 
:n
4366
 
t n
4367
 
s/'"$ac_delim"'$/,g/; t
4368
 
s/$/\\/; p
4369
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4370
 
' >>$CONFIG_STATUS <conf$$subs.sed
4371
 
rm -f conf$$subs.sed
4372
 
cat >>$CONFIG_STATUS <<_ACEOF
4373
 
:end
4374
 
s/|#_!!_#|//g
4375
 
CEOF$ac_eof
4376
 
_ACEOF
4377
 
 
4378
 
 
4379
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4380
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4381
 
# trailing colons and then remove the whole line if VPATH becomes empty
4382
 
# (actually we leave an empty line to preserve line numbers).
4383
 
if test "x$srcdir" = x.; then
4384
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4385
 
s/:*\$(srcdir):*/:/
4386
 
s/:*\${srcdir}:*/:/
4387
 
s/:*@srcdir@:*/:/
4388
 
s/^\([^=]*=[     ]*\):*/\1/
4389
 
s/:*$//
4390
 
s/^[^=]*=[       ]*$//
4391
 
}'
4392
 
fi
4393
 
 
4394
 
cat >>$CONFIG_STATUS <<\_ACEOF
4395
3934
fi # test -n "$CONFIG_FILES"
4396
3935
 
4397
 
 
4398
 
for ac_tag in  :F $CONFIG_FILES
4399
 
do
4400
 
  case $ac_tag in
4401
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
4402
 
  esac
4403
 
  case $ac_mode$ac_tag in
4404
 
  :[FHL]*:*);;
4405
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4406
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4407
 
   { (exit 1); exit 1; }; };;
4408
 
  :[FH]-) ac_tag=-:-;;
4409
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4410
 
  esac
4411
 
  ac_save_IFS=$IFS
4412
 
  IFS=:
4413
 
  set x $ac_tag
4414
 
  IFS=$ac_save_IFS
4415
 
  shift
4416
 
  ac_file=$1
4417
 
  shift
4418
 
 
4419
 
  case $ac_mode in
4420
 
  :L) ac_source=$1;;
4421
 
  :[FH])
4422
 
    ac_file_inputs=
4423
 
    for ac_f
4424
 
    do
4425
 
      case $ac_f in
4426
 
      -) ac_f="$tmp/stdin";;
4427
 
      *) # Look for the file first in the build tree, then in the source tree
4428
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4429
 
         # because $ac_f cannot contain `:'.
4430
 
         test -f "$ac_f" ||
4431
 
           case $ac_f in
4432
 
           [\\/$]*) false;;
4433
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4434
 
           esac ||
4435
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4436
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4437
 
   { (exit 1); exit 1; }; };;
4438
 
      esac
4439
 
      ac_file_inputs="$ac_file_inputs $ac_f"
4440
 
    done
4441
 
 
4442
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
4443
 
    # use $as_me), people would be surprised to read:
4444
 
    #    /* config.h.  Generated by config.status.  */
4445
 
    configure_input="Generated from "`IFS=:
4446
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4447
 
    if test x"$ac_file" != x-; then
4448
 
      configure_input="$ac_file.  $configure_input"
4449
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
4450
 
echo "$as_me: creating $ac_file" >&6;}
4451
 
    fi
4452
 
 
4453
 
    case $ac_tag in
4454
 
    *:-:* | *:-) cat >"$tmp/stdin";;
4455
 
    esac
4456
 
    ;;
4457
 
  esac
4458
 
 
4459
 
  ac_dir=`$as_dirname -- "$ac_file" ||
 
3936
_ACEOF
 
3937
cat >>$CONFIG_STATUS <<\_ACEOF
 
3938
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
3939
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
3940
  case $ac_file in
 
3941
  - | *:- | *:-:* ) # input from stdin
 
3942
        cat >$tmp/stdin
 
3943
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3944
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3945
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3946
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3947
  * )   ac_file_in=$ac_file.in ;;
 
3948
  esac
 
3949
 
 
3950
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
3951
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4460
3952
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4461
3953
         X"$ac_file" : 'X\(//\)[^/]' \| \
4462
3954
         X"$ac_file" : 'X\(//\)$' \| \
4463
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
3955
         X"$ac_file" : 'X\(/\)' \| \
 
3956
         .     : '\(.\)' 2>/dev/null ||
4464
3957
echo X"$ac_file" |
4465
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4466
 
            s//\1/
4467
 
            q
4468
 
          }
4469
 
          /^X\(\/\/\)[^/].*/{
4470
 
            s//\1/
4471
 
            q
4472
 
          }
4473
 
          /^X\(\/\/\)$/{
4474
 
            s//\1/
4475
 
            q
4476
 
          }
4477
 
          /^X\(\/\).*/{
4478
 
            s//\1/
4479
 
            q
4480
 
          }
4481
 
          s/.*/./; q'`
4482
 
  { as_dir="$ac_dir"
4483
 
  case $as_dir in #(
4484
 
  -*) as_dir=./$as_dir;;
4485
 
  esac
4486
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
3958
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3959
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3960
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3961
          /^X\(\/\).*/{ s//\1/; q; }
 
3962
          s/.*/./; q'`
 
3963
  { if $as_mkdir_p; then
 
3964
    mkdir -p "$ac_dir"
 
3965
  else
 
3966
    as_dir="$ac_dir"
4487
3967
    as_dirs=
4488
 
    while :; do
4489
 
      case $as_dir in #(
4490
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4491
 
      *) as_qdir=$as_dir;;
4492
 
      esac
4493
 
      as_dirs="'$as_qdir' $as_dirs"
4494
 
      as_dir=`$as_dirname -- "$as_dir" ||
 
3968
    while test ! -d "$as_dir"; do
 
3969
      as_dirs="$as_dir $as_dirs"
 
3970
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4495
3971
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4496
3972
         X"$as_dir" : 'X\(//\)[^/]' \| \
4497
3973
         X"$as_dir" : 'X\(//\)$' \| \
4498
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
3974
         X"$as_dir" : 'X\(/\)' \| \
 
3975
         .     : '\(.\)' 2>/dev/null ||
4499
3976
echo X"$as_dir" |
4500
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4501
 
            s//\1/
4502
 
            q
4503
 
          }
4504
 
          /^X\(\/\/\)[^/].*/{
4505
 
            s//\1/
4506
 
            q
4507
 
          }
4508
 
          /^X\(\/\/\)$/{
4509
 
            s//\1/
4510
 
            q
4511
 
          }
4512
 
          /^X\(\/\).*/{
4513
 
            s//\1/
4514
 
            q
4515
 
          }
4516
 
          s/.*/./; q'`
4517
 
      test -d "$as_dir" && break
 
3977
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3978
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3979
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3980
          /^X\(\/\).*/{ s//\1/; q; }
 
3981
          s/.*/./; q'`
4518
3982
    done
4519
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4520
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4521
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
3983
    test ! -n "$as_dirs" || mkdir $as_dirs
 
3984
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
3985
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4522
3986
   { (exit 1); exit 1; }; }; }
 
3987
 
4523
3988
  ac_builddir=.
4524
3989
 
4525
 
case "$ac_dir" in
4526
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4527
 
*)
 
3990
if test "$ac_dir" != .; then
4528
3991
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4529
 
  # A ".." for each directory in $ac_dir_suffix.
4530
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4531
 
  case $ac_top_builddir_sub in
4532
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4533
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4534
 
  esac ;;
4535
 
esac
4536
 
ac_abs_top_builddir=$ac_pwd
4537
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4538
 
# for backward compatibility:
4539
 
ac_top_builddir=$ac_top_build_prefix
 
3992
  # A "../" for each directory in $ac_dir_suffix.
 
3993
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
3994
else
 
3995
  ac_dir_suffix= ac_top_builddir=
 
3996
fi
4540
3997
 
4541
3998
case $srcdir in
4542
 
  .)  # We are building in place.
 
3999
  .)  # No --srcdir option.  We are building in place.
4543
4000
    ac_srcdir=.
4544
 
    ac_top_srcdir=$ac_top_builddir_sub
4545
 
    ac_abs_top_srcdir=$ac_pwd ;;
4546
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
4001
    if test -z "$ac_top_builddir"; then
 
4002
       ac_top_srcdir=.
 
4003
    else
 
4004
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4005
    fi ;;
 
4006
  [\\/]* | ?:[\\/]* )  # Absolute path.
4547
4007
    ac_srcdir=$srcdir$ac_dir_suffix;
4548
 
    ac_top_srcdir=$srcdir
4549
 
    ac_abs_top_srcdir=$srcdir ;;
4550
 
  *) # Relative name.
4551
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4552
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4553
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4554
 
esac
4555
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4556
 
 
4557
 
 
4558
 
  case $ac_mode in
4559
 
  :F)
4560
 
  #
4561
 
  # CONFIG_FILE
4562
 
  #
 
4008
    ac_top_srcdir=$srcdir ;;
 
4009
  *) # Relative path.
 
4010
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4011
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4012
esac
 
4013
 
 
4014
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4015
# the directories may not exist.
 
4016
case `pwd` in
 
4017
.) ac_abs_builddir="$ac_dir";;
 
4018
*)
 
4019
  case "$ac_dir" in
 
4020
  .) ac_abs_builddir=`pwd`;;
 
4021
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4022
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4023
  esac;;
 
4024
esac
 
4025
case $ac_abs_builddir in
 
4026
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4027
*)
 
4028
  case ${ac_top_builddir}. in
 
4029
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4030
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4031
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4032
  esac;;
 
4033
esac
 
4034
case $ac_abs_builddir in
 
4035
.) ac_abs_srcdir=$ac_srcdir;;
 
4036
*)
 
4037
  case $ac_srcdir in
 
4038
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4039
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4040
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4041
  esac;;
 
4042
esac
 
4043
case $ac_abs_builddir in
 
4044
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4045
*)
 
4046
  case $ac_top_srcdir in
 
4047
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4048
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4049
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4050
  esac;;
 
4051
esac
 
4052
 
4563
4053
 
4564
4054
  case $INSTALL in
4565
4055
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4566
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
4056
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4567
4057
  esac
4568
 
_ACEOF
4569
 
 
4570
 
cat >>$CONFIG_STATUS <<\_ACEOF
4571
 
# If the template does not know about datarootdir, expand it.
4572
 
# FIXME: This hack should be removed a few years after 2.60.
4573
 
ac_datarootdir_hack=; ac_datarootdir_seen=
4574
 
 
4575
 
case `sed -n '/datarootdir/ {
4576
 
  p
4577
 
  q
4578
 
}
4579
 
/@datadir@/p
4580
 
/@docdir@/p
4581
 
/@infodir@/p
4582
 
/@localedir@/p
4583
 
/@mandir@/p
4584
 
' $ac_file_inputs` in
4585
 
*datarootdir*) ac_datarootdir_seen=yes;;
4586
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4587
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4588
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4589
 
_ACEOF
4590
 
cat >>$CONFIG_STATUS <<_ACEOF
4591
 
  ac_datarootdir_hack='
4592
 
  s&@datadir@&$datadir&g
4593
 
  s&@docdir@&$docdir&g
4594
 
  s&@infodir@&$infodir&g
4595
 
  s&@localedir@&$localedir&g
4596
 
  s&@mandir@&$mandir&g
4597
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
4598
 
esac
4599
 
_ACEOF
4600
 
 
4601
 
# Neutralize VPATH when `$srcdir' = `.'.
4602
 
# Shell code in configure.ac might set extrasub.
4603
 
# FIXME: do we really want to maintain this feature?
 
4058
 
 
4059
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4060
  # use $as_me), people would be surprised to read:
 
4061
  #    /* config.h.  Generated by config.status.  */
 
4062
  if test x"$ac_file" = x-; then
 
4063
    configure_input=
 
4064
  else
 
4065
    configure_input="$ac_file.  "
 
4066
  fi
 
4067
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
4068
                                     sed 's,.*/,,'` by configure."
 
4069
 
 
4070
  # First look for the input files in the build tree, otherwise in the
 
4071
  # src tree.
 
4072
  ac_file_inputs=`IFS=:
 
4073
    for f in $ac_file_in; do
 
4074
      case $f in
 
4075
      -) echo $tmp/stdin ;;
 
4076
      [\\/$]*)
 
4077
         # Absolute (can't be DOS-style, as IFS=:)
 
4078
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4079
echo "$as_me: error: cannot find input file: $f" >&2;}
 
4080
   { (exit 1); exit 1; }; }
 
4081
         echo "$f";;
 
4082
      *) # Relative
 
4083
         if test -f "$f"; then
 
4084
           # Build tree
 
4085
           echo "$f"
 
4086
         elif test -f "$srcdir/$f"; then
 
4087
           # Source tree
 
4088
           echo "$srcdir/$f"
 
4089
         else
 
4090
           # /dev/null tree
 
4091
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4092
echo "$as_me: error: cannot find input file: $f" >&2;}
 
4093
   { (exit 1); exit 1; }; }
 
4094
         fi;;
 
4095
      esac
 
4096
    done` || { (exit 1); exit 1; }
 
4097
 
 
4098
  if test x"$ac_file" != x-; then
 
4099
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4100
echo "$as_me: creating $ac_file" >&6;}
 
4101
    rm -f "$ac_file"
 
4102
  fi
 
4103
_ACEOF
4604
4104
cat >>$CONFIG_STATUS <<_ACEOF
4605
4105
  sed "$ac_vpsub
4606
4106
$extrasub
4608
4108
cat >>$CONFIG_STATUS <<\_ACEOF
4609
4109
:t
4610
4110
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4611
 
s&@configure_input@&$configure_input&;t t
4612
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
4613
 
s&@srcdir@&$ac_srcdir&;t t
4614
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4615
 
s&@top_srcdir@&$ac_top_srcdir&;t t
4616
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4617
 
s&@builddir@&$ac_builddir&;t t
4618
 
s&@abs_builddir@&$ac_abs_builddir&;t t
4619
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4620
 
s&@INSTALL@&$ac_INSTALL&;t t
4621
 
$ac_datarootdir_hack
4622
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4623
 
 
4624
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4625
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4626
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4627
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4628
 
which seems to be undefined.  Please make sure it is defined." >&5
4629
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4630
 
which seems to be undefined.  Please make sure it is defined." >&2;}
4631
 
 
4632
 
  rm -f "$tmp/stdin"
4633
 
  case $ac_file in
4634
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
4635
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4636
 
  esac
4637
 
 ;;
4638
 
 
4639
 
 
4640
 
 
4641
 
  esac
4642
 
 
4643
 
done # for ac_tag
4644
 
 
 
4111
s,@configure_input@,$configure_input,;t t
 
4112
s,@srcdir@,$ac_srcdir,;t t
 
4113
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
4114
s,@top_srcdir@,$ac_top_srcdir,;t t
 
4115
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
4116
s,@builddir@,$ac_builddir,;t t
 
4117
s,@abs_builddir@,$ac_abs_builddir,;t t
 
4118
s,@top_builddir@,$ac_top_builddir,;t t
 
4119
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
4120
s,@INSTALL@,$ac_INSTALL,;t t
 
4121
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
4122
  rm -f $tmp/stdin
 
4123
  if test x"$ac_file" != x-; then
 
4124
    mv $tmp/out $ac_file
 
4125
  else
 
4126
    cat $tmp/out
 
4127
    rm -f $tmp/out
 
4128
  fi
 
4129
 
 
4130
done
 
4131
_ACEOF
 
4132
 
 
4133
cat >>$CONFIG_STATUS <<\_ACEOF
4645
4134
 
4646
4135
{ (exit 0); exit 0; }
4647
4136
_ACEOF