source: vendor/3.6.23/examples/VFS/configure

Last change on this file was 860, checked in by Silvan Scherrer, 11 years ago

Samba 3.6: updated vendor to latest version

File size: 147.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order. Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" "" $as_nl"
88
89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100IFS=$as_save_IFS
101
102 ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107 as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there. '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202else
203 as_have_required=no
204fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225fi
226fi
227 done;;
228 esac
229 as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271 fi
272 exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290 { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299 return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307 set +e
308 as_fn_set_status $1
309 exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422else
423 as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428else
429 as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434else
435 as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509*)
510 ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534else
535 as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME=
579PACKAGE_TARNAME=
580PACKAGE_VERSION=
581PACKAGE_STRING=
582PACKAGE_BUGREPORT=
583PACKAGE_URL=
584
585ac_unique_file="Makefile.in"
586ac_default_prefix=/usr/local/samba
587# Factoring default headers for most tests.
588ac_includes_default="\
589#include <stdio.h>
590#ifdef HAVE_SYS_TYPES_H
591# include <sys/types.h>
592#endif
593#ifdef HAVE_SYS_STAT_H
594# include <sys/stat.h>
595#endif
596#ifdef STDC_HEADERS
597# include <stdlib.h>
598# include <stddef.h>
599#else
600# ifdef HAVE_STDLIB_H
601# include <stdlib.h>
602# endif
603#endif
604#ifdef HAVE_STRING_H
605# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606# include <memory.h>
607# endif
608# include <string.h>
609#endif
610#ifdef HAVE_STRINGS_H
611# include <strings.h>
612#endif
613#ifdef HAVE_INTTYPES_H
614# include <inttypes.h>
615#endif
616#ifdef HAVE_STDINT_H
617# include <stdint.h>
618#endif
619#ifdef HAVE_UNISTD_H
620# include <unistd.h>
621#endif"
622
623ac_subst_vars='LTLIBOBJS
624LIBOBJS
625DYNEXP
626ROFF
627builddir
628EGREP
629GREP
630CPP
631KRB5CONFIG
632EXTRA_ALL_TARGETS
633EXTRA_SBIN_PROGS
634EXTRA_BIN_PROGS
635SHLIB_PROGS
636INSTALLCLIENTCMD_A
637INSTALLCLIENTCMD_SH
638SHLIBEXT
639PICSUFFIX
640PICFLAGS
641HOST_OS
642SHLD
643SONAMEFLAG
644LDSHFLAGS
645SAMBA_SOURCE
646host_os
647host_vendor
648host_cpu
649host
650build_os
651build_vendor
652build_cpu
653build
654INSTALL_DATA
655INSTALL_SCRIPT
656INSTALL_PROGRAM
657OBJEXT
658EXEEXT
659ac_ct_CC
660CPPFLAGS
661LDFLAGS
662CFLAGS
663CC
664target_alias
665host_alias
666build_alias
667LIBS
668ECHO_T
669ECHO_N
670ECHO_C
671DEFS
672mandir
673localedir
674libdir
675psdir
676pdfdir
677dvidir
678htmldir
679infodir
680docdir
681oldincludedir
682includedir
683localstatedir
684sharedstatedir
685sysconfdir
686datadir
687datarootdir
688libexecdir
689sbindir
690bindir
691program_transform_name
692prefix
693exec_prefix
694PACKAGE_URL
695PACKAGE_BUGREPORT
696PACKAGE_STRING
697PACKAGE_VERSION
698PACKAGE_TARNAME
699PACKAGE_NAME
700PATH_SEPARATOR
701SHELL'
702ac_subst_files=''
703ac_user_opts='
704enable_option_checking
705with_fhs
706with_samba_source
707enable_debug
708enable_developer
709with_krb5
710'
711 ac_precious_vars='build_alias
712host_alias
713target_alias
714CC
715CFLAGS
716LDFLAGS
717LIBS
718CPPFLAGS
719CPP'
720
721
722# Initialize some variables set by options.
723ac_init_help=
724ac_init_version=false
725ac_unrecognized_opts=
726ac_unrecognized_sep=
727# The variables have the same names as the options, with
728# dashes changed to underlines.
729cache_file=/dev/null
730exec_prefix=NONE
731no_create=
732no_recursion=
733prefix=NONE
734program_prefix=NONE
735program_suffix=NONE
736program_transform_name=s,x,x,
737silent=
738site=
739srcdir=
740verbose=
741x_includes=NONE
742x_libraries=NONE
743
744# Installation directory options.
745# These are left unexpanded so users can "make install exec_prefix=/foo"
746# and all the variables that are supposed to be based on exec_prefix
747# by default will actually change.
748# Use braces instead of parens because sh, perl, etc. also accept them.
749# (The list follows the same order as the GNU Coding Standards.)
750bindir='${exec_prefix}/bin'
751sbindir='${exec_prefix}/sbin'
752libexecdir='${exec_prefix}/libexec'
753datarootdir='${prefix}/share'
754datadir='${datarootdir}'
755sysconfdir='${prefix}/etc'
756sharedstatedir='${prefix}/com'
757localstatedir='${prefix}/var'
758includedir='${prefix}/include'
759oldincludedir='/usr/include'
760docdir='${datarootdir}/doc/${PACKAGE}'
761infodir='${datarootdir}/info'
762htmldir='${docdir}'
763dvidir='${docdir}'
764pdfdir='${docdir}'
765psdir='${docdir}'
766libdir='${exec_prefix}/lib'
767localedir='${datarootdir}/locale'
768mandir='${datarootdir}/man'
769
770ac_prev=
771ac_dashdash=
772for ac_option
773do
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\$ac_option
777 ac_prev=
778 continue
779 fi
780
781 case $ac_option in
782 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 *=) ac_optarg= ;;
784 *) ac_optarg=yes ;;
785 esac
786
787 # Accept the important Cygnus configure options, so we can diagnose typos.
788
789 case $ac_dashdash$ac_option in
790 --)
791 ac_dashdash=yes ;;
792
793 -bindir | --bindir | --bindi | --bind | --bin | --bi)
794 ac_prev=bindir ;;
795 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
796 bindir=$ac_optarg ;;
797
798 -build | --build | --buil | --bui | --bu)
799 ac_prev=build_alias ;;
800 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
801 build_alias=$ac_optarg ;;
802
803 -cache-file | --cache-file | --cache-fil | --cache-fi \
804 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
805 ac_prev=cache_file ;;
806 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
807 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
808 cache_file=$ac_optarg ;;
809
810 --config-cache | -C)
811 cache_file=config.cache ;;
812
813 -datadir | --datadir | --datadi | --datad)
814 ac_prev=datadir ;;
815 -datadir=* | --datadir=* | --datadi=* | --datad=*)
816 datadir=$ac_optarg ;;
817
818 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
819 | --dataroo | --dataro | --datar)
820 ac_prev=datarootdir ;;
821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
823 datarootdir=$ac_optarg ;;
824
825 -disable-* | --disable-*)
826 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829 as_fn_error $? "invalid feature name: $ac_useropt"
830 ac_useropt_orig=$ac_useropt
831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
833 *"
834"enable_$ac_useropt"
835"*) ;;
836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
837 ac_unrecognized_sep=', ';;
838 esac
839 eval enable_$ac_useropt=no ;;
840
841 -docdir | --docdir | --docdi | --doc | --do)
842 ac_prev=docdir ;;
843 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
844 docdir=$ac_optarg ;;
845
846 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
847 ac_prev=dvidir ;;
848 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
849 dvidir=$ac_optarg ;;
850
851 -enable-* | --enable-*)
852 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
855 as_fn_error $? "invalid feature name: $ac_useropt"
856 ac_useropt_orig=$ac_useropt
857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858 case $ac_user_opts in
859 *"
860"enable_$ac_useropt"
861"*) ;;
862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
863 ac_unrecognized_sep=', ';;
864 esac
865 eval enable_$ac_useropt=\$ac_optarg ;;
866
867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869 | --exec | --exe | --ex)
870 ac_prev=exec_prefix ;;
871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873 | --exec=* | --exe=* | --ex=*)
874 exec_prefix=$ac_optarg ;;
875
876 -gas | --gas | --ga | --g)
877 # Obsolete; use --with-gas.
878 with_gas=yes ;;
879
880 -help | --help | --hel | --he | -h)
881 ac_init_help=long ;;
882 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
883 ac_init_help=recursive ;;
884 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
885 ac_init_help=short ;;
886
887 -host | --host | --hos | --ho)
888 ac_prev=host_alias ;;
889 -host=* | --host=* | --hos=* | --ho=*)
890 host_alias=$ac_optarg ;;
891
892 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
893 ac_prev=htmldir ;;
894 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
895 | --ht=*)
896 htmldir=$ac_optarg ;;
897
898 -includedir | --includedir | --includedi | --included | --include \
899 | --includ | --inclu | --incl | --inc)
900 ac_prev=includedir ;;
901 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
902 | --includ=* | --inclu=* | --incl=* | --inc=*)
903 includedir=$ac_optarg ;;
904
905 -infodir | --infodir | --infodi | --infod | --info | --inf)
906 ac_prev=infodir ;;
907 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
908 infodir=$ac_optarg ;;
909
910 -libdir | --libdir | --libdi | --libd)
911 ac_prev=libdir ;;
912 -libdir=* | --libdir=* | --libdi=* | --libd=*)
913 libdir=$ac_optarg ;;
914
915 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
916 | --libexe | --libex | --libe)
917 ac_prev=libexecdir ;;
918 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
919 | --libexe=* | --libex=* | --libe=*)
920 libexecdir=$ac_optarg ;;
921
922 -localedir | --localedir | --localedi | --localed | --locale)
923 ac_prev=localedir ;;
924 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
925 localedir=$ac_optarg ;;
926
927 -localstatedir | --localstatedir | --localstatedi | --localstated \
928 | --localstate | --localstat | --localsta | --localst | --locals)
929 ac_prev=localstatedir ;;
930 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
931 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
932 localstatedir=$ac_optarg ;;
933
934 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
935 ac_prev=mandir ;;
936 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
937 mandir=$ac_optarg ;;
938
939 -nfp | --nfp | --nf)
940 # Obsolete; use --without-fp.
941 with_fp=no ;;
942
943 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
944 | --no-cr | --no-c | -n)
945 no_create=yes ;;
946
947 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
948 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949 no_recursion=yes ;;
950
951 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
952 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
953 | --oldin | --oldi | --old | --ol | --o)
954 ac_prev=oldincludedir ;;
955 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
956 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
957 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
958 oldincludedir=$ac_optarg ;;
959
960 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
961 ac_prev=prefix ;;
962 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
963 prefix=$ac_optarg ;;
964
965 -program-prefix | --program-prefix | --program-prefi | --program-pref \
966 | --program-pre | --program-pr | --program-p)
967 ac_prev=program_prefix ;;
968 -program-prefix=* | --program-prefix=* | --program-prefi=* \
969 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
970 program_prefix=$ac_optarg ;;
971
972 -program-suffix | --program-suffix | --program-suffi | --program-suff \
973 | --program-suf | --program-su | --program-s)
974 ac_prev=program_suffix ;;
975 -program-suffix=* | --program-suffix=* | --program-suffi=* \
976 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
977 program_suffix=$ac_optarg ;;
978
979 -program-transform-name | --program-transform-name \
980 | --program-transform-nam | --program-transform-na \
981 | --program-transform-n | --program-transform- \
982 | --program-transform | --program-transfor \
983 | --program-transfo | --program-transf \
984 | --program-trans | --program-tran \
985 | --progr-tra | --program-tr | --program-t)
986 ac_prev=program_transform_name ;;
987 -program-transform-name=* | --program-transform-name=* \
988 | --program-transform-nam=* | --program-transform-na=* \
989 | --program-transform-n=* | --program-transform-=* \
990 | --program-transform=* | --program-transfor=* \
991 | --program-transfo=* | --program-transf=* \
992 | --program-trans=* | --program-tran=* \
993 | --progr-tra=* | --program-tr=* | --program-t=*)
994 program_transform_name=$ac_optarg ;;
995
996 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
997 ac_prev=pdfdir ;;
998 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
999 pdfdir=$ac_optarg ;;
1000
1001 -psdir | --psdir | --psdi | --psd | --ps)
1002 ac_prev=psdir ;;
1003 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1004 psdir=$ac_optarg ;;
1005
1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007 | -silent | --silent | --silen | --sile | --sil)
1008 silent=yes ;;
1009
1010 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1011 ac_prev=sbindir ;;
1012 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1013 | --sbi=* | --sb=*)
1014 sbindir=$ac_optarg ;;
1015
1016 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1017 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1018 | --sharedst | --shareds | --shared | --share | --shar \
1019 | --sha | --sh)
1020 ac_prev=sharedstatedir ;;
1021 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1022 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1023 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1024 | --sha=* | --sh=*)
1025 sharedstatedir=$ac_optarg ;;
1026
1027 -site | --site | --sit)
1028 ac_prev=site ;;
1029 -site=* | --site=* | --sit=*)
1030 site=$ac_optarg ;;
1031
1032 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1033 ac_prev=srcdir ;;
1034 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1035 srcdir=$ac_optarg ;;
1036
1037 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1038 | --syscon | --sysco | --sysc | --sys | --sy)
1039 ac_prev=sysconfdir ;;
1040 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1041 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1042 sysconfdir=$ac_optarg ;;
1043
1044 -target | --target | --targe | --targ | --tar | --ta | --t)
1045 ac_prev=target_alias ;;
1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047 target_alias=$ac_optarg ;;
1048
1049 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050 verbose=yes ;;
1051
1052 -version | --version | --versio | --versi | --vers | -V)
1053 ac_init_version=: ;;
1054
1055 -with-* | --with-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1063 *"
1064"with_$ac_useropt"
1065"*) ;;
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1068 esac
1069 eval with_$ac_useropt=\$ac_optarg ;;
1070
1071 -without-* | --without-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080"with_$ac_useropt"
1081"*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1084 esac
1085 eval with_$ac_useropt=no ;;
1086
1087 --x)
1088 # Obsolete; use --with-x.
1089 with_x=yes ;;
1090
1091 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1092 | --x-incl | --x-inc | --x-in | --x-i)
1093 ac_prev=x_includes ;;
1094 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1095 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1096 x_includes=$ac_optarg ;;
1097
1098 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1099 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1100 ac_prev=x_libraries ;;
1101 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1102 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1103 x_libraries=$ac_optarg ;;
1104
1105 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1106Try \`$0 --help' for more information"
1107 ;;
1108
1109 *=*)
1110 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1111 # Reject names that are not valid shell variable names.
1112 case $ac_envvar in #(
1113 '' | [0-9]* | *[!_$as_cr_alnum]* )
1114 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1115 esac
1116 eval $ac_envvar=\$ac_optarg
1117 export $ac_envvar ;;
1118
1119 *)
1120 # FIXME: should be removed in autoconf 3.0.
1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1125 ;;
1126
1127 esac
1128done
1129
1130if test -n "$ac_prev"; then
1131 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1132 as_fn_error $? "missing argument to $ac_option"
1133fi
1134
1135if test -n "$ac_unrecognized_opts"; then
1136 case $enable_option_checking in
1137 no) ;;
1138 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1139 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 esac
1141fi
1142
1143# Check all directory arguments for consistency.
1144for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145 datadir sysconfdir sharedstatedir localstatedir includedir \
1146 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147 libdir localedir mandir
1148do
1149 eval ac_val=\$$ac_var
1150 # Remove trailing slashes.
1151 case $ac_val in
1152 */ )
1153 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1154 eval $ac_var=\$ac_val;;
1155 esac
1156 # Be sure to have absolute directory names.
1157 case $ac_val in
1158 [\\/$]* | ?:[\\/]* ) continue;;
1159 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1160 esac
1161 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1162done
1163
1164# There might be people who depend on the old broken behavior: `$host'
1165# used to hold the argument of --host etc.
1166# FIXME: To remove some day.
1167build=$build_alias
1168host=$host_alias
1169target=$target_alias
1170
1171# FIXME: To remove some day.
1172if test "x$host_alias" != x; then
1173 if test "x$build_alias" = x; then
1174 cross_compiling=maybe
1175 elif test "x$build_alias" != "x$host_alias"; then
1176 cross_compiling=yes
1177 fi
1178fi
1179
1180ac_tool_prefix=
1181test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182
1183test "$silent" = yes && exec 6>/dev/null
1184
1185
1186ac_pwd=`pwd` && test -n "$ac_pwd" &&
1187ac_ls_di=`ls -di .` &&
1188ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1189 as_fn_error $? "working directory cannot be determined"
1190test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1191 as_fn_error $? "pwd does not report name of working directory"
1192
1193
1194# Find the source files, if location was not specified.
1195if test -z "$srcdir"; then
1196 ac_srcdir_defaulted=yes
1197 # Try the directory containing this script, then the parent directory.
1198 ac_confdir=`$as_dirname -- "$as_myself" ||
1199$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1200 X"$as_myself" : 'X\(//\)[^/]' \| \
1201 X"$as_myself" : 'X\(//\)$' \| \
1202 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1203$as_echo X"$as_myself" |
1204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1205 s//\1/
1206 q
1207 }
1208 /^X\(\/\/\)[^/].*/{
1209 s//\1/
1210 q
1211 }
1212 /^X\(\/\/\)$/{
1213 s//\1/
1214 q
1215 }
1216 /^X\(\/\).*/{
1217 s//\1/
1218 q
1219 }
1220 s/.*/./; q'`
1221 srcdir=$ac_confdir
1222 if test ! -r "$srcdir/$ac_unique_file"; then
1223 srcdir=..
1224 fi
1225else
1226 ac_srcdir_defaulted=no
1227fi
1228if test ! -r "$srcdir/$ac_unique_file"; then
1229 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1230 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1231fi
1232ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1233ac_abs_confdir=`(
1234 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 pwd)`
1236# When building in place, set srcdir=.
1237if test "$ac_abs_confdir" = "$ac_pwd"; then
1238 srcdir=.
1239fi
1240# Remove unnecessary trailing slashes from srcdir.
1241# Double slashes in file names in object file debugging info
1242# mess up M-x gdb in Emacs.
1243case $srcdir in
1244*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245esac
1246for ac_var in $ac_precious_vars; do
1247 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1248 eval ac_env_${ac_var}_value=\$${ac_var}
1249 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1250 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1251done
1252
1253#
1254# Report the --help message.
1255#
1256if test "$ac_init_help" = "long"; then
1257 # Omit some internal or obsolete options to make the list less imposing.
1258 # This message is too long to be a string in the A/UX 3.1 sh.
1259 cat <<_ACEOF
1260\`configure' configures this package to adapt to many kinds of systems.
1261
1262Usage: $0 [OPTION]... [VAR=VALUE]...
1263
1264To assign environment variables (e.g., CC, CFLAGS...), specify them as
1265VAR=VALUE. See below for descriptions of some of the useful variables.
1266
1267Defaults for the options are specified in brackets.
1268
1269Configuration:
1270 -h, --help display this help and exit
1271 --help=short display options specific to this package
1272 --help=recursive display the short help of all the included packages
1273 -V, --version display version information and exit
1274 -q, --quiet, --silent do not print \`checking ...' messages
1275 --cache-file=FILE cache test results in FILE [disabled]
1276 -C, --config-cache alias for \`--cache-file=config.cache'
1277 -n, --no-create do not create output files
1278 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279
1280Installation directories:
1281 --prefix=PREFIX install architecture-independent files in PREFIX
1282 [$ac_default_prefix]
1283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284 [PREFIX]
1285
1286By default, \`make install' will install all the files in
1287\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1288an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1289for instance \`--prefix=\$HOME'.
1290
1291For better control, use the options below.
1292
1293Fine tuning of the installation directories:
1294 --bindir=DIR user executables [EPREFIX/bin]
1295 --sbindir=DIR system admin executables [EPREFIX/sbin]
1296 --libexecdir=DIR program executables [EPREFIX/libexec]
1297 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1298 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1299 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1300 --libdir=DIR object code libraries [EPREFIX/lib]
1301 --includedir=DIR C header files [PREFIX/include]
1302 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305 --infodir=DIR info documentation [DATAROOTDIR/info]
1306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307 --mandir=DIR man documentation [DATAROOTDIR/man]
1308 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
1313_ACEOF
1314
1315 cat <<\_ACEOF
1316
1317System types:
1318 --build=BUILD configure for building on BUILD [guessed]
1319 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1320_ACEOF
1321fi
1322
1323if test -n "$ac_init_help"; then
1324
1325 cat <<\_ACEOF
1326
1327Optional Features:
1328 --disable-option-checking ignore unrecognized --enable/--with options
1329 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1330 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1331 --enable-debug Turn on compiler debugging information (default=no)
1332 --enable-developer Turn on developer warnings and debugging (default=no)
1333
1334Optional Packages:
1335 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1336 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1337 --with-fhs Use FHS-compliant paths (default=no)
1338 --with-samba-source=DIR Where is the samba source tree (../../source3)
1339 --with-krb5=base-dir Locate Kerberos 5 support (default=/usr)
1340
1341Some influential environment variables:
1342 CC C compiler command
1343 CFLAGS C compiler flags
1344 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1345 nonstandard directory <lib dir>
1346 LIBS libraries to pass to the linker, e.g. -l<library>
1347 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1348 you have headers in a nonstandard directory <include dir>
1349 CPP C preprocessor
1350
1351Use these variables to override the choices made by `configure' or to help
1352it to find libraries and programs with nonstandard names/locations.
1353
1354Report bugs to the package provider.
1355_ACEOF
1356ac_status=$?
1357fi
1358
1359if test "$ac_init_help" = "recursive"; then
1360 # If there are subdirs, report their specific --help.
1361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1362 test -d "$ac_dir" ||
1363 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1364 continue
1365 ac_builddir=.
1366
1367case "$ac_dir" in
1368.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369*)
1370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1371 # A ".." for each directory in $ac_dir_suffix.
1372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1373 case $ac_top_builddir_sub in
1374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1376 esac ;;
1377esac
1378ac_abs_top_builddir=$ac_pwd
1379ac_abs_builddir=$ac_pwd$ac_dir_suffix
1380# for backward compatibility:
1381ac_top_builddir=$ac_top_build_prefix
1382
1383case $srcdir in
1384 .) # We are building in place.
1385 ac_srcdir=.
1386 ac_top_srcdir=$ac_top_builddir_sub
1387 ac_abs_top_srcdir=$ac_pwd ;;
1388 [\\/]* | ?:[\\/]* ) # Absolute name.
1389 ac_srcdir=$srcdir$ac_dir_suffix;
1390 ac_top_srcdir=$srcdir
1391 ac_abs_top_srcdir=$srcdir ;;
1392 *) # Relative name.
1393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1394 ac_top_srcdir=$ac_top_build_prefix$srcdir
1395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1396esac
1397ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1398
1399 cd "$ac_dir" || { ac_status=$?; continue; }
1400 # Check for guested configure.
1401 if test -f "$ac_srcdir/configure.gnu"; then
1402 echo &&
1403 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1404 elif test -f "$ac_srcdir/configure"; then
1405 echo &&
1406 $SHELL "$ac_srcdir/configure" --help=recursive
1407 else
1408 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1409 fi || ac_status=$?
1410 cd "$ac_pwd" || { ac_status=$?; break; }
1411 done
1412fi
1413
1414test -n "$ac_init_help" && exit $ac_status
1415if $ac_init_version; then
1416 cat <<\_ACEOF
1417configure
1418generated by GNU Autoconf 2.69
1419
1420Copyright (C) 2012 Free Software Foundation, Inc.
1421This configure script is free software; the Free Software Foundation
1422gives unlimited permission to copy, distribute and modify it.
1423_ACEOF
1424 exit
1425fi
1426
1427## ------------------------ ##
1428## Autoconf initialization. ##
1429## ------------------------ ##
1430
1431# ac_fn_c_try_compile LINENO
1432# --------------------------
1433# Try to compile conftest.$ac_ext, and return whether this succeeded.
1434ac_fn_c_try_compile ()
1435{
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 rm -f conftest.$ac_objext
1438 if { { ac_try="$ac_compile"
1439case "(($ac_try" in
1440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1442esac
1443eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444$as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1446 ac_status=$?
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1451 fi
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_c_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.$ac_objext; then :
1457 ac_retval=0
1458else
1459 $as_echo "$as_me: failed program was:" >&5
1460sed 's/^/| /' conftest.$ac_ext >&5
1461
1462 ac_retval=1
1463fi
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status $ac_retval
1466
1467} # ac_fn_c_try_compile
1468
1469# ac_fn_c_try_cpp LINENO
1470# ----------------------
1471# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1472ac_fn_c_try_cpp ()
1473{
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 if { { ac_try="$ac_cpp conftest.$ac_ext"
1476case "(($ac_try" in
1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1478 *) ac_try_echo=$ac_try;;
1479esac
1480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481$as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1483 ac_status=$?
1484 if test -s conftest.err; then
1485 grep -v '^ *+' conftest.err >conftest.er1
1486 cat conftest.er1 >&5
1487 mv -f conftest.er1 conftest.err
1488 fi
1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } > conftest.i && {
1491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1492 test ! -s conftest.err
1493 }; then :
1494 ac_retval=0
1495else
1496 $as_echo "$as_me: failed program was:" >&5
1497sed 's/^/| /' conftest.$ac_ext >&5
1498
1499 ac_retval=1
1500fi
1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1502 as_fn_set_status $ac_retval
1503
1504} # ac_fn_c_try_cpp
1505
1506# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1507# -------------------------------------------------------
1508# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1509# the include files in INCLUDES and setting the cache variable VAR
1510# accordingly.
1511ac_fn_c_check_header_mongrel ()
1512{
1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514 if eval \${$3+:} false; then :
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1516$as_echo_n "checking for $2... " >&6; }
1517if eval \${$3+:} false; then :
1518 $as_echo_n "(cached) " >&6
1519fi
1520eval ac_res=\$$3
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1522$as_echo "$ac_res" >&6; }
1523else
1524 # Is the header compilable?
1525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1526$as_echo_n "checking $2 usability... " >&6; }
1527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1528/* end confdefs.h. */
1529$4
1530#include <$2>
1531_ACEOF
1532if ac_fn_c_try_compile "$LINENO"; then :
1533 ac_header_compiler=yes
1534else
1535 ac_header_compiler=no
1536fi
1537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1539$as_echo "$ac_header_compiler" >&6; }
1540
1541# Is the header present?
1542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1543$as_echo_n "checking $2 presence... " >&6; }
1544cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1545/* end confdefs.h. */
1546#include <$2>
1547_ACEOF
1548if ac_fn_c_try_cpp "$LINENO"; then :
1549 ac_header_preproc=yes
1550else
1551 ac_header_preproc=no
1552fi
1553rm -f conftest.err conftest.i conftest.$ac_ext
1554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1555$as_echo "$ac_header_preproc" >&6; }
1556
1557# So? What about this header?
1558case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1559 yes:no: )
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1561$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1563$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1564 ;;
1565 no:yes:* )
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1567$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1569$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1571$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1573$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1575$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1576 ;;
1577esac
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1579$as_echo_n "checking for $2... " >&6; }
1580if eval \${$3+:} false; then :
1581 $as_echo_n "(cached) " >&6
1582else
1583 eval "$3=\$ac_header_compiler"
1584fi
1585eval ac_res=\$$3
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587$as_echo "$ac_res" >&6; }
1588fi
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590
1591} # ac_fn_c_check_header_mongrel
1592
1593# ac_fn_c_try_run LINENO
1594# ----------------------
1595# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1596# that executables *can* be run.
1597ac_fn_c_try_run ()
1598{
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_link"
1601case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604esac
1605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606$as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_link") 2>&5
1608 ac_status=$?
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1611 { { case "(($ac_try" in
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1614esac
1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616$as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_try") 2>&5
1618 ac_status=$?
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; }; }; then :
1621 ac_retval=0
1622else
1623 $as_echo "$as_me: program exited with status $ac_status" >&5
1624 $as_echo "$as_me: failed program was:" >&5
1625sed 's/^/| /' conftest.$ac_ext >&5
1626
1627 ac_retval=$ac_status
1628fi
1629 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1632
1633} # ac_fn_c_try_run
1634
1635# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1636# -------------------------------------------------------
1637# Tests whether HEADER exists and can be compiled using the include files in
1638# INCLUDES, setting the cache variable VAR accordingly.
1639ac_fn_c_check_header_compile ()
1640{
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643$as_echo_n "checking for $2... " >&6; }
1644if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1646else
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648/* end confdefs.h. */
1649$4
1650#include <$2>
1651_ACEOF
1652if ac_fn_c_try_compile "$LINENO"; then :
1653 eval "$3=yes"
1654else
1655 eval "$3=no"
1656fi
1657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658fi
1659eval ac_res=\$$3
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661$as_echo "$ac_res" >&6; }
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663
1664} # ac_fn_c_check_header_compile
1665cat >config.log <<_ACEOF
1666This file contains any messages produced by compilers while
1667running configure, to aid debugging if configure makes a mistake.
1668
1669It was created by $as_me, which was
1670generated by GNU Autoconf 2.69. Invocation command line was
1671
1672 $ $0 $@
1673
1674_ACEOF
1675exec 5>>config.log
1676{
1677cat <<_ASUNAME
1678## --------- ##
1679## Platform. ##
1680## --------- ##
1681
1682hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1683uname -m = `(uname -m) 2>/dev/null || echo unknown`
1684uname -r = `(uname -r) 2>/dev/null || echo unknown`
1685uname -s = `(uname -s) 2>/dev/null || echo unknown`
1686uname -v = `(uname -v) 2>/dev/null || echo unknown`
1687
1688/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1689/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1690
1691/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1692/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1693/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1694/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1695/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1696/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1697/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1698
1699_ASUNAME
1700
1701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702for as_dir in $PATH
1703do
1704 IFS=$as_save_IFS
1705 test -z "$as_dir" && as_dir=.
1706 $as_echo "PATH: $as_dir"
1707 done
1708IFS=$as_save_IFS
1709
1710} >&5
1711
1712cat >&5 <<_ACEOF
1713
1714
1715## ----------- ##
1716## Core tests. ##
1717## ----------- ##
1718
1719_ACEOF
1720
1721
1722# Keep a trace of the command line.
1723# Strip out --no-create and --no-recursion so they do not pile up.
1724# Strip out --silent because we don't want to record it for future runs.
1725# Also quote any args containing shell meta-characters.
1726# Make two passes to allow for proper duplicate-argument suppression.
1727ac_configure_args=
1728ac_configure_args0=
1729ac_configure_args1=
1730ac_must_keep_next=false
1731for ac_pass in 1 2
1732do
1733 for ac_arg
1734 do
1735 case $ac_arg in
1736 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1738 | -silent | --silent | --silen | --sile | --sil)
1739 continue ;;
1740 *\'*)
1741 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1742 esac
1743 case $ac_pass in
1744 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1745 2)
1746 as_fn_append ac_configure_args1 " '$ac_arg'"
1747 if test $ac_must_keep_next = true; then
1748 ac_must_keep_next=false # Got value, back to normal.
1749 else
1750 case $ac_arg in
1751 *=* | --config-cache | -C | -disable-* | --disable-* \
1752 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1753 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1754 | -with-* | --with-* | -without-* | --without-* | --x)
1755 case "$ac_configure_args0 " in
1756 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1757 esac
1758 ;;
1759 -* ) ac_must_keep_next=true ;;
1760 esac
1761 fi
1762 as_fn_append ac_configure_args " '$ac_arg'"
1763 ;;
1764 esac
1765 done
1766done
1767{ ac_configure_args0=; unset ac_configure_args0;}
1768{ ac_configure_args1=; unset ac_configure_args1;}
1769
1770# When interrupted or exit'd, cleanup temporary files, and complete
1771# config.log. We remove comments because anyway the quotes in there
1772# would cause problems or look ugly.
1773# WARNING: Use '\'' to represent an apostrophe within the trap.
1774# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1775trap 'exit_status=$?
1776 # Save into config.log some information that might help in debugging.
1777 {
1778 echo
1779
1780 $as_echo "## ---------------- ##
1781## Cache variables. ##
1782## ---------------- ##"
1783 echo
1784 # The following way of writing the cache mishandles newlines in values,
1785(
1786 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1787 eval ac_val=\$$ac_var
1788 case $ac_val in #(
1789 *${as_nl}*)
1790 case $ac_var in #(
1791 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1792$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1793 esac
1794 case $ac_var in #(
1795 _ | IFS | as_nl) ;; #(
1796 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1797 *) { eval $ac_var=; unset $ac_var;} ;;
1798 esac ;;
1799 esac
1800 done
1801 (set) 2>&1 |
1802 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1803 *${as_nl}ac_space=\ *)
1804 sed -n \
1805 "s/'\''/'\''\\\\'\'''\''/g;
1806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1807 ;; #(
1808 *)
1809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1810 ;;
1811 esac |
1812 sort
1813)
1814 echo
1815
1816 $as_echo "## ----------------- ##
1817## Output variables. ##
1818## ----------------- ##"
1819 echo
1820 for ac_var in $ac_subst_vars
1821 do
1822 eval ac_val=\$$ac_var
1823 case $ac_val in
1824 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 esac
1826 $as_echo "$ac_var='\''$ac_val'\''"
1827 done | sort
1828 echo
1829
1830 if test -n "$ac_subst_files"; then
1831 $as_echo "## ------------------- ##
1832## File substitutions. ##
1833## ------------------- ##"
1834 echo
1835 for ac_var in $ac_subst_files
1836 do
1837 eval ac_val=\$$ac_var
1838 case $ac_val in
1839 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840 esac
1841 $as_echo "$ac_var='\''$ac_val'\''"
1842 done | sort
1843 echo
1844 fi
1845
1846 if test -s confdefs.h; then
1847 $as_echo "## ----------- ##
1848## confdefs.h. ##
1849## ----------- ##"
1850 echo
1851 cat confdefs.h
1852 echo
1853 fi
1854 test "$ac_signal" != 0 &&
1855 $as_echo "$as_me: caught signal $ac_signal"
1856 $as_echo "$as_me: exit $exit_status"
1857 } >&5
1858 rm -f core *.core core.conftest.* &&
1859 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1860 exit $exit_status
1861' 0
1862for ac_signal in 1 2 13 15; do
1863 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1864done
1865ac_signal=0
1866
1867# confdefs.h avoids OS command line length limits that DEFS can exceed.
1868rm -f -r conftest* confdefs.h
1869
1870$as_echo "/* confdefs.h */" > confdefs.h
1871
1872# Predefined preprocessor variables.
1873
1874cat >>confdefs.h <<_ACEOF
1875#define PACKAGE_NAME "$PACKAGE_NAME"
1876_ACEOF
1877
1878cat >>confdefs.h <<_ACEOF
1879#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1880_ACEOF
1881
1882cat >>confdefs.h <<_ACEOF
1883#define PACKAGE_VERSION "$PACKAGE_VERSION"
1884_ACEOF
1885
1886cat >>confdefs.h <<_ACEOF
1887#define PACKAGE_STRING "$PACKAGE_STRING"
1888_ACEOF
1889
1890cat >>confdefs.h <<_ACEOF
1891#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1892_ACEOF
1893
1894cat >>confdefs.h <<_ACEOF
1895#define PACKAGE_URL "$PACKAGE_URL"
1896_ACEOF
1897
1898
1899# Let the site file select an alternate cache file if it wants to.
1900# Prefer an explicitly selected file to automatically selected ones.
1901ac_site_file1=NONE
1902ac_site_file2=NONE
1903if test -n "$CONFIG_SITE"; then
1904 # We do not want a PATH search for config.site.
1905 case $CONFIG_SITE in #((
1906 -*) ac_site_file1=./$CONFIG_SITE;;
1907 */*) ac_site_file1=$CONFIG_SITE;;
1908 *) ac_site_file1=./$CONFIG_SITE;;
1909 esac
1910elif test "x$prefix" != xNONE; then
1911 ac_site_file1=$prefix/share/config.site
1912 ac_site_file2=$prefix/etc/config.site
1913else
1914 ac_site_file1=$ac_default_prefix/share/config.site
1915 ac_site_file2=$ac_default_prefix/etc/config.site
1916fi
1917for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1918do
1919 test "x$ac_site_file" = xNONE && continue
1920 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1922$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1923 sed 's/^/| /' "$ac_site_file" >&5
1924 . "$ac_site_file" \
1925 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1927as_fn_error $? "failed to load site script $ac_site_file
1928See \`config.log' for more details" "$LINENO" 5; }
1929 fi
1930done
1931
1932if test -r "$cache_file"; then
1933 # Some versions of bash will fail to source /dev/null (special files
1934 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1935 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1937$as_echo "$as_me: loading cache $cache_file" >&6;}
1938 case $cache_file in
1939 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1940 *) . "./$cache_file";;
1941 esac
1942 fi
1943else
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1945$as_echo "$as_me: creating cache $cache_file" >&6;}
1946 >$cache_file
1947fi
1948
1949# Check that the precious variables saved in the cache have kept the same
1950# value.
1951ac_cache_corrupted=false
1952for ac_var in $ac_precious_vars; do
1953 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1954 eval ac_new_set=\$ac_env_${ac_var}_set
1955 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1956 eval ac_new_val=\$ac_env_${ac_var}_value
1957 case $ac_old_set,$ac_new_set in
1958 set,)
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1960$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1961 ac_cache_corrupted=: ;;
1962 ,set)
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1964$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1965 ac_cache_corrupted=: ;;
1966 ,);;
1967 *)
1968 if test "x$ac_old_val" != "x$ac_new_val"; then
1969 # differences in whitespace do not lead to failure.
1970 ac_old_val_w=`echo x $ac_old_val`
1971 ac_new_val_w=`echo x $ac_new_val`
1972 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1974$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1975 ac_cache_corrupted=:
1976 else
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1978$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1979 eval $ac_var=\$ac_old_val
1980 fi
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1982$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1984$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1985 fi;;
1986 esac
1987 # Pass precious variables to config.status.
1988 if test "$ac_new_set" = set; then
1989 case $ac_new_val in
1990 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1991 *) ac_arg=$ac_var=$ac_new_val ;;
1992 esac
1993 case " $ac_configure_args " in
1994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1995 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1996 esac
1997 fi
1998done
1999if $ac_cache_corrupted; then
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2003$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2004 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2005fi
2006## -------------------- ##
2007## Main body of script. ##
2008## -------------------- ##
2009
2010ac_ext=c
2011ac_cpp='$CPP $CPPFLAGS'
2012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2014ac_compiler_gnu=$ac_cv_c_compiler_gnu
2015
2016
2017
2018ac_config_headers="$ac_config_headers module_config.h"
2019
2020#dnl To make sure that didn't get #define PACKAGE_* in modules_config.h
2021#echo "" > confdefs.h
2022
2023ac_ext=c
2024ac_cpp='$CPP $CPPFLAGS'
2025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032$as_echo_n "checking for $ac_word... " >&6; }
2033if ${ac_cv_prog_CC+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035else
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2038else
2039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040for as_dir in $PATH
2041do
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2049 fi
2050done
2051 done
2052IFS=$as_save_IFS
2053
2054fi
2055fi
2056CC=$ac_cv_prog_CC
2057if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059$as_echo "$CC" >&6; }
2060else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062$as_echo "no" >&6; }
2063fi
2064
2065
2066fi
2067if test -z "$ac_cv_prog_CC"; then
2068 ac_ct_CC=$CC
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070set dummy gcc; ac_word=$2
2071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072$as_echo_n "checking for $ac_word... " >&6; }
2073if ${ac_cv_prog_ac_ct_CC+:} false; then :
2074 $as_echo_n "(cached) " >&6
2075else
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078else
2079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080for as_dir in $PATH
2081do
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2089 fi
2090done
2091 done
2092IFS=$as_save_IFS
2093
2094fi
2095fi
2096ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097if test -n "$ac_ct_CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2099$as_echo "$ac_ct_CC" >&6; }
2100else
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102$as_echo "no" >&6; }
2103fi
2104
2105 if test "x$ac_ct_CC" = x; then
2106 CC=""
2107 else
2108 case $cross_compiling:$ac_tool_warned in
2109yes:)
2110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112ac_tool_warned=yes ;;
2113esac
2114 CC=$ac_ct_CC
2115 fi
2116else
2117 CC="$ac_cv_prog_CC"
2118fi
2119
2120if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123set dummy ${ac_tool_prefix}cc; ac_word=$2
2124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125$as_echo_n "checking for $ac_word... " >&6; }
2126if ${ac_cv_prog_CC+:} false; then :
2127 $as_echo_n "(cached) " >&6
2128else
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2131else
2132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133for as_dir in $PATH
2134do
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="${ac_tool_prefix}cc"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 break 2
2142 fi
2143done
2144 done
2145IFS=$as_save_IFS
2146
2147fi
2148fi
2149CC=$ac_cv_prog_CC
2150if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152$as_echo "$CC" >&6; }
2153else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155$as_echo "no" >&6; }
2156fi
2157
2158
2159 fi
2160fi
2161if test -z "$CC"; then
2162 # Extract the first word of "cc", so it can be a program name with args.
2163set dummy cc; ac_word=$2
2164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165$as_echo_n "checking for $ac_word... " >&6; }
2166if ${ac_cv_prog_CC+:} false; then :
2167 $as_echo_n "(cached) " >&6
2168else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171else
2172 ac_prog_rejected=no
2173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174for as_dir in $PATH
2175do
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2181 ac_prog_rejected=yes
2182 continue
2183 fi
2184 ac_cv_prog_CC="cc"
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2187 fi
2188done
2189 done
2190IFS=$as_save_IFS
2191
2192if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy $ac_cv_prog_CC
2195 shift
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2200 shift
2201 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2202 fi
2203fi
2204fi
2205fi
2206CC=$ac_cv_prog_CC
2207if test -n "$CC"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2209$as_echo "$CC" >&6; }
2210else
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2212$as_echo "no" >&6; }
2213fi
2214
2215
2216fi
2217if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 for ac_prog in cl.exe
2220 do
2221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224$as_echo_n "checking for $ac_word... " >&6; }
2225if ${ac_cv_prog_CC+:} false; then :
2226 $as_echo_n "(cached) " >&6
2227else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230else
2231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232for as_dir in $PATH
2233do
2234 IFS=$as_save_IFS
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 break 2
2241 fi
2242done
2243 done
2244IFS=$as_save_IFS
2245
2246fi
2247fi
2248CC=$ac_cv_prog_CC
2249if test -n "$CC"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2251$as_echo "$CC" >&6; }
2252else
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254$as_echo "no" >&6; }
2255fi
2256
2257
2258 test -n "$CC" && break
2259 done
2260fi
2261if test -z "$CC"; then
2262 ac_ct_CC=$CC
2263 for ac_prog in cl.exe
2264do
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266set dummy $ac_prog; ac_word=$2
2267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268$as_echo_n "checking for $ac_word... " >&6; }
2269if ${ac_cv_prog_ac_ct_CC+:} false; then :
2270 $as_echo_n "(cached) " >&6
2271else
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2274else
2275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276for as_dir in $PATH
2277do
2278 IFS=$as_save_IFS
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC="$ac_prog"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 break 2
2285 fi
2286done
2287 done
2288IFS=$as_save_IFS
2289
2290fi
2291fi
2292ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293if test -n "$ac_ct_CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2295$as_echo "$ac_ct_CC" >&6; }
2296else
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298$as_echo "no" >&6; }
2299fi
2300
2301
2302 test -n "$ac_ct_CC" && break
2303done
2304
2305 if test "x$ac_ct_CC" = x; then
2306 CC=""
2307 else
2308 case $cross_compiling:$ac_tool_warned in
2309yes:)
2310{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2311$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2312ac_tool_warned=yes ;;
2313esac
2314 CC=$ac_ct_CC
2315 fi
2316fi
2317
2318fi
2319
2320
2321test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323as_fn_error $? "no acceptable C compiler found in \$PATH
2324See \`config.log' for more details" "$LINENO" 5; }
2325
2326# Provide some information about the compiler.
2327$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2328set X $ac_compile
2329ac_compiler=$2
2330for ac_option in --version -v -V -qversion; do
2331 { { ac_try="$ac_compiler $ac_option >&5"
2332case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335esac
2336eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337$as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2339 ac_status=$?
2340 if test -s conftest.err; then
2341 sed '10a\
2342... rest of stderr output deleted ...
2343 10q' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 fi
2346 rm -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }
2349done
2350
2351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352/* end confdefs.h. */
2353
2354int
2355main ()
2356{
2357
2358 ;
2359 return 0;
2360}
2361_ACEOF
2362ac_clean_files_save=$ac_clean_files
2363ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2364# Try to create an executable without -o first, disregard a.out.
2365# It will help us diagnose broken compilers, and finding out an intuition
2366# of exeext.
2367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2368$as_echo_n "checking whether the C compiler works... " >&6; }
2369ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2370
2371# The possible output files:
2372ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2373
2374ac_rmfiles=
2375for ac_file in $ac_files
2376do
2377 case $ac_file in
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2380 esac
2381done
2382rm -f $ac_rmfiles
2383
2384if { { ac_try="$ac_link_default"
2385case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388esac
2389eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390$as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_link_default") 2>&5
2392 ac_status=$?
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; }; then :
2395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2396# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2397# in a Makefile. We should not override ac_cv_exeext if it was cached,
2398# so that the user can short-circuit this test for compilers unknown to
2399# Autoconf.
2400for ac_file in $ac_files ''
2401do
2402 test -f "$ac_file" || continue
2403 case $ac_file in
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2405 ;;
2406 [ab].out )
2407 # We found the default executable, but exeext='' is most
2408 # certainly right.
2409 break;;
2410 *.* )
2411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2412 then :; else
2413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2414 fi
2415 # We set ac_cv_exeext here because the later test for it is not
2416 # safe: cross compilers may not add the suffix if given an `-o'
2417 # argument, so we may need to know it at that point already.
2418 # Even if this section looks crufty: it has the advantage of
2419 # actually working.
2420 break;;
2421 * )
2422 break;;
2423 esac
2424done
2425test "$ac_cv_exeext" = no && ac_cv_exeext=
2426
2427else
2428 ac_file=''
2429fi
2430if test -z "$ac_file"; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432$as_echo "no" >&6; }
2433$as_echo "$as_me: failed program was:" >&5
2434sed 's/^/| /' conftest.$ac_ext >&5
2435
2436{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438as_fn_error 77 "C compiler cannot create executables
2439See \`config.log' for more details" "$LINENO" 5; }
2440else
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442$as_echo "yes" >&6; }
2443fi
2444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2445$as_echo_n "checking for C compiler default output file name... " >&6; }
2446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2447$as_echo "$ac_file" >&6; }
2448ac_exeext=$ac_cv_exeext
2449
2450rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2451ac_clean_files=$ac_clean_files_save
2452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2453$as_echo_n "checking for suffix of executables... " >&6; }
2454if { { ac_try="$ac_link"
2455case "(($ac_try" in
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2458esac
2459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460$as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_link") 2>&5
2462 ac_status=$?
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; }; then :
2465 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2466# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2467# work properly (i.e., refer to `conftest.exe'), while it won't with
2468# `rm'.
2469for ac_file in conftest.exe conftest conftest.*; do
2470 test -f "$ac_file" || continue
2471 case $ac_file in
2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2473 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 break;;
2475 * ) break;;
2476 esac
2477done
2478else
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2482See \`config.log' for more details" "$LINENO" 5; }
2483fi
2484rm -f conftest conftest$ac_cv_exeext
2485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2486$as_echo "$ac_cv_exeext" >&6; }
2487
2488rm -f conftest.$ac_ext
2489EXEEXT=$ac_cv_exeext
2490ac_exeext=$EXEEXT
2491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492/* end confdefs.h. */
2493#include <stdio.h>
2494int
2495main ()
2496{
2497FILE *f = fopen ("conftest.out", "w");
2498 return ferror (f) || fclose (f) != 0;
2499
2500 ;
2501 return 0;
2502}
2503_ACEOF
2504ac_clean_files="$ac_clean_files conftest.out"
2505# Check that the compiler produces executables we can run. If not, either
2506# the compiler is broken, or we cross compile.
2507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2508$as_echo_n "checking whether we are cross compiling... " >&6; }
2509if test "$cross_compiling" != yes; then
2510 { { ac_try="$ac_link"
2511case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514esac
2515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516$as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2521 if { ac_try='./conftest$ac_cv_exeext'
2522 { { case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525esac
2526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527$as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_try") 2>&5
2529 ac_status=$?
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }; }; then
2532 cross_compiling=no
2533 else
2534 if test "$cross_compiling" = maybe; then
2535 cross_compiling=yes
2536 else
2537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539as_fn_error $? "cannot run C compiled programs.
2540If you meant to cross compile, use \`--host'.
2541See \`config.log' for more details" "$LINENO" 5; }
2542 fi
2543 fi
2544fi
2545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2546$as_echo "$cross_compiling" >&6; }
2547
2548rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2549ac_clean_files=$ac_clean_files_save
2550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2551$as_echo_n "checking for suffix of object files... " >&6; }
2552if ${ac_cv_objext+:} false; then :
2553 $as_echo_n "(cached) " >&6
2554else
2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556/* end confdefs.h. */
2557
2558int
2559main ()
2560{
2561
2562 ;
2563 return 0;
2564}
2565_ACEOF
2566rm -f conftest.o conftest.obj
2567if { { ac_try="$ac_compile"
2568case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571esac
2572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573$as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>&5
2575 ac_status=$?
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; then :
2578 for ac_file in conftest.o conftest.obj conftest.*; do
2579 test -f "$ac_file" || continue;
2580 case $ac_file in
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2583 break;;
2584 esac
2585done
2586else
2587 $as_echo "$as_me: failed program was:" >&5
2588sed 's/^/| /' conftest.$ac_ext >&5
2589
2590{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592as_fn_error $? "cannot compute suffix of object files: cannot compile
2593See \`config.log' for more details" "$LINENO" 5; }
2594fi
2595rm -f conftest.$ac_cv_objext conftest.$ac_ext
2596fi
2597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2598$as_echo "$ac_cv_objext" >&6; }
2599OBJEXT=$ac_cv_objext
2600ac_objext=$OBJEXT
2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2602$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2603if ${ac_cv_c_compiler_gnu+:} false; then :
2604 $as_echo_n "(cached) " >&6
2605else
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607/* end confdefs.h. */
2608
2609int
2610main ()
2611{
2612#ifndef __GNUC__
2613 choke me
2614#endif
2615
2616 ;
2617 return 0;
2618}
2619_ACEOF
2620if ac_fn_c_try_compile "$LINENO"; then :
2621 ac_compiler_gnu=yes
2622else
2623 ac_compiler_gnu=no
2624fi
2625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626ac_cv_c_compiler_gnu=$ac_compiler_gnu
2627
2628fi
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2630$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2631if test $ac_compiler_gnu = yes; then
2632 GCC=yes
2633else
2634 GCC=
2635fi
2636ac_test_CFLAGS=${CFLAGS+set}
2637ac_save_CFLAGS=$CFLAGS
2638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2639$as_echo_n "checking whether $CC accepts -g... " >&6; }
2640if ${ac_cv_prog_cc_g+:} false; then :
2641 $as_echo_n "(cached) " >&6
2642else
2643 ac_save_c_werror_flag=$ac_c_werror_flag
2644 ac_c_werror_flag=yes
2645 ac_cv_prog_cc_g=no
2646 CFLAGS="-g"
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648/* end confdefs.h. */
2649
2650int
2651main ()
2652{
2653
2654 ;
2655 return 0;
2656}
2657_ACEOF
2658if ac_fn_c_try_compile "$LINENO"; then :
2659 ac_cv_prog_cc_g=yes
2660else
2661 CFLAGS=""
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663/* end confdefs.h. */
2664
2665int
2666main ()
2667{
2668
2669 ;
2670 return 0;
2671}
2672_ACEOF
2673if ac_fn_c_try_compile "$LINENO"; then :
2674
2675else
2676 ac_c_werror_flag=$ac_save_c_werror_flag
2677 CFLAGS="-g"
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679/* end confdefs.h. */
2680
2681int
2682main ()
2683{
2684
2685 ;
2686 return 0;
2687}
2688_ACEOF
2689if ac_fn_c_try_compile "$LINENO"; then :
2690 ac_cv_prog_cc_g=yes
2691fi
2692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693fi
2694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695fi
2696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_c_werror_flag=$ac_save_c_werror_flag
2698fi
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2700$as_echo "$ac_cv_prog_cc_g" >&6; }
2701if test "$ac_test_CFLAGS" = set; then
2702 CFLAGS=$ac_save_CFLAGS
2703elif test $ac_cv_prog_cc_g = yes; then
2704 if test "$GCC" = yes; then
2705 CFLAGS="-g -O2"
2706 else
2707 CFLAGS="-g"
2708 fi
2709else
2710 if test "$GCC" = yes; then
2711 CFLAGS="-O2"
2712 else
2713 CFLAGS=
2714 fi
2715fi
2716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2717$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2718if ${ac_cv_prog_cc_c89+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720else
2721 ac_cv_prog_cc_c89=no
2722ac_save_CC=$CC
2723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724/* end confdefs.h. */
2725#include <stdarg.h>
2726#include <stdio.h>
2727struct stat;
2728/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2729struct buf { int x; };
2730FILE * (*rcsopen) (struct buf *, struct stat *, int);
2731static char *e (p, i)
2732 char **p;
2733 int i;
2734{
2735 return p[i];
2736}
2737static char *f (char * (*g) (char **, int), char **p, ...)
2738{
2739 char *s;
2740 va_list v;
2741 va_start (v,p);
2742 s = g (p, va_arg (v,int));
2743 va_end (v);
2744 return s;
2745}
2746
2747/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2748 function prototypes and stuff, but not '\xHH' hex character constants.
2749 These don't provoke an error unfortunately, instead are silently treated
2750 as 'x'. The following induces an error, until -std is added to get
2751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2752 array size at least. It's necessary to write '\x00'==0 to get something
2753 that's true only with -std. */
2754int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2755
2756/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2757 inside strings and character constants. */
2758#define FOO(x) 'x'
2759int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2760
2761int test (int i, double x);
2762struct s1 {int (*f) (int a);};
2763struct s2 {int (*f) (double a);};
2764int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2765int argc;
2766char **argv;
2767int
2768main ()
2769{
2770return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2771 ;
2772 return 0;
2773}
2774_ACEOF
2775for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2777do
2778 CC="$ac_save_CC $ac_arg"
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_cv_prog_cc_c89=$ac_arg
2781fi
2782rm -f core conftest.err conftest.$ac_objext
2783 test "x$ac_cv_prog_cc_c89" != "xno" && break
2784done
2785rm -f conftest.$ac_ext
2786CC=$ac_save_CC
2787
2788fi
2789# AC_CACHE_VAL
2790case "x$ac_cv_prog_cc_c89" in
2791 x)
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2793$as_echo "none needed" >&6; } ;;
2794 xno)
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2796$as_echo "unsupported" >&6; } ;;
2797 *)
2798 CC="$CC $ac_cv_prog_cc_c89"
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2800$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2801esac
2802if test "x$ac_cv_prog_cc_c89" != xno; then :
2803
2804fi
2805
2806ac_ext=c
2807ac_cpp='$CPP $CPPFLAGS'
2808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810ac_compiler_gnu=$ac_cv_c_compiler_gnu
2811
2812ac_aux_dir=
2813for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2814 if test -f "$ac_dir/install-sh"; then
2815 ac_aux_dir=$ac_dir
2816 ac_install_sh="$ac_aux_dir/install-sh -c"
2817 break
2818 elif test -f "$ac_dir/install.sh"; then
2819 ac_aux_dir=$ac_dir
2820 ac_install_sh="$ac_aux_dir/install.sh -c"
2821 break
2822 elif test -f "$ac_dir/shtool"; then
2823 ac_aux_dir=$ac_dir
2824 ac_install_sh="$ac_aux_dir/shtool install -c"
2825 break
2826 fi
2827done
2828if test -z "$ac_aux_dir"; then
2829 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2830fi
2831
2832# These three variables are undocumented and unsupported,
2833# and are intended to be withdrawn in a future Autoconf release.
2834# They can cause serious problems if a builder's source tree is in a directory
2835# whose full name contains unusual characters.
2836ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2837ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2838ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2839
2840
2841# Find a good install program. We prefer a C program (faster),
2842# so one script is as good as another. But avoid the broken or
2843# incompatible versions:
2844# SysV /etc/install, /usr/sbin/install
2845# SunOS /usr/etc/install
2846# IRIX /sbin/install
2847# AIX /bin/install
2848# AmigaOS /C/install, which installs bootblocks on floppy discs
2849# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2850# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2851# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2852# OS/2's system install, which has a completely different semantic
2853# ./install, which can be erroneously created by make from ./install.sh.
2854# Reject install programs that cannot install multiple files.
2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2856$as_echo_n "checking for a BSD-compatible install... " >&6; }
2857if test -z "$INSTALL"; then
2858if ${ac_cv_path_install+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860else
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862for as_dir in $PATH
2863do
2864 IFS=$as_save_IFS
2865 test -z "$as_dir" && as_dir=.
2866 # Account for people who put trailing slashes in PATH elements.
2867case $as_dir/ in #((
2868 ./ | .// | /[cC]/* | \
2869 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2870 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2871 /usr/ucb/* ) ;;
2872 *)
2873 # OSF1 and SCO ODT 3.0 have their own names for install.
2874 # Don't use installbsd from OSF since it installs stuff as root
2875 # by default.
2876 for ac_prog in ginstall scoinst install; do
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2879 if test $ac_prog = install &&
2880 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2881 # AIX install. It has an incompatible calling convention.
2882 :
2883 elif test $ac_prog = install &&
2884 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2885 # program-specific install script used by HP pwplus--don't use.
2886 :
2887 else
2888 rm -rf conftest.one conftest.two conftest.dir
2889 echo one > conftest.one
2890 echo two > conftest.two
2891 mkdir conftest.dir
2892 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2893 test -s conftest.one && test -s conftest.two &&
2894 test -s conftest.dir/conftest.one &&
2895 test -s conftest.dir/conftest.two
2896 then
2897 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2898 break 3
2899 fi
2900 fi
2901 fi
2902 done
2903 done
2904 ;;
2905esac
2906
2907 done
2908IFS=$as_save_IFS
2909
2910rm -rf conftest.one conftest.two conftest.dir
2911
2912fi
2913 if test "${ac_cv_path_install+set}" = set; then
2914 INSTALL=$ac_cv_path_install
2915 else
2916 # As a last resort, use the slow shell script. Don't cache a
2917 # value for INSTALL within a source directory, because that will
2918 # break other packages using the cache if that directory is
2919 # removed, or if the value is a relative name.
2920 INSTALL=$ac_install_sh
2921 fi
2922fi
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2924$as_echo "$INSTALL" >&6; }
2925
2926# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2927# It thinks the first close brace ends the variable substitution.
2928test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2929
2930test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2931
2932test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2933
2934# Make sure we can run config.sub.
2935$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2936 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2937
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2939$as_echo_n "checking build system type... " >&6; }
2940if ${ac_cv_build+:} false; then :
2941 $as_echo_n "(cached) " >&6
2942else
2943 ac_build_alias=$build_alias
2944test "x$ac_build_alias" = x &&
2945 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2946test "x$ac_build_alias" = x &&
2947 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2948ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2949 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2950
2951fi
2952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2953$as_echo "$ac_cv_build" >&6; }
2954case $ac_cv_build in
2955*-*-*) ;;
2956*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2957esac
2958build=$ac_cv_build
2959ac_save_IFS=$IFS; IFS='-'
2960set x $ac_cv_build
2961shift
2962build_cpu=$1
2963build_vendor=$2
2964shift; shift
2965# Remember, the first character of IFS is used to create $*,
2966# except with old shells:
2967build_os=$*
2968IFS=$ac_save_IFS
2969case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2970
2971
2972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2973$as_echo_n "checking host system type... " >&6; }
2974if ${ac_cv_host+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976else
2977 if test "x$host_alias" = x; then
2978 ac_cv_host=$ac_cv_build
2979else
2980 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2981 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2982fi
2983
2984fi
2985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2986$as_echo "$ac_cv_host" >&6; }
2987case $ac_cv_host in
2988*-*-*) ;;
2989*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2990esac
2991host=$ac_cv_host
2992ac_save_IFS=$IFS; IFS='-'
2993set x $ac_cv_host
2994shift
2995host_cpu=$1
2996host_vendor=$2
2997shift; shift
2998# Remember, the first character of IFS is used to create $*,
2999# except with old shells:
3000host_os=$*
3001IFS=$ac_save_IFS
3002case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3003
3004
3005
3006#################################################
3007# Directory handling stuff to support both the
3008# legacy SAMBA directories and FHS compliant
3009# ones...
3010
3011
3012
3013# Check whether --with-fhs was given.
3014if test "${with_fhs+set}" = set; then :
3015 withval=$with_fhs; libdir="\${prefix}/lib/samba"
3016else
3017 libdir="\${prefix}/lib"
3018fi
3019
3020
3021
3022
3023SAMBA_SOURCE="../../source3"
3024####################################################
3025# set the location location of the samba source tree
3026
3027# Check whether --with-samba-source was given.
3028if test "${with_samba_source+set}" = set; then :
3029 withval=$with_samba_source; case "$withval" in
3030 yes|no)
3031 #
3032 # Just in case anybody calls it without argument
3033 #
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-samba-source called without argument - will use default" >&5
3035$as_echo "$as_me: WARNING: --with-samba-source called without argument - will use default" >&2;}
3036 ;;
3037 * )
3038 SAMBA_SOURCE="$withval"
3039 ;;
3040 esac
3041fi
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062# Check whether --enable-debug was given.
3063if test "${enable_debug+set}" = set; then :
3064 enableval=$enable_debug; if eval "test x$enable_debug = xyes"; then
3065 CFLAGS="${CFLAGS} -g"
3066 fi
3067fi
3068
3069
3070# Check whether --enable-developer was given.
3071if test "${enable_developer+set}" = set; then :
3072 enableval=$enable_developer; if eval "test x$enable_developer = xyes"; then
3073 developer=yes
3074 CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
3075 fi
3076fi
3077
3078
3079# compile with optimization and without debugging by default, but
3080# allow people to set their own preference.
3081if test "x$CFLAGS" = x
3082then
3083 CFLAGS="-O ${CFLAGS}"
3084fi
3085
3086 #################################################
3087 # check for krb5-config from recent MIT and Heimdal kerberos 5
3088 # Extract the first word of "krb5-config", so it can be a program name with args.
3089set dummy krb5-config; ac_word=$2
3090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091$as_echo_n "checking for $ac_word... " >&6; }
3092if ${ac_cv_path_KRB5CONFIG+:} false; then :
3093 $as_echo_n "(cached) " >&6
3094else
3095 case $KRB5CONFIG in
3096 [\\/]* | ?:[\\/]*)
3097 ac_cv_path_KRB5CONFIG="$KRB5CONFIG" # Let the user override the test with a path.
3098 ;;
3099 *)
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101for as_dir in $PATH
3102do
3103 IFS=$as_save_IFS
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 break 2
3110 fi
3111done
3112 done
3113IFS=$as_save_IFS
3114
3115 ;;
3116esac
3117fi
3118KRB5CONFIG=$ac_cv_path_KRB5CONFIG
3119if test -n "$KRB5CONFIG"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONFIG" >&5
3121$as_echo "$KRB5CONFIG" >&6; }
3122else
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124$as_echo "no" >&6; }
3125fi
3126
3127
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working krb5-config" >&5
3129$as_echo_n "checking for working krb5-config... " >&6; }
3130 if test -x "$KRB5CONFIG"; then
3131 CFLAGS="$CFLAGS `$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
3132 CPPFLAGS="$CPPFLAGS `$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
3133 FOUND_KRB5=yes
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135$as_echo "yes" >&6; }
3136 else
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no. Fallback to previous krb5 detection strategy" >&5
3138$as_echo "no. Fallback to previous krb5 detection strategy" >&6; }
3139 fi
3140
3141 if test x$FOUND_KRB5 = x"no"; then
3142 #################################################
3143 # check for location of Kerberos 5 install
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberos 5 install path" >&5
3145$as_echo_n "checking for kerberos 5 install path... " >&6; }
3146
3147# Check whether --with-krb5 was given.
3148if test "${with_krb5+set}" = set; then :
3149 withval=$with_krb5; case "$withval" in
3150 no)
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152$as_echo "no" >&6; }
3153 ;;
3154 *)
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3156$as_echo "yes" >&6; }
3157 CFLAGS="$CFLAGS -I$withval/include"
3158 CPPFLAGS="$CPPFLAGS -I$withval/include"
3159 FOUND_KRB5=yes
3160 ;;
3161 esac
3162else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164$as_echo "no" >&6; }
3165
3166fi
3167
3168 fi
3169
3170if test x$FOUND_KRB5 = x"no"; then
3171#################################################
3172# see if this box has the SuSE location for the heimdal kerberos implementation
3173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/heimdal" >&5
3174$as_echo_n "checking for /usr/include/heimdal... " >&6; }
3175if test -d /usr/include/heimdal; then
3176 if test -f /usr/lib/heimdal/lib/libkrb5.a; then
3177 CFLAGS="$CFLAGS -I/usr/include/heimdal"
3178 CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal"
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3180$as_echo "yes" >&6; }
3181 else
3182 CFLAGS="$CFLAGS -I/usr/include/heimdal"
3183 CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal"
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3185$as_echo "yes" >&6; }
3186
3187 fi
3188else
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190$as_echo "no" >&6; }
3191fi
3192fi
3193
3194
3195if test x$FOUND_KRB5 = x"no"; then
3196#################################################
3197# see if this box has the RedHat location for kerberos
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/kerberos" >&5
3199$as_echo_n "checking for /usr/kerberos... " >&6; }
3200if test -d /usr/kerberos -a -f /usr/kerberos/lib/libkrb5.a; then
3201 LDFLAGS="$LDFLAGS -L/usr/kerberos/lib"
3202 CFLAGS="$CFLAGS -I/usr/kerberos/include"
3203 CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3205$as_echo "yes" >&6; }
3206else
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208$as_echo "no" >&6; }
3209fi
3210fi
3211
3212 # now check for krb5.h. Some systems have the libraries without the headers!
3213 # note that this check is done here to allow for different kerberos
3214 # include paths
3215
3216ac_ext=c
3217ac_cpp='$CPP $CPPFLAGS'
3218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3222$as_echo_n "checking how to run the C preprocessor... " >&6; }
3223# On Suns, sometimes $CPP names a directory.
3224if test -n "$CPP" && test -d "$CPP"; then
3225 CPP=
3226fi
3227if test -z "$CPP"; then
3228 if ${ac_cv_prog_CPP+:} false; then :
3229 $as_echo_n "(cached) " >&6
3230else
3231 # Double quotes because CPP needs to be expanded
3232 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3233 do
3234 ac_preproc_ok=false
3235for ac_c_preproc_warn_flag in '' yes
3236do
3237 # Use a header file that comes with gcc, so configuring glibc
3238 # with a fresh cross-compiler works.
3239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3240 # <limits.h> exists even on freestanding compilers.
3241 # On the NeXT, cc -E runs the code through the compiler's parser,
3242 # not just through cpp. "Syntax error" is here to catch this case.
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244/* end confdefs.h. */
3245#ifdef __STDC__
3246# include <limits.h>
3247#else
3248# include <assert.h>
3249#endif
3250 Syntax error
3251_ACEOF
3252if ac_fn_c_try_cpp "$LINENO"; then :
3253
3254else
3255 # Broken: fails on valid input.
3256continue
3257fi
3258rm -f conftest.err conftest.i conftest.$ac_ext
3259
3260 # OK, works on sane cases. Now check whether nonexistent headers
3261 # can be detected and how.
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263/* end confdefs.h. */
3264#include <ac_nonexistent.h>
3265_ACEOF
3266if ac_fn_c_try_cpp "$LINENO"; then :
3267 # Broken: success on invalid input.
3268continue
3269else
3270 # Passes both tests.
3271ac_preproc_ok=:
3272break
3273fi
3274rm -f conftest.err conftest.i conftest.$ac_ext
3275
3276done
3277# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3278rm -f conftest.i conftest.err conftest.$ac_ext
3279if $ac_preproc_ok; then :
3280 break
3281fi
3282
3283 done
3284 ac_cv_prog_CPP=$CPP
3285
3286fi
3287 CPP=$ac_cv_prog_CPP
3288else
3289 ac_cv_prog_CPP=$CPP
3290fi
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3292$as_echo "$CPP" >&6; }
3293ac_preproc_ok=false
3294for ac_c_preproc_warn_flag in '' yes
3295do
3296 # Use a header file that comes with gcc, so configuring glibc
3297 # with a fresh cross-compiler works.
3298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3299 # <limits.h> exists even on freestanding compilers.
3300 # On the NeXT, cc -E runs the code through the compiler's parser,
3301 # not just through cpp. "Syntax error" is here to catch this case.
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303/* end confdefs.h. */
3304#ifdef __STDC__
3305# include <limits.h>
3306#else
3307# include <assert.h>
3308#endif
3309 Syntax error
3310_ACEOF
3311if ac_fn_c_try_cpp "$LINENO"; then :
3312
3313else
3314 # Broken: fails on valid input.
3315continue
3316fi
3317rm -f conftest.err conftest.i conftest.$ac_ext
3318
3319 # OK, works on sane cases. Now check whether nonexistent headers
3320 # can be detected and how.
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322/* end confdefs.h. */
3323#include <ac_nonexistent.h>
3324_ACEOF
3325if ac_fn_c_try_cpp "$LINENO"; then :
3326 # Broken: success on invalid input.
3327continue
3328else
3329 # Passes both tests.
3330ac_preproc_ok=:
3331break
3332fi
3333rm -f conftest.err conftest.i conftest.$ac_ext
3334
3335done
3336# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3337rm -f conftest.i conftest.err conftest.$ac_ext
3338if $ac_preproc_ok; then :
3339
3340else
3341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3344See \`config.log' for more details" "$LINENO" 5; }
3345fi
3346
3347ac_ext=c
3348ac_cpp='$CPP $CPPFLAGS'
3349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352
3353
3354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3355$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3356if ${ac_cv_path_GREP+:} false; then :
3357 $as_echo_n "(cached) " >&6
3358else
3359 if test -z "$GREP"; then
3360 ac_path_GREP_found=false
3361 # Loop through the user's path and test for each of PROGNAME-LIST
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3364do
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_prog in grep ggrep; do
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3370 as_fn_executable_p "$ac_path_GREP" || continue
3371# Check for GNU ac_path_GREP and select it if it is found.
3372 # Check for GNU $ac_path_GREP
3373case `"$ac_path_GREP" --version 2>&1` in
3374*GNU*)
3375 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3376*)
3377 ac_count=0
3378 $as_echo_n 0123456789 >"conftest.in"
3379 while :
3380 do
3381 cat "conftest.in" "conftest.in" >"conftest.tmp"
3382 mv "conftest.tmp" "conftest.in"
3383 cp "conftest.in" "conftest.nl"
3384 $as_echo 'GREP' >> "conftest.nl"
3385 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3387 as_fn_arith $ac_count + 1 && ac_count=$as_val
3388 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3389 # Best one so far, save it but keep looking for a better one
3390 ac_cv_path_GREP="$ac_path_GREP"
3391 ac_path_GREP_max=$ac_count
3392 fi
3393 # 10*(2^10) chars as input seems more than enough
3394 test $ac_count -gt 10 && break
3395 done
3396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3397esac
3398
3399 $ac_path_GREP_found && break 3
3400 done
3401 done
3402 done
3403IFS=$as_save_IFS
3404 if test -z "$ac_cv_path_GREP"; then
3405 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3406 fi
3407else
3408 ac_cv_path_GREP=$GREP
3409fi
3410
3411fi
3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3413$as_echo "$ac_cv_path_GREP" >&6; }
3414 GREP="$ac_cv_path_GREP"
3415
3416
3417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3418$as_echo_n "checking for egrep... " >&6; }
3419if ${ac_cv_path_EGREP+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421else
3422 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3423 then ac_cv_path_EGREP="$GREP -E"
3424 else
3425 if test -z "$EGREP"; then
3426 ac_path_EGREP_found=false
3427 # Loop through the user's path and test for each of PROGNAME-LIST
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3430do
3431 IFS=$as_save_IFS
3432 test -z "$as_dir" && as_dir=.
3433 for ac_prog in egrep; do
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3436 as_fn_executable_p "$ac_path_EGREP" || continue
3437# Check for GNU ac_path_EGREP and select it if it is found.
3438 # Check for GNU $ac_path_EGREP
3439case `"$ac_path_EGREP" --version 2>&1` in
3440*GNU*)
3441 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3442*)
3443 ac_count=0
3444 $as_echo_n 0123456789 >"conftest.in"
3445 while :
3446 do
3447 cat "conftest.in" "conftest.in" >"conftest.tmp"
3448 mv "conftest.tmp" "conftest.in"
3449 cp "conftest.in" "conftest.nl"
3450 $as_echo 'EGREP' >> "conftest.nl"
3451 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3453 as_fn_arith $ac_count + 1 && ac_count=$as_val
3454 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3455 # Best one so far, save it but keep looking for a better one
3456 ac_cv_path_EGREP="$ac_path_EGREP"
3457 ac_path_EGREP_max=$ac_count
3458 fi
3459 # 10*(2^10) chars as input seems more than enough
3460 test $ac_count -gt 10 && break
3461 done
3462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3463esac
3464
3465 $ac_path_EGREP_found && break 3
3466 done
3467 done
3468 done
3469IFS=$as_save_IFS
3470 if test -z "$ac_cv_path_EGREP"; then
3471 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3472 fi
3473else
3474 ac_cv_path_EGREP=$EGREP
3475fi
3476
3477 fi
3478fi
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3480$as_echo "$ac_cv_path_EGREP" >&6; }
3481 EGREP="$ac_cv_path_EGREP"
3482
3483
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3485$as_echo_n "checking for ANSI C header files... " >&6; }
3486if ${ac_cv_header_stdc+:} false; then :
3487 $as_echo_n "(cached) " >&6
3488else
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490/* end confdefs.h. */
3491#include <stdlib.h>
3492#include <stdarg.h>
3493#include <string.h>
3494#include <float.h>
3495
3496int
3497main ()
3498{
3499
3500 ;
3501 return 0;
3502}
3503_ACEOF
3504if ac_fn_c_try_compile "$LINENO"; then :
3505 ac_cv_header_stdc=yes
3506else
3507 ac_cv_header_stdc=no
3508fi
3509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510
3511if test $ac_cv_header_stdc = yes; then
3512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514/* end confdefs.h. */
3515#include <string.h>
3516
3517_ACEOF
3518if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3519 $EGREP "memchr" >/dev/null 2>&1; then :
3520
3521else
3522 ac_cv_header_stdc=no
3523fi
3524rm -f conftest*
3525
3526fi
3527
3528if test $ac_cv_header_stdc = yes; then
3529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531/* end confdefs.h. */
3532#include <stdlib.h>
3533
3534_ACEOF
3535if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3536 $EGREP "free" >/dev/null 2>&1; then :
3537
3538else
3539 ac_cv_header_stdc=no
3540fi
3541rm -f conftest*
3542
3543fi
3544
3545if test $ac_cv_header_stdc = yes; then
3546 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3547 if test "$cross_compiling" = yes; then :
3548 :
3549else
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h. */
3552#include <ctype.h>
3553#include <stdlib.h>
3554#if ((' ' & 0x0FF) == 0x020)
3555# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3556# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3557#else
3558# define ISLOWER(c) \
3559 (('a' <= (c) && (c) <= 'i') \
3560 || ('j' <= (c) && (c) <= 'r') \
3561 || ('s' <= (c) && (c) <= 'z'))
3562# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3563#endif
3564
3565#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3566int
3567main ()
3568{
3569 int i;
3570 for (i = 0; i < 256; i++)
3571 if (XOR (islower (i), ISLOWER (i))
3572 || toupper (i) != TOUPPER (i))
3573 return 2;
3574 return 0;
3575}
3576_ACEOF
3577if ac_fn_c_try_run "$LINENO"; then :
3578
3579else
3580 ac_cv_header_stdc=no
3581fi
3582rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3583 conftest.$ac_objext conftest.beam conftest.$ac_ext
3584fi
3585
3586fi
3587fi
3588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3589$as_echo "$ac_cv_header_stdc" >&6; }
3590if test $ac_cv_header_stdc = yes; then
3591
3592$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3593
3594fi
3595
3596# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3597for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3598 inttypes.h stdint.h unistd.h
3599do :
3600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3601ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3602"
3603if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3604 cat >>confdefs.h <<_ACEOF
3605#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3606_ACEOF
3607
3608fi
3609
3610done
3611
3612
3613for ac_header in krb5.h
3614do :
3615 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
3616if test "x$ac_cv_header_krb5_h" = xyes; then :
3617 cat >>confdefs.h <<_ACEOF
3618#define HAVE_KRB5_H 1
3619_ACEOF
3620
3621fi
3622
3623done
3624
3625
3626 # now check for gssapi headers. This is also done here to allow for
3627 # different kerberos include paths
3628 for ac_header in gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h
3629do :
3630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3631ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3632if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3633 cat >>confdefs.h <<_ACEOF
3634#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3635_ACEOF
3636
3637fi
3638
3639done
3640
3641
3642#dnl Check if we use GNU ld
3643#LD=ld
3644#AC_PROG_LD_GNU
3645
3646#dnl look for executable suffix
3647#AC_EXEEXT
3648
3649builddir=`pwd`
3650
3651
3652# Assume non-shared by default and override below
3653BLDSHARED="false"
3654
3655# these are the defaults, good for lots of systems
3656HOST_OS="$host_os"
3657LDSHFLAGS="-shared"
3658SONAMEFLAG="#"
3659SHLD="\${CC}"
3660PICFLAGS=""
3661PICSUFFIX="po"
3662SHLIBEXT="so"
3663
3664# Since we are not embedded in the Samba tree, building shared modules is
3665# really the only option.
3666enable_shared=yes
3667
3668if test "$enable_shared" = "yes"; then
3669 # this bit needs to be modified for each OS that is suported by
3670 # smbwrapper. You need to specify how to created a shared library and
3671 # how to compile C code to produce PIC object files
3672
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ability to build shared libraries" >&5
3674$as_echo_n "checking ability to build shared libraries... " >&6; }
3675
3676 # and these are for particular systems
3677 case "$host_os" in
3678 *linux*)
3679 BLDSHARED="true"
3680 LDSHFLAGS="-shared"
3681 DYNEXP="-Wl,--export-dynamic"
3682 PICFLAGS="-fPIC"
3683 SONAMEFLAG="-Wl,-soname="
3684 ;;
3685 *solaris*)
3686 BLDSHARED="true"
3687 LDSHFLAGS="-G"
3688 SONAMEFLAG="-h "
3689 if test "${GCC}" = "yes"; then
3690 PICFLAGS="-fPIC"
3691 if test "${ac_cv_prog_gnu_ld}" = "yes"; then
3692 DYNEXP="-Wl,-E"
3693 fi
3694 else
3695 PICFLAGS="-KPIC"
3696 ## ${CFLAGS} added for building 64-bit shared
3697 ## libs using Sun's Compiler
3698 LDSHFLAGS="-G \${CFLAGS}"
3699 PICSUFFIX="po.o"
3700 fi
3701 ;;
3702 *sunos*)
3703 BLDSHARED="true"
3704 LDSHFLAGS="-G"
3705 SONAMEFLAG="-Wl,-h,"
3706 PICFLAGS="-KPIC" # Is this correct for SunOS
3707 ;;
3708 *netbsd* | *freebsd*) BLDSHARED="true"
3709 LDSHFLAGS="-shared"
3710 DYNEXP="-Wl,--export-dynamic"
3711 SONAMEFLAG="-Wl,-soname,"
3712 PICFLAGS="-fPIC -DPIC"
3713 ;;
3714 *openbsd*) BLDSHARED="true"
3715 LDSHFLAGS="-shared"
3716 DYNEXP="-Wl,-Bdynamic"
3717 SONAMEFLAG="-Wl,-soname,"
3718 PICFLAGS="-fPIC"
3719 ;;
3720 *irix*)
3721 case "$host_os" in
3722 *irix6*)
3723 ;;
3724 esac
3725 ATTEMPT_WRAP32_BUILD=yes
3726 BLDSHARED="true"
3727 LDSHFLAGS="-set_version sgi1.0 -shared"
3728 SONAMEFLAG="-soname "
3729 SHLD="\${LD}"
3730 if test "${GCC}" = "yes"; then
3731 PICFLAGS="-fPIC"
3732 else
3733 PICFLAGS="-KPIC"
3734 fi
3735 ;;
3736 *aix*)
3737 BLDSHARED="true"
3738 LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry,-berok"
3739 DYNEXP="-Wl,-brtl,-bexpall"
3740 PICFLAGS="-O2"
3741 if test "${GCC}" != "yes"; then
3742 ## for funky AIX compiler using strncpy()
3743 CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
3744 fi
3745 ;;
3746 *hpux*)
3747 SHLIBEXT="sl"
3748 # Use special PIC flags for the native HP-UX compiler.
3749 if test $ac_cv_prog_cc_Ae = yes; then
3750 BLDSHARED="true"
3751 SHLD="/usr/bin/ld"
3752 LDSHFLAGS="-B symbolic -b -z"
3753 SONAMEFLAG="+h "
3754 PICFLAGS="+z"
3755 fi
3756 DYNEXP="-Wl,-E"
3757 ;;
3758 *qnx*)
3759 ;;
3760 *osf*)
3761 BLDSHARED="true"
3762 LDSHFLAGS="-shared"
3763 SONAMEFLAG="-Wl,-soname,"
3764 PICFLAGS="-fPIC"
3765 ;;
3766 *sco*)
3767 ;;
3768 *unixware*)
3769 BLDSHARED="true"
3770 LDSHFLAGS="-shared"
3771 SONAMEFLAG="-Wl,-soname,"
3772 PICFLAGS="-KPIC"
3773 ;;
3774 *next2*)
3775 ;;
3776 *dgux*) # Extract the first word of "groff", so it can be a program name with args.
3777set dummy groff; ac_word=$2
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779$as_echo_n "checking for $ac_word... " >&6; }
3780if ${ac_cv_prog_ROFF+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782else
3783 if test -n "$ROFF"; then
3784 ac_cv_prog_ROFF="$ROFF" # Let the user override the test.
3785else
3786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787for as_dir in $PATH
3788do
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ROFF="groff -etpsR -Tascii -man"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3796 fi
3797done
3798 done
3799IFS=$as_save_IFS
3800
3801fi
3802fi
3803ROFF=$ac_cv_prog_ROFF
3804if test -n "$ROFF"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROFF" >&5
3806$as_echo "$ROFF" >&6; }
3807else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809$as_echo "no" >&6; }
3810fi
3811
3812
3813 ;;
3814 *sysv4*)
3815 case "$host" in
3816 *-univel-*)
3817 LDSHFLAGS="-G"
3818 DYNEXP="-Bexport"
3819 ;;
3820 *mips-sni-sysv4*)
3821 ;;
3822 esac
3823 ;;
3824
3825 *sysv5*)
3826 LDSHFLAGS="-G"
3827 ;;
3828 *vos*)
3829 BLDSHARED="false"
3830 LDSHFLAGS=""
3831 ;;
3832 *darwin*)
3833 BLDSHARED="true"
3834 LDSHFLAGS="-bundle -flat_namespace -undefined suppress"
3835 SHLIBEXT="dylib"
3836 ;;
3837 *)
3838 ;;
3839 esac
3840
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BLDSHARED" >&5
3842$as_echo "$BLDSHARED" >&6; }
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker flags for shared libraries" >&5
3844$as_echo_n "checking linker flags for shared libraries... " >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHFLAGS" >&5
3846$as_echo "$LDSHFLAGS" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler flags for position-independent code" >&5
3848$as_echo_n "checking compiler flags for position-independent code... " >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PICFLAGS" >&5
3850$as_echo "$PICFLAGS" >&6; }
3851fi
3852
3853#######################################################
3854# test whether building a shared library actually works
3855if test $BLDSHARED = true; then
3856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building shared libraries actually works" >&5
3857$as_echo_n "checking whether building shared libraries actually works... " >&6; }
3858if ${ac_cv_shlib_works+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860else
3861
3862 ac_cv_shlib_works=no
3863 # try building a trivial shared library
3864 if test "$PICSUFFIX" = "po"; then
3865 $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.po ${SAMBA_SOURCE}/../tests/shlib.c &&
3866 $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po &&
3867 ac_cv_shlib_works=yes
3868 else
3869 $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.$PICSUFFIX ${SAMBA_SOURCE}/../tests/shlib.c &&
3870 mv shlib.$PICSUFFIX shlib.po &&
3871 $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po &&
3872 ac_cv_shlib_works=yes
3873 fi
3874 rm -f "shlib.$SHLIBEXT" shlib.po
3875
3876fi
3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_shlib_works" >&5
3878$as_echo "$ac_cv_shlib_works" >&6; }
3879if test $ac_cv_shlib_works = no; then
3880 BLDSHARED=false
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did you forget to specify --with-samba-source=/path/to/samba?" >&5
3882$as_echo "$as_me: WARNING: Did you forget to specify --with-samba-source=/path/to/samba?" >&2;}
3883fi
3884fi
3885
3886
3887
3888
3889ac_config_files="$ac_config_files Makefile"
3890
3891cat >confcache <<\_ACEOF
3892# This file is a shell script that caches the results of configure
3893# tests run on this system so they can be shared between configure
3894# scripts and configure runs, see configure's option --config-cache.
3895# It is not useful on other systems. If it contains results you don't
3896# want to keep, you may remove or edit it.
3897#
3898# config.status only pays attention to the cache file if you give it
3899# the --recheck option to rerun configure.
3900#
3901# `ac_cv_env_foo' variables (set or unset) will be overridden when
3902# loading this file, other *unset* `ac_cv_foo' will be assigned the
3903# following values.
3904
3905_ACEOF
3906
3907# The following way of writing the cache mishandles newlines in values,
3908# but we know of no workaround that is simple, portable, and efficient.
3909# So, we kill variables containing newlines.
3910# Ultrix sh set writes to stderr and can't be redirected directly,
3911# and sets the high bit in the cache file unless we assign to the vars.
3912(
3913 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3914 eval ac_val=\$$ac_var
3915 case $ac_val in #(
3916 *${as_nl}*)
3917 case $ac_var in #(
3918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3919$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3920 esac
3921 case $ac_var in #(
3922 _ | IFS | as_nl) ;; #(
3923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3924 *) { eval $ac_var=; unset $ac_var;} ;;
3925 esac ;;
3926 esac
3927 done
3928
3929 (set) 2>&1 |
3930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3931 *${as_nl}ac_space=\ *)
3932 # `set' does not quote correctly, so add quotes: double-quote
3933 # substitution turns \\\\ into \\, and sed turns \\ into \.
3934 sed -n \
3935 "s/'/'\\\\''/g;
3936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3937 ;; #(
3938 *)
3939 # `set' quotes correctly as required by POSIX, so do not add quotes.
3940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3941 ;;
3942 esac |
3943 sort
3944) |
3945 sed '
3946 /^ac_cv_env_/b end
3947 t clear
3948 :clear
3949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3950 t end
3951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3952 :end' >>confcache
3953if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3954 if test -w "$cache_file"; then
3955 if test "x$cache_file" != "x/dev/null"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3957$as_echo "$as_me: updating cache $cache_file" >&6;}
3958 if test ! -f "$cache_file" || test -h "$cache_file"; then
3959 cat confcache >"$cache_file"
3960 else
3961 case $cache_file in #(
3962 */* | ?:*)
3963 mv -f confcache "$cache_file"$$ &&
3964 mv -f "$cache_file"$$ "$cache_file" ;; #(
3965 *)
3966 mv -f confcache "$cache_file" ;;
3967 esac
3968 fi
3969 fi
3970 else
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3972$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3973 fi
3974fi
3975rm -f confcache
3976
3977test "x$prefix" = xNONE && prefix=$ac_default_prefix
3978# Let make expand exec_prefix.
3979test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3980
3981DEFS=-DHAVE_CONFIG_H
3982
3983ac_libobjs=
3984ac_ltlibobjs=
3985U=
3986for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3987 # 1. Remove the extension, and $U if already installed.
3988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3991 # will be set to the directory where LIBOBJS objects are built.
3992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3994done
3995LIBOBJS=$ac_libobjs
3996
3997LTLIBOBJS=$ac_ltlibobjs
3998
3999
4000
4001: "${CONFIG_STATUS=./config.status}"
4002ac_write_fail=0
4003ac_clean_files_save=$ac_clean_files
4004ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4005{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4006$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4007as_write_fail=0
4008cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4009#! $SHELL
4010# Generated by $as_me.
4011# Run this file to recreate the current configuration.
4012# Compiler output produced by configure, useful for debugging
4013# configure, is in config.log if it exists.
4014
4015debug=false
4016ac_cs_recheck=false
4017ac_cs_silent=false
4018
4019SHELL=\${CONFIG_SHELL-$SHELL}
4020export SHELL
4021_ASEOF
4022cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4023## -------------------- ##
4024## M4sh Initialization. ##
4025## -------------------- ##
4026
4027# Be more Bourne compatible
4028DUALCASE=1; export DUALCASE # for MKS sh
4029if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4030 emulate sh
4031 NULLCMD=:
4032 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4033 # is contrary to our usage. Disable this feature.
4034 alias -g '${1+"$@"}'='"$@"'
4035 setopt NO_GLOB_SUBST
4036else
4037 case `(set -o) 2>/dev/null` in #(
4038 *posix*) :
4039 set -o posix ;; #(
4040 *) :
4041 ;;
4042esac
4043fi
4044
4045
4046as_nl='
4047'
4048export as_nl
4049# Printing a long string crashes Solaris 7 /usr/bin/printf.
4050as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4051as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4052as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4053# Prefer a ksh shell builtin over an external printf program on Solaris,
4054# but without wasting forks for bash or zsh.
4055if test -z "$BASH_VERSION$ZSH_VERSION" \
4056 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4057 as_echo='print -r --'
4058 as_echo_n='print -rn --'
4059elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4060 as_echo='printf %s\n'
4061 as_echo_n='printf %s'
4062else
4063 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4064 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4065 as_echo_n='/usr/ucb/echo -n'
4066 else
4067 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4068 as_echo_n_body='eval
4069 arg=$1;
4070 case $arg in #(
4071 *"$as_nl"*)
4072 expr "X$arg" : "X\\(.*\\)$as_nl";
4073 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4074 esac;
4075 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4076 '
4077 export as_echo_n_body
4078 as_echo_n='sh -c $as_echo_n_body as_echo'
4079 fi
4080 export as_echo_body
4081 as_echo='sh -c $as_echo_body as_echo'
4082fi
4083
4084# The user is always right.
4085if test "${PATH_SEPARATOR+set}" != set; then
4086 PATH_SEPARATOR=:
4087 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4088 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4089 PATH_SEPARATOR=';'
4090 }
4091fi
4092
4093
4094# IFS
4095# We need space, tab and new line, in precisely that order. Quoting is
4096# there to prevent editors from complaining about space-tab.
4097# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4098# splitting by setting IFS to empty value.)
4099IFS=" "" $as_nl"
4100
4101# Find who we are. Look in the path if we contain no directory separator.
4102as_myself=
4103case $0 in #((
4104 *[\\/]* ) as_myself=$0 ;;
4105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106for as_dir in $PATH
4107do
4108 IFS=$as_save_IFS
4109 test -z "$as_dir" && as_dir=.
4110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4111 done
4112IFS=$as_save_IFS
4113
4114 ;;
4115esac
4116# We did not find ourselves, most probably we were run as `sh COMMAND'
4117# in which case we are not to be found in the path.
4118if test "x$as_myself" = x; then
4119 as_myself=$0
4120fi
4121if test ! -f "$as_myself"; then
4122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4123 exit 1
4124fi
4125
4126# Unset variables that we do not need and which cause bugs (e.g. in
4127# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4128# suppresses any "Segmentation fault" message there. '((' could
4129# trigger a bug in pdksh 5.2.14.
4130for as_var in BASH_ENV ENV MAIL MAILPATH
4131do eval test x\${$as_var+set} = xset \
4132 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4133done
4134PS1='$ '
4135PS2='> '
4136PS4='+ '
4137
4138# NLS nuisances.
4139LC_ALL=C
4140export LC_ALL
4141LANGUAGE=C
4142export LANGUAGE
4143
4144# CDPATH.
4145(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4146
4147
4148# as_fn_error STATUS ERROR [LINENO LOG_FD]
4149# ----------------------------------------
4150# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4151# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4152# script with STATUS, using 1 if that was 0.
4153as_fn_error ()
4154{
4155 as_status=$1; test $as_status -eq 0 && as_status=1
4156 if test "$4"; then
4157 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4158 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4159 fi
4160 $as_echo "$as_me: error: $2" >&2
4161 as_fn_exit $as_status
4162} # as_fn_error
4163
4164
4165# as_fn_set_status STATUS
4166# -----------------------
4167# Set $? to STATUS, without forking.
4168as_fn_set_status ()
4169{
4170 return $1
4171} # as_fn_set_status
4172
4173# as_fn_exit STATUS
4174# -----------------
4175# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4176as_fn_exit ()
4177{
4178 set +e
4179 as_fn_set_status $1
4180 exit $1
4181} # as_fn_exit
4182
4183# as_fn_unset VAR
4184# ---------------
4185# Portably unset VAR.
4186as_fn_unset ()
4187{
4188 { eval $1=; unset $1;}
4189}
4190as_unset=as_fn_unset
4191# as_fn_append VAR VALUE
4192# ----------------------
4193# Append the text in VALUE to the end of the definition contained in VAR. Take
4194# advantage of any shell optimizations that allow amortized linear growth over
4195# repeated appends, instead of the typical quadratic growth present in naive
4196# implementations.
4197if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4198 eval 'as_fn_append ()
4199 {
4200 eval $1+=\$2
4201 }'
4202else
4203 as_fn_append ()
4204 {
4205 eval $1=\$$1\$2
4206 }
4207fi # as_fn_append
4208
4209# as_fn_arith ARG...
4210# ------------------
4211# Perform arithmetic evaluation on the ARGs, and store the result in the
4212# global $as_val. Take advantage of shells that can avoid forks. The arguments
4213# must be portable across $(()) and expr.
4214if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4215 eval 'as_fn_arith ()
4216 {
4217 as_val=$(( $* ))
4218 }'
4219else
4220 as_fn_arith ()
4221 {
4222 as_val=`expr "$@" || test $? -eq 1`
4223 }
4224fi # as_fn_arith
4225
4226
4227if expr a : '\(a\)' >/dev/null 2>&1 &&
4228 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4229 as_expr=expr
4230else
4231 as_expr=false
4232fi
4233
4234if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4235 as_basename=basename
4236else
4237 as_basename=false
4238fi
4239
4240if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4241 as_dirname=dirname
4242else
4243 as_dirname=false
4244fi
4245
4246as_me=`$as_basename -- "$0" ||
4247$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4248 X"$0" : 'X\(//\)$' \| \
4249 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4250$as_echo X/"$0" |
4251 sed '/^.*\/\([^/][^/]*\)\/*$/{
4252 s//\1/
4253 q
4254 }
4255 /^X\/\(\/\/\)$/{
4256 s//\1/
4257 q
4258 }
4259 /^X\/\(\/\).*/{
4260 s//\1/
4261 q
4262 }
4263 s/.*/./; q'`
4264
4265# Avoid depending upon Character Ranges.
4266as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4267as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4268as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4269as_cr_digits='0123456789'
4270as_cr_alnum=$as_cr_Letters$as_cr_digits
4271
4272ECHO_C= ECHO_N= ECHO_T=
4273case `echo -n x` in #(((((
4274-n*)
4275 case `echo 'xy\c'` in
4276 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4277 xy) ECHO_C='\c';;
4278 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4279 ECHO_T=' ';;
4280 esac;;
4281*)
4282 ECHO_N='-n';;
4283esac
4284
4285rm -f conf$$ conf$$.exe conf$$.file
4286if test -d conf$$.dir; then
4287 rm -f conf$$.dir/conf$$.file
4288else
4289 rm -f conf$$.dir
4290 mkdir conf$$.dir 2>/dev/null
4291fi
4292if (echo >conf$$.file) 2>/dev/null; then
4293 if ln -s conf$$.file conf$$ 2>/dev/null; then
4294 as_ln_s='ln -s'
4295 # ... but there are two gotchas:
4296 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4297 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4298 # In both cases, we have to default to `cp -pR'.
4299 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4300 as_ln_s='cp -pR'
4301 elif ln conf$$.file conf$$ 2>/dev/null; then
4302 as_ln_s=ln
4303 else
4304 as_ln_s='cp -pR'
4305 fi
4306else
4307 as_ln_s='cp -pR'
4308fi
4309rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4310rmdir conf$$.dir 2>/dev/null
4311
4312
4313# as_fn_mkdir_p
4314# -------------
4315# Create "$as_dir" as a directory, including parents if necessary.
4316as_fn_mkdir_p ()
4317{
4318
4319 case $as_dir in #(
4320 -*) as_dir=./$as_dir;;
4321 esac
4322 test -d "$as_dir" || eval $as_mkdir_p || {
4323 as_dirs=
4324 while :; do
4325 case $as_dir in #(
4326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4327 *) as_qdir=$as_dir;;
4328 esac
4329 as_dirs="'$as_qdir' $as_dirs"
4330 as_dir=`$as_dirname -- "$as_dir" ||
4331$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4332 X"$as_dir" : 'X\(//\)[^/]' \| \
4333 X"$as_dir" : 'X\(//\)$' \| \
4334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4335$as_echo X"$as_dir" |
4336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4337 s//\1/
4338 q
4339 }
4340 /^X\(\/\/\)[^/].*/{
4341 s//\1/
4342 q
4343 }
4344 /^X\(\/\/\)$/{
4345 s//\1/
4346 q
4347 }
4348 /^X\(\/\).*/{
4349 s//\1/
4350 q
4351 }
4352 s/.*/./; q'`
4353 test -d "$as_dir" && break
4354 done
4355 test -z "$as_dirs" || eval "mkdir $as_dirs"
4356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4357
4358
4359} # as_fn_mkdir_p
4360if mkdir -p . 2>/dev/null; then
4361 as_mkdir_p='mkdir -p "$as_dir"'
4362else
4363 test -d ./-p && rmdir ./-p
4364 as_mkdir_p=false
4365fi
4366
4367
4368# as_fn_executable_p FILE
4369# -----------------------
4370# Test if FILE is an executable regular file.
4371as_fn_executable_p ()
4372{
4373 test -f "$1" && test -x "$1"
4374} # as_fn_executable_p
4375as_test_x='test -x'
4376as_executable_p=as_fn_executable_p
4377
4378# Sed expression to map a string onto a valid CPP name.
4379as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4380
4381# Sed expression to map a string onto a valid variable name.
4382as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4383
4384
4385exec 6>&1
4386## ----------------------------------- ##
4387## Main body of $CONFIG_STATUS script. ##
4388## ----------------------------------- ##
4389_ASEOF
4390test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4391
4392cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4393# Save the log message, to keep $0 and so on meaningful, and to
4394# report actual input values of CONFIG_FILES etc. instead of their
4395# values after options handling.
4396ac_log="
4397This file was extended by $as_me, which was
4398generated by GNU Autoconf 2.69. Invocation command line was
4399
4400 CONFIG_FILES = $CONFIG_FILES
4401 CONFIG_HEADERS = $CONFIG_HEADERS
4402 CONFIG_LINKS = $CONFIG_LINKS
4403 CONFIG_COMMANDS = $CONFIG_COMMANDS
4404 $ $0 $@
4405
4406on `(hostname || uname -n) 2>/dev/null | sed 1q`
4407"
4408
4409_ACEOF
4410
4411case $ac_config_files in *"
4412"*) set x $ac_config_files; shift; ac_config_files=$*;;
4413esac
4414
4415case $ac_config_headers in *"
4416"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4417esac
4418
4419
4420cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4421# Files that config.status was made for.
4422config_files="$ac_config_files"
4423config_headers="$ac_config_headers"
4424
4425_ACEOF
4426
4427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4428ac_cs_usage="\
4429\`$as_me' instantiates files and other configuration actions
4430from templates according to the current configuration. Unless the files
4431and actions are specified as TAGs, all are instantiated by default.
4432
4433Usage: $0 [OPTION]... [TAG]...
4434
4435 -h, --help print this help, then exit
4436 -V, --version print version number and configuration settings, then exit
4437 --config print configuration, then exit
4438 -q, --quiet, --silent
4439 do not print progress messages
4440 -d, --debug don't remove temporary files
4441 --recheck update $as_me by reconfiguring in the same conditions
4442 --file=FILE[:TEMPLATE]
4443 instantiate the configuration file FILE
4444 --header=FILE[:TEMPLATE]
4445 instantiate the configuration header FILE
4446
4447Configuration files:
4448$config_files
4449
4450Configuration headers:
4451$config_headers
4452
4453Report bugs to the package provider."
4454
4455_ACEOF
4456cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4457ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4458ac_cs_version="\\
4459config.status
4460configured by $0, generated by GNU Autoconf 2.69,
4461 with options \\"\$ac_cs_config\\"
4462
4463Copyright (C) 2012 Free Software Foundation, Inc.
4464This config.status script is free software; the Free Software Foundation
4465gives unlimited permission to copy, distribute and modify it."
4466
4467ac_pwd='$ac_pwd'
4468srcdir='$srcdir'
4469INSTALL='$INSTALL'
4470test -n "\$AWK" || AWK=awk
4471_ACEOF
4472
4473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4474# The default lists apply if the user does not specify any file.
4475ac_need_defaults=:
4476while test $# != 0
4477do
4478 case $1 in
4479 --*=?*)
4480 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4481 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4482 ac_shift=:
4483 ;;
4484 --*=)
4485 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4486 ac_optarg=
4487 ac_shift=:
4488 ;;
4489 *)
4490 ac_option=$1
4491 ac_optarg=$2
4492 ac_shift=shift
4493 ;;
4494 esac
4495
4496 case $ac_option in
4497 # Handling of the options.
4498 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4499 ac_cs_recheck=: ;;
4500 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4501 $as_echo "$ac_cs_version"; exit ;;
4502 --config | --confi | --conf | --con | --co | --c )
4503 $as_echo "$ac_cs_config"; exit ;;
4504 --debug | --debu | --deb | --de | --d | -d )
4505 debug=: ;;
4506 --file | --fil | --fi | --f )
4507 $ac_shift
4508 case $ac_optarg in
4509 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4510 '') as_fn_error $? "missing file argument" ;;
4511 esac
4512 as_fn_append CONFIG_FILES " '$ac_optarg'"
4513 ac_need_defaults=false;;
4514 --header | --heade | --head | --hea )
4515 $ac_shift
4516 case $ac_optarg in
4517 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4518 esac
4519 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4520 ac_need_defaults=false;;
4521 --he | --h)
4522 # Conflict between --help and --header
4523 as_fn_error $? "ambiguous option: \`$1'
4524Try \`$0 --help' for more information.";;
4525 --help | --hel | -h )
4526 $as_echo "$ac_cs_usage"; exit ;;
4527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4528 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4529 ac_cs_silent=: ;;
4530
4531 # This is an error.
4532 -*) as_fn_error $? "unrecognized option: \`$1'
4533Try \`$0 --help' for more information." ;;
4534
4535 *) as_fn_append ac_config_targets " $1"
4536 ac_need_defaults=false ;;
4537
4538 esac
4539 shift
4540done
4541
4542ac_configure_extra_args=
4543
4544if $ac_cs_silent; then
4545 exec 6>/dev/null
4546 ac_configure_extra_args="$ac_configure_extra_args --silent"
4547fi
4548
4549_ACEOF
4550cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4551if \$ac_cs_recheck; then
4552 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4553 shift
4554 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4555 CONFIG_SHELL='$SHELL'
4556 export CONFIG_SHELL
4557 exec "\$@"
4558fi
4559
4560_ACEOF
4561cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4562exec 5>>config.log
4563{
4564 echo
4565 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4566## Running $as_me. ##
4567_ASBOX
4568 $as_echo "$ac_log"
4569} >&5
4570
4571_ACEOF
4572cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4573_ACEOF
4574
4575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4576
4577# Handling of arguments.
4578for ac_config_target in $ac_config_targets
4579do
4580 case $ac_config_target in
4581 "module_config.h") CONFIG_HEADERS="$CONFIG_HEADERS module_config.h" ;;
4582 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4583
4584 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4585 esac
4586done
4587
4588
4589# If the user did not use the arguments to specify the items to instantiate,
4590# then the envvar interface is used. Set only those that are not.
4591# We use the long form for the default assignment because of an extremely
4592# bizarre bug on SunOS 4.1.3.
4593if $ac_need_defaults; then
4594 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4595 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4596fi
4597
4598# Have a temporary directory for convenience. Make it in the build tree
4599# simply because there is no reason against having it here, and in addition,
4600# creating and moving files from /tmp can sometimes cause problems.
4601# Hook for its removal unless debugging.
4602# Note that there is a small window in which the directory will not be cleaned:
4603# after its creation but before its name has been assigned to `$tmp'.
4604$debug ||
4605{
4606 tmp= ac_tmp=
4607 trap 'exit_status=$?
4608 : "${ac_tmp:=$tmp}"
4609 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4610' 0
4611 trap 'as_fn_exit 1' 1 2 13 15
4612}
4613# Create a (secure) tmp directory for tmp files.
4614
4615{
4616 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4617 test -d "$tmp"
4618} ||
4619{
4620 tmp=./conf$$-$RANDOM
4621 (umask 077 && mkdir "$tmp")
4622} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4623ac_tmp=$tmp
4624
4625# Set up the scripts for CONFIG_FILES section.
4626# No need to generate them if there are no CONFIG_FILES.
4627# This happens for instance with `./config.status config.h'.
4628if test -n "$CONFIG_FILES"; then
4629
4630
4631ac_cr=`echo X | tr X '\015'`
4632# On cygwin, bash can eat \r inside `` if the user requested igncr.
4633# But we know of no other shell where ac_cr would be empty at this
4634# point, so we can use a bashism as a fallback.
4635if test "x$ac_cr" = x; then
4636 eval ac_cr=\$\'\\r\'
4637fi
4638ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4639if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4640 ac_cs_awk_cr='\\r'
4641else
4642 ac_cs_awk_cr=$ac_cr
4643fi
4644
4645echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4646_ACEOF
4647
4648
4649{
4650 echo "cat >conf$$subs.awk <<_ACEOF" &&
4651 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4652 echo "_ACEOF"
4653} >conf$$subs.sh ||
4654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4655ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4656ac_delim='%!_!# '
4657for ac_last_try in false false false false false :; do
4658 . ./conf$$subs.sh ||
4659 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4660
4661 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4662 if test $ac_delim_n = $ac_delim_num; then
4663 break
4664 elif $ac_last_try; then
4665 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4666 else
4667 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4668 fi
4669done
4670rm -f conf$$subs.sh
4671
4672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4673cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4674_ACEOF
4675sed -n '
4676h
4677s/^/S["/; s/!.*/"]=/
4678p
4679g
4680s/^[^!]*!//
4681:repl
4682t repl
4683s/'"$ac_delim"'$//
4684t delim
4685:nl
4686h
4687s/\(.\{148\}\)..*/\1/
4688t more1
4689s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4690p
4691n
4692b repl
4693:more1
4694s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4695p
4696g
4697s/.\{148\}//
4698t nl
4699:delim
4700h
4701s/\(.\{148\}\)..*/\1/
4702t more2
4703s/["\\]/\\&/g; s/^/"/; s/$/"/
4704p
4705b
4706:more2
4707s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4708p
4709g
4710s/.\{148\}//
4711t delim
4712' <conf$$subs.awk | sed '
4713/^[^""]/{
4714 N
4715 s/\n//
4716}
4717' >>$CONFIG_STATUS || ac_write_fail=1
4718rm -f conf$$subs.awk
4719cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4720_ACAWK
4721cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4722 for (key in S) S_is_set[key] = 1
4723 FS = ""
4724
4725}
4726{
4727 line = $ 0
4728 nfields = split(line, field, "@")
4729 substed = 0
4730 len = length(field[1])
4731 for (i = 2; i < nfields; i++) {
4732 key = field[i]
4733 keylen = length(key)
4734 if (S_is_set[key]) {
4735 value = S[key]
4736 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4737 len += length(value) + length(field[++i])
4738 substed = 1
4739 } else
4740 len += 1 + keylen
4741 }
4742
4743 print line
4744}
4745
4746_ACAWK
4747_ACEOF
4748cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4749if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4750 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4751else
4752 cat
4753fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4754 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4755_ACEOF
4756
4757# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4758# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4759# trailing colons and then remove the whole line if VPATH becomes empty
4760# (actually we leave an empty line to preserve line numbers).
4761if test "x$srcdir" = x.; then
4762 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4763h
4764s///
4765s/^/:/
4766s/[ ]*$/:/
4767s/:\$(srcdir):/:/g
4768s/:\${srcdir}:/:/g
4769s/:@srcdir@:/:/g
4770s/^:*//
4771s/:*$//
4772x
4773s/\(=[ ]*\).*/\1/
4774G
4775s/\n//
4776s/^[^=]*=[ ]*$//
4777}'
4778fi
4779
4780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4781fi # test -n "$CONFIG_FILES"
4782
4783# Set up the scripts for CONFIG_HEADERS section.
4784# No need to generate them if there are no CONFIG_HEADERS.
4785# This happens for instance with `./config.status Makefile'.
4786if test -n "$CONFIG_HEADERS"; then
4787cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4788BEGIN {
4789_ACEOF
4790
4791# Transform confdefs.h into an awk script `defines.awk', embedded as
4792# here-document in config.status, that substitutes the proper values into
4793# config.h.in to produce config.h.
4794
4795# Create a delimiter string that does not exist in confdefs.h, to ease
4796# handling of long lines.
4797ac_delim='%!_!# '
4798for ac_last_try in false false :; do
4799 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4800 if test -z "$ac_tt"; then
4801 break
4802 elif $ac_last_try; then
4803 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4804 else
4805 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4806 fi
4807done
4808
4809# For the awk script, D is an array of macro values keyed by name,
4810# likewise P contains macro parameters if any. Preserve backslash
4811# newline sequences.
4812
4813ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4814sed -n '
4815s/.\{148\}/&'"$ac_delim"'/g
4816t rset
4817:rset
4818s/^[ ]*#[ ]*define[ ][ ]*/ /
4819t def
4820d
4821:def
4822s/\\$//
4823t bsnl
4824s/["\\]/\\&/g
4825s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4826D["\1"]=" \3"/p
4827s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4828d
4829:bsnl
4830s/["\\]/\\&/g
4831s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4832D["\1"]=" \3\\\\\\n"\\/p
4833t cont
4834s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4835t cont
4836d
4837:cont
4838n
4839s/.\{148\}/&'"$ac_delim"'/g
4840t clear
4841:clear
4842s/\\$//
4843t bsnlc
4844s/["\\]/\\&/g; s/^/"/; s/$/"/p
4845d
4846:bsnlc
4847s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4848b cont
4849' <confdefs.h | sed '
4850s/'"$ac_delim"'/"\\\
4851"/g' >>$CONFIG_STATUS || ac_write_fail=1
4852
4853cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4854 for (key in D) D_is_set[key] = 1
4855 FS = ""
4856}
4857/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4858 line = \$ 0
4859 split(line, arg, " ")
4860 if (arg[1] == "#") {
4861 defundef = arg[2]
4862 mac1 = arg[3]
4863 } else {
4864 defundef = substr(arg[1], 2)
4865 mac1 = arg[2]
4866 }
4867 split(mac1, mac2, "(") #)
4868 macro = mac2[1]
4869 prefix = substr(line, 1, index(line, defundef) - 1)
4870 if (D_is_set[macro]) {
4871 # Preserve the white space surrounding the "#".
4872 print prefix "define", macro P[macro] D[macro]
4873 next
4874 } else {
4875 # Replace #undef with comments. This is necessary, for example,
4876 # in the case of _POSIX_SOURCE, which is predefined and required
4877 # on some systems where configure will not decide to define it.
4878 if (defundef == "undef") {
4879 print "/*", prefix defundef, macro, "*/"
4880 next
4881 }
4882 }
4883}
4884{ print }
4885_ACAWK
4886_ACEOF
4887cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4888 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4889fi # test -n "$CONFIG_HEADERS"
4890
4891
4892eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4893shift
4894for ac_tag
4895do
4896 case $ac_tag in
4897 :[FHLC]) ac_mode=$ac_tag; continue;;
4898 esac
4899 case $ac_mode$ac_tag in
4900 :[FHL]*:*);;
4901 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4902 :[FH]-) ac_tag=-:-;;
4903 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4904 esac
4905 ac_save_IFS=$IFS
4906 IFS=:
4907 set x $ac_tag
4908 IFS=$ac_save_IFS
4909 shift
4910 ac_file=$1
4911 shift
4912
4913 case $ac_mode in
4914 :L) ac_source=$1;;
4915 :[FH])
4916 ac_file_inputs=
4917 for ac_f
4918 do
4919 case $ac_f in
4920 -) ac_f="$ac_tmp/stdin";;
4921 *) # Look for the file first in the build tree, then in the source tree
4922 # (if the path is not absolute). The absolute path cannot be DOS-style,
4923 # because $ac_f cannot contain `:'.
4924 test -f "$ac_f" ||
4925 case $ac_f in
4926 [\\/$]*) false;;
4927 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4928 esac ||
4929 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4930 esac
4931 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4932 as_fn_append ac_file_inputs " '$ac_f'"
4933 done
4934
4935 # Let's still pretend it is `configure' which instantiates (i.e., don't
4936 # use $as_me), people would be surprised to read:
4937 # /* config.h. Generated by config.status. */
4938 configure_input='Generated from '`
4939 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4940 `' by configure.'
4941 if test x"$ac_file" != x-; then
4942 configure_input="$ac_file. $configure_input"
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4944$as_echo "$as_me: creating $ac_file" >&6;}
4945 fi
4946 # Neutralize special characters interpreted by sed in replacement strings.
4947 case $configure_input in #(
4948 *\&* | *\|* | *\\* )
4949 ac_sed_conf_input=`$as_echo "$configure_input" |
4950 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4951 *) ac_sed_conf_input=$configure_input;;
4952 esac
4953
4954 case $ac_tag in
4955 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4957 esac
4958 ;;
4959 esac
4960
4961 ac_dir=`$as_dirname -- "$ac_file" ||
4962$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4963 X"$ac_file" : 'X\(//\)[^/]' \| \
4964 X"$ac_file" : 'X\(//\)$' \| \
4965 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4966$as_echo X"$ac_file" |
4967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4968 s//\1/
4969 q
4970 }
4971 /^X\(\/\/\)[^/].*/{
4972 s//\1/
4973 q
4974 }
4975 /^X\(\/\/\)$/{
4976 s//\1/
4977 q
4978 }
4979 /^X\(\/\).*/{
4980 s//\1/
4981 q
4982 }
4983 s/.*/./; q'`
4984 as_dir="$ac_dir"; as_fn_mkdir_p
4985 ac_builddir=.
4986
4987case "$ac_dir" in
4988.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4989*)
4990 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4991 # A ".." for each directory in $ac_dir_suffix.
4992 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4993 case $ac_top_builddir_sub in
4994 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4995 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4996 esac ;;
4997esac
4998ac_abs_top_builddir=$ac_pwd
4999ac_abs_builddir=$ac_pwd$ac_dir_suffix
5000# for backward compatibility:
5001ac_top_builddir=$ac_top_build_prefix
5002
5003case $srcdir in
5004 .) # We are building in place.
5005 ac_srcdir=.
5006 ac_top_srcdir=$ac_top_builddir_sub
5007 ac_abs_top_srcdir=$ac_pwd ;;
5008 [\\/]* | ?:[\\/]* ) # Absolute name.
5009 ac_srcdir=$srcdir$ac_dir_suffix;
5010 ac_top_srcdir=$srcdir
5011 ac_abs_top_srcdir=$srcdir ;;
5012 *) # Relative name.
5013 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5014 ac_top_srcdir=$ac_top_build_prefix$srcdir
5015 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5016esac
5017ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5018
5019
5020 case $ac_mode in
5021 :F)
5022 #
5023 # CONFIG_FILE
5024 #
5025
5026 case $INSTALL in
5027 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5028 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5029 esac
5030_ACEOF
5031
5032cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5033# If the template does not know about datarootdir, expand it.
5034# FIXME: This hack should be removed a few years after 2.60.
5035ac_datarootdir_hack=; ac_datarootdir_seen=
5036ac_sed_dataroot='
5037/datarootdir/ {
5038 p
5039 q
5040}
5041/@datadir@/p
5042/@docdir@/p
5043/@infodir@/p
5044/@localedir@/p
5045/@mandir@/p'
5046case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5047*datarootdir*) ac_datarootdir_seen=yes;;
5048*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5050$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5051_ACEOF
5052cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5053 ac_datarootdir_hack='
5054 s&@datadir@&$datadir&g
5055 s&@docdir@&$docdir&g
5056 s&@infodir@&$infodir&g
5057 s&@localedir@&$localedir&g
5058 s&@mandir@&$mandir&g
5059 s&\\\${datarootdir}&$datarootdir&g' ;;
5060esac
5061_ACEOF
5062
5063# Neutralize VPATH when `$srcdir' = `.'.
5064# Shell code in configure.ac might set extrasub.
5065# FIXME: do we really want to maintain this feature?
5066cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5067ac_sed_extra="$ac_vpsub
5068$extrasub
5069_ACEOF
5070cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5071:t
5072/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5073s|@configure_input@|$ac_sed_conf_input|;t t
5074s&@top_builddir@&$ac_top_builddir_sub&;t t
5075s&@top_build_prefix@&$ac_top_build_prefix&;t t
5076s&@srcdir@&$ac_srcdir&;t t
5077s&@abs_srcdir@&$ac_abs_srcdir&;t t
5078s&@top_srcdir@&$ac_top_srcdir&;t t
5079s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5080s&@builddir@&$ac_builddir&;t t
5081s&@abs_builddir@&$ac_abs_builddir&;t t
5082s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5083s&@INSTALL@&$ac_INSTALL&;t t
5084$ac_datarootdir_hack
5085"
5086eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5087 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5088
5089test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5090 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5091 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5092 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5094which seems to be undefined. Please make sure it is defined" >&5
5095$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5096which seems to be undefined. Please make sure it is defined" >&2;}
5097
5098 rm -f "$ac_tmp/stdin"
5099 case $ac_file in
5100 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5101 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5102 esac \
5103 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5104 ;;
5105 :H)
5106 #
5107 # CONFIG_HEADER
5108 #
5109 if test x"$ac_file" != x-; then
5110 {
5111 $as_echo "/* $configure_input */" \
5112 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5113 } >"$ac_tmp/config.h" \
5114 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5115 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5117$as_echo "$as_me: $ac_file is unchanged" >&6;}
5118 else
5119 rm -f "$ac_file"
5120 mv "$ac_tmp/config.h" "$ac_file" \
5121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5122 fi
5123 else
5124 $as_echo "/* $configure_input */" \
5125 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5126 || as_fn_error $? "could not create -" "$LINENO" 5
5127 fi
5128 ;;
5129
5130
5131 esac
5132
5133done # for ac_tag
5134
5135
5136as_fn_exit 0
5137_ACEOF
5138ac_clean_files=$ac_clean_files_save
5139
5140test $ac_write_fail = 0 ||
5141 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5142
5143
5144# configure is writing to config.log, and then calls config.status.
5145# config.status does its own redirection, appending to config.log.
5146# Unfortunately, on DOS this fails, as config.log is still kept open
5147# by configure, so config.status won't be able to write to it; its
5148# output is simply discarded. So we exec the FD to /dev/null,
5149# effectively closing config.log, so it can be properly (re)opened and
5150# appended to by config.status. When coming back to configure, we
5151# need to make the FD available again.
5152if test "$no_create" != yes; then
5153 ac_cs_success=:
5154 ac_config_status_args=
5155 test "$silent" = yes &&
5156 ac_config_status_args="$ac_config_status_args --quiet"
5157 exec 5>/dev/null
5158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5159 exec 5>>config.log
5160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5161 # would make configure fail if this is the last instruction.
5162 $ac_cs_success || as_fn_exit 1
5163fi
5164if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5166$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5167fi
5168
Note: See TracBrowser for help on using the repository browser.