Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LDAP Git Backup 1.0.8.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell [email protected] and [email protected]
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='LDAP Git Backup'
581 PACKAGE_TARNAME='ldap-git-backup'
582 PACKAGE_VERSION='1.0.8'
583 PACKAGE_STRING='LDAP Git Backup 1.0.8'
584 PACKAGE_BUGREPORT='[email protected]'
585 PACKAGE_URL='https://github.com/elmar/ldap-git-backup
586 '
587
588 ac_subst_vars='LTLIBOBJS
589 LIBOBJS
590 AM_BACKSLASH
591 AM_DEFAULT_VERBOSITY
592 AM_DEFAULT_V
593 AM_V
594 am__untar
595 am__tar
596 AMTAR
597 am__leading_dot
598 SET_MAKE
599 AWK
600 mkdir_p
601 MKDIR_P
602 INSTALL_STRIP_PROGRAM
603 STRIP
604 install_sh
605 MAKEINFO
606 AUTOHEADER
607 AUTOMAKE
608 AUTOCONF
609 ACLOCAL
610 VERSION
611 PACKAGE
612 CYGPATH_W
613 am__isrc
614 INSTALL_DATA
615 INSTALL_SCRIPT
616 INSTALL_PROGRAM
617 target_alias
618 host_alias
619 build_alias
620 LIBS
621 ECHO_T
622 ECHO_N
623 ECHO_C
624 DEFS
625 mandir
626 localedir
627 libdir
628 psdir
629 pdfdir
630 dvidir
631 htmldir
632 infodir
633 docdir
634 oldincludedir
635 includedir
636 runstatedir
637 localstatedir
638 sharedstatedir
639 sysconfdir
640 datadir
641 datarootdir
642 libexecdir
643 sbindir
644 bindir
645 program_transform_name
646 prefix
647 exec_prefix
648 PACKAGE_URL
649 PACKAGE_BUGREPORT
650 PACKAGE_STRING
651 PACKAGE_VERSION
652 PACKAGE_TARNAME
653 PACKAGE_NAME
654 PATH_SEPARATOR
655 SHELL'
656 ac_subst_files=''
657 ac_user_opts='
658 enable_option_checking
659 enable_silent_rules
660 '
661 ac_precious_vars='build_alias
662 host_alias
663 target_alias'
664
665
666 # Initialize some variables set by options.
667 ac_init_help=
668 ac_init_version=false
669 ac_unrecognized_opts=
670 ac_unrecognized_sep=
671 # The variables have the same names as the options, with
672 # dashes changed to underlines.
673 cache_file=/dev/null
674 exec_prefix=NONE
675 no_create=
676 no_recursion=
677 prefix=NONE
678 program_prefix=NONE
679 program_suffix=NONE
680 program_transform_name=s,x,x,
681 silent=
682 site=
683 srcdir=
684 verbose=
685 x_includes=NONE
686 x_libraries=NONE
687
688 # Installation directory options.
689 # These are left unexpanded so users can "make install exec_prefix=/foo"
690 # and all the variables that are supposed to be based on exec_prefix
691 # by default will actually change.
692 # Use braces instead of parens because sh, perl, etc. also accept them.
693 # (The list follows the same order as the GNU Coding Standards.)
694 bindir='${exec_prefix}/bin'
695 sbindir='${exec_prefix}/sbin'
696 libexecdir='${exec_prefix}/libexec'
697 datarootdir='${prefix}/share'
698 datadir='${datarootdir}'
699 sysconfdir='${prefix}/etc'
700 sharedstatedir='${prefix}/com'
701 localstatedir='${prefix}/var'
702 runstatedir='${localstatedir}/run'
703 includedir='${prefix}/include'
704 oldincludedir='/usr/include'
705 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
706 infodir='${datarootdir}/info'
707 htmldir='${docdir}'
708 dvidir='${docdir}'
709 pdfdir='${docdir}'
710 psdir='${docdir}'
711 libdir='${exec_prefix}/lib'
712 localedir='${datarootdir}/locale'
713 mandir='${datarootdir}/man'
714
715 ac_prev=
716 ac_dashdash=
717 for ac_option
718 do
719 # If the previous option needs an argument, assign it.
720 if test -n "$ac_prev"; then
721 eval $ac_prev=\$ac_option
722 ac_prev=
723 continue
724 fi
725
726 case $ac_option in
727 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
728 *=) ac_optarg= ;;
729 *) ac_optarg=yes ;;
730 esac
731
732 # Accept the important Cygnus configure options, so we can diagnose typos.
733
734 case $ac_dashdash$ac_option in
735 --)
736 ac_dashdash=yes ;;
737
738 -bindir | --bindir | --bindi | --bind | --bin | --bi)
739 ac_prev=bindir ;;
740 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
741 bindir=$ac_optarg ;;
742
743 -build | --build | --buil | --bui | --bu)
744 ac_prev=build_alias ;;
745 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
746 build_alias=$ac_optarg ;;
747
748 -cache-file | --cache-file | --cache-fil | --cache-fi \
749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
750 ac_prev=cache_file ;;
751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
753 cache_file=$ac_optarg ;;
754
755 --config-cache | -C)
756 cache_file=config.cache ;;
757
758 -datadir | --datadir | --datadi | --datad)
759 ac_prev=datadir ;;
760 -datadir=* | --datadir=* | --datadi=* | --datad=*)
761 datadir=$ac_optarg ;;
762
763 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
764 | --dataroo | --dataro | --datar)
765 ac_prev=datarootdir ;;
766 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
767 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
768 datarootdir=$ac_optarg ;;
769
770 -disable-* | --disable-*)
771 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
772 # Reject names that are not valid shell variable names.
773 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
774 as_fn_error $? "invalid feature name: $ac_useropt"
775 ac_useropt_orig=$ac_useropt
776 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
777 case $ac_user_opts in
778 *"
779 "enable_$ac_useropt"
780 "*) ;;
781 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
782 ac_unrecognized_sep=', ';;
783 esac
784 eval enable_$ac_useropt=no ;;
785
786 -docdir | --docdir | --docdi | --doc | --do)
787 ac_prev=docdir ;;
788 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789 docdir=$ac_optarg ;;
790
791 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
792 ac_prev=dvidir ;;
793 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
794 dvidir=$ac_optarg ;;
795
796 -enable-* | --enable-*)
797 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800 as_fn_error $? "invalid feature name: $ac_useropt"
801 ac_useropt_orig=$ac_useropt
802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
804 *"
805 "enable_$ac_useropt"
806 "*) ;;
807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
808 ac_unrecognized_sep=', ';;
809 esac
810 eval enable_$ac_useropt=\$ac_optarg ;;
811
812 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
813 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
814 | --exec | --exe | --ex)
815 ac_prev=exec_prefix ;;
816 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
817 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
818 | --exec=* | --exe=* | --ex=*)
819 exec_prefix=$ac_optarg ;;
820
821 -gas | --gas | --ga | --g)
822 # Obsolete; use --with-gas.
823 with_gas=yes ;;
824
825 -help | --help | --hel | --he | -h)
826 ac_init_help=long ;;
827 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
828 ac_init_help=recursive ;;
829 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
830 ac_init_help=short ;;
831
832 -host | --host | --hos | --ho)
833 ac_prev=host_alias ;;
834 -host=* | --host=* | --hos=* | --ho=*)
835 host_alias=$ac_optarg ;;
836
837 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
838 ac_prev=htmldir ;;
839 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
840 | --ht=*)
841 htmldir=$ac_optarg ;;
842
843 -includedir | --includedir | --includedi | --included | --include \
844 | --includ | --inclu | --incl | --inc)
845 ac_prev=includedir ;;
846 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
847 | --includ=* | --inclu=* | --incl=* | --inc=*)
848 includedir=$ac_optarg ;;
849
850 -infodir | --infodir | --infodi | --infod | --info | --inf)
851 ac_prev=infodir ;;
852 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
853 infodir=$ac_optarg ;;
854
855 -libdir | --libdir | --libdi | --libd)
856 ac_prev=libdir ;;
857 -libdir=* | --libdir=* | --libdi=* | --libd=*)
858 libdir=$ac_optarg ;;
859
860 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
861 | --libexe | --libex | --libe)
862 ac_prev=libexecdir ;;
863 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
864 | --libexe=* | --libex=* | --libe=*)
865 libexecdir=$ac_optarg ;;
866
867 -localedir | --localedir | --localedi | --localed | --locale)
868 ac_prev=localedir ;;
869 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
870 localedir=$ac_optarg ;;
871
872 -localstatedir | --localstatedir | --localstatedi | --localstated \
873 | --localstate | --localstat | --localsta | --localst | --locals)
874 ac_prev=localstatedir ;;
875 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
876 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
877 localstatedir=$ac_optarg ;;
878
879 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
880 ac_prev=mandir ;;
881 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
882 mandir=$ac_optarg ;;
883
884 -nfp | --nfp | --nf)
885 # Obsolete; use --without-fp.
886 with_fp=no ;;
887
888 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
889 | --no-cr | --no-c | -n)
890 no_create=yes ;;
891
892 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
893 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
894 no_recursion=yes ;;
895
896 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
897 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
898 | --oldin | --oldi | --old | --ol | --o)
899 ac_prev=oldincludedir ;;
900 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
901 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
902 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
903 oldincludedir=$ac_optarg ;;
904
905 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
906 ac_prev=prefix ;;
907 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
908 prefix=$ac_optarg ;;
909
910 -program-prefix | --program-prefix | --program-prefi | --program-pref \
911 | --program-pre | --program-pr | --program-p)
912 ac_prev=program_prefix ;;
913 -program-prefix=* | --program-prefix=* | --program-prefi=* \
914 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
915 program_prefix=$ac_optarg ;;
916
917 -program-suffix | --program-suffix | --program-suffi | --program-suff \
918 | --program-suf | --program-su | --program-s)
919 ac_prev=program_suffix ;;
920 -program-suffix=* | --program-suffix=* | --program-suffi=* \
921 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
922 program_suffix=$ac_optarg ;;
923
924 -program-transform-name | --program-transform-name \
925 | --program-transform-nam | --program-transform-na \
926 | --program-transform-n | --program-transform- \
927 | --program-transform | --program-transfor \
928 | --program-transfo | --program-transf \
929 | --program-trans | --program-tran \
930 | --progr-tra | --program-tr | --program-t)
931 ac_prev=program_transform_name ;;
932 -program-transform-name=* | --program-transform-name=* \
933 | --program-transform-nam=* | --program-transform-na=* \
934 | --program-transform-n=* | --program-transform-=* \
935 | --program-transform=* | --program-transfor=* \
936 | --program-transfo=* | --program-transf=* \
937 | --program-trans=* | --program-tran=* \
938 | --progr-tra=* | --program-tr=* | --program-t=*)
939 program_transform_name=$ac_optarg ;;
940
941 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
942 ac_prev=pdfdir ;;
943 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 pdfdir=$ac_optarg ;;
945
946 -psdir | --psdir | --psdi | --psd | --ps)
947 ac_prev=psdir ;;
948 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 psdir=$ac_optarg ;;
950
951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
952 | -silent | --silent | --silen | --sile | --sil)
953 silent=yes ;;
954
955 -runstatedir | --runstatedir | --runstatedi | --runstated \
956 | --runstate | --runstat | --runsta | --runst | --runs \
957 | --run | --ru | --r)
958 ac_prev=runstatedir ;;
959 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
960 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
961 | --run=* | --ru=* | --r=*)
962 runstatedir=$ac_optarg ;;
963
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965 ac_prev=sbindir ;;
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967 | --sbi=* | --sb=*)
968 sbindir=$ac_optarg ;;
969
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
973 | --sha | --sh)
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978 | --sha=* | --sh=*)
979 sharedstatedir=$ac_optarg ;;
980
981 -site | --site | --sit)
982 ac_prev=site ;;
983 -site=* | --site=* | --sit=*)
984 site=$ac_optarg ;;
985
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987 ac_prev=srcdir ;;
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989 srcdir=$ac_optarg ;;
990
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
997
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1002
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004 verbose=yes ;;
1005
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1008
1009 -with-* | --with-*)
1010 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013 as_fn_error $? "invalid package name: $ac_useropt"
1014 ac_useropt_orig=$ac_useropt
1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1017 *"
1018 "with_$ac_useropt"
1019 "*) ;;
1020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1021 ac_unrecognized_sep=', ';;
1022 esac
1023 eval with_$ac_useropt=\$ac_optarg ;;
1024
1025 -without-* | --without-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error $? "invalid package name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034 "with_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval with_$ac_useropt=no ;;
1040
1041 --x)
1042 # Obsolete; use --with-x.
1043 with_x=yes ;;
1044
1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1046 | --x-incl | --x-inc | --x-in | --x-i)
1047 ac_prev=x_includes ;;
1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1050 x_includes=$ac_optarg ;;
1051
1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1054 ac_prev=x_libraries ;;
1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1057 x_libraries=$ac_optarg ;;
1058
1059 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1060 Try \`$0 --help' for more information"
1061 ;;
1062
1063 *=*)
1064 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1065 # Reject names that are not valid shell variable names.
1066 case $ac_envvar in #(
1067 '' | [0-9]* | *[!_$as_cr_alnum]* )
1068 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1069 esac
1070 eval $ac_envvar=\$ac_optarg
1071 export $ac_envvar ;;
1072
1073 *)
1074 # FIXME: should be removed in autoconf 3.0.
1075 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1078 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1079 ;;
1080
1081 esac
1082 done
1083
1084 if test -n "$ac_prev"; then
1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1086 as_fn_error $? "missing argument to $ac_option"
1087 fi
1088
1089 if test -n "$ac_unrecognized_opts"; then
1090 case $enable_option_checking in
1091 no) ;;
1092 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1093 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1094 esac
1095 fi
1096
1097 # Check all directory arguments for consistency.
1098 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1099 datadir sysconfdir sharedstatedir localstatedir includedir \
1100 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1101 libdir localedir mandir runstatedir
1102 do
1103 eval ac_val=\$$ac_var
1104 # Remove trailing slashes.
1105 case $ac_val in
1106 */ )
1107 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1108 eval $ac_var=\$ac_val;;
1109 esac
1110 # Be sure to have absolute directory names.
1111 case $ac_val in
1112 [\\/$]* | ?:[\\/]* ) continue;;
1113 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1114 esac
1115 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1116 done
1117
1118 # There might be people who depend on the old broken behavior: `$host'
1119 # used to hold the argument of --host etc.
1120 # FIXME: To remove some day.
1121 build=$build_alias
1122 host=$host_alias
1123 target=$target_alias
1124
1125 # FIXME: To remove some day.
1126 if test "x$host_alias" != x; then
1127 if test "x$build_alias" = x; then
1128 cross_compiling=maybe
1129 elif test "x$build_alias" != "x$host_alias"; then
1130 cross_compiling=yes
1131 fi
1132 fi
1133
1134 ac_tool_prefix=
1135 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1136
1137 test "$silent" = yes && exec 6>/dev/null
1138
1139
1140 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1141 ac_ls_di=`ls -di .` &&
1142 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1143 as_fn_error $? "working directory cannot be determined"
1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1145 as_fn_error $? "pwd does not report name of working directory"
1146
1147
1148 # Find the source files, if location was not specified.
1149 if test -z "$srcdir"; then
1150 ac_srcdir_defaulted=yes
1151 # Try the directory containing this script, then the parent directory.
1152 ac_confdir=`$as_dirname -- "$as_myself" ||
1153 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1154 X"$as_myself" : 'X\(//\)[^/]' \| \
1155 X"$as_myself" : 'X\(//\)$' \| \
1156 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1157 $as_echo X"$as_myself" |
1158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1159 s//\1/
1160 q
1161 }
1162 /^X\(\/\/\)[^/].*/{
1163 s//\1/
1164 q
1165 }
1166 /^X\(\/\/\)$/{
1167 s//\1/
1168 q
1169 }
1170 /^X\(\/\).*/{
1171 s//\1/
1172 q
1173 }
1174 s/.*/./; q'`
1175 srcdir=$ac_confdir
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177 srcdir=..
1178 fi
1179 else
1180 ac_srcdir_defaulted=no
1181 fi
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1183 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1184 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1185 fi
1186 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1187 ac_abs_confdir=`(
1188 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1189 pwd)`
1190 # When building in place, set srcdir=.
1191 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 srcdir=.
1193 fi
1194 # Remove unnecessary trailing slashes from srcdir.
1195 # Double slashes in file names in object file debugging info
1196 # mess up M-x gdb in Emacs.
1197 case $srcdir in
1198 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199 esac
1200 for ac_var in $ac_precious_vars; do
1201 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_env_${ac_var}_value=\$${ac_var}
1203 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205 done
1206
1207 #
1208 # Report the --help message.
1209 #
1210 if test "$ac_init_help" = "long"; then
1211 # Omit some internal or obsolete options to make the list less imposing.
1212 # This message is too long to be a string in the A/UX 3.1 sh.
1213 cat <<_ACEOF
1214 \`configure' configures LDAP Git Backup 1.0.8 to adapt to many kinds of systems.
1215
1216 Usage: $0 [OPTION]... [VAR=VALUE]...
1217
1218 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1219 VAR=VALUE. See below for descriptions of some of the useful variables.
1220
1221 Defaults for the options are specified in brackets.
1222
1223 Configuration:
1224 -h, --help display this help and exit
1225 --help=short display options specific to this package
1226 --help=recursive display the short help of all the included packages
1227 -V, --version display version information and exit
1228 -q, --quiet, --silent do not print \`checking ...' messages
1229 --cache-file=FILE cache test results in FILE [disabled]
1230 -C, --config-cache alias for \`--cache-file=config.cache'
1231 -n, --no-create do not create output files
1232 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1233
1234 Installation directories:
1235 --prefix=PREFIX install architecture-independent files in PREFIX
1236 [$ac_default_prefix]
1237 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 [PREFIX]
1239
1240 By default, \`make install' will install all the files in
1241 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1242 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1243 for instance \`--prefix=\$HOME'.
1244
1245 For better control, use the options below.
1246
1247 Fine tuning of the installation directories:
1248 --bindir=DIR user executables [EPREFIX/bin]
1249 --sbindir=DIR system admin executables [EPREFIX/sbin]
1250 --libexecdir=DIR program executables [EPREFIX/libexec]
1251 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1252 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1253 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1254 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/ldap-git-backup]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1268 _ACEOF
1269
1270 cat <<\_ACEOF
1271
1272 Program names:
1273 --program-prefix=PREFIX prepend PREFIX to installed program names
1274 --program-suffix=SUFFIX append SUFFIX to installed program names
1275 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1276 _ACEOF
1277 fi
1278
1279 if test -n "$ac_init_help"; then
1280 case $ac_init_help in
1281 short | recursive ) echo "Configuration of LDAP Git Backup 1.0.8:";;
1282 esac
1283 cat <<\_ACEOF
1284
1285 Optional Features:
1286 --disable-option-checking ignore unrecognized --enable/--with options
1287 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1288 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1289 --enable-silent-rules less verbose build output (undo: "make V=1")
1290 --disable-silent-rules verbose build output (undo: "make V=0")
1291
1292 Report bugs to <[email protected]>.
1293 LDAP Git Backup home page: <https://github.com/elmar/ldap-git-backup
1294 >.
1295 _ACEOF
1296 ac_status=$?
1297 fi
1298
1299 if test "$ac_init_help" = "recursive"; then
1300 # If there are subdirs, report their specific --help.
1301 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302 test -d "$ac_dir" ||
1303 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1304 continue
1305 ac_builddir=.
1306
1307 case "$ac_dir" in
1308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 *)
1310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311 # A ".." for each directory in $ac_dir_suffix.
1312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313 case $ac_top_builddir_sub in
1314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1316 esac ;;
1317 esac
1318 ac_abs_top_builddir=$ac_pwd
1319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320 # for backward compatibility:
1321 ac_top_builddir=$ac_top_build_prefix
1322
1323 case $srcdir in
1324 .) # We are building in place.
1325 ac_srcdir=.
1326 ac_top_srcdir=$ac_top_builddir_sub
1327 ac_abs_top_srcdir=$ac_pwd ;;
1328 [\\/]* | ?:[\\/]* ) # Absolute name.
1329 ac_srcdir=$srcdir$ac_dir_suffix;
1330 ac_top_srcdir=$srcdir
1331 ac_abs_top_srcdir=$srcdir ;;
1332 *) # Relative name.
1333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334 ac_top_srcdir=$ac_top_build_prefix$srcdir
1335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1336 esac
1337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1338
1339 cd "$ac_dir" || { ac_status=$?; continue; }
1340 # Check for guested configure.
1341 if test -f "$ac_srcdir/configure.gnu"; then
1342 echo &&
1343 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344 elif test -f "$ac_srcdir/configure"; then
1345 echo &&
1346 $SHELL "$ac_srcdir/configure" --help=recursive
1347 else
1348 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1349 fi || ac_status=$?
1350 cd "$ac_pwd" || { ac_status=$?; break; }
1351 done
1352 fi
1353
1354 test -n "$ac_init_help" && exit $ac_status
1355 if $ac_init_version; then
1356 cat <<\_ACEOF
1357 LDAP Git Backup configure 1.0.8
1358 generated by GNU Autoconf 2.69
1359
1360 Copyright (C) 2012 Free Software Foundation, Inc.
1361 This configure script is free software; the Free Software Foundation
1362 gives unlimited permission to copy, distribute and modify it.
1363 _ACEOF
1364 exit
1365 fi
1366
1367 ## ------------------------ ##
1368 ## Autoconf initialization. ##
1369 ## ------------------------ ##
1370 cat >config.log <<_ACEOF
1371 This file contains any messages produced by compilers while
1372 running configure, to aid debugging if configure makes a mistake.
1373
1374 It was created by LDAP Git Backup $as_me 1.0.8, which was
1375 generated by GNU Autoconf 2.69. Invocation command line was
1376
1377 $ $0 $@
1378
1379 _ACEOF
1380 exec 5>>config.log
1381 {
1382 cat <<_ASUNAME
1383 ## --------- ##
1384 ## Platform. ##
1385 ## --------- ##
1386
1387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1392
1393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1395
1396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1403
1404 _ASUNAME
1405
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407 for as_dir in $PATH
1408 do
1409 IFS=$as_save_IFS
1410 test -z "$as_dir" && as_dir=.
1411 $as_echo "PATH: $as_dir"
1412 done
1413 IFS=$as_save_IFS
1414
1415 } >&5
1416
1417 cat >&5 <<_ACEOF
1418
1419
1420 ## ----------- ##
1421 ## Core tests. ##
1422 ## ----------- ##
1423
1424 _ACEOF
1425
1426
1427 # Keep a trace of the command line.
1428 # Strip out --no-create and --no-recursion so they do not pile up.
1429 # Strip out --silent because we don't want to record it for future runs.
1430 # Also quote any args containing shell meta-characters.
1431 # Make two passes to allow for proper duplicate-argument suppression.
1432 ac_configure_args=
1433 ac_configure_args0=
1434 ac_configure_args1=
1435 ac_must_keep_next=false
1436 for ac_pass in 1 2
1437 do
1438 for ac_arg
1439 do
1440 case $ac_arg in
1441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1443 | -silent | --silent | --silen | --sile | --sil)
1444 continue ;;
1445 *\'*)
1446 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 esac
1448 case $ac_pass in
1449 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1450 2)
1451 as_fn_append ac_configure_args1 " '$ac_arg'"
1452 if test $ac_must_keep_next = true; then
1453 ac_must_keep_next=false # Got value, back to normal.
1454 else
1455 case $ac_arg in
1456 *=* | --config-cache | -C | -disable-* | --disable-* \
1457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1459 | -with-* | --with-* | -without-* | --without-* | --x)
1460 case "$ac_configure_args0 " in
1461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1462 esac
1463 ;;
1464 -* ) ac_must_keep_next=true ;;
1465 esac
1466 fi
1467 as_fn_append ac_configure_args " '$ac_arg'"
1468 ;;
1469 esac
1470 done
1471 done
1472 { ac_configure_args0=; unset ac_configure_args0;}
1473 { ac_configure_args1=; unset ac_configure_args1;}
1474
1475 # When interrupted or exit'd, cleanup temporary files, and complete
1476 # config.log. We remove comments because anyway the quotes in there
1477 # would cause problems or look ugly.
1478 # WARNING: Use '\'' to represent an apostrophe within the trap.
1479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1480 trap 'exit_status=$?
1481 # Save into config.log some information that might help in debugging.
1482 {
1483 echo
1484
1485 $as_echo "## ---------------- ##
1486 ## Cache variables. ##
1487 ## ---------------- ##"
1488 echo
1489 # The following way of writing the cache mishandles newlines in values,
1490 (
1491 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1492 eval ac_val=\$$ac_var
1493 case $ac_val in #(
1494 *${as_nl}*)
1495 case $ac_var in #(
1496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1498 esac
1499 case $ac_var in #(
1500 _ | IFS | as_nl) ;; #(
1501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1502 *) { eval $ac_var=; unset $ac_var;} ;;
1503 esac ;;
1504 esac
1505 done
1506 (set) 2>&1 |
1507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1508 *${as_nl}ac_space=\ *)
1509 sed -n \
1510 "s/'\''/'\''\\\\'\'''\''/g;
1511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1512 ;; #(
1513 *)
1514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1515 ;;
1516 esac |
1517 sort
1518 )
1519 echo
1520
1521 $as_echo "## ----------------- ##
1522 ## Output variables. ##
1523 ## ----------------- ##"
1524 echo
1525 for ac_var in $ac_subst_vars
1526 do
1527 eval ac_val=\$$ac_var
1528 case $ac_val in
1529 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1530 esac
1531 $as_echo "$ac_var='\''$ac_val'\''"
1532 done | sort
1533 echo
1534
1535 if test -n "$ac_subst_files"; then
1536 $as_echo "## ------------------- ##
1537 ## File substitutions. ##
1538 ## ------------------- ##"
1539 echo
1540 for ac_var in $ac_subst_files
1541 do
1542 eval ac_val=\$$ac_var
1543 case $ac_val in
1544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 esac
1546 $as_echo "$ac_var='\''$ac_val'\''"
1547 done | sort
1548 echo
1549 fi
1550
1551 if test -s confdefs.h; then
1552 $as_echo "## ----------- ##
1553 ## confdefs.h. ##
1554 ## ----------- ##"
1555 echo
1556 cat confdefs.h
1557 echo
1558 fi
1559 test "$ac_signal" != 0 &&
1560 $as_echo "$as_me: caught signal $ac_signal"
1561 $as_echo "$as_me: exit $exit_status"
1562 } >&5
1563 rm -f core *.core core.conftest.* &&
1564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1565 exit $exit_status
1566 ' 0
1567 for ac_signal in 1 2 13 15; do
1568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1569 done
1570 ac_signal=0
1571
1572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1573 rm -f -r conftest* confdefs.h
1574
1575 $as_echo "/* confdefs.h */" > confdefs.h
1576
1577 # Predefined preprocessor variables.
1578
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE_NAME "$PACKAGE_NAME"
1581 _ACEOF
1582
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1585 _ACEOF
1586
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1589 _ACEOF
1590
1591 cat >>confdefs.h <<_ACEOF
1592 #define PACKAGE_STRING "$PACKAGE_STRING"
1593 _ACEOF
1594
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1597 _ACEOF
1598
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_URL "$PACKAGE_URL"
1601 _ACEOF
1602
1603
1604 # Let the site file select an alternate cache file if it wants to.
1605 # Prefer an explicitly selected file to automatically selected ones.
1606 ac_site_file1=NONE
1607 ac_site_file2=NONE
1608 if test -n "$CONFIG_SITE"; then
1609 # We do not want a PATH search for config.site.
1610 case $CONFIG_SITE in #((
1611 -*) ac_site_file1=./$CONFIG_SITE;;
1612 */*) ac_site_file1=$CONFIG_SITE;;
1613 *) ac_site_file1=./$CONFIG_SITE;;
1614 esac
1615 elif test "x$prefix" != xNONE; then
1616 ac_site_file1=$prefix/share/config.site
1617 ac_site_file2=$prefix/etc/config.site
1618 else
1619 ac_site_file1=$ac_default_prefix/share/config.site
1620 ac_site_file2=$ac_default_prefix/etc/config.site
1621 fi
1622 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1623 do
1624 test "x$ac_site_file" = xNONE && continue
1625 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1628 sed 's/^/| /' "$ac_site_file" >&5
1629 . "$ac_site_file" \
1630 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1632 as_fn_error $? "failed to load site script $ac_site_file
1633 See \`config.log' for more details" "$LINENO" 5; }
1634 fi
1635 done
1636
1637 if test -r "$cache_file"; then
1638 # Some versions of bash will fail to source /dev/null (special files
1639 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1640 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1642 $as_echo "$as_me: loading cache $cache_file" >&6;}
1643 case $cache_file in
1644 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1645 *) . "./$cache_file";;
1646 esac
1647 fi
1648 else
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1650 $as_echo "$as_me: creating cache $cache_file" >&6;}
1651 >$cache_file
1652 fi
1653
1654 # Check that the precious variables saved in the cache have kept the same
1655 # value.
1656 ac_cache_corrupted=false
1657 for ac_var in $ac_precious_vars; do
1658 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1659 eval ac_new_set=\$ac_env_${ac_var}_set
1660 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1661 eval ac_new_val=\$ac_env_${ac_var}_value
1662 case $ac_old_set,$ac_new_set in
1663 set,)
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1666 ac_cache_corrupted=: ;;
1667 ,set)
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1670 ac_cache_corrupted=: ;;
1671 ,);;
1672 *)
1673 if test "x$ac_old_val" != "x$ac_new_val"; then
1674 # differences in whitespace do not lead to failure.
1675 ac_old_val_w=`echo x $ac_old_val`
1676 ac_new_val_w=`echo x $ac_new_val`
1677 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1680 ac_cache_corrupted=:
1681 else
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1684 eval $ac_var=\$ac_old_val
1685 fi
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1687 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1689 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1690 fi;;
1691 esac
1692 # Pass precious variables to config.status.
1693 if test "$ac_new_set" = set; then
1694 case $ac_new_val in
1695 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1696 *) ac_arg=$ac_var=$ac_new_val ;;
1697 esac
1698 case " $ac_configure_args " in
1699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1700 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1701 esac
1702 fi
1703 done
1704 if $ac_cache_corrupted; then
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1709 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1710 fi
1711 ## -------------------- ##
1712 ## Main body of script. ##
1713 ## -------------------- ##
1714
1715 ac_ext=c
1716 ac_cpp='$CPP $CPPFLAGS'
1717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1720
1721
1722 ac_aux_dir=
1723 for ac_dir in build-aux "$srcdir"/build-aux; do
1724 if test -f "$ac_dir/install-sh"; then
1725 ac_aux_dir=$ac_dir
1726 ac_install_sh="$ac_aux_dir/install-sh -c"
1727 break
1728 elif test -f "$ac_dir/install.sh"; then
1729 ac_aux_dir=$ac_dir
1730 ac_install_sh="$ac_aux_dir/install.sh -c"
1731 break
1732 elif test -f "$ac_dir/shtool"; then
1733 ac_aux_dir=$ac_dir
1734 ac_install_sh="$ac_aux_dir/shtool install -c"
1735 break
1736 fi
1737 done
1738 if test -z "$ac_aux_dir"; then
1739 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1740 fi
1741
1742 # These three variables are undocumented and unsupported,
1743 # and are intended to be withdrawn in a future Autoconf release.
1744 # They can cause serious problems if a builder's source tree is in a directory
1745 # whose full name contains unusual characters.
1746 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1747 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1748 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1749
1750
1751
1752 am__api_version='1.15'
1753
1754 # Find a good install program. We prefer a C program (faster),
1755 # so one script is as good as another. But avoid the broken or
1756 # incompatible versions:
1757 # SysV /etc/install, /usr/sbin/install
1758 # SunOS /usr/etc/install
1759 # IRIX /sbin/install
1760 # AIX /bin/install
1761 # AmigaOS /C/install, which installs bootblocks on floppy discs
1762 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1763 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1764 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1765 # OS/2's system install, which has a completely different semantic
1766 # ./install, which can be erroneously created by make from ./install.sh.
1767 # Reject install programs that cannot install multiple files.
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1769 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1770 if test -z "$INSTALL"; then
1771 if ${ac_cv_path_install+:} false; then :
1772 $as_echo_n "(cached) " >&6
1773 else
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 for as_dir in $PATH
1776 do
1777 IFS=$as_save_IFS
1778 test -z "$as_dir" && as_dir=.
1779 # Account for people who put trailing slashes in PATH elements.
1780 case $as_dir/ in #((
1781 ./ | .// | /[cC]/* | \
1782 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1783 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1784 /usr/ucb/* ) ;;
1785 *)
1786 # OSF1 and SCO ODT 3.0 have their own names for install.
1787 # Don't use installbsd from OSF since it installs stuff as root
1788 # by default.
1789 for ac_prog in ginstall scoinst install; do
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1792 if test $ac_prog = install &&
1793 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1794 # AIX install. It has an incompatible calling convention.
1795 :
1796 elif test $ac_prog = install &&
1797 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798 # program-specific install script used by HP pwplus--don't use.
1799 :
1800 else
1801 rm -rf conftest.one conftest.two conftest.dir
1802 echo one > conftest.one
1803 echo two > conftest.two
1804 mkdir conftest.dir
1805 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1806 test -s conftest.one && test -s conftest.two &&
1807 test -s conftest.dir/conftest.one &&
1808 test -s conftest.dir/conftest.two
1809 then
1810 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1811 break 3
1812 fi
1813 fi
1814 fi
1815 done
1816 done
1817 ;;
1818 esac
1819
1820 done
1821 IFS=$as_save_IFS
1822
1823 rm -rf conftest.one conftest.two conftest.dir
1824
1825 fi
1826 if test "${ac_cv_path_install+set}" = set; then
1827 INSTALL=$ac_cv_path_install
1828 else
1829 # As a last resort, use the slow shell script. Don't cache a
1830 # value for INSTALL within a source directory, because that will
1831 # break other packages using the cache if that directory is
1832 # removed, or if the value is a relative name.
1833 INSTALL=$ac_install_sh
1834 fi
1835 fi
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1837 $as_echo "$INSTALL" >&6; }
1838
1839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1840 # It thinks the first close brace ends the variable substitution.
1841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1842
1843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1844
1845 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1846
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1848 $as_echo_n "checking whether build environment is sane... " >&6; }
1849 # Reject unsafe characters in $srcdir or the absolute working directory
1850 # name. Accept space and tab only in the latter.
1851 am_lf='
1852 '
1853 case `pwd` in
1854 *[\\\"\#\$\&\'\`$am_lf]*)
1855 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1856 esac
1857 case $srcdir in
1858 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1859 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1860 esac
1861
1862 # Do 'set' in a subshell so we don't clobber the current shell's
1863 # arguments. Must try -L first in case configure is actually a
1864 # symlink; some systems play weird games with the mod time of symlinks
1865 # (eg FreeBSD returns the mod time of the symlink's containing
1866 # directory).
1867 if (
1868 am_has_slept=no
1869 for am_try in 1 2; do
1870 echo "timestamp, slept: $am_has_slept" > conftest.file
1871 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1872 if test "$*" = "X"; then
1873 # -L didn't work.
1874 set X `ls -t "$srcdir/configure" conftest.file`
1875 fi
1876 if test "$*" != "X $srcdir/configure conftest.file" \
1877 && test "$*" != "X conftest.file $srcdir/configure"; then
1878
1879 # If neither matched, then we have a broken ls. This can happen
1880 # if, for instance, CONFIG_SHELL is bash and it inherits a
1881 # broken ls alias from the environment. This has actually
1882 # happened. Such a system could not be considered "sane".
1883 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1884 alias in your environment" "$LINENO" 5
1885 fi
1886 if test "$2" = conftest.file || test $am_try -eq 2; then
1887 break
1888 fi
1889 # Just in case.
1890 sleep 1
1891 am_has_slept=yes
1892 done
1893 test "$2" = conftest.file
1894 )
1895 then
1896 # Ok.
1897 :
1898 else
1899 as_fn_error $? "newly created file is older than distributed files!
1900 Check your system clock" "$LINENO" 5
1901 fi
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1903 $as_echo "yes" >&6; }
1904 # If we didn't sleep, we still need to ensure time stamps of config.status and
1905 # generated files are strictly newer.
1906 am_sleep_pid=
1907 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1908 ( sleep 1 ) &
1909 am_sleep_pid=$!
1910 fi
1911
1912 rm -f conftest.file
1913
1914 test "$program_prefix" != NONE &&
1915 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1916 # Use a double $ so make ignores it.
1917 test "$program_suffix" != NONE &&
1918 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1919 # Double any \ or $.
1920 # By default was `s,x,x', remove it if useless.
1921 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1922 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1923
1924 # Expand $ac_aux_dir to an absolute path.
1925 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1926
1927 if test x"${MISSING+set}" != xset; then
1928 case $am_aux_dir in
1929 *\ * | *\ *)
1930 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1931 *)
1932 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1933 esac
1934 fi
1935 # Use eval to expand $SHELL
1936 if eval "$MISSING --is-lightweight"; then
1937 am_missing_run="$MISSING "
1938 else
1939 am_missing_run=
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1941 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1942 fi
1943
1944 if test x"${install_sh+set}" != xset; then
1945 case $am_aux_dir in
1946 *\ * | *\ *)
1947 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1948 *)
1949 install_sh="\${SHELL} $am_aux_dir/install-sh"
1950 esac
1951 fi
1952
1953 # Installed binaries are usually stripped using 'strip' when the user
1954 # run "make install-strip". However 'strip' might not be the right
1955 # tool to use in cross-compilation environments, therefore Automake
1956 # will honor the 'STRIP' environment variable to overrule this program.
1957 if test "$cross_compiling" != no; then
1958 if test -n "$ac_tool_prefix"; then
1959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1960 set dummy ${ac_tool_prefix}strip; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if ${ac_cv_prog_STRIP+:} false; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$STRIP"; then
1967 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1971 do
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1979 fi
1980 done
1981 done
1982 IFS=$as_save_IFS
1983
1984 fi
1985 fi
1986 STRIP=$ac_cv_prog_STRIP
1987 if test -n "$STRIP"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1989 $as_echo "$STRIP" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1993 fi
1994
1995
1996 fi
1997 if test -z "$ac_cv_prog_STRIP"; then
1998 ac_ct_STRIP=$STRIP
1999 # Extract the first word of "strip", so it can be a program name with args.
2000 set dummy strip; ac_word=$2
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2002 $as_echo_n "checking for $ac_word... " >&6; }
2003 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test -n "$ac_ct_STRIP"; then
2007 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2011 do
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_ac_ct_STRIP="strip"
2017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2019 fi
2020 done
2021 done
2022 IFS=$as_save_IFS
2023
2024 fi
2025 fi
2026 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2027 if test -n "$ac_ct_STRIP"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2029 $as_echo "$ac_ct_STRIP" >&6; }
2030 else
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2032 $as_echo "no" >&6; }
2033 fi
2034
2035 if test "x$ac_ct_STRIP" = x; then
2036 STRIP=":"
2037 else
2038 case $cross_compiling:$ac_tool_warned in
2039 yes:)
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2042 ac_tool_warned=yes ;;
2043 esac
2044 STRIP=$ac_ct_STRIP
2045 fi
2046 else
2047 STRIP="$ac_cv_prog_STRIP"
2048 fi
2049
2050 fi
2051 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2052
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2055 if test -z "$MKDIR_P"; then
2056 if ${ac_cv_path_mkdir+:} false; then :
2057 $as_echo_n "(cached) " >&6
2058 else
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2061 do
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_prog in mkdir gmkdir; do
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2068 'mkdir (GNU coreutils) '* | \
2069 'mkdir (coreutils) '* | \
2070 'mkdir (fileutils) '4.1*)
2071 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2072 break 3;;
2073 esac
2074 done
2075 done
2076 done
2077 IFS=$as_save_IFS
2078
2079 fi
2080
2081 test -d ./--version && rmdir ./--version
2082 if test "${ac_cv_path_mkdir+set}" = set; then
2083 MKDIR_P="$ac_cv_path_mkdir -p"
2084 else
2085 # As a last resort, use the slow shell script. Don't cache a
2086 # value for MKDIR_P within a source directory, because that will
2087 # break other packages using the cache if that directory is
2088 # removed, or if the value is a relative name.
2089 MKDIR_P="$ac_install_sh -d"
2090 fi
2091 fi
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2093 $as_echo "$MKDIR_P" >&6; }
2094
2095 for ac_prog in gawk mawk nawk awk
2096 do
2097 # Extract the first word of "$ac_prog", so it can be a program name with args.
2098 set dummy $ac_prog; ac_word=$2
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2100 $as_echo_n "checking for $ac_word... " >&6; }
2101 if ${ac_cv_prog_AWK+:} false; then :
2102 $as_echo_n "(cached) " >&6
2103 else
2104 if test -n "$AWK"; then
2105 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_AWK="$ac_prog"
2115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2117 fi
2118 done
2119 done
2120 IFS=$as_save_IFS
2121
2122 fi
2123 fi
2124 AWK=$ac_cv_prog_AWK
2125 if test -n "$AWK"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2127 $as_echo "$AWK" >&6; }
2128 else
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2130 $as_echo "no" >&6; }
2131 fi
2132
2133
2134 test -n "$AWK" && break
2135 done
2136
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2138 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2139 set x ${MAKE-make}
2140 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2141 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2142 $as_echo_n "(cached) " >&6
2143 else
2144 cat >conftest.make <<\_ACEOF
2145 SHELL = /bin/sh
2146 all:
2147 @echo '@@@%%%=$(MAKE)=@@@%%%'
2148 _ACEOF
2149 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2150 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2151 *@@@%%%=?*=@@@%%%*)
2152 eval ac_cv_prog_make_${ac_make}_set=yes;;
2153 *)
2154 eval ac_cv_prog_make_${ac_make}_set=no;;
2155 esac
2156 rm -f conftest.make
2157 fi
2158 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2160 $as_echo "yes" >&6; }
2161 SET_MAKE=
2162 else
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2164 $as_echo "no" >&6; }
2165 SET_MAKE="MAKE=${MAKE-make}"
2166 fi
2167
2168 rm -rf .tst 2>/dev/null
2169 mkdir .tst 2>/dev/null
2170 if test -d .tst; then
2171 am__leading_dot=.
2172 else
2173 am__leading_dot=_
2174 fi
2175 rmdir .tst 2>/dev/null
2176
2177 # Check whether --enable-silent-rules was given.
2178 if test "${enable_silent_rules+set}" = set; then :
2179 enableval=$enable_silent_rules;
2180 fi
2181
2182 case $enable_silent_rules in # (((
2183 yes) AM_DEFAULT_VERBOSITY=0;;
2184 no) AM_DEFAULT_VERBOSITY=1;;
2185 *) AM_DEFAULT_VERBOSITY=1;;
2186 esac
2187 am_make=${MAKE-make}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2189 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2190 if ${am_cv_make_support_nested_variables+:} false; then :
2191 $as_echo_n "(cached) " >&6
2192 else
2193 if $as_echo 'TRUE=$(BAR$(V))
2194 BAR0=false
2195 BAR1=true
2196 V=1
2197 am__doit:
2198 @$(TRUE)
2199 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2200 am_cv_make_support_nested_variables=yes
2201 else
2202 am_cv_make_support_nested_variables=no
2203 fi
2204 fi
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2206 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2207 if test $am_cv_make_support_nested_variables = yes; then
2208 AM_V='$(V)'
2209 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2210 else
2211 AM_V=$AM_DEFAULT_VERBOSITY
2212 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2213 fi
2214 AM_BACKSLASH='\'
2215
2216 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2217 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2218 # is not polluted with repeated "-I."
2219 am__isrc=' -I$(srcdir)'
2220 # test to see if srcdir already configured
2221 if test -f $srcdir/config.status; then
2222 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2223 fi
2224 fi
2225
2226 # test whether we have cygpath
2227 if test -z "$CYGPATH_W"; then
2228 if (cygpath --version) >/dev/null 2>/dev/null; then
2229 CYGPATH_W='cygpath -w'
2230 else
2231 CYGPATH_W=echo
2232 fi
2233 fi
2234
2235
2236 # Define the identity of the package.
2237 PACKAGE='ldap-git-backup'
2238 VERSION='1.0.8'
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE "$PACKAGE"
2243 _ACEOF
2244
2245
2246 cat >>confdefs.h <<_ACEOF
2247 #define VERSION "$VERSION"
2248 _ACEOF
2249
2250 # Some tools Automake needs.
2251
2252 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2253
2254
2255 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2256
2257
2258 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2259
2260
2261 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2262
2263
2264 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2265
2266 # For better backward compatibility. To be removed once Automake 1.9.x
2267 # dies out for good. For more background, see:
2268 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2269 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2270 mkdir_p='$(MKDIR_P)'
2271
2272 # We need awk for the "check" target (and possibly the TAP driver). The
2273 # system "awk" is bad on some platforms.
2274 # Always define AMTAR for backward compatibility. Yes, it's still used
2275 # in the wild :-( We should find a proper way to deprecate it ...
2276 AMTAR='$${TAR-tar}'
2277
2278
2279 # We'll loop over all known methods to create a tar archive until one works.
2280 _am_tools='gnutar pax cpio none'
2281
2282 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2283
2284
2285
2286
2287
2288
2289 # POSIX will say in a future version that running "rm -f" with no argument
2290 # is OK; and we want to be able to make that assumption in our Makefile
2291 # recipes. So use an aggressive probe to check that the usage we want is
2292 # actually supported "in the wild" to an acceptable degree.
2293 # See automake bug#10828.
2294 # To make any issue more visible, cause the running configure to be aborted
2295 # by default if the 'rm' program in use doesn't match our expectations; the
2296 # user can still override this though.
2297 if rm -f && rm -fr && rm -rf; then : OK; else
2298 cat >&2 <<'END'
2299 Oops!
2300
2301 Your 'rm' program seems unable to run without file operands specified
2302 on the command line, even when the '-f' option is present. This is contrary
2303 to the behaviour of most rm programs out there, and not conforming with
2304 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2305
2306 Please tell [email protected] about your system, including the value
2307 of your $PATH and any error possibly output before this message. This
2308 can help us improve future automake versions.
2309
2310 END
2311 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2312 echo 'Configuration will proceed anyway, since you have set the' >&2
2313 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2314 echo >&2
2315 else
2316 cat >&2 <<'END'
2317 Aborting the configuration process, to ensure you take notice of the issue.
2318
2319 You can download and install GNU coreutils to get an 'rm' implementation
2320 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2321
2322 If you want to complete the configuration process using your problematic
2323 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2324 to "yes", and re-run configure.
2325
2326 END
2327 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2328 fi
2329 fi
2330
2331
2332
2333
2334 ac_config_files="$ac_config_files Makefile"
2335
2336 ac_config_files="$ac_config_files t/test-helper.pm"
2337
2338 ac_config_files="$ac_config_files t/001_help-option.t"
2339
2340
2341 ac_config_files="$ac_config_files t/010_read_ldif.t"
2342
2343
2344 ac_config_files="$ac_config_files t/020_entry-name.t"
2345
2346
2347 ac_config_files="$ac_config_files t/030_git-from-scratch.t"
2348
2349
2350 ac_config_files="$ac_config_files t/031_backup-to-existing-dir.t"
2351
2352
2353 ac_config_files="$ac_config_files t/040_delete-entry.t"
2354
2355
2356 ac_config_files="$ac_config_files t/050_modify-entry.t"
2357
2358
2359 ac_config_files="$ac_config_files t/060_custom_commit.t"
2360
2361
2362 ac_config_files="$ac_config_files t/061_no_change.t"
2363
2364
2365 ac_config_files="$ac_config_files t/070_mock-slapcat.t"
2366
2367
2368 ac_config_files="$ac_config_files t/071_safe-ldif.t"
2369
2370
2371 ac_config_files="$ac_config_files t/mock-slapcat"
2372
2373
2374 ac_config_files="$ac_config_files safe-ldif"
2375
2376
2377
2378 cat >confcache <<\_ACEOF
2379 # This file is a shell script that caches the results of configure
2380 # tests run on this system so they can be shared between configure
2381 # scripts and configure runs, see configure's option --config-cache.
2382 # It is not useful on other systems. If it contains results you don't
2383 # want to keep, you may remove or edit it.
2384 #
2385 # config.status only pays attention to the cache file if you give it
2386 # the --recheck option to rerun configure.
2387 #
2388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2390 # following values.
2391
2392 _ACEOF
2393
2394 # The following way of writing the cache mishandles newlines in values,
2395 # but we know of no workaround that is simple, portable, and efficient.
2396 # So, we kill variables containing newlines.
2397 # Ultrix sh set writes to stderr and can't be redirected directly,
2398 # and sets the high bit in the cache file unless we assign to the vars.
2399 (
2400 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2401 eval ac_val=\$$ac_var
2402 case $ac_val in #(
2403 *${as_nl}*)
2404 case $ac_var in #(
2405 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2406 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2407 esac
2408 case $ac_var in #(
2409 _ | IFS | as_nl) ;; #(
2410 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2411 *) { eval $ac_var=; unset $ac_var;} ;;
2412 esac ;;
2413 esac
2414 done
2415
2416 (set) 2>&1 |
2417 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2418 *${as_nl}ac_space=\ *)
2419 # `set' does not quote correctly, so add quotes: double-quote
2420 # substitution turns \\\\ into \\, and sed turns \\ into \.
2421 sed -n \
2422 "s/'/'\\\\''/g;
2423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2424 ;; #(
2425 *)
2426 # `set' quotes correctly as required by POSIX, so do not add quotes.
2427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2428 ;;
2429 esac |
2430 sort
2431 ) |
2432 sed '
2433 /^ac_cv_env_/b end
2434 t clear
2435 :clear
2436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2437 t end
2438 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2439 :end' >>confcache
2440 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2441 if test -w "$cache_file"; then
2442 if test "x$cache_file" != "x/dev/null"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2444 $as_echo "$as_me: updating cache $cache_file" >&6;}
2445 if test ! -f "$cache_file" || test -h "$cache_file"; then
2446 cat confcache >"$cache_file"
2447 else
2448 case $cache_file in #(
2449 */* | ?:*)
2450 mv -f confcache "$cache_file"$$ &&
2451 mv -f "$cache_file"$$ "$cache_file" ;; #(
2452 *)
2453 mv -f confcache "$cache_file" ;;
2454 esac
2455 fi
2456 fi
2457 else
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2459 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2460 fi
2461 fi
2462 rm -f confcache
2463
2464 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2465 # Let make expand exec_prefix.
2466 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2467
2468 # Transform confdefs.h into DEFS.
2469 # Protect against shell expansion while executing Makefile rules.
2470 # Protect against Makefile macro expansion.
2471 #
2472 # If the first sed substitution is executed (which looks for macros that
2473 # take arguments), then branch to the quote section. Otherwise,
2474 # look for a macro that doesn't take arguments.
2475 ac_script='
2476 :mline
2477 /\\$/{
2478 N
2479 s,\\\n,,
2480 b mline
2481 }
2482 t clear
2483 :clear
2484 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2485 t quote
2486 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2487 t quote
2488 b any
2489 :quote
2490 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2491 s/\[/\\&/g
2492 s/\]/\\&/g
2493 s/\$/$$/g
2494 H
2495 :any
2496 ${
2497 g
2498 s/^\n//
2499 s/\n/ /g
2500 p
2501 }
2502 '
2503 DEFS=`sed -n "$ac_script" confdefs.h`
2504
2505
2506 ac_libobjs=
2507 ac_ltlibobjs=
2508 U=
2509 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2510 # 1. Remove the extension, and $U if already installed.
2511 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2512 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2513 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2514 # will be set to the directory where LIBOBJS objects are built.
2515 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2516 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2517 done
2518 LIBOBJS=$ac_libobjs
2519
2520 LTLIBOBJS=$ac_ltlibobjs
2521
2522
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2524 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2525 if test -n "$am_sleep_pid"; then
2526 # Hide warnings about reused PIDs.
2527 wait $am_sleep_pid 2>/dev/null
2528 fi
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2530 $as_echo "done" >&6; }
2531
2532
2533 : "${CONFIG_STATUS=./config.status}"
2534 ac_write_fail=0
2535 ac_clean_files_save=$ac_clean_files
2536 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2538 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2539 as_write_fail=0
2540 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2541 #! $SHELL
2542 # Generated by $as_me.
2543 # Run this file to recreate the current configuration.
2544 # Compiler output produced by configure, useful for debugging
2545 # configure, is in config.log if it exists.
2546
2547 debug=false
2548 ac_cs_recheck=false
2549 ac_cs_silent=false
2550
2551 SHELL=\${CONFIG_SHELL-$SHELL}
2552 export SHELL
2553 _ASEOF
2554 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2555 ## -------------------- ##
2556 ## M4sh Initialization. ##
2557 ## -------------------- ##
2558
2559 # Be more Bourne compatible
2560 DUALCASE=1; export DUALCASE # for MKS sh
2561 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2562 emulate sh
2563 NULLCMD=:
2564 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2565 # is contrary to our usage. Disable this feature.
2566 alias -g '${1+"$@"}'='"$@"'
2567 setopt NO_GLOB_SUBST
2568 else
2569 case `(set -o) 2>/dev/null` in #(
2570 *posix*) :
2571 set -o posix ;; #(
2572 *) :
2573 ;;
2574 esac
2575 fi
2576
2577
2578 as_nl='
2579 '
2580 export as_nl
2581 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2582 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2583 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2584 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2585 # Prefer a ksh shell builtin over an external printf program on Solaris,
2586 # but without wasting forks for bash or zsh.
2587 if test -z "$BASH_VERSION$ZSH_VERSION" \
2588 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2589 as_echo='print -r --'
2590 as_echo_n='print -rn --'
2591 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2592 as_echo='printf %s\n'
2593 as_echo_n='printf %s'
2594 else
2595 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2596 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2597 as_echo_n='/usr/ucb/echo -n'
2598 else
2599 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2600 as_echo_n_body='eval
2601 arg=$1;
2602 case $arg in #(
2603 *"$as_nl"*)
2604 expr "X$arg" : "X\\(.*\\)$as_nl";
2605 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2606 esac;
2607 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2608 '
2609 export as_echo_n_body
2610 as_echo_n='sh -c $as_echo_n_body as_echo'
2611 fi
2612 export as_echo_body
2613 as_echo='sh -c $as_echo_body as_echo'
2614 fi
2615
2616 # The user is always right.
2617 if test "${PATH_SEPARATOR+set}" != set; then
2618 PATH_SEPARATOR=:
2619 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2620 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2621 PATH_SEPARATOR=';'
2622 }
2623 fi
2624
2625
2626 # IFS
2627 # We need space, tab and new line, in precisely that order. Quoting is
2628 # there to prevent editors from complaining about space-tab.
2629 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2630 # splitting by setting IFS to empty value.)
2631 IFS=" "" $as_nl"
2632
2633 # Find who we are. Look in the path if we contain no directory separator.
2634 as_myself=
2635 case $0 in #((
2636 *[\\/]* ) as_myself=$0 ;;
2637 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH
2639 do
2640 IFS=$as_save_IFS
2641 test -z "$as_dir" && as_dir=.
2642 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2643 done
2644 IFS=$as_save_IFS
2645
2646 ;;
2647 esac
2648 # We did not find ourselves, most probably we were run as `sh COMMAND'
2649 # in which case we are not to be found in the path.
2650 if test "x$as_myself" = x; then
2651 as_myself=$0
2652 fi
2653 if test ! -f "$as_myself"; then
2654 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2655 exit 1
2656 fi
2657
2658 # Unset variables that we do not need and which cause bugs (e.g. in
2659 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2660 # suppresses any "Segmentation fault" message there. '((' could
2661 # trigger a bug in pdksh 5.2.14.
2662 for as_var in BASH_ENV ENV MAIL MAILPATH
2663 do eval test x\${$as_var+set} = xset \
2664 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2665 done
2666 PS1='$ '
2667 PS2='> '
2668 PS4='+ '
2669
2670 # NLS nuisances.
2671 LC_ALL=C
2672 export LC_ALL
2673 LANGUAGE=C
2674 export LANGUAGE
2675
2676 # CDPATH.
2677 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2678
2679
2680 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2681 # ----------------------------------------
2682 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2683 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2684 # script with STATUS, using 1 if that was 0.
2685 as_fn_error ()
2686 {
2687 as_status=$1; test $as_status -eq 0 && as_status=1
2688 if test "$4"; then
2689 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2691 fi
2692 $as_echo "$as_me: error: $2" >&2
2693 as_fn_exit $as_status
2694 } # as_fn_error
2695
2696
2697 # as_fn_set_status STATUS
2698 # -----------------------
2699 # Set $? to STATUS, without forking.
2700 as_fn_set_status ()
2701 {
2702 return $1
2703 } # as_fn_set_status
2704
2705 # as_fn_exit STATUS
2706 # -----------------
2707 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2708 as_fn_exit ()
2709 {
2710 set +e
2711 as_fn_set_status $1
2712 exit $1
2713 } # as_fn_exit
2714
2715 # as_fn_unset VAR
2716 # ---------------
2717 # Portably unset VAR.
2718 as_fn_unset ()
2719 {
2720 { eval $1=; unset $1;}
2721 }
2722 as_unset=as_fn_unset
2723 # as_fn_append VAR VALUE
2724 # ----------------------
2725 # Append the text in VALUE to the end of the definition contained in VAR. Take
2726 # advantage of any shell optimizations that allow amortized linear growth over
2727 # repeated appends, instead of the typical quadratic growth present in naive
2728 # implementations.
2729 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2730 eval 'as_fn_append ()
2731 {
2732 eval $1+=\$2
2733 }'
2734 else
2735 as_fn_append ()
2736 {
2737 eval $1=\$$1\$2
2738 }
2739 fi # as_fn_append
2740
2741 # as_fn_arith ARG...
2742 # ------------------
2743 # Perform arithmetic evaluation on the ARGs, and store the result in the
2744 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2745 # must be portable across $(()) and expr.
2746 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2747 eval 'as_fn_arith ()
2748 {
2749 as_val=$(( $* ))
2750 }'
2751 else
2752 as_fn_arith ()
2753 {
2754 as_val=`expr "$@" || test $? -eq 1`
2755 }
2756 fi # as_fn_arith
2757
2758
2759 if expr a : '\(a\)' >/dev/null 2>&1 &&
2760 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2761 as_expr=expr
2762 else
2763 as_expr=false
2764 fi
2765
2766 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2767 as_basename=basename
2768 else
2769 as_basename=false
2770 fi
2771
2772 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2773 as_dirname=dirname
2774 else
2775 as_dirname=false
2776 fi
2777
2778 as_me=`$as_basename -- "$0" ||
2779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2780 X"$0" : 'X\(//\)$' \| \
2781 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2782 $as_echo X/"$0" |
2783 sed '/^.*\/\([^/][^/]*\)\/*$/{
2784 s//\1/
2785 q
2786 }
2787 /^X\/\(\/\/\)$/{
2788 s//\1/
2789 q
2790 }
2791 /^X\/\(\/\).*/{
2792 s//\1/
2793 q
2794 }
2795 s/.*/./; q'`
2796
2797 # Avoid depending upon Character Ranges.
2798 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2799 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2800 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2801 as_cr_digits='0123456789'
2802 as_cr_alnum=$as_cr_Letters$as_cr_digits
2803
2804 ECHO_C= ECHO_N= ECHO_T=
2805 case `echo -n x` in #(((((
2806 -n*)
2807 case `echo 'xy\c'` in
2808 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2809 xy) ECHO_C='\c';;
2810 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2811 ECHO_T=' ';;
2812 esac;;
2813 *)
2814 ECHO_N='-n';;
2815 esac
2816
2817 rm -f conf$$ conf$$.exe conf$$.file
2818 if test -d conf$$.dir; then
2819 rm -f conf$$.dir/conf$$.file
2820 else
2821 rm -f conf$$.dir
2822 mkdir conf$$.dir 2>/dev/null
2823 fi
2824 if (echo >conf$$.file) 2>/dev/null; then
2825 if ln -s conf$$.file conf$$ 2>/dev/null; then
2826 as_ln_s='ln -s'
2827 # ... but there are two gotchas:
2828 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2829 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2830 # In both cases, we have to default to `cp -pR'.
2831 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2832 as_ln_s='cp -pR'
2833 elif ln conf$$.file conf$$ 2>/dev/null; then
2834 as_ln_s=ln
2835 else
2836 as_ln_s='cp -pR'
2837 fi
2838 else
2839 as_ln_s='cp -pR'
2840 fi
2841 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2842 rmdir conf$$.dir 2>/dev/null
2843
2844
2845 # as_fn_mkdir_p
2846 # -------------
2847 # Create "$as_dir" as a directory, including parents if necessary.
2848 as_fn_mkdir_p ()
2849 {
2850
2851 case $as_dir in #(
2852 -*) as_dir=./$as_dir;;
2853 esac
2854 test -d "$as_dir" || eval $as_mkdir_p || {
2855 as_dirs=
2856 while :; do
2857 case $as_dir in #(
2858 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2859 *) as_qdir=$as_dir;;
2860 esac
2861 as_dirs="'$as_qdir' $as_dirs"
2862 as_dir=`$as_dirname -- "$as_dir" ||
2863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2864 X"$as_dir" : 'X\(//\)[^/]' \| \
2865 X"$as_dir" : 'X\(//\)$' \| \
2866 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2867 $as_echo X"$as_dir" |
2868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2869 s//\1/
2870 q
2871 }
2872 /^X\(\/\/\)[^/].*/{
2873 s//\1/
2874 q
2875 }
2876 /^X\(\/\/\)$/{
2877 s//\1/
2878 q
2879 }
2880 /^X\(\/\).*/{
2881 s//\1/
2882 q
2883 }
2884 s/.*/./; q'`
2885 test -d "$as_dir" && break
2886 done
2887 test -z "$as_dirs" || eval "mkdir $as_dirs"
2888 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2889
2890
2891 } # as_fn_mkdir_p
2892 if mkdir -p . 2>/dev/null; then
2893 as_mkdir_p='mkdir -p "$as_dir"'
2894 else
2895 test -d ./-p && rmdir ./-p
2896 as_mkdir_p=false
2897 fi
2898
2899
2900 # as_fn_executable_p FILE
2901 # -----------------------
2902 # Test if FILE is an executable regular file.
2903 as_fn_executable_p ()
2904 {
2905 test -f "$1" && test -x "$1"
2906 } # as_fn_executable_p
2907 as_test_x='test -x'
2908 as_executable_p=as_fn_executable_p
2909
2910 # Sed expression to map a string onto a valid CPP name.
2911 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2912
2913 # Sed expression to map a string onto a valid variable name.
2914 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2915
2916
2917 exec 6>&1
2918 ## ----------------------------------- ##
2919 ## Main body of $CONFIG_STATUS script. ##
2920 ## ----------------------------------- ##
2921 _ASEOF
2922 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2923
2924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2925 # Save the log message, to keep $0 and so on meaningful, and to
2926 # report actual input values of CONFIG_FILES etc. instead of their
2927 # values after options handling.
2928 ac_log="
2929 This file was extended by LDAP Git Backup $as_me 1.0.8, which was
2930 generated by GNU Autoconf 2.69. Invocation command line was
2931
2932 CONFIG_FILES = $CONFIG_FILES
2933 CONFIG_HEADERS = $CONFIG_HEADERS
2934 CONFIG_LINKS = $CONFIG_LINKS
2935 CONFIG_COMMANDS = $CONFIG_COMMANDS
2936 $ $0 $@
2937
2938 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2939 "
2940
2941 _ACEOF
2942
2943 case $ac_config_files in *"
2944 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2945 esac
2946
2947
2948
2949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2950 # Files that config.status was made for.
2951 config_files="$ac_config_files"
2952
2953 _ACEOF
2954
2955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2956 ac_cs_usage="\
2957 \`$as_me' instantiates files and other configuration actions
2958 from templates according to the current configuration. Unless the files
2959 and actions are specified as TAGs, all are instantiated by default.
2960
2961 Usage: $0 [OPTION]... [TAG]...
2962
2963 -h, --help print this help, then exit
2964 -V, --version print version number and configuration settings, then exit
2965 --config print configuration, then exit
2966 -q, --quiet, --silent
2967 do not print progress messages
2968 -d, --debug don't remove temporary files
2969 --recheck update $as_me by reconfiguring in the same conditions
2970 --file=FILE[:TEMPLATE]
2971 instantiate the configuration file FILE
2972
2973 Configuration files:
2974 $config_files
2975
2976 Report bugs to <[email protected]>.
2977 LDAP Git Backup home page: <https://github.com/elmar/ldap-git-backup
2978 >."
2979
2980 _ACEOF
2981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2982 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2983 ac_cs_version="\\
2984 LDAP Git Backup config.status 1.0.8
2985 configured by $0, generated by GNU Autoconf 2.69,
2986 with options \\"\$ac_cs_config\\"
2987
2988 Copyright (C) 2012 Free Software Foundation, Inc.
2989 This config.status script is free software; the Free Software Foundation
2990 gives unlimited permission to copy, distribute and modify it."
2991
2992 ac_pwd='$ac_pwd'
2993 srcdir='$srcdir'
2994 INSTALL='$INSTALL'
2995 MKDIR_P='$MKDIR_P'
2996 AWK='$AWK'
2997 test -n "\$AWK" || AWK=awk
2998 _ACEOF
2999
3000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3001 # The default lists apply if the user does not specify any file.
3002 ac_need_defaults=:
3003 while test $# != 0
3004 do
3005 case $1 in
3006 --*=?*)
3007 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3008 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3009 ac_shift=:
3010 ;;
3011 --*=)
3012 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3013 ac_optarg=
3014 ac_shift=:
3015 ;;
3016 *)
3017 ac_option=$1
3018 ac_optarg=$2
3019 ac_shift=shift
3020 ;;
3021 esac
3022
3023 case $ac_option in
3024 # Handling of the options.
3025 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3026 ac_cs_recheck=: ;;
3027 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3028 $as_echo "$ac_cs_version"; exit ;;
3029 --config | --confi | --conf | --con | --co | --c )
3030 $as_echo "$ac_cs_config"; exit ;;
3031 --debug | --debu | --deb | --de | --d | -d )
3032 debug=: ;;
3033 --file | --fil | --fi | --f )
3034 $ac_shift
3035 case $ac_optarg in
3036 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3037 '') as_fn_error $? "missing file argument" ;;
3038 esac
3039 as_fn_append CONFIG_FILES " '$ac_optarg'"
3040 ac_need_defaults=false;;
3041 --he | --h | --help | --hel | -h )
3042 $as_echo "$ac_cs_usage"; exit ;;
3043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3044 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3045 ac_cs_silent=: ;;
3046
3047 # This is an error.
3048 -*) as_fn_error $? "unrecognized option: \`$1'
3049 Try \`$0 --help' for more information." ;;
3050
3051 *) as_fn_append ac_config_targets " $1"
3052 ac_need_defaults=false ;;
3053
3054 esac
3055 shift
3056 done
3057
3058 ac_configure_extra_args=
3059
3060 if $ac_cs_silent; then
3061 exec 6>/dev/null
3062 ac_configure_extra_args="$ac_configure_extra_args --silent"
3063 fi
3064
3065 _ACEOF
3066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3067 if \$ac_cs_recheck; then
3068 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3069 shift
3070 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3071 CONFIG_SHELL='$SHELL'
3072 export CONFIG_SHELL
3073 exec "\$@"
3074 fi
3075
3076 _ACEOF
3077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3078 exec 5>>config.log
3079 {
3080 echo
3081 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3082 ## Running $as_me. ##
3083 _ASBOX
3084 $as_echo "$ac_log"
3085 } >&5
3086
3087 _ACEOF
3088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3089 _ACEOF
3090
3091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3092
3093 # Handling of arguments.
3094 for ac_config_target in $ac_config_targets
3095 do
3096 case $ac_config_target in
3097 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3098 "t/test-helper.pm") CONFIG_FILES="$CONFIG_FILES t/test-helper.pm" ;;
3099 "t/001_help-option.t") CONFIG_FILES="$CONFIG_FILES t/001_help-option.t" ;;
3100 "t/010_read_ldif.t") CONFIG_FILES="$CONFIG_FILES t/010_read_ldif.t" ;;
3101 "t/020_entry-name.t") CONFIG_FILES="$CONFIG_FILES t/020_entry-name.t" ;;
3102 "t/030_git-from-scratch.t") CONFIG_FILES="$CONFIG_FILES t/030_git-from-scratch.t" ;;
3103 "t/031_backup-to-existing-dir.t") CONFIG_FILES="$CONFIG_FILES t/031_backup-to-existing-dir.t" ;;
3104 "t/040_delete-entry.t") CONFIG_FILES="$CONFIG_FILES t/040_delete-entry.t" ;;
3105 "t/050_modify-entry.t") CONFIG_FILES="$CONFIG_FILES t/050_modify-entry.t" ;;
3106 "t/060_custom_commit.t") CONFIG_FILES="$CONFIG_FILES t/060_custom_commit.t" ;;
3107 "t/061_no_change.t") CONFIG_FILES="$CONFIG_FILES t/061_no_change.t" ;;
3108 "t/070_mock-slapcat.t") CONFIG_FILES="$CONFIG_FILES t/070_mock-slapcat.t" ;;
3109 "t/071_safe-ldif.t") CONFIG_FILES="$CONFIG_FILES t/071_safe-ldif.t" ;;
3110 "t/mock-slapcat") CONFIG_FILES="$CONFIG_FILES t/mock-slapcat" ;;
3111 "safe-ldif") CONFIG_FILES="$CONFIG_FILES safe-ldif" ;;
3112
3113 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3114 esac
3115 done
3116
3117
3118 # If the user did not use the arguments to specify the items to instantiate,
3119 # then the envvar interface is used. Set only those that are not.
3120 # We use the long form for the default assignment because of an extremely
3121 # bizarre bug on SunOS 4.1.3.
3122 if $ac_need_defaults; then
3123 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3124 fi
3125
3126 # Have a temporary directory for convenience. Make it in the build tree
3127 # simply because there is no reason against having it here, and in addition,
3128 # creating and moving files from /tmp can sometimes cause problems.
3129 # Hook for its removal unless debugging.
3130 # Note that there is a small window in which the directory will not be cleaned:
3131 # after its creation but before its name has been assigned to `$tmp'.
3132 $debug ||
3133 {
3134 tmp= ac_tmp=
3135 trap 'exit_status=$?
3136 : "${ac_tmp:=$tmp}"
3137 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3138 ' 0
3139 trap 'as_fn_exit 1' 1 2 13 15
3140 }
3141 # Create a (secure) tmp directory for tmp files.
3142
3143 {
3144 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3145 test -d "$tmp"
3146 } ||
3147 {
3148 tmp=./conf$$-$RANDOM
3149 (umask 077 && mkdir "$tmp")
3150 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3151 ac_tmp=$tmp
3152
3153 # Set up the scripts for CONFIG_FILES section.
3154 # No need to generate them if there are no CONFIG_FILES.
3155 # This happens for instance with `./config.status config.h'.
3156 if test -n "$CONFIG_FILES"; then
3157
3158
3159 ac_cr=`echo X | tr X '\015'`
3160 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3161 # But we know of no other shell where ac_cr would be empty at this
3162 # point, so we can use a bashism as a fallback.
3163 if test "x$ac_cr" = x; then
3164 eval ac_cr=\$\'\\r\'
3165 fi
3166 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3167 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3168 ac_cs_awk_cr='\\r'
3169 else
3170 ac_cs_awk_cr=$ac_cr
3171 fi
3172
3173 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3174 _ACEOF
3175
3176
3177 {
3178 echo "cat >conf$$subs.awk <<_ACEOF" &&
3179 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3180 echo "_ACEOF"
3181 } >conf$$subs.sh ||
3182 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3183 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3184 ac_delim='%!_!# '
3185 for ac_last_try in false false false false false :; do
3186 . ./conf$$subs.sh ||
3187 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3188
3189 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3190 if test $ac_delim_n = $ac_delim_num; then
3191 break
3192 elif $ac_last_try; then
3193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3194 else
3195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3196 fi
3197 done
3198 rm -f conf$$subs.sh
3199
3200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3201 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3202 _ACEOF
3203 sed -n '
3204 h
3205 s/^/S["/; s/!.*/"]=/
3206 p
3207 g
3208 s/^[^!]*!//
3209 :repl
3210 t repl
3211 s/'"$ac_delim"'$//
3212 t delim
3213 :nl
3214 h
3215 s/\(.\{148\}\)..*/\1/
3216 t more1
3217 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3218 p
3219 n
3220 b repl
3221 :more1
3222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3223 p
3224 g
3225 s/.\{148\}//
3226 t nl
3227 :delim
3228 h
3229 s/\(.\{148\}\)..*/\1/
3230 t more2
3231 s/["\\]/\\&/g; s/^/"/; s/$/"/
3232 p
3233 b
3234 :more2
3235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3236 p
3237 g
3238 s/.\{148\}//
3239 t delim
3240 ' <conf$$subs.awk | sed '
3241 /^[^""]/{
3242 N
3243 s/\n//
3244 }
3245 ' >>$CONFIG_STATUS || ac_write_fail=1
3246 rm -f conf$$subs.awk
3247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3248 _ACAWK
3249 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3250 for (key in S) S_is_set[key] = 1
3251 FS = ""
3252
3253 }
3254 {
3255 line = $ 0
3256 nfields = split(line, field, "@")
3257 substed = 0
3258 len = length(field[1])
3259 for (i = 2; i < nfields; i++) {
3260 key = field[i]
3261 keylen = length(key)
3262 if (S_is_set[key]) {
3263 value = S[key]
3264 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3265 len += length(value) + length(field[++i])
3266 substed = 1
3267 } else
3268 len += 1 + keylen
3269 }
3270
3271 print line
3272 }
3273
3274 _ACAWK
3275 _ACEOF
3276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3277 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3278 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3279 else
3280 cat
3281 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3282 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3283 _ACEOF
3284
3285 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3286 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3287 # trailing colons and then remove the whole line if VPATH becomes empty
3288 # (actually we leave an empty line to preserve line numbers).
3289 if test "x$srcdir" = x.; then
3290 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3291 h
3292 s///
3293 s/^/:/
3294 s/[ ]*$/:/
3295 s/:\$(srcdir):/:/g
3296 s/:\${srcdir}:/:/g
3297 s/:@srcdir@:/:/g
3298 s/^:*//
3299 s/:*$//
3300 x
3301 s/\(=[ ]*\).*/\1/
3302 G
3303 s/\n//
3304 s/^[^=]*=[ ]*$//
3305 }'
3306 fi
3307
3308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3309 fi # test -n "$CONFIG_FILES"
3310
3311
3312 eval set X " :F $CONFIG_FILES "
3313 shift
3314 for ac_tag
3315 do
3316 case $ac_tag in
3317 :[FHLC]) ac_mode=$ac_tag; continue;;
3318 esac
3319 case $ac_mode$ac_tag in
3320 :[FHL]*:*);;
3321 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3322 :[FH]-) ac_tag=-:-;;
3323 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3324 esac
3325 ac_save_IFS=$IFS
3326 IFS=:
3327 set x $ac_tag
3328 IFS=$ac_save_IFS
3329 shift
3330 ac_file=$1
3331 shift
3332
3333 case $ac_mode in
3334 :L) ac_source=$1;;
3335 :[FH])
3336 ac_file_inputs=
3337 for ac_f
3338 do
3339 case $ac_f in
3340 -) ac_f="$ac_tmp/stdin";;
3341 *) # Look for the file first in the build tree, then in the source tree
3342 # (if the path is not absolute). The absolute path cannot be DOS-style,
3343 # because $ac_f cannot contain `:'.
3344 test -f "$ac_f" ||
3345 case $ac_f in
3346 [\\/$]*) false;;
3347 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3348 esac ||
3349 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3350 esac
3351 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3352 as_fn_append ac_file_inputs " '$ac_f'"
3353 done
3354
3355 # Let's still pretend it is `configure' which instantiates (i.e., don't
3356 # use $as_me), people would be surprised to read:
3357 # /* config.h. Generated by config.status. */
3358 configure_input='Generated from '`
3359 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3360 `' by configure.'
3361 if test x"$ac_file" != x-; then
3362 configure_input="$ac_file. $configure_input"
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3364 $as_echo "$as_me: creating $ac_file" >&6;}
3365 fi
3366 # Neutralize special characters interpreted by sed in replacement strings.
3367 case $configure_input in #(
3368 *\&* | *\|* | *\\* )
3369 ac_sed_conf_input=`$as_echo "$configure_input" |
3370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3371 *) ac_sed_conf_input=$configure_input;;
3372 esac
3373
3374 case $ac_tag in
3375 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3377 esac
3378 ;;
3379 esac
3380
3381 ac_dir=`$as_dirname -- "$ac_file" ||
3382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3383 X"$ac_file" : 'X\(//\)[^/]' \| \
3384 X"$ac_file" : 'X\(//\)$' \| \
3385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3386 $as_echo X"$ac_file" |
3387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3388 s//\1/
3389 q
3390 }
3391 /^X\(\/\/\)[^/].*/{
3392 s//\1/
3393 q
3394 }
3395 /^X\(\/\/\)$/{
3396 s//\1/
3397 q
3398 }
3399 /^X\(\/\).*/{
3400 s//\1/
3401 q
3402 }
3403 s/.*/./; q'`
3404 as_dir="$ac_dir"; as_fn_mkdir_p
3405 ac_builddir=.
3406
3407 case "$ac_dir" in
3408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3409 *)
3410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3411 # A ".." for each directory in $ac_dir_suffix.
3412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3413 case $ac_top_builddir_sub in
3414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3416 esac ;;
3417 esac
3418 ac_abs_top_builddir=$ac_pwd
3419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3420 # for backward compatibility:
3421 ac_top_builddir=$ac_top_build_prefix
3422
3423 case $srcdir in
3424 .) # We are building in place.
3425 ac_srcdir=.
3426 ac_top_srcdir=$ac_top_builddir_sub
3427 ac_abs_top_srcdir=$ac_pwd ;;
3428 [\\/]* | ?:[\\/]* ) # Absolute name.
3429 ac_srcdir=$srcdir$ac_dir_suffix;
3430 ac_top_srcdir=$srcdir
3431 ac_abs_top_srcdir=$srcdir ;;
3432 *) # Relative name.
3433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3434 ac_top_srcdir=$ac_top_build_prefix$srcdir
3435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3436 esac
3437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3438
3439
3440 case $ac_mode in
3441 :F)
3442 #
3443 # CONFIG_FILE
3444 #
3445
3446 case $INSTALL in
3447 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3448 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3449 esac
3450 ac_MKDIR_P=$MKDIR_P
3451 case $MKDIR_P in
3452 [\\/$]* | ?:[\\/]* ) ;;
3453 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3454 esac
3455 _ACEOF
3456
3457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3458 # If the template does not know about datarootdir, expand it.
3459 # FIXME: This hack should be removed a few years after 2.60.
3460 ac_datarootdir_hack=; ac_datarootdir_seen=
3461 ac_sed_dataroot='
3462 /datarootdir/ {
3463 p
3464 q
3465 }
3466 /@datadir@/p
3467 /@docdir@/p
3468 /@infodir@/p
3469 /@localedir@/p
3470 /@mandir@/p'
3471 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3472 *datarootdir*) ac_datarootdir_seen=yes;;
3473 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3475 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3476 _ACEOF
3477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3478 ac_datarootdir_hack='
3479 s&@datadir@&$datadir&g
3480 s&@docdir@&$docdir&g
3481 s&@infodir@&$infodir&g
3482 s&@localedir@&$localedir&g
3483 s&@mandir@&$mandir&g
3484 s&\\\${datarootdir}&$datarootdir&g' ;;
3485 esac
3486 _ACEOF
3487
3488 # Neutralize VPATH when `$srcdir' = `.'.
3489 # Shell code in configure.ac might set extrasub.
3490 # FIXME: do we really want to maintain this feature?
3491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3492 ac_sed_extra="$ac_vpsub
3493 $extrasub
3494 _ACEOF
3495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3496 :t
3497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3498 s|@configure_input@|$ac_sed_conf_input|;t t
3499 s&@top_builddir@&$ac_top_builddir_sub&;t t
3500 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3501 s&@srcdir@&$ac_srcdir&;t t
3502 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3503 s&@top_srcdir@&$ac_top_srcdir&;t t
3504 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3505 s&@builddir@&$ac_builddir&;t t
3506 s&@abs_builddir@&$ac_abs_builddir&;t t
3507 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3508 s&@INSTALL@&$ac_INSTALL&;t t
3509 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3510 $ac_datarootdir_hack
3511 "
3512 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3513 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3514
3515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3516 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3518 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3520 which seems to be undefined. Please make sure it is defined" >&5
3521 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3522 which seems to be undefined. Please make sure it is defined" >&2;}
3523
3524 rm -f "$ac_tmp/stdin"
3525 case $ac_file in
3526 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3527 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3528 esac \
3529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3530 ;;
3531
3532
3533
3534 esac
3535
3536
3537 case $ac_file$ac_mode in
3538 "t/001_help-option.t":F) chmod +x t/001_help-option.t ;;
3539 "t/010_read_ldif.t":F) chmod +x t/010_read_ldif.t ;;
3540 "t/020_entry-name.t":F) chmod +x t/020_entry-name.t ;;
3541 "t/030_git-from-scratch.t":F) chmod +x t/030_git-from-scratch.t ;;
3542 "t/031_backup-to-existing-dir.t":F) chmod +x t/031_backup-to-existing-dir.t ;;
3543 "t/040_delete-entry.t":F) chmod +x t/040_delete-entry.t ;;
3544 "t/050_modify-entry.t":F) chmod +x t/050_modify-entry.t ;;
3545 "t/060_custom_commit.t":F) chmod +x t/060_custom_commit.t ;;
3546 "t/061_no_change.t":F) chmod +x t/061_no_change.t ;;
3547 "t/070_mock-slapcat.t":F) chmod +x t/070_mock-slapcat.t ;;
3548 "t/071_safe-ldif.t":F) chmod +x t/071_safe-ldif.t ;;
3549 "t/mock-slapcat":F) chmod +x t/mock-slapcat ;;
3550 "safe-ldif":F) chmod +x safe-ldif ;;
3551
3552 esac
3553 done # for ac_tag
3554
3555
3556 as_fn_exit 0
3557 _ACEOF
3558 ac_clean_files=$ac_clean_files_save
3559
3560 test $ac_write_fail = 0 ||
3561 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3562
3563
3564 # configure is writing to config.log, and then calls config.status.
3565 # config.status does its own redirection, appending to config.log.
3566 # Unfortunately, on DOS this fails, as config.log is still kept open
3567 # by configure, so config.status won't be able to write to it; its
3568 # output is simply discarded. So we exec the FD to /dev/null,
3569 # effectively closing config.log, so it can be properly (re)opened and
3570 # appended to by config.status. When coming back to configure, we
3571 # need to make the FD available again.
3572 if test "$no_create" != yes; then
3573 ac_cs_success=:
3574 ac_config_status_args=
3575 test "$silent" = yes &&
3576 ac_config_status_args="$ac_config_status_args --quiet"
3577 exec 5>/dev/null
3578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3579 exec 5>>config.log
3580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3581 # would make configure fail if this is the last instruction.
3582 $ac_cs_success || as_fn_exit 1
3583 fi
3584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3586 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3587 fi
3588