~ubuntu-branches/ubuntu/karmic/ldap-account-manager/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Roland Gruber
  • Date: 2006-05-14 14:00:29 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060514140029-chr2mf30u7bajebu
Tags: 1.0.2-1
Updated to new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.59 for ldap-account-manager 1.0.2.
 
4
#
 
5
# Report bugs to <lam-public@lists.sourceforge.net>.
 
6
#
 
7
# Copyright (C) 2003 Free Software Foundation, Inc.
 
8
# This configure script is free software; the Free Software Foundation
 
9
# gives unlimited permission to copy, distribute and modify it.
 
10
## --------------------- ##
 
11
## M4sh Initialization.  ##
 
12
## --------------------- ##
 
13
 
 
14
# Be Bourne compatible
 
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
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
22
  set -o posix
 
23
fi
 
24
DUALCASE=1; export DUALCASE # for MKS sh
 
25
 
 
26
# Support unset when possible.
 
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
28
  as_unset=unset
 
29
else
 
30
  as_unset=false
 
31
fi
 
32
 
 
33
 
 
34
# Work around bugs in pre-3.0 UWIN ksh.
 
35
$as_unset ENV MAIL MAILPATH
 
36
PS1='$ '
 
37
PS2='> '
 
38
PS4='+ '
 
39
 
 
40
# NLS nuisances.
 
41
for as_var in \
 
42
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
43
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
44
  LC_TELEPHONE LC_TIME
 
45
do
 
46
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
47
    eval $as_var=C; export $as_var
 
48
  else
 
49
    $as_unset $as_var
 
50
  fi
 
51
done
 
52
 
 
53
# Required to use basename.
 
54
if expr a : '\(a\)' >/dev/null 2>&1; then
 
55
  as_expr=expr
 
56
else
 
57
  as_expr=false
 
58
fi
 
59
 
 
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
61
  as_basename=basename
 
62
else
 
63
  as_basename=false
 
64
fi
 
65
 
 
66
 
 
67
# Name of the executable.
 
68
as_me=`$as_basename "$0" ||
 
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
70
         X"$0" : 'X\(//\)$' \| \
 
71
         X"$0" : 'X\(/\)$' \| \
 
72
         .     : '\(.\)' 2>/dev/null ||
 
73
echo X/"$0" |
 
74
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
75
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
76
          /^X\/\(\/\).*/{ s//\1/; q; }
 
77
          s/.*/./; q'`
 
78
 
 
79
 
 
80
# PATH needs CR, and LINENO needs CR and PATH.
 
81
# Avoid depending upon Character Ranges.
 
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
85
as_cr_digits='0123456789'
 
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
87
 
 
88
# The user is always right.
 
89
if test "${PATH_SEPARATOR+set}" != set; then
 
90
  echo "#! /bin/sh" >conf$$.sh
 
91
  echo  "exit 0"   >>conf$$.sh
 
92
  chmod +x conf$$.sh
 
93
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
94
    PATH_SEPARATOR=';'
 
95
  else
 
96
    PATH_SEPARATOR=:
 
97
  fi
 
98
  rm -f conf$$.sh
 
99
fi
 
100
 
 
101
 
 
102
  as_lineno_1=$LINENO
 
103
  as_lineno_2=$LINENO
 
104
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
105
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
106
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
107
  # Find who we are.  Look in the path if we contain no path at all
 
108
  # relative or not.
 
109
  case $0 in
 
110
    *[\\/]* ) as_myself=$0 ;;
 
111
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
112
for as_dir in $PATH
 
113
do
 
114
  IFS=$as_save_IFS
 
115
  test -z "$as_dir" && as_dir=.
 
116
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
117
done
 
118
 
 
119
       ;;
 
120
  esac
 
121
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
122
  # in which case we are not to be found in the path.
 
123
  if test "x$as_myself" = x; then
 
124
    as_myself=$0
 
125
  fi
 
126
  if test ! -f "$as_myself"; then
 
127
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
128
   { (exit 1); exit 1; }; }
 
129
  fi
 
130
  case $CONFIG_SHELL in
 
131
  '')
 
132
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
134
do
 
135
  IFS=$as_save_IFS
 
136
  test -z "$as_dir" && as_dir=.
 
137
  for as_base in sh bash ksh sh5; do
 
138
         case $as_dir in
 
139
         /*)
 
140
           if ("$as_dir/$as_base" -c '
 
141
  as_lineno_1=$LINENO
 
142
  as_lineno_2=$LINENO
 
143
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
144
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
145
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
146
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
147
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
148
             CONFIG_SHELL=$as_dir/$as_base
 
149
             export CONFIG_SHELL
 
150
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
151
           fi;;
 
152
         esac
 
153
       done
 
154
done
 
155
;;
 
156
  esac
 
157
 
 
158
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
159
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
160
  # line-number line before each line; the second 'sed' does the real
 
161
  # work.  The second script uses 'N' to pair each line-number line
 
162
  # with the numbered line, and appends trailing '-' during
 
163
  # substitution so that $LINENO is not a special case at line end.
 
164
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
165
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
166
  sed '=' <$as_myself |
 
167
    sed '
 
168
      N
 
169
      s,$,-,
 
170
      : loop
 
171
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
172
      t loop
 
173
      s,-$,,
 
174
      s,^['$as_cr_digits']*\n,,
 
175
    ' >$as_me.lineno &&
 
176
  chmod +x $as_me.lineno ||
 
177
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
178
   { (exit 1); exit 1; }; }
 
179
 
 
180
  # Don't try to exec as it changes $[0], causing all sort of problems
 
181
  # (the dirname of $[0] is not the place where we might find the
 
182
  # original and so on.  Autoconf is especially sensible to this).
 
183
  . ./$as_me.lineno
 
184
  # Exit status is that of the last command.
 
185
  exit
 
186
}
 
187
 
 
188
 
 
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
190
  *c*,-n*) ECHO_N= ECHO_C='
 
191
' ECHO_T='      ' ;;
 
192
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
193
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
194
esac
 
195
 
 
196
if expr a : '\(a\)' >/dev/null 2>&1; then
 
197
  as_expr=expr
 
198
else
 
199
  as_expr=false
 
200
fi
 
201
 
 
202
rm -f conf$$ conf$$.exe conf$$.file
 
203
echo >conf$$.file
 
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
205
  # We could just check for DJGPP; but this test a) works b) is more generic
 
206
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
207
  if test -f conf$$.exe; then
 
208
    # Don't use ln at all; we don't have any links
 
209
    as_ln_s='cp -p'
 
210
  else
 
211
    as_ln_s='ln -s'
 
212
  fi
 
213
elif ln conf$$.file conf$$ 2>/dev/null; then
 
214
  as_ln_s=ln
 
215
else
 
216
  as_ln_s='cp -p'
 
217
fi
 
218
rm -f conf$$ conf$$.exe conf$$.file
 
219
 
 
220
if mkdir -p . 2>/dev/null; then
 
221
  as_mkdir_p=:
 
222
else
 
223
  test -d ./-p && rmdir ./-p
 
224
  as_mkdir_p=false
 
225
fi
 
226
 
 
227
as_executable_p="test -f"
 
228
 
 
229
# Sed expression to map a string onto a valid CPP name.
 
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
231
 
 
232
# Sed expression to map a string onto a valid variable name.
 
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
234
 
 
235
 
 
236
# IFS
 
237
# We need space, tab and new line, in precisely that order.
 
238
as_nl='
 
239
'
 
240
IFS="   $as_nl"
 
241
 
 
242
# CDPATH.
 
243
$as_unset CDPATH
 
244
 
 
245
 
 
246
# Name of the host.
 
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
248
# so uname gets run too.
 
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
250
 
 
251
exec 6>&1
 
252
 
 
253
#
 
254
# Initializations.
 
255
#
 
256
ac_default_prefix=/usr/local
 
257
ac_config_libobj_dir=.
 
258
cross_compiling=no
 
259
subdirs=
 
260
MFLAGS=
 
261
MAKEFLAGS=
 
262
SHELL=${CONFIG_SHELL-/bin/sh}
 
263
 
 
264
# Maximum number of lines to put in a shell here document.
 
265
# This variable seems obsolete.  It should probably be removed, and
 
266
# only ac_max_sed_lines should be used.
 
267
: ${ac_max_here_lines=38}
 
268
 
 
269
# Identity of this package.
 
270
PACKAGE_NAME='ldap-account-manager'
 
271
PACKAGE_TARNAME='ldap-account-manager'
 
272
PACKAGE_VERSION='1.0.2'
 
273
PACKAGE_STRING='ldap-account-manager 1.0.2'
 
274
PACKAGE_BUGREPORT='lam-public@lists.sourceforge.net'
 
275
 
 
276
ac_unique_file="INSTALL"
 
277
ac_default_prefix=/usr/local/lam
 
278
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 SET_MAKE LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CHMOD CHOWN GREP ID MKDIR RM TAR COPY CP COPY_PROG HTTPD_USER HTTPD_GROUP perl_path PERL_PATH LIBOBJS LTLIBOBJS'
 
279
ac_subst_files=''
 
280
 
 
281
# Initialize some variables set by options.
 
282
ac_init_help=
 
283
ac_init_version=false
 
284
# The variables have the same names as the options, with
 
285
# dashes changed to underlines.
 
286
cache_file=/dev/null
 
287
exec_prefix=NONE
 
288
no_create=
 
289
no_recursion=
 
290
prefix=NONE
 
291
program_prefix=NONE
 
292
program_suffix=NONE
 
293
program_transform_name=s,x,x,
 
294
silent=
 
295
site=
 
296
srcdir=
 
297
verbose=
 
298
x_includes=NONE
 
299
x_libraries=NONE
 
300
 
 
301
# Installation directory options.
 
302
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
303
# and all the variables that are supposed to be based on exec_prefix
 
304
# by default will actually change.
 
305
# Use braces instead of parens because sh, perl, etc. also accept them.
 
306
bindir='${exec_prefix}/bin'
 
307
sbindir='${exec_prefix}/sbin'
 
308
libexecdir='${exec_prefix}/libexec'
 
309
datadir='${prefix}/share'
 
310
sysconfdir='${prefix}/etc'
 
311
sharedstatedir='${prefix}/com'
 
312
localstatedir='${prefix}/var'
 
313
libdir='${exec_prefix}/lib'
 
314
includedir='${prefix}/include'
 
315
oldincludedir='/usr/include'
 
316
infodir='${prefix}/info'
 
317
mandir='${prefix}/man'
 
318
 
 
319
ac_prev=
 
320
for ac_option
 
321
do
 
322
  # If the previous option needs an argument, assign it.
 
323
  if test -n "$ac_prev"; then
 
324
    eval "$ac_prev=\$ac_option"
 
325
    ac_prev=
 
326
    continue
 
327
  fi
 
328
 
 
329
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
330
 
 
331
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
332
 
 
333
  case $ac_option in
 
334
 
 
335
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
336
    ac_prev=bindir ;;
 
337
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
338
    bindir=$ac_optarg ;;
 
339
 
 
340
  -build | --build | --buil | --bui | --bu)
 
341
    ac_prev=build_alias ;;
 
342
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
343
    build_alias=$ac_optarg ;;
 
344
 
 
345
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
346
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
347
    ac_prev=cache_file ;;
 
348
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
349
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
350
    cache_file=$ac_optarg ;;
 
351
 
 
352
  --config-cache | -C)
 
353
    cache_file=config.cache ;;
 
354
 
 
355
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
356
    ac_prev=datadir ;;
 
357
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
358
  | --da=*)
 
359
    datadir=$ac_optarg ;;
 
360
 
 
361
  -disable-* | --disable-*)
 
362
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
363
    # Reject names that are not valid shell variable names.
 
364
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
365
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
366
   { (exit 1); exit 1; }; }
 
367
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
368
    eval "enable_$ac_feature=no" ;;
 
369
 
 
370
  -enable-* | --enable-*)
 
371
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
372
    # Reject names that are not valid shell variable names.
 
373
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
374
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
375
   { (exit 1); exit 1; }; }
 
376
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
377
    case $ac_option in
 
378
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
379
      *) ac_optarg=yes ;;
 
380
    esac
 
381
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
382
 
 
383
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
384
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
385
  | --exec | --exe | --ex)
 
386
    ac_prev=exec_prefix ;;
 
387
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
388
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
389
  | --exec=* | --exe=* | --ex=*)
 
390
    exec_prefix=$ac_optarg ;;
 
391
 
 
392
  -gas | --gas | --ga | --g)
 
393
    # Obsolete; use --with-gas.
 
394
    with_gas=yes ;;
 
395
 
 
396
  -help | --help | --hel | --he | -h)
 
397
    ac_init_help=long ;;
 
398
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
399
    ac_init_help=recursive ;;
 
400
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
401
    ac_init_help=short ;;
 
402
 
 
403
  -host | --host | --hos | --ho)
 
404
    ac_prev=host_alias ;;
 
405
  -host=* | --host=* | --hos=* | --ho=*)
 
406
    host_alias=$ac_optarg ;;
 
407
 
 
408
  -includedir | --includedir | --includedi | --included | --include \
 
409
  | --includ | --inclu | --incl | --inc)
 
410
    ac_prev=includedir ;;
 
411
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
412
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
413
    includedir=$ac_optarg ;;
 
414
 
 
415
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
416
    ac_prev=infodir ;;
 
417
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
418
    infodir=$ac_optarg ;;
 
419
 
 
420
  -libdir | --libdir | --libdi | --libd)
 
421
    ac_prev=libdir ;;
 
422
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
423
    libdir=$ac_optarg ;;
 
424
 
 
425
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
426
  | --libexe | --libex | --libe)
 
427
    ac_prev=libexecdir ;;
 
428
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
429
  | --libexe=* | --libex=* | --libe=*)
 
430
    libexecdir=$ac_optarg ;;
 
431
 
 
432
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
433
  | --localstate | --localstat | --localsta | --localst \
 
434
  | --locals | --local | --loca | --loc | --lo)
 
435
    ac_prev=localstatedir ;;
 
436
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
437
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
438
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
439
    localstatedir=$ac_optarg ;;
 
440
 
 
441
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
442
    ac_prev=mandir ;;
 
443
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
444
    mandir=$ac_optarg ;;
 
445
 
 
446
  -nfp | --nfp | --nf)
 
447
    # Obsolete; use --without-fp.
 
448
    with_fp=no ;;
 
449
 
 
450
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
451
  | --no-cr | --no-c | -n)
 
452
    no_create=yes ;;
 
453
 
 
454
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
455
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
456
    no_recursion=yes ;;
 
457
 
 
458
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
459
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
460
  | --oldin | --oldi | --old | --ol | --o)
 
461
    ac_prev=oldincludedir ;;
 
462
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
463
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
464
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
465
    oldincludedir=$ac_optarg ;;
 
466
 
 
467
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
468
    ac_prev=prefix ;;
 
469
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
470
    prefix=$ac_optarg ;;
 
471
 
 
472
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
473
  | --program-pre | --program-pr | --program-p)
 
474
    ac_prev=program_prefix ;;
 
475
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
476
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
477
    program_prefix=$ac_optarg ;;
 
478
 
 
479
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
480
  | --program-suf | --program-su | --program-s)
 
481
    ac_prev=program_suffix ;;
 
482
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
483
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
484
    program_suffix=$ac_optarg ;;
 
485
 
 
486
  -program-transform-name | --program-transform-name \
 
487
  | --program-transform-nam | --program-transform-na \
 
488
  | --program-transform-n | --program-transform- \
 
489
  | --program-transform | --program-transfor \
 
490
  | --program-transfo | --program-transf \
 
491
  | --program-trans | --program-tran \
 
492
  | --progr-tra | --program-tr | --program-t)
 
493
    ac_prev=program_transform_name ;;
 
494
  -program-transform-name=* | --program-transform-name=* \
 
495
  | --program-transform-nam=* | --program-transform-na=* \
 
496
  | --program-transform-n=* | --program-transform-=* \
 
497
  | --program-transform=* | --program-transfor=* \
 
498
  | --program-transfo=* | --program-transf=* \
 
499
  | --program-trans=* | --program-tran=* \
 
500
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
501
    program_transform_name=$ac_optarg ;;
 
502
 
 
503
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
504
  | -silent | --silent | --silen | --sile | --sil)
 
505
    silent=yes ;;
 
506
 
 
507
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
508
    ac_prev=sbindir ;;
 
509
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
510
  | --sbi=* | --sb=*)
 
511
    sbindir=$ac_optarg ;;
 
512
 
 
513
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
514
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
515
  | --sharedst | --shareds | --shared | --share | --shar \
 
516
  | --sha | --sh)
 
517
    ac_prev=sharedstatedir ;;
 
518
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
519
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
520
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
521
  | --sha=* | --sh=*)
 
522
    sharedstatedir=$ac_optarg ;;
 
523
 
 
524
  -site | --site | --sit)
 
525
    ac_prev=site ;;
 
526
  -site=* | --site=* | --sit=*)
 
527
    site=$ac_optarg ;;
 
528
 
 
529
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
530
    ac_prev=srcdir ;;
 
531
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
532
    srcdir=$ac_optarg ;;
 
533
 
 
534
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
535
  | --syscon | --sysco | --sysc | --sys | --sy)
 
536
    ac_prev=sysconfdir ;;
 
537
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
538
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
539
    sysconfdir=$ac_optarg ;;
 
540
 
 
541
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
542
    ac_prev=target_alias ;;
 
543
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
544
    target_alias=$ac_optarg ;;
 
545
 
 
546
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
547
    verbose=yes ;;
 
548
 
 
549
  -version | --version | --versio | --versi | --vers | -V)
 
550
    ac_init_version=: ;;
 
551
 
 
552
  -with-* | --with-*)
 
553
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
554
    # Reject names that are not valid shell variable names.
 
555
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
556
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
557
   { (exit 1); exit 1; }; }
 
558
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
559
    case $ac_option in
 
560
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
561
      *) ac_optarg=yes ;;
 
562
    esac
 
563
    eval "with_$ac_package='$ac_optarg'" ;;
 
564
 
 
565
  -without-* | --without-*)
 
566
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
567
    # Reject names that are not valid shell variable names.
 
568
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
569
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
570
   { (exit 1); exit 1; }; }
 
571
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
572
    eval "with_$ac_package=no" ;;
 
573
 
 
574
  --x)
 
575
    # Obsolete; use --with-x.
 
576
    with_x=yes ;;
 
577
 
 
578
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
579
  | --x-incl | --x-inc | --x-in | --x-i)
 
580
    ac_prev=x_includes ;;
 
581
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
582
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
583
    x_includes=$ac_optarg ;;
 
584
 
 
585
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
586
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
587
    ac_prev=x_libraries ;;
 
588
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
589
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
590
    x_libraries=$ac_optarg ;;
 
591
 
 
592
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
593
Try \`$0 --help' for more information." >&2
 
594
   { (exit 1); exit 1; }; }
 
595
    ;;
 
596
 
 
597
  *=*)
 
598
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
599
    # Reject names that are not valid shell variable names.
 
600
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
601
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
602
   { (exit 1); exit 1; }; }
 
603
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
604
    eval "$ac_envvar='$ac_optarg'"
 
605
    export $ac_envvar ;;
 
606
 
 
607
  *)
 
608
    # FIXME: should be removed in autoconf 3.0.
 
609
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
610
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
611
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
612
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
613
    ;;
 
614
 
 
615
  esac
 
616
done
 
617
 
 
618
if test -n "$ac_prev"; then
 
619
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
620
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
621
   { (exit 1); exit 1; }; }
 
622
fi
 
623
 
 
624
# Be sure to have absolute paths.
 
625
for ac_var in exec_prefix prefix
 
626
do
 
627
  eval ac_val=$`echo $ac_var`
 
628
  case $ac_val in
 
629
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
630
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
631
   { (exit 1); exit 1; }; };;
 
632
  esac
 
633
done
 
634
 
 
635
# Be sure to have absolute paths.
 
636
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
637
              localstatedir libdir includedir oldincludedir infodir mandir
 
638
do
 
639
  eval ac_val=$`echo $ac_var`
 
640
  case $ac_val in
 
641
    [\\/$]* | ?:[\\/]* ) ;;
 
642
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
643
   { (exit 1); exit 1; }; };;
 
644
  esac
 
645
done
 
646
 
 
647
# There might be people who depend on the old broken behavior: `$host'
 
648
# used to hold the argument of --host etc.
 
649
# FIXME: To remove some day.
 
650
build=$build_alias
 
651
host=$host_alias
 
652
target=$target_alias
 
653
 
 
654
# FIXME: To remove some day.
 
655
if test "x$host_alias" != x; then
 
656
  if test "x$build_alias" = x; then
 
657
    cross_compiling=maybe
 
658
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
659
    If a cross compiler is detected then cross compile mode will be used." >&2
 
660
  elif test "x$build_alias" != "x$host_alias"; then
 
661
    cross_compiling=yes
 
662
  fi
 
663
fi
 
664
 
 
665
ac_tool_prefix=
 
666
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
667
 
 
668
test "$silent" = yes && exec 6>/dev/null
 
669
 
 
670
 
 
671
# Find the source files, if location was not specified.
 
672
if test -z "$srcdir"; then
 
673
  ac_srcdir_defaulted=yes
 
674
  # Try the directory containing this script, then its parent.
 
675
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
676
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
677
         X"$0" : 'X\(//\)[^/]' \| \
 
678
         X"$0" : 'X\(//\)$' \| \
 
679
         X"$0" : 'X\(/\)' \| \
 
680
         .     : '\(.\)' 2>/dev/null ||
 
681
echo X"$0" |
 
682
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
683
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
684
          /^X\(\/\/\)$/{ s//\1/; q; }
 
685
          /^X\(\/\).*/{ s//\1/; q; }
 
686
          s/.*/./; q'`
 
687
  srcdir=$ac_confdir
 
688
  if test ! -r $srcdir/$ac_unique_file; then
 
689
    srcdir=..
 
690
  fi
 
691
else
 
692
  ac_srcdir_defaulted=no
 
693
fi
 
694
if test ! -r $srcdir/$ac_unique_file; then
 
695
  if test "$ac_srcdir_defaulted" = yes; then
 
696
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
697
   { (exit 1); exit 1; }; }
 
698
  else
 
699
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
700
   { (exit 1); exit 1; }; }
 
701
  fi
 
702
fi
 
703
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
704
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
705
   { (exit 1); exit 1; }; }
 
706
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
707
ac_env_build_alias_set=${build_alias+set}
 
708
ac_env_build_alias_value=$build_alias
 
709
ac_cv_env_build_alias_set=${build_alias+set}
 
710
ac_cv_env_build_alias_value=$build_alias
 
711
ac_env_host_alias_set=${host_alias+set}
 
712
ac_env_host_alias_value=$host_alias
 
713
ac_cv_env_host_alias_set=${host_alias+set}
 
714
ac_cv_env_host_alias_value=$host_alias
 
715
ac_env_target_alias_set=${target_alias+set}
 
716
ac_env_target_alias_value=$target_alias
 
717
ac_cv_env_target_alias_set=${target_alias+set}
 
718
ac_cv_env_target_alias_value=$target_alias
 
719
 
 
720
#
 
721
# Report the --help message.
 
722
#
 
723
if test "$ac_init_help" = "long"; then
 
724
  # Omit some internal or obsolete options to make the list less imposing.
 
725
  # This message is too long to be a string in the A/UX 3.1 sh.
 
726
  cat <<_ACEOF
 
727
\`configure' configures ldap-account-manager 1.0.2 to adapt to many kinds of systems.
 
728
 
 
729
Usage: $0 [OPTION]... [VAR=VALUE]...
 
730
 
 
731
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
732
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
733
 
 
734
Defaults for the options are specified in brackets.
 
735
 
 
736
Configuration:
 
737
  -h, --help              display this help and exit
 
738
      --help=short        display options specific to this package
 
739
      --help=recursive    display the short help of all the included packages
 
740
  -V, --version           display version information and exit
 
741
  -q, --quiet, --silent   do not print \`checking...' messages
 
742
      --cache-file=FILE   cache test results in FILE [disabled]
 
743
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
744
  -n, --no-create         do not create output files
 
745
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
746
 
 
747
_ACEOF
 
748
 
 
749
  cat <<_ACEOF
 
750
Installation directories:
 
751
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
752
                          [$ac_default_prefix]
 
753
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
754
                          [PREFIX]
 
755
 
 
756
By default, \`make install' will install all the files in
 
757
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
758
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
759
for instance \`--prefix=\$HOME'.
 
760
 
 
761
For better control, use the options below.
 
762
 
 
763
Fine tuning of the installation directories:
 
764
  --bindir=DIR           user executables [EPREFIX/bin]
 
765
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
766
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
767
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
768
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
769
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
770
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
771
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
772
  --includedir=DIR       C header files [PREFIX/include]
 
773
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
774
  --infodir=DIR          info documentation [PREFIX/info]
 
775
  --mandir=DIR           man documentation [PREFIX/man]
 
776
_ACEOF
 
777
 
 
778
  cat <<\_ACEOF
 
779
_ACEOF
 
780
fi
 
781
 
 
782
if test -n "$ac_init_help"; then
 
783
  case $ac_init_help in
 
784
     short | recursive ) echo "Configuration of ldap-account-manager 1.0.2:";;
 
785
   esac
 
786
  cat <<\_ACEOF
 
787
 
 
788
Optional Packages:
 
789
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
790
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
791
  --with-httpd-user=user        Specify the user your http daemon runs as.
 
792
                                default is http
 
793
  --with-httpd-group=group      Specify the group your http daemon runs as.
 
794
                                default is http
 
795
  --with-perl=PATH       Specify path to perl program
 
796
 
 
797
Report bugs to <lam-public@lists.sourceforge.net>.
 
798
_ACEOF
 
799
fi
 
800
 
 
801
if test "$ac_init_help" = "recursive"; then
 
802
  # If there are subdirs, report their specific --help.
 
803
  ac_popdir=`pwd`
 
804
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
805
    test -d $ac_dir || continue
 
806
    ac_builddir=.
 
807
 
 
808
if test "$ac_dir" != .; then
 
809
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
810
  # A "../" for each directory in $ac_dir_suffix.
 
811
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
812
else
 
813
  ac_dir_suffix= ac_top_builddir=
 
814
fi
 
815
 
 
816
case $srcdir in
 
817
  .)  # No --srcdir option.  We are building in place.
 
818
    ac_srcdir=.
 
819
    if test -z "$ac_top_builddir"; then
 
820
       ac_top_srcdir=.
 
821
    else
 
822
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
823
    fi ;;
 
824
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
825
    ac_srcdir=$srcdir$ac_dir_suffix;
 
826
    ac_top_srcdir=$srcdir ;;
 
827
  *) # Relative path.
 
828
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
829
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
830
esac
 
831
 
 
832
# Do not use `cd foo && pwd` to compute absolute paths, because
 
833
# the directories may not exist.
 
834
case `pwd` in
 
835
.) ac_abs_builddir="$ac_dir";;
 
836
*)
 
837
  case "$ac_dir" in
 
838
  .) ac_abs_builddir=`pwd`;;
 
839
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
840
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
841
  esac;;
 
842
esac
 
843
case $ac_abs_builddir in
 
844
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
845
*)
 
846
  case ${ac_top_builddir}. in
 
847
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
848
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
849
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
850
  esac;;
 
851
esac
 
852
case $ac_abs_builddir in
 
853
.) ac_abs_srcdir=$ac_srcdir;;
 
854
*)
 
855
  case $ac_srcdir in
 
856
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
857
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
858
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
859
  esac;;
 
860
esac
 
861
case $ac_abs_builddir in
 
862
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
863
*)
 
864
  case $ac_top_srcdir in
 
865
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
866
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
867
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
868
  esac;;
 
869
esac
 
870
 
 
871
    cd $ac_dir
 
872
    # Check for guested configure; otherwise get Cygnus style configure.
 
873
    if test -f $ac_srcdir/configure.gnu; then
 
874
      echo
 
875
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
876
    elif test -f $ac_srcdir/configure; then
 
877
      echo
 
878
      $SHELL $ac_srcdir/configure  --help=recursive
 
879
    elif test -f $ac_srcdir/configure.ac ||
 
880
           test -f $ac_srcdir/configure.in; then
 
881
      echo
 
882
      $ac_configure --help
 
883
    else
 
884
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
885
    fi
 
886
    cd "$ac_popdir"
 
887
  done
 
888
fi
 
889
 
 
890
test -n "$ac_init_help" && exit 0
 
891
if $ac_init_version; then
 
892
  cat <<\_ACEOF
 
893
ldap-account-manager configure 1.0.2
 
894
generated by GNU Autoconf 2.59
 
895
 
 
896
Copyright (C) 2003 Free Software Foundation, Inc.
 
897
This configure script is free software; the Free Software Foundation
 
898
gives unlimited permission to copy, distribute and modify it.
 
899
_ACEOF
 
900
  exit 0
 
901
fi
 
902
exec 5>config.log
 
903
cat >&5 <<_ACEOF
 
904
This file contains any messages produced by compilers while
 
905
running configure, to aid debugging if configure makes a mistake.
 
906
 
 
907
It was created by ldap-account-manager $as_me 1.0.2, which was
 
908
generated by GNU Autoconf 2.59.  Invocation command line was
 
909
 
 
910
  $ $0 $@
 
911
 
 
912
_ACEOF
 
913
{
 
914
cat <<_ASUNAME
 
915
## --------- ##
 
916
## Platform. ##
 
917
## --------- ##
 
918
 
 
919
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
920
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
921
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
922
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
923
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
924
 
 
925
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
926
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
927
 
 
928
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
929
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
930
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
931
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
932
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
933
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
934
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
935
 
 
936
_ASUNAME
 
937
 
 
938
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
939
for as_dir in $PATH
 
940
do
 
941
  IFS=$as_save_IFS
 
942
  test -z "$as_dir" && as_dir=.
 
943
  echo "PATH: $as_dir"
 
944
done
 
945
 
 
946
} >&5
 
947
 
 
948
cat >&5 <<_ACEOF
 
949
 
 
950
 
 
951
## ----------- ##
 
952
## Core tests. ##
 
953
## ----------- ##
 
954
 
 
955
_ACEOF
 
956
 
 
957
 
 
958
# Keep a trace of the command line.
 
959
# Strip out --no-create and --no-recursion so they do not pile up.
 
960
# Strip out --silent because we don't want to record it for future runs.
 
961
# Also quote any args containing shell meta-characters.
 
962
# Make two passes to allow for proper duplicate-argument suppression.
 
963
ac_configure_args=
 
964
ac_configure_args0=
 
965
ac_configure_args1=
 
966
ac_sep=
 
967
ac_must_keep_next=false
 
968
for ac_pass in 1 2
 
969
do
 
970
  for ac_arg
 
971
  do
 
972
    case $ac_arg in
 
973
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
974
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
975
    | -silent | --silent | --silen | --sile | --sil)
 
976
      continue ;;
 
977
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
978
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
979
    esac
 
980
    case $ac_pass in
 
981
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
982
    2)
 
983
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
984
      if test $ac_must_keep_next = true; then
 
985
        ac_must_keep_next=false # Got value, back to normal.
 
986
      else
 
987
        case $ac_arg in
 
988
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
989
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
990
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
991
          | -with-* | --with-* | -without-* | --without-* | --x)
 
992
            case "$ac_configure_args0 " in
 
993
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
994
            esac
 
995
            ;;
 
996
          -* ) ac_must_keep_next=true ;;
 
997
        esac
 
998
      fi
 
999
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1000
      # Get rid of the leading space.
 
1001
      ac_sep=" "
 
1002
      ;;
 
1003
    esac
 
1004
  done
 
1005
done
 
1006
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1007
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1008
 
 
1009
# When interrupted or exit'd, cleanup temporary files, and complete
 
1010
# config.log.  We remove comments because anyway the quotes in there
 
1011
# would cause problems or look ugly.
 
1012
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1013
# such as our DU 5.0 friend, will then `close' the trap.
 
1014
trap 'exit_status=$?
 
1015
  # Save into config.log some information that might help in debugging.
 
1016
  {
 
1017
    echo
 
1018
 
 
1019
    cat <<\_ASBOX
 
1020
## ---------------- ##
 
1021
## Cache variables. ##
 
1022
## ---------------- ##
 
1023
_ASBOX
 
1024
    echo
 
1025
    # The following way of writing the cache mishandles newlines in values,
 
1026
{
 
1027
  (set) 2>&1 |
 
1028
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1029
    *ac_space=\ *)
 
1030
      sed -n \
 
1031
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1032
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1033
      ;;
 
1034
    *)
 
1035
      sed -n \
 
1036
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1037
      ;;
 
1038
    esac;
 
1039
}
 
1040
    echo
 
1041
 
 
1042
    cat <<\_ASBOX
 
1043
## ----------------- ##
 
1044
## Output variables. ##
 
1045
## ----------------- ##
 
1046
_ASBOX
 
1047
    echo
 
1048
    for ac_var in $ac_subst_vars
 
1049
    do
 
1050
      eval ac_val=$`echo $ac_var`
 
1051
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1052
    done | sort
 
1053
    echo
 
1054
 
 
1055
    if test -n "$ac_subst_files"; then
 
1056
      cat <<\_ASBOX
 
1057
## ------------- ##
 
1058
## Output files. ##
 
1059
## ------------- ##
 
1060
_ASBOX
 
1061
      echo
 
1062
      for ac_var in $ac_subst_files
 
1063
      do
 
1064
        eval ac_val=$`echo $ac_var`
 
1065
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1066
      done | sort
 
1067
      echo
 
1068
    fi
 
1069
 
 
1070
    if test -s confdefs.h; then
 
1071
      cat <<\_ASBOX
 
1072
## ----------- ##
 
1073
## confdefs.h. ##
 
1074
## ----------- ##
 
1075
_ASBOX
 
1076
      echo
 
1077
      sed "/^$/d" confdefs.h | sort
 
1078
      echo
 
1079
    fi
 
1080
    test "$ac_signal" != 0 &&
 
1081
      echo "$as_me: caught signal $ac_signal"
 
1082
    echo "$as_me: exit $exit_status"
 
1083
  } >&5
 
1084
  rm -f core *.core &&
 
1085
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1086
    exit $exit_status
 
1087
     ' 0
 
1088
for ac_signal in 1 2 13 15; do
 
1089
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1090
done
 
1091
ac_signal=0
 
1092
 
 
1093
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1094
rm -rf conftest* confdefs.h
 
1095
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1096
echo >confdefs.h
 
1097
 
 
1098
# Predefined preprocessor variables.
 
1099
 
 
1100
cat >>confdefs.h <<_ACEOF
 
1101
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1102
_ACEOF
 
1103
 
 
1104
 
 
1105
cat >>confdefs.h <<_ACEOF
 
1106
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1107
_ACEOF
 
1108
 
 
1109
 
 
1110
cat >>confdefs.h <<_ACEOF
 
1111
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1112
_ACEOF
 
1113
 
 
1114
 
 
1115
cat >>confdefs.h <<_ACEOF
 
1116
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1117
_ACEOF
 
1118
 
 
1119
 
 
1120
cat >>confdefs.h <<_ACEOF
 
1121
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1122
_ACEOF
 
1123
 
 
1124
 
 
1125
# Let the site file select an alternate cache file if it wants to.
 
1126
# Prefer explicitly selected file to automatically selected ones.
 
1127
if test -z "$CONFIG_SITE"; then
 
1128
  if test "x$prefix" != xNONE; then
 
1129
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1130
  else
 
1131
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1132
  fi
 
1133
fi
 
1134
for ac_site_file in $CONFIG_SITE; do
 
1135
  if test -r "$ac_site_file"; then
 
1136
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1137
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1138
    sed 's/^/| /' "$ac_site_file" >&5
 
1139
    . "$ac_site_file"
 
1140
  fi
 
1141
done
 
1142
 
 
1143
if test -r "$cache_file"; then
 
1144
  # Some versions of bash will fail to source /dev/null (special
 
1145
  # files actually), so we avoid doing that.
 
1146
  if test -f "$cache_file"; then
 
1147
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1148
echo "$as_me: loading cache $cache_file" >&6;}
 
1149
    case $cache_file in
 
1150
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1151
      *)                      . ./$cache_file;;
 
1152
    esac
 
1153
  fi
 
1154
else
 
1155
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1156
echo "$as_me: creating cache $cache_file" >&6;}
 
1157
  >$cache_file
 
1158
fi
 
1159
 
 
1160
# Check that the precious variables saved in the cache have kept the same
 
1161
# value.
 
1162
ac_cache_corrupted=false
 
1163
for ac_var in `(set) 2>&1 |
 
1164
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1165
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1166
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1167
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1168
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1169
  case $ac_old_set,$ac_new_set in
 
1170
    set,)
 
1171
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1172
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1173
      ac_cache_corrupted=: ;;
 
1174
    ,set)
 
1175
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1176
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1177
      ac_cache_corrupted=: ;;
 
1178
    ,);;
 
1179
    *)
 
1180
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1181
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1182
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1183
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1184
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1185
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1186
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1187
        ac_cache_corrupted=:
 
1188
      fi;;
 
1189
  esac
 
1190
  # Pass precious variables to config.status.
 
1191
  if test "$ac_new_set" = set; then
 
1192
    case $ac_new_val in
 
1193
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1194
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1195
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1196
    esac
 
1197
    case " $ac_configure_args " in
 
1198
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1199
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1200
    esac
 
1201
  fi
 
1202
done
 
1203
if $ac_cache_corrupted; then
 
1204
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1205
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1206
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1207
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1208
   { (exit 1); exit 1; }; }
 
1209
fi
 
1210
 
 
1211
ac_ext=c
 
1212
ac_cpp='$CPP $CPPFLAGS'
 
1213
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1214
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1215
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1216
 
 
1217
 
 
1218
 
 
1219
 
 
1220
 
 
1221
 
 
1222
 
 
1223
 
 
1224
 
 
1225
 
 
1226
 
 
1227
 
 
1228
 
 
1229
 
 
1230
 
 
1231
 
 
1232
 
 
1233
 
 
1234
 
 
1235
 
 
1236
 
 
1237
 
 
1238
 
 
1239
 
 
1240
 
 
1241
 
 
1242
 
 
1243
 
 
1244
 
 
1245
 
 
1246
# work around those that want to build in srcdir
 
1247
if test x$srcdir = "x." ; then
 
1248
        exec $0 --srcdir=`pwd` $*
 
1249
fi
 
1250
 
 
1251
# Does make set variable $(MAKE)
 
1252
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1253
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1254
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1255
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1257
else
 
1258
  cat >conftest.make <<\_ACEOF
 
1259
all:
 
1260
        @echo 'ac_maketemp="$(MAKE)"'
 
1261
_ACEOF
 
1262
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1263
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1264
if test -n "$ac_maketemp"; then
 
1265
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1266
else
 
1267
  eval ac_cv_prog_make_${ac_make}_set=no
 
1268
fi
 
1269
rm -f conftest.make
 
1270
fi
 
1271
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1272
  echo "$as_me:$LINENO: result: yes" >&5
 
1273
echo "${ECHO_T}yes" >&6
 
1274
  SET_MAKE=
 
1275
else
 
1276
  echo "$as_me:$LINENO: result: no" >&5
 
1277
echo "${ECHO_T}no" >&6
 
1278
  SET_MAKE="MAKE=${MAKE-make}"
 
1279
fi
 
1280
 
 
1281
 
 
1282
# Checks for programs.
 
1283
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
1284
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
1285
LN_S=$as_ln_s
 
1286
if test "$LN_S" = "ln -s"; then
 
1287
  echo "$as_me:$LINENO: result: yes" >&5
 
1288
echo "${ECHO_T}yes" >&6
 
1289
else
 
1290
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
1291
echo "${ECHO_T}no, using $LN_S" >&6
 
1292
fi
 
1293
 
 
1294
ac_aux_dir=
 
1295
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1296
  if test -f $ac_dir/install-sh; then
 
1297
    ac_aux_dir=$ac_dir
 
1298
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1299
    break
 
1300
  elif test -f $ac_dir/install.sh; then
 
1301
    ac_aux_dir=$ac_dir
 
1302
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1303
    break
 
1304
  elif test -f $ac_dir/shtool; then
 
1305
    ac_aux_dir=$ac_dir
 
1306
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1307
    break
 
1308
  fi
 
1309
done
 
1310
if test -z "$ac_aux_dir"; then
 
1311
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1312
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1313
   { (exit 1); exit 1; }; }
 
1314
fi
 
1315
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1316
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1317
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1318
 
 
1319
# Find a good install program.  We prefer a C program (faster),
 
1320
# so one script is as good as another.  But avoid the broken or
 
1321
# incompatible versions:
 
1322
# SysV /etc/install, /usr/sbin/install
 
1323
# SunOS /usr/etc/install
 
1324
# IRIX /sbin/install
 
1325
# AIX /bin/install
 
1326
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1327
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1328
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1329
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1330
# OS/2's system install, which has a completely different semantic
 
1331
# ./install, which can be erroneously created by make from ./install.sh.
 
1332
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1333
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1334
if test -z "$INSTALL"; then
 
1335
if test "${ac_cv_path_install+set}" = set; then
 
1336
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1337
else
 
1338
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1339
for as_dir in $PATH
 
1340
do
 
1341
  IFS=$as_save_IFS
 
1342
  test -z "$as_dir" && as_dir=.
 
1343
  # Account for people who put trailing slashes in PATH elements.
 
1344
case $as_dir/ in
 
1345
  ./ | .// | /cC/* | \
 
1346
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1347
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1348
  /usr/ucb/* ) ;;
 
1349
  *)
 
1350
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1351
    # Don't use installbsd from OSF since it installs stuff as root
 
1352
    # by default.
 
1353
    for ac_prog in ginstall scoinst install; do
 
1354
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1355
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1356
          if test $ac_prog = install &&
 
1357
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1358
            # AIX install.  It has an incompatible calling convention.
 
1359
            :
 
1360
          elif test $ac_prog = install &&
 
1361
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1362
            # program-specific install script used by HP pwplus--don't use.
 
1363
            :
 
1364
          else
 
1365
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1366
            break 3
 
1367
          fi
 
1368
        fi
 
1369
      done
 
1370
    done
 
1371
    ;;
 
1372
esac
 
1373
done
 
1374
 
 
1375
 
 
1376
fi
 
1377
  if test "${ac_cv_path_install+set}" = set; then
 
1378
    INSTALL=$ac_cv_path_install
 
1379
  else
 
1380
    # As a last resort, use the slow shell script.  We don't cache a
 
1381
    # path for INSTALL within a source directory, because that will
 
1382
    # break other packages using the cache if that directory is
 
1383
    # removed, or if the path is relative.
 
1384
    INSTALL=$ac_install_sh
 
1385
  fi
 
1386
fi
 
1387
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1388
echo "${ECHO_T}$INSTALL" >&6
 
1389
 
 
1390
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1391
# It thinks the first close brace ends the variable substitution.
 
1392
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1393
 
 
1394
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1395
 
 
1396
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1397
 
 
1398
# Extract the first word of "chmod", so it can be a program name with args.
 
1399
set dummy chmod; ac_word=$2
 
1400
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1401
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1402
if test "${ac_cv_path_CHMOD+set}" = set; then
 
1403
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1404
else
 
1405
  case $CHMOD in
 
1406
  [\\/]* | ?:[\\/]*)
 
1407
  ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
 
1408
  ;;
 
1409
  *)
 
1410
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1411
for as_dir in $PATH
 
1412
do
 
1413
  IFS=$as_save_IFS
 
1414
  test -z "$as_dir" && as_dir=.
 
1415
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1416
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1417
    ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
 
1418
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1419
    break 2
 
1420
  fi
 
1421
done
 
1422
done
 
1423
 
 
1424
  ;;
 
1425
esac
 
1426
fi
 
1427
CHMOD=$ac_cv_path_CHMOD
 
1428
 
 
1429
if test -n "$CHMOD"; then
 
1430
  echo "$as_me:$LINENO: result: $CHMOD" >&5
 
1431
echo "${ECHO_T}$CHMOD" >&6
 
1432
else
 
1433
  echo "$as_me:$LINENO: result: no" >&5
 
1434
echo "${ECHO_T}no" >&6
 
1435
fi
 
1436
 
 
1437
# Extract the first word of "chown", so it can be a program name with args.
 
1438
set dummy chown; ac_word=$2
 
1439
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1440
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1441
if test "${ac_cv_path_CHOWN+set}" = set; then
 
1442
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1443
else
 
1444
  case $CHOWN in
 
1445
  [\\/]* | ?:[\\/]*)
 
1446
  ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
 
1447
  ;;
 
1448
  *)
 
1449
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1450
for as_dir in $PATH
 
1451
do
 
1452
  IFS=$as_save_IFS
 
1453
  test -z "$as_dir" && as_dir=.
 
1454
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1455
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1456
    ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
 
1457
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1458
    break 2
 
1459
  fi
 
1460
done
 
1461
done
 
1462
 
 
1463
  ;;
 
1464
esac
 
1465
fi
 
1466
CHOWN=$ac_cv_path_CHOWN
 
1467
 
 
1468
if test -n "$CHOWN"; then
 
1469
  echo "$as_me:$LINENO: result: $CHOWN" >&5
 
1470
echo "${ECHO_T}$CHOWN" >&6
 
1471
else
 
1472
  echo "$as_me:$LINENO: result: no" >&5
 
1473
echo "${ECHO_T}no" >&6
 
1474
fi
 
1475
 
 
1476
# Extract the first word of "grep", so it can be a program name with args.
 
1477
set dummy grep; ac_word=$2
 
1478
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1479
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1480
if test "${ac_cv_path_GREP+set}" = set; then
 
1481
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1482
else
 
1483
  case $GREP in
 
1484
  [\\/]* | ?:[\\/]*)
 
1485
  ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
 
1486
  ;;
 
1487
  *)
 
1488
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1489
for as_dir in $PATH
 
1490
do
 
1491
  IFS=$as_save_IFS
 
1492
  test -z "$as_dir" && as_dir=.
 
1493
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1494
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1495
    ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
 
1496
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1497
    break 2
 
1498
  fi
 
1499
done
 
1500
done
 
1501
 
 
1502
  ;;
 
1503
esac
 
1504
fi
 
1505
GREP=$ac_cv_path_GREP
 
1506
 
 
1507
if test -n "$GREP"; then
 
1508
  echo "$as_me:$LINENO: result: $GREP" >&5
 
1509
echo "${ECHO_T}$GREP" >&6
 
1510
else
 
1511
  echo "$as_me:$LINENO: result: no" >&5
 
1512
echo "${ECHO_T}no" >&6
 
1513
fi
 
1514
 
 
1515
# Extract the first word of "id", so it can be a program name with args.
 
1516
set dummy id; ac_word=$2
 
1517
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1518
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1519
if test "${ac_cv_path_ID+set}" = set; then
 
1520
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1521
else
 
1522
  case $ID in
 
1523
  [\\/]* | ?:[\\/]*)
 
1524
  ac_cv_path_ID="$ID" # Let the user override the test with a path.
 
1525
  ;;
 
1526
  *)
 
1527
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1528
for as_dir in $PATH
 
1529
do
 
1530
  IFS=$as_save_IFS
 
1531
  test -z "$as_dir" && as_dir=.
 
1532
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1533
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1534
    ac_cv_path_ID="$as_dir/$ac_word$ac_exec_ext"
 
1535
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1536
    break 2
 
1537
  fi
 
1538
done
 
1539
done
 
1540
 
 
1541
  ;;
 
1542
esac
 
1543
fi
 
1544
ID=$ac_cv_path_ID
 
1545
 
 
1546
if test -n "$ID"; then
 
1547
  echo "$as_me:$LINENO: result: $ID" >&5
 
1548
echo "${ECHO_T}$ID" >&6
 
1549
else
 
1550
  echo "$as_me:$LINENO: result: no" >&5
 
1551
echo "${ECHO_T}no" >&6
 
1552
fi
 
1553
 
 
1554
# Extract the first word of "mkdir", so it can be a program name with args.
 
1555
set dummy mkdir; ac_word=$2
 
1556
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1557
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1558
if test "${ac_cv_path_MKDIR+set}" = set; then
 
1559
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1560
else
 
1561
  case $MKDIR in
 
1562
  [\\/]* | ?:[\\/]*)
 
1563
  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
 
1564
  ;;
 
1565
  *)
 
1566
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1567
for as_dir in $PATH
 
1568
do
 
1569
  IFS=$as_save_IFS
 
1570
  test -z "$as_dir" && as_dir=.
 
1571
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1572
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1573
    ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
 
1574
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1575
    break 2
 
1576
  fi
 
1577
done
 
1578
done
 
1579
 
 
1580
  ;;
 
1581
esac
 
1582
fi
 
1583
MKDIR=$ac_cv_path_MKDIR
 
1584
 
 
1585
if test -n "$MKDIR"; then
 
1586
  echo "$as_me:$LINENO: result: $MKDIR" >&5
 
1587
echo "${ECHO_T}$MKDIR" >&6
 
1588
else
 
1589
  echo "$as_me:$LINENO: result: no" >&5
 
1590
echo "${ECHO_T}no" >&6
 
1591
fi
 
1592
 
 
1593
# Extract the first word of "rm", so it can be a program name with args.
 
1594
set dummy rm; ac_word=$2
 
1595
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1596
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1597
if test "${ac_cv_path_RM+set}" = set; then
 
1598
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1599
else
 
1600
  case $RM in
 
1601
  [\\/]* | ?:[\\/]*)
 
1602
  ac_cv_path_RM="$RM" # Let the user override the test with a path.
 
1603
  ;;
 
1604
  *)
 
1605
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1606
for as_dir in $PATH
 
1607
do
 
1608
  IFS=$as_save_IFS
 
1609
  test -z "$as_dir" && as_dir=.
 
1610
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1611
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1612
    ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
 
1613
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1614
    break 2
 
1615
  fi
 
1616
done
 
1617
done
 
1618
 
 
1619
  ;;
 
1620
esac
 
1621
fi
 
1622
RM=$ac_cv_path_RM
 
1623
 
 
1624
if test -n "$RM"; then
 
1625
  echo "$as_me:$LINENO: result: $RM" >&5
 
1626
echo "${ECHO_T}$RM" >&6
 
1627
else
 
1628
  echo "$as_me:$LINENO: result: no" >&5
 
1629
echo "${ECHO_T}no" >&6
 
1630
fi
 
1631
 
 
1632
# Extract the first word of "tar", so it can be a program name with args.
 
1633
set dummy tar; ac_word=$2
 
1634
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1635
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1636
if test "${ac_cv_path_TAR+set}" = set; then
 
1637
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1638
else
 
1639
  case $TAR in
 
1640
  [\\/]* | ?:[\\/]*)
 
1641
  ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
 
1642
  ;;
 
1643
  *)
 
1644
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1645
for as_dir in $PATH
 
1646
do
 
1647
  IFS=$as_save_IFS
 
1648
  test -z "$as_dir" && as_dir=.
 
1649
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1650
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1651
    ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
 
1652
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1653
    break 2
 
1654
  fi
 
1655
done
 
1656
done
 
1657
 
 
1658
  ;;
 
1659
esac
 
1660
fi
 
1661
TAR=$ac_cv_path_TAR
 
1662
 
 
1663
if test -n "$TAR"; then
 
1664
  echo "$as_me:$LINENO: result: $TAR" >&5
 
1665
echo "${ECHO_T}$TAR" >&6
 
1666
else
 
1667
  echo "$as_me:$LINENO: result: no" >&5
 
1668
echo "${ECHO_T}no" >&6
 
1669
fi
 
1670
 
 
1671
 
 
1672
# Find a sutable copy command
 
1673
# Extract the first word of "copy", so it can be a program name with args.
 
1674
set dummy copy; ac_word=$2
 
1675
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1676
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1677
if test "${ac_cv_path_COPY+set}" = set; then
 
1678
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1679
else
 
1680
  case $COPY in
 
1681
  [\\/]* | ?:[\\/]*)
 
1682
  ac_cv_path_COPY="$COPY" # Let the user override the test with a path.
 
1683
  ;;
 
1684
  *)
 
1685
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1686
for as_dir in $PATH
 
1687
do
 
1688
  IFS=$as_save_IFS
 
1689
  test -z "$as_dir" && as_dir=.
 
1690
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1691
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1692
    ac_cv_path_COPY="$as_dir/$ac_word$ac_exec_ext"
 
1693
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1694
    break 2
 
1695
  fi
 
1696
done
 
1697
done
 
1698
 
 
1699
  ;;
 
1700
esac
 
1701
fi
 
1702
COPY=$ac_cv_path_COPY
 
1703
 
 
1704
if test -n "$COPY"; then
 
1705
  echo "$as_me:$LINENO: result: $COPY" >&5
 
1706
echo "${ECHO_T}$COPY" >&6
 
1707
else
 
1708
  echo "$as_me:$LINENO: result: no" >&5
 
1709
echo "${ECHO_T}no" >&6
 
1710
fi
 
1711
 
 
1712
# Extract the first word of "cp", so it can be a program name with args.
 
1713
set dummy cp; ac_word=$2
 
1714
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1715
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1716
if test "${ac_cv_path_CP+set}" = set; then
 
1717
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1718
else
 
1719
  case $CP in
 
1720
  [\\/]* | ?:[\\/]*)
 
1721
  ac_cv_path_CP="$CP" # Let the user override the test with a path.
 
1722
  ;;
 
1723
  *)
 
1724
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1725
for as_dir in $PATH
 
1726
do
 
1727
  IFS=$as_save_IFS
 
1728
  test -z "$as_dir" && as_dir=.
 
1729
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1730
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1731
    ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
 
1732
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1733
    break 2
 
1734
  fi
 
1735
done
 
1736
done
 
1737
 
 
1738
  ;;
 
1739
esac
 
1740
fi
 
1741
CP=$ac_cv_path_CP
 
1742
 
 
1743
if test -n "$CP"; then
 
1744
  echo "$as_me:$LINENO: result: $CP" >&5
 
1745
echo "${ECHO_T}$CP" >&6
 
1746
else
 
1747
  echo "$as_me:$LINENO: result: no" >&5
 
1748
echo "${ECHO_T}no" >&6
 
1749
fi
 
1750
 
 
1751
if test x$COPY = x ; then
 
1752
        touch conf-cp-tst
 
1753
        $CP --preserve=timestamps conf-cp-tst conf-cp-tst2 2>/dev/null
 
1754
        if test -f conf-cp-tst2 ; then
 
1755
                COPY_PROG="$CP --preserve=timestamps"
 
1756
                rm conf-cp-tst2
 
1757
        fi
 
1758
        rm conf-cp-tst
 
1759
else
 
1760
        COPY_PROG="$COPY -m"
 
1761
fi
 
1762
 
 
1763
 
 
1764
HTTPD_USER=httpd
 
1765
 
 
1766
# Check whether --with-httpd-user or --without-httpd-user was given.
 
1767
if test "${with_httpd_user+set}" = set; then
 
1768
  withval="$with_httpd_user"
 
1769
 
 
1770
                if test -n "$withval"  &&  test "x$withval" != "xno"  &&  \
 
1771
                    test "x${withval}" != "xyes"; then
 
1772
                        HTTPD_USER=$withval
 
1773
                fi
 
1774
 
 
1775
 
 
1776
fi;
 
1777
 
 
1778
 
 
1779
HTTPD_GROUP=httpd
 
1780
 
 
1781
# Check whether --with-httpd-group or --without-httpd-group was given.
 
1782
if test "${with_httpd_group+set}" = set; then
 
1783
  withval="$with_httpd_group"
 
1784
 
 
1785
                if test -n "$withval"  &&  test "x$withval" != "xno"  &&  \
 
1786
                    test "x${withval}" != "xyes"; then
 
1787
                        HTTPD_GROUP=$withval
 
1788
                fi
 
1789
 
 
1790
 
 
1791
fi;
 
1792
 
 
1793
 
 
1794
 
 
1795
# Check whether --with-perl or --without-perl was given.
 
1796
if test "${with_perl+set}" = set; then
 
1797
  withval="$with_perl"
 
1798
 
 
1799
                if test -n "$withval"  &&  test "x$withval" != "xno"  &&  \
 
1800
                    test "x${withval}" != "xyes"; then
 
1801
                        perl_path=$withval
 
1802
                fi
 
1803
 
 
1804
else
 
1805
 
 
1806
# We search these paths before $PATH to find a more up-to-date/capable
 
1807
# version of perl than the system installed one.
 
1808
                TestPath="/opt/bin"
 
1809
                TestPath="${TestPath}${PATH_SEPARATOR}/opt/sfw/bin"
 
1810
                TestPath="${TestPath}${PATH_SEPARATOR}/usr/local/bin"
 
1811
                TestPath="${TestPath}${PATH_SEPARATOR}$PATH"
 
1812
                for ac_prog in perl5 perl
 
1813
do
 
1814
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1815
set dummy $ac_prog; ac_word=$2
 
1816
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1817
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1818
if test "${ac_cv_path_perl_path+set}" = set; then
 
1819
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1820
else
 
1821
  case $perl_path in
 
1822
  [\\/]* | ?:[\\/]*)
 
1823
  ac_cv_path_perl_path="$perl_path" # Let the user override the test with a path.
 
1824
  ;;
 
1825
  *)
 
1826
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1827
for as_dir in $TestPath
 
1828
do
 
1829
  IFS=$as_save_IFS
 
1830
  test -z "$as_dir" && as_dir=.
 
1831
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1832
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1833
    ac_cv_path_perl_path="$as_dir/$ac_word$ac_exec_ext"
 
1834
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1835
    break 2
 
1836
  fi
 
1837
done
 
1838
done
 
1839
 
 
1840
  ;;
 
1841
esac
 
1842
fi
 
1843
perl_path=$ac_cv_path_perl_path
 
1844
 
 
1845
if test -n "$perl_path"; then
 
1846
  echo "$as_me:$LINENO: result: $perl_path" >&5
 
1847
echo "${ECHO_T}$perl_path" >&6
 
1848
else
 
1849
  echo "$as_me:$LINENO: result: no" >&5
 
1850
echo "${ECHO_T}no" >&6
 
1851
fi
 
1852
 
 
1853
  test -n "$perl_path" && break
 
1854
done
 
1855
 
 
1856
 
 
1857
 
 
1858
fi;
 
1859
 
 
1860
if test -z "$perl_path" ; then
 
1861
        PERL_PATH="/usr/bin/perl"
 
1862
        { echo "$as_me:$LINENO: WARNING: *** lamdaemon.pl requires perl ***" >&5
 
1863
echo "$as_me: WARNING: *** lamdaemon.pl requires perl ***" >&2;}
 
1864
else
 
1865
        PERL_PATH=$perl_path
 
1866
fi
 
1867
 
 
1868
 
 
1869
          ac_config_files="$ac_config_files Makefile"
 
1870
 
 
1871
cat >confcache <<\_ACEOF
 
1872
# This file is a shell script that caches the results of configure
 
1873
# tests run on this system so they can be shared between configure
 
1874
# scripts and configure runs, see configure's option --config-cache.
 
1875
# It is not useful on other systems.  If it contains results you don't
 
1876
# want to keep, you may remove or edit it.
 
1877
#
 
1878
# config.status only pays attention to the cache file if you give it
 
1879
# the --recheck option to rerun configure.
 
1880
#
 
1881
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
1882
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
1883
# following values.
 
1884
 
 
1885
_ACEOF
 
1886
 
 
1887
# The following way of writing the cache mishandles newlines in values,
 
1888
# but we know of no workaround that is simple, portable, and efficient.
 
1889
# So, don't put newlines in cache variables' values.
 
1890
# Ultrix sh set writes to stderr and can't be redirected directly,
 
1891
# and sets the high bit in the cache file unless we assign to the vars.
 
1892
{
 
1893
  (set) 2>&1 |
 
1894
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
1895
    *ac_space=\ *)
 
1896
      # `set' does not quote correctly, so add quotes (double-quote
 
1897
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
1898
      sed -n \
 
1899
        "s/'/'\\\\''/g;
 
1900
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
1901
      ;;
 
1902
    *)
 
1903
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
1904
      sed -n \
 
1905
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1906
      ;;
 
1907
    esac;
 
1908
} |
 
1909
  sed '
 
1910
     t clear
 
1911
     : clear
 
1912
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
1913
     t end
 
1914
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
1915
     : end' >>confcache
 
1916
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
1917
  if test -w $cache_file; then
 
1918
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
1919
    cat confcache >$cache_file
 
1920
  else
 
1921
    echo "not updating unwritable cache $cache_file"
 
1922
  fi
 
1923
fi
 
1924
rm -f confcache
 
1925
 
 
1926
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
1927
# Let make expand exec_prefix.
 
1928
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
1929
 
 
1930
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
1931
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
1932
# trailing colons and then remove the whole line if VPATH becomes empty
 
1933
# (actually we leave an empty line to preserve line numbers).
 
1934
if test "x$srcdir" = x.; then
 
1935
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
1936
s/:*\$(srcdir):*/:/;
 
1937
s/:*\${srcdir}:*/:/;
 
1938
s/:*@srcdir@:*/:/;
 
1939
s/^\([^=]*=[     ]*\):*/\1/;
 
1940
s/:*$//;
 
1941
s/^[^=]*=[       ]*$//;
 
1942
}'
 
1943
fi
 
1944
 
 
1945
# Transform confdefs.h into DEFS.
 
1946
# Protect against shell expansion while executing Makefile rules.
 
1947
# Protect against Makefile macro expansion.
 
1948
#
 
1949
# If the first sed substitution is executed (which looks for macros that
 
1950
# take arguments), then we branch to the quote section.  Otherwise,
 
1951
# look for a macro that doesn't take arguments.
 
1952
cat >confdef2opt.sed <<\_ACEOF
 
1953
t clear
 
1954
: clear
 
1955
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
1956
t quote
 
1957
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
1958
t quote
 
1959
d
 
1960
: quote
 
1961
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
1962
s,\[,\\&,g
 
1963
s,\],\\&,g
 
1964
s,\$,$$,g
 
1965
p
 
1966
_ACEOF
 
1967
# We use echo to avoid assuming a particular line-breaking character.
 
1968
# The extra dot is to prevent the shell from consuming trailing
 
1969
# line-breaks from the sub-command output.  A line-break within
 
1970
# single-quotes doesn't work because, if this script is created in a
 
1971
# platform that uses two characters for line-breaks (e.g., DOS), tr
 
1972
# would break.
 
1973
ac_LF_and_DOT=`echo; echo .`
 
1974
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
 
1975
rm -f confdef2opt.sed
 
1976
 
 
1977
 
 
1978
ac_libobjs=
 
1979
ac_ltlibobjs=
 
1980
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
1981
  # 1. Remove the extension, and $U if already installed.
 
1982
  ac_i=`echo "$ac_i" |
 
1983
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
1984
  # 2. Add them.
 
1985
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
1986
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
1987
done
 
1988
LIBOBJS=$ac_libobjs
 
1989
 
 
1990
LTLIBOBJS=$ac_ltlibobjs
 
1991
 
 
1992
 
 
1993
 
 
1994
: ${CONFIG_STATUS=./config.status}
 
1995
ac_clean_files_save=$ac_clean_files
 
1996
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
1997
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
1998
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
1999
cat >$CONFIG_STATUS <<_ACEOF
 
2000
#! $SHELL
 
2001
# Generated by $as_me.
 
2002
# Run this file to recreate the current configuration.
 
2003
# Compiler output produced by configure, useful for debugging
 
2004
# configure, is in config.log if it exists.
 
2005
 
 
2006
debug=false
 
2007
ac_cs_recheck=false
 
2008
ac_cs_silent=false
 
2009
SHELL=\${CONFIG_SHELL-$SHELL}
 
2010
_ACEOF
 
2011
 
 
2012
cat >>$CONFIG_STATUS <<\_ACEOF
 
2013
## --------------------- ##
 
2014
## M4sh Initialization.  ##
 
2015
## --------------------- ##
 
2016
 
 
2017
# Be Bourne compatible
 
2018
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2019
  emulate sh
 
2020
  NULLCMD=:
 
2021
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
2022
  # is contrary to our usage.  Disable this feature.
 
2023
  alias -g '${1+"$@"}'='"$@"'
 
2024
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
2025
  set -o posix
 
2026
fi
 
2027
DUALCASE=1; export DUALCASE # for MKS sh
 
2028
 
 
2029
# Support unset when possible.
 
2030
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
2031
  as_unset=unset
 
2032
else
 
2033
  as_unset=false
 
2034
fi
 
2035
 
 
2036
 
 
2037
# Work around bugs in pre-3.0 UWIN ksh.
 
2038
$as_unset ENV MAIL MAILPATH
 
2039
PS1='$ '
 
2040
PS2='> '
 
2041
PS4='+ '
 
2042
 
 
2043
# NLS nuisances.
 
2044
for as_var in \
 
2045
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
2046
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
2047
  LC_TELEPHONE LC_TIME
 
2048
do
 
2049
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
2050
    eval $as_var=C; export $as_var
 
2051
  else
 
2052
    $as_unset $as_var
 
2053
  fi
 
2054
done
 
2055
 
 
2056
# Required to use basename.
 
2057
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2058
  as_expr=expr
 
2059
else
 
2060
  as_expr=false
 
2061
fi
 
2062
 
 
2063
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
2064
  as_basename=basename
 
2065
else
 
2066
  as_basename=false
 
2067
fi
 
2068
 
 
2069
 
 
2070
# Name of the executable.
 
2071
as_me=`$as_basename "$0" ||
 
2072
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
2073
         X"$0" : 'X\(//\)$' \| \
 
2074
         X"$0" : 'X\(/\)$' \| \
 
2075
         .     : '\(.\)' 2>/dev/null ||
 
2076
echo X/"$0" |
 
2077
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
2078
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
2079
          /^X\/\(\/\).*/{ s//\1/; q; }
 
2080
          s/.*/./; q'`
 
2081
 
 
2082
 
 
2083
# PATH needs CR, and LINENO needs CR and PATH.
 
2084
# Avoid depending upon Character Ranges.
 
2085
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2086
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2087
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2088
as_cr_digits='0123456789'
 
2089
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2090
 
 
2091
# The user is always right.
 
2092
if test "${PATH_SEPARATOR+set}" != set; then
 
2093
  echo "#! /bin/sh" >conf$$.sh
 
2094
  echo  "exit 0"   >>conf$$.sh
 
2095
  chmod +x conf$$.sh
 
2096
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2097
    PATH_SEPARATOR=';'
 
2098
  else
 
2099
    PATH_SEPARATOR=:
 
2100
  fi
 
2101
  rm -f conf$$.sh
 
2102
fi
 
2103
 
 
2104
 
 
2105
  as_lineno_1=$LINENO
 
2106
  as_lineno_2=$LINENO
 
2107
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
2108
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2109
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
2110
  # Find who we are.  Look in the path if we contain no path at all
 
2111
  # relative or not.
 
2112
  case $0 in
 
2113
    *[\\/]* ) as_myself=$0 ;;
 
2114
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2115
for as_dir in $PATH
 
2116
do
 
2117
  IFS=$as_save_IFS
 
2118
  test -z "$as_dir" && as_dir=.
 
2119
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2120
done
 
2121
 
 
2122
       ;;
 
2123
  esac
 
2124
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
2125
  # in which case we are not to be found in the path.
 
2126
  if test "x$as_myself" = x; then
 
2127
    as_myself=$0
 
2128
  fi
 
2129
  if test ! -f "$as_myself"; then
 
2130
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
2131
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
2132
   { (exit 1); exit 1; }; }
 
2133
  fi
 
2134
  case $CONFIG_SHELL in
 
2135
  '')
 
2136
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2137
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
2138
do
 
2139
  IFS=$as_save_IFS
 
2140
  test -z "$as_dir" && as_dir=.
 
2141
  for as_base in sh bash ksh sh5; do
 
2142
         case $as_dir in
 
2143
         /*)
 
2144
           if ("$as_dir/$as_base" -c '
 
2145
  as_lineno_1=$LINENO
 
2146
  as_lineno_2=$LINENO
 
2147
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
2148
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2149
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
2150
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
2151
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
2152
             CONFIG_SHELL=$as_dir/$as_base
 
2153
             export CONFIG_SHELL
 
2154
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
2155
           fi;;
 
2156
         esac
 
2157
       done
 
2158
done
 
2159
;;
 
2160
  esac
 
2161
 
 
2162
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
2163
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
2164
  # line-number line before each line; the second 'sed' does the real
 
2165
  # work.  The second script uses 'N' to pair each line-number line
 
2166
  # with the numbered line, and appends trailing '-' during
 
2167
  # substitution so that $LINENO is not a special case at line end.
 
2168
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
2169
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
2170
  sed '=' <$as_myself |
 
2171
    sed '
 
2172
      N
 
2173
      s,$,-,
 
2174
      : loop
 
2175
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
2176
      t loop
 
2177
      s,-$,,
 
2178
      s,^['$as_cr_digits']*\n,,
 
2179
    ' >$as_me.lineno &&
 
2180
  chmod +x $as_me.lineno ||
 
2181
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
2182
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
2183
   { (exit 1); exit 1; }; }
 
2184
 
 
2185
  # Don't try to exec as it changes $[0], causing all sort of problems
 
2186
  # (the dirname of $[0] is not the place where we might find the
 
2187
  # original and so on.  Autoconf is especially sensible to this).
 
2188
  . ./$as_me.lineno
 
2189
  # Exit status is that of the last command.
 
2190
  exit
 
2191
}
 
2192
 
 
2193
 
 
2194
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
2195
  *c*,-n*) ECHO_N= ECHO_C='
 
2196
' ECHO_T='      ' ;;
 
2197
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
2198
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
2199
esac
 
2200
 
 
2201
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2202
  as_expr=expr
 
2203
else
 
2204
  as_expr=false
 
2205
fi
 
2206
 
 
2207
rm -f conf$$ conf$$.exe conf$$.file
 
2208
echo >conf$$.file
 
2209
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
2210
  # We could just check for DJGPP; but this test a) works b) is more generic
 
2211
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
2212
  if test -f conf$$.exe; then
 
2213
    # Don't use ln at all; we don't have any links
 
2214
    as_ln_s='cp -p'
 
2215
  else
 
2216
    as_ln_s='ln -s'
 
2217
  fi
 
2218
elif ln conf$$.file conf$$ 2>/dev/null; then
 
2219
  as_ln_s=ln
 
2220
else
 
2221
  as_ln_s='cp -p'
 
2222
fi
 
2223
rm -f conf$$ conf$$.exe conf$$.file
 
2224
 
 
2225
if mkdir -p . 2>/dev/null; then
 
2226
  as_mkdir_p=:
 
2227
else
 
2228
  test -d ./-p && rmdir ./-p
 
2229
  as_mkdir_p=false
 
2230
fi
 
2231
 
 
2232
as_executable_p="test -f"
 
2233
 
 
2234
# Sed expression to map a string onto a valid CPP name.
 
2235
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
2236
 
 
2237
# Sed expression to map a string onto a valid variable name.
 
2238
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
2239
 
 
2240
 
 
2241
# IFS
 
2242
# We need space, tab and new line, in precisely that order.
 
2243
as_nl='
 
2244
'
 
2245
IFS="   $as_nl"
 
2246
 
 
2247
# CDPATH.
 
2248
$as_unset CDPATH
 
2249
 
 
2250
exec 6>&1
 
2251
 
 
2252
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
2253
# report actual input values of CONFIG_FILES etc. instead of their
 
2254
# values after options handling.  Logging --version etc. is OK.
 
2255
exec 5>>config.log
 
2256
{
 
2257
  echo
 
2258
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2259
## Running $as_me. ##
 
2260
_ASBOX
 
2261
} >&5
 
2262
cat >&5 <<_CSEOF
 
2263
 
 
2264
This file was extended by ldap-account-manager $as_me 1.0.2, which was
 
2265
generated by GNU Autoconf 2.59.  Invocation command line was
 
2266
 
 
2267
  CONFIG_FILES    = $CONFIG_FILES
 
2268
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
2269
  CONFIG_LINKS    = $CONFIG_LINKS
 
2270
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
2271
  $ $0 $@
 
2272
 
 
2273
_CSEOF
 
2274
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
2275
echo >&5
 
2276
_ACEOF
 
2277
 
 
2278
# Files that config.status was made for.
 
2279
if test -n "$ac_config_files"; then
 
2280
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
2281
fi
 
2282
 
 
2283
if test -n "$ac_config_headers"; then
 
2284
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
2285
fi
 
2286
 
 
2287
if test -n "$ac_config_links"; then
 
2288
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
2289
fi
 
2290
 
 
2291
if test -n "$ac_config_commands"; then
 
2292
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
2293
fi
 
2294
 
 
2295
cat >>$CONFIG_STATUS <<\_ACEOF
 
2296
 
 
2297
ac_cs_usage="\
 
2298
\`$as_me' instantiates files from templates according to the
 
2299
current configuration.
 
2300
 
 
2301
Usage: $0 [OPTIONS] [FILE]...
 
2302
 
 
2303
  -h, --help       print this help, then exit
 
2304
  -V, --version    print version number, then exit
 
2305
  -q, --quiet      do not print progress messages
 
2306
  -d, --debug      don't remove temporary files
 
2307
      --recheck    update $as_me by reconfiguring in the same conditions
 
2308
  --file=FILE[:TEMPLATE]
 
2309
                   instantiate the configuration file FILE
 
2310
 
 
2311
Configuration files:
 
2312
$config_files
 
2313
 
 
2314
Report bugs to <bug-autoconf@gnu.org>."
 
2315
_ACEOF
 
2316
 
 
2317
cat >>$CONFIG_STATUS <<_ACEOF
 
2318
ac_cs_version="\\
 
2319
ldap-account-manager config.status 1.0.2
 
2320
configured by $0, generated by GNU Autoconf 2.59,
 
2321
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
2322
 
 
2323
Copyright (C) 2003 Free Software Foundation, Inc.
 
2324
This config.status script is free software; the Free Software Foundation
 
2325
gives unlimited permission to copy, distribute and modify it."
 
2326
srcdir=$srcdir
 
2327
INSTALL="$INSTALL"
 
2328
_ACEOF
 
2329
 
 
2330
cat >>$CONFIG_STATUS <<\_ACEOF
 
2331
# If no file are specified by the user, then we need to provide default
 
2332
# value.  By we need to know if files were specified by the user.
 
2333
ac_need_defaults=:
 
2334
while test $# != 0
 
2335
do
 
2336
  case $1 in
 
2337
  --*=*)
 
2338
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
2339
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
2340
    ac_shift=:
 
2341
    ;;
 
2342
  -*)
 
2343
    ac_option=$1
 
2344
    ac_optarg=$2
 
2345
    ac_shift=shift
 
2346
    ;;
 
2347
  *) # This is not an option, so the user has probably given explicit
 
2348
     # arguments.
 
2349
     ac_option=$1
 
2350
     ac_need_defaults=false;;
 
2351
  esac
 
2352
 
 
2353
  case $ac_option in
 
2354
  # Handling of the options.
 
2355
_ACEOF
 
2356
cat >>$CONFIG_STATUS <<\_ACEOF
 
2357
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
2358
    ac_cs_recheck=: ;;
 
2359
  --version | --vers* | -V )
 
2360
    echo "$ac_cs_version"; exit 0 ;;
 
2361
  --he | --h)
 
2362
    # Conflict between --help and --header
 
2363
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
2364
Try \`$0 --help' for more information." >&5
 
2365
echo "$as_me: error: ambiguous option: $1
 
2366
Try \`$0 --help' for more information." >&2;}
 
2367
   { (exit 1); exit 1; }; };;
 
2368
  --help | --hel | -h )
 
2369
    echo "$ac_cs_usage"; exit 0 ;;
 
2370
  --debug | --d* | -d )
 
2371
    debug=: ;;
 
2372
  --file | --fil | --fi | --f )
 
2373
    $ac_shift
 
2374
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
2375
    ac_need_defaults=false;;
 
2376
  --header | --heade | --head | --hea )
 
2377
    $ac_shift
 
2378
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
2379
    ac_need_defaults=false;;
 
2380
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2381
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
2382
    ac_cs_silent=: ;;
 
2383
 
 
2384
  # This is an error.
 
2385
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
2386
Try \`$0 --help' for more information." >&5
 
2387
echo "$as_me: error: unrecognized option: $1
 
2388
Try \`$0 --help' for more information." >&2;}
 
2389
   { (exit 1); exit 1; }; } ;;
 
2390
 
 
2391
  *) ac_config_targets="$ac_config_targets $1" ;;
 
2392
 
 
2393
  esac
 
2394
  shift
 
2395
done
 
2396
 
 
2397
ac_configure_extra_args=
 
2398
 
 
2399
if $ac_cs_silent; then
 
2400
  exec 6>/dev/null
 
2401
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
2402
fi
 
2403
 
 
2404
_ACEOF
 
2405
cat >>$CONFIG_STATUS <<_ACEOF
 
2406
if \$ac_cs_recheck; then
 
2407
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
2408
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2409
fi
 
2410
 
 
2411
_ACEOF
 
2412
 
 
2413
 
 
2414
 
 
2415
 
 
2416
 
 
2417
cat >>$CONFIG_STATUS <<\_ACEOF
 
2418
for ac_config_target in $ac_config_targets
 
2419
do
 
2420
  case "$ac_config_target" in
 
2421
  # Handling of arguments.
 
2422
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
2423
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
2424
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
2425
   { (exit 1); exit 1; }; };;
 
2426
  esac
 
2427
done
 
2428
 
 
2429
# If the user did not use the arguments to specify the items to instantiate,
 
2430
# then the envvar interface is used.  Set only those that are not.
 
2431
# We use the long form for the default assignment because of an extremely
 
2432
# bizarre bug on SunOS 4.1.3.
 
2433
if $ac_need_defaults; then
 
2434
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
2435
fi
 
2436
 
 
2437
# Have a temporary directory for convenience.  Make it in the build tree
 
2438
# simply because there is no reason to put it here, and in addition,
 
2439
# creating and moving files from /tmp can sometimes cause problems.
 
2440
# Create a temporary directory, and hook for its removal unless debugging.
 
2441
$debug ||
 
2442
{
 
2443
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
2444
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
2445
}
 
2446
 
 
2447
# Create a (secure) tmp directory for tmp files.
 
2448
 
 
2449
{
 
2450
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
2451
  test -n "$tmp" && test -d "$tmp"
 
2452
}  ||
 
2453
{
 
2454
  tmp=./confstat$$-$RANDOM
 
2455
  (umask 077 && mkdir $tmp)
 
2456
} ||
 
2457
{
 
2458
   echo "$me: cannot create a temporary directory in ." >&2
 
2459
   { (exit 1); exit 1; }
 
2460
}
 
2461
 
 
2462
_ACEOF
 
2463
 
 
2464
cat >>$CONFIG_STATUS <<_ACEOF
 
2465
 
 
2466
#
 
2467
# CONFIG_FILES section.
 
2468
#
 
2469
 
 
2470
# No need to generate the scripts if there are no CONFIG_FILES.
 
2471
# This happens for instance when ./config.status config.h
 
2472
if test -n "\$CONFIG_FILES"; then
 
2473
  # Protect against being on the right side of a sed subst in config.status.
 
2474
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
2475
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
2476
s,@SHELL@,$SHELL,;t t
 
2477
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
2478
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
2479
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
2480
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
2481
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
2482
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
2483
s,@exec_prefix@,$exec_prefix,;t t
 
2484
s,@prefix@,$prefix,;t t
 
2485
s,@program_transform_name@,$program_transform_name,;t t
 
2486
s,@bindir@,$bindir,;t t
 
2487
s,@sbindir@,$sbindir,;t t
 
2488
s,@libexecdir@,$libexecdir,;t t
 
2489
s,@datadir@,$datadir,;t t
 
2490
s,@sysconfdir@,$sysconfdir,;t t
 
2491
s,@sharedstatedir@,$sharedstatedir,;t t
 
2492
s,@localstatedir@,$localstatedir,;t t
 
2493
s,@libdir@,$libdir,;t t
 
2494
s,@includedir@,$includedir,;t t
 
2495
s,@oldincludedir@,$oldincludedir,;t t
 
2496
s,@infodir@,$infodir,;t t
 
2497
s,@mandir@,$mandir,;t t
 
2498
s,@build_alias@,$build_alias,;t t
 
2499
s,@host_alias@,$host_alias,;t t
 
2500
s,@target_alias@,$target_alias,;t t
 
2501
s,@DEFS@,$DEFS,;t t
 
2502
s,@ECHO_C@,$ECHO_C,;t t
 
2503
s,@ECHO_N@,$ECHO_N,;t t
 
2504
s,@ECHO_T@,$ECHO_T,;t t
 
2505
s,@LIBS@,$LIBS,;t t
 
2506
s,@SET_MAKE@,$SET_MAKE,;t t
 
2507
s,@LN_S@,$LN_S,;t t
 
2508
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
2509
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
2510
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
2511
s,@CHMOD@,$CHMOD,;t t
 
2512
s,@CHOWN@,$CHOWN,;t t
 
2513
s,@GREP@,$GREP,;t t
 
2514
s,@ID@,$ID,;t t
 
2515
s,@MKDIR@,$MKDIR,;t t
 
2516
s,@RM@,$RM,;t t
 
2517
s,@TAR@,$TAR,;t t
 
2518
s,@COPY@,$COPY,;t t
 
2519
s,@CP@,$CP,;t t
 
2520
s,@COPY_PROG@,$COPY_PROG,;t t
 
2521
s,@HTTPD_USER@,$HTTPD_USER,;t t
 
2522
s,@HTTPD_GROUP@,$HTTPD_GROUP,;t t
 
2523
s,@perl_path@,$perl_path,;t t
 
2524
s,@PERL_PATH@,$PERL_PATH,;t t
 
2525
s,@LIBOBJS@,$LIBOBJS,;t t
 
2526
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
2527
CEOF
 
2528
 
 
2529
_ACEOF
 
2530
 
 
2531
  cat >>$CONFIG_STATUS <<\_ACEOF
 
2532
  # Split the substitutions into bite-sized pieces for seds with
 
2533
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
2534
  ac_max_sed_lines=48
 
2535
  ac_sed_frag=1 # Number of current file.
 
2536
  ac_beg=1 # First line for current file.
 
2537
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
2538
  ac_more_lines=:
 
2539
  ac_sed_cmds=
 
2540
  while $ac_more_lines; do
 
2541
    if test $ac_beg -gt 1; then
 
2542
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
2543
    else
 
2544
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
2545
    fi
 
2546
    if test ! -s $tmp/subs.frag; then
 
2547
      ac_more_lines=false
 
2548
    else
 
2549
      # The purpose of the label and of the branching condition is to
 
2550
      # speed up the sed processing (if there are no `@' at all, there
 
2551
      # is no need to browse any of the substitutions).
 
2552
      # These are the two extra sed commands mentioned above.
 
2553
      (echo ':t
 
2554
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
2555
      if test -z "$ac_sed_cmds"; then
 
2556
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
2557
      else
 
2558
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
2559
      fi
 
2560
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
2561
      ac_beg=$ac_end
 
2562
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
2563
    fi
 
2564
  done
 
2565
  if test -z "$ac_sed_cmds"; then
 
2566
    ac_sed_cmds=cat
 
2567
  fi
 
2568
fi # test -n "$CONFIG_FILES"
 
2569
 
 
2570
_ACEOF
 
2571
cat >>$CONFIG_STATUS <<\_ACEOF
 
2572
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
2573
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
2574
  case $ac_file in
 
2575
  - | *:- | *:-:* ) # input from stdin
 
2576
        cat >$tmp/stdin
 
2577
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
2578
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
2579
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
2580
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
2581
  * )   ac_file_in=$ac_file.in ;;
 
2582
  esac
 
2583
 
 
2584
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
2585
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
2586
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2587
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
2588
         X"$ac_file" : 'X\(//\)$' \| \
 
2589
         X"$ac_file" : 'X\(/\)' \| \
 
2590
         .     : '\(.\)' 2>/dev/null ||
 
2591
echo X"$ac_file" |
 
2592
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
2593
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
2594
          /^X\(\/\/\)$/{ s//\1/; q; }
 
2595
          /^X\(\/\).*/{ s//\1/; q; }
 
2596
          s/.*/./; q'`
 
2597
  { if $as_mkdir_p; then
 
2598
    mkdir -p "$ac_dir"
 
2599
  else
 
2600
    as_dir="$ac_dir"
 
2601
    as_dirs=
 
2602
    while test ! -d "$as_dir"; do
 
2603
      as_dirs="$as_dir $as_dirs"
 
2604
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
2605
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2606
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
2607
         X"$as_dir" : 'X\(//\)$' \| \
 
2608
         X"$as_dir" : 'X\(/\)' \| \
 
2609
         .     : '\(.\)' 2>/dev/null ||
 
2610
echo X"$as_dir" |
 
2611
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
2612
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
2613
          /^X\(\/\/\)$/{ s//\1/; q; }
 
2614
          /^X\(\/\).*/{ s//\1/; q; }
 
2615
          s/.*/./; q'`
 
2616
    done
 
2617
    test ! -n "$as_dirs" || mkdir $as_dirs
 
2618
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
2619
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
2620
   { (exit 1); exit 1; }; }; }
 
2621
 
 
2622
  ac_builddir=.
 
2623
 
 
2624
if test "$ac_dir" != .; then
 
2625
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
2626
  # A "../" for each directory in $ac_dir_suffix.
 
2627
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
2628
else
 
2629
  ac_dir_suffix= ac_top_builddir=
 
2630
fi
 
2631
 
 
2632
case $srcdir in
 
2633
  .)  # No --srcdir option.  We are building in place.
 
2634
    ac_srcdir=.
 
2635
    if test -z "$ac_top_builddir"; then
 
2636
       ac_top_srcdir=.
 
2637
    else
 
2638
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
2639
    fi ;;
 
2640
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
2641
    ac_srcdir=$srcdir$ac_dir_suffix;
 
2642
    ac_top_srcdir=$srcdir ;;
 
2643
  *) # Relative path.
 
2644
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
2645
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
2646
esac
 
2647
 
 
2648
# Do not use `cd foo && pwd` to compute absolute paths, because
 
2649
# the directories may not exist.
 
2650
case `pwd` in
 
2651
.) ac_abs_builddir="$ac_dir";;
 
2652
*)
 
2653
  case "$ac_dir" in
 
2654
  .) ac_abs_builddir=`pwd`;;
 
2655
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
2656
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
2657
  esac;;
 
2658
esac
 
2659
case $ac_abs_builddir in
 
2660
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
2661
*)
 
2662
  case ${ac_top_builddir}. in
 
2663
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
2664
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
2665
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
2666
  esac;;
 
2667
esac
 
2668
case $ac_abs_builddir in
 
2669
.) ac_abs_srcdir=$ac_srcdir;;
 
2670
*)
 
2671
  case $ac_srcdir in
 
2672
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
2673
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
2674
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
2675
  esac;;
 
2676
esac
 
2677
case $ac_abs_builddir in
 
2678
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
2679
*)
 
2680
  case $ac_top_srcdir in
 
2681
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
2682
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
2683
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
2684
  esac;;
 
2685
esac
 
2686
 
 
2687
 
 
2688
  case $INSTALL in
 
2689
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
2690
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
2691
  esac
 
2692
 
 
2693
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
2694
  # use $as_me), people would be surprised to read:
 
2695
  #    /* config.h.  Generated by config.status.  */
 
2696
  if test x"$ac_file" = x-; then
 
2697
    configure_input=
 
2698
  else
 
2699
    configure_input="$ac_file.  "
 
2700
  fi
 
2701
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
2702
                                     sed 's,.*/,,'` by configure."
 
2703
 
 
2704
  # First look for the input files in the build tree, otherwise in the
 
2705
  # src tree.
 
2706
  ac_file_inputs=`IFS=:
 
2707
    for f in $ac_file_in; do
 
2708
      case $f in
 
2709
      -) echo $tmp/stdin ;;
 
2710
      [\\/$]*)
 
2711
         # Absolute (can't be DOS-style, as IFS=:)
 
2712
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
2713
echo "$as_me: error: cannot find input file: $f" >&2;}
 
2714
   { (exit 1); exit 1; }; }
 
2715
         echo "$f";;
 
2716
      *) # Relative
 
2717
         if test -f "$f"; then
 
2718
           # Build tree
 
2719
           echo "$f"
 
2720
         elif test -f "$srcdir/$f"; then
 
2721
           # Source tree
 
2722
           echo "$srcdir/$f"
 
2723
         else
 
2724
           # /dev/null tree
 
2725
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
2726
echo "$as_me: error: cannot find input file: $f" >&2;}
 
2727
   { (exit 1); exit 1; }; }
 
2728
         fi;;
 
2729
      esac
 
2730
    done` || { (exit 1); exit 1; }
 
2731
 
 
2732
  if test x"$ac_file" != x-; then
 
2733
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
2734
echo "$as_me: creating $ac_file" >&6;}
 
2735
    rm -f "$ac_file"
 
2736
  fi
 
2737
_ACEOF
 
2738
cat >>$CONFIG_STATUS <<_ACEOF
 
2739
  sed "$ac_vpsub
 
2740
$extrasub
 
2741
_ACEOF
 
2742
cat >>$CONFIG_STATUS <<\_ACEOF
 
2743
:t
 
2744
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
2745
s,@configure_input@,$configure_input,;t t
 
2746
s,@srcdir@,$ac_srcdir,;t t
 
2747
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
2748
s,@top_srcdir@,$ac_top_srcdir,;t t
 
2749
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
2750
s,@builddir@,$ac_builddir,;t t
 
2751
s,@abs_builddir@,$ac_abs_builddir,;t t
 
2752
s,@top_builddir@,$ac_top_builddir,;t t
 
2753
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
2754
s,@INSTALL@,$ac_INSTALL,;t t
 
2755
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
2756
  rm -f $tmp/stdin
 
2757
  if test x"$ac_file" != x-; then
 
2758
    mv $tmp/out $ac_file
 
2759
  else
 
2760
    cat $tmp/out
 
2761
    rm -f $tmp/out
 
2762
  fi
 
2763
 
 
2764
done
 
2765
_ACEOF
 
2766
 
 
2767
cat >>$CONFIG_STATUS <<\_ACEOF
 
2768
 
 
2769
{ (exit 0); exit 0; }
 
2770
_ACEOF
 
2771
chmod +x $CONFIG_STATUS
 
2772
ac_clean_files=$ac_clean_files_save
 
2773
 
 
2774
 
 
2775
# configure is writing to config.log, and then calls config.status.
 
2776
# config.status does its own redirection, appending to config.log.
 
2777
# Unfortunately, on DOS this fails, as config.log is still kept open
 
2778
# by configure, so config.status won't be able to write to it; its
 
2779
# output is simply discarded.  So we exec the FD to /dev/null,
 
2780
# effectively closing config.log, so it can be properly (re)opened and
 
2781
# appended to by config.status.  When coming back to configure, we
 
2782
# need to make the FD available again.
 
2783
if test "$no_create" != yes; then
 
2784
  ac_cs_success=:
 
2785
  ac_config_status_args=
 
2786
  test "$silent" = yes &&
 
2787
    ac_config_status_args="$ac_config_status_args --quiet"
 
2788
  exec 5>/dev/null
 
2789
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
2790
  exec 5>>config.log
 
2791
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
2792
  # would make configure fail if this is the last instruction.
 
2793
  $ac_cs_success || { (exit 1); exit 1; }
 
2794
fi
 
2795
 
 
2796