12487f9491a3c3c085d0d88d63f0c91694354ae5
[freeradius.git] / src / modules / rlm_sqlippool / configure
1 #! /bin/sh
2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
5 #
6 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19   emulate sh
20   NULLCMD=:
21   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22   # is contrary to our usage.  Disable this feature.
23   alias -g '${1+"$@"}'='"$@"'
24   setopt NO_GLOB_SUBST
25 else
26   case `(set -o) 2>/dev/null` in #(
27   *posix*) :
28     set -o posix ;; #(
29   *) :
30      ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46   as_echo='print -r --'
47   as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='printf %s\n'
50   as_echo_n='printf %s'
51 else
52   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54     as_echo_n='/usr/ucb/echo -n'
55   else
56     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57     as_echo_n_body='eval
58       arg=$1;
59       case $arg in #(
60       *"$as_nl"*)
61         expr "X$arg" : "X\\(.*\\)$as_nl";
62         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63       esac;
64       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65     '
66     export as_echo_n_body
67     as_echo_n='sh -c $as_echo_n_body as_echo'
68   fi
69   export as_echo_body
70   as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75   PATH_SEPARATOR=:
76   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78       PATH_SEPARATOR=';'
79   }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order.  Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" ""        $as_nl"
89
90 # Find who we are.  Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137   # into an infinite loop, continuously re-executing ourselves.
138   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139     _as_can_reexec=no; export _as_can_reexec;
140     # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in # ((((
148   *v*x* | *x*v* ) as_opts=-vx ;;
149   *v* ) as_opts=-v ;;
150   *x* ) as_opts=-x ;;
151   * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158   fi
159   # We don't want this to propagate to other subprocesses.
160           { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163   emulate sh
164   NULLCMD=:
165   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166   # is contrary to our usage.  Disable this feature.
167   alias -g '\${1+\"\$@\"}'='\"\$@\"'
168   setopt NO_GLOB_SUBST
169 else
170   case \`(set -o) 2>/dev/null\` in #(
171   *posix*) :
172     set -o posix ;; #(
173   *) :
174      ;;
175 esac
176 fi
177 "
178   as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192   exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200   if (eval "$as_required") 2>/dev/null; then :
201   as_have_required=yes
202 else
203   as_have_required=no
204 fi
205   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
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
225 fi
226 fi
227            done;;
228        esac
229   as_found=false
230 done
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
234 fi; }
235 IFS=$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.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248   *v*x* | *x*v* ) as_opts=-vx ;;
249   *v* ) as_opts=-v ;;
250   *x* ) as_opts=-x ;;
251   * ) as_opts= ;;
252 esac
253 exec $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
257 exit 255
258 fi
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
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290   { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_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.
305 as_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.
315 as_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.
363 as_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.
373 if (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   }'
378 else
379   as_fn_append ()
380   {
381     eval $1=\$$1\$2
382   }
383 fi # 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.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391   eval 'as_fn_arith ()
392   {
393     as_val=$(( $* ))
394   }'
395 else
396   as_fn_arith ()
397   {
398     as_val=`expr "$@" || test $? -eq 1`
399   }
400 fi # 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.
408 as_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
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420    test "X`expr 00001 : '.*\(...\)'`" = X001; then
421   as_expr=expr
422 else
423   as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427   as_basename=basename
428 else
429   as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433   as_dirname=dirname
434 else
435   as_dirname=false
436 fi
437
438 as_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.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_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
500 ECHO_C= ECHO_N= ECHO_T=
501 case `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';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515   rm -f conf$$.dir/conf$$.file
516 else
517   rm -f conf$$.dir
518   mkdir conf$$.dir 2>/dev/null
519 fi
520 if (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
534 else
535   as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541   as_mkdir_p='mkdir -p "$as_dir"'
542 else
543   test -d ./-p && rmdir ./-p
544   as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_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.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 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.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
584
585 ac_unique_file="rlm_sqlippool.c"
586 ac_subst_vars='LTLIBOBJS
587 LIBOBJS
588 targetname
589 mod_cflags
590 mod_ldflags
591 target_alias
592 host_alias
593 build_alias
594 LIBS
595 ECHO_T
596 ECHO_N
597 ECHO_C
598 DEFS
599 mandir
600 localedir
601 libdir
602 psdir
603 pdfdir
604 dvidir
605 htmldir
606 infodir
607 docdir
608 oldincludedir
609 includedir
610 localstatedir
611 sharedstatedir
612 sysconfdir
613 datadir
614 datarootdir
615 libexecdir
616 sbindir
617 bindir
618 program_transform_name
619 prefix
620 exec_prefix
621 PACKAGE_URL
622 PACKAGE_BUGREPORT
623 PACKAGE_STRING
624 PACKAGE_VERSION
625 PACKAGE_TARNAME
626 PACKAGE_NAME
627 PATH_SEPARATOR
628 SHELL'
629 ac_subst_files=''
630 ac_user_opts='
631 enable_option_checking
632 '
633       ac_precious_vars='build_alias
634 host_alias
635 target_alias'
636
637
638 # Initialize some variables set by options.
639 ac_init_help=
640 ac_init_version=false
641 ac_unrecognized_opts=
642 ac_unrecognized_sep=
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
645 cache_file=/dev/null
646 exec_prefix=NONE
647 no_create=
648 no_recursion=
649 prefix=NONE
650 program_prefix=NONE
651 program_suffix=NONE
652 program_transform_name=s,x,x,
653 silent=
654 site=
655 srcdir=
656 verbose=
657 x_includes=NONE
658 x_libraries=NONE
659
660 # Installation directory options.
661 # These are left unexpanded so users can "make install exec_prefix=/foo"
662 # and all the variables that are supposed to be based on exec_prefix
663 # by default will actually change.
664 # Use braces instead of parens because sh, perl, etc. also accept them.
665 # (The list follows the same order as the GNU Coding Standards.)
666 bindir='${exec_prefix}/bin'
667 sbindir='${exec_prefix}/sbin'
668 libexecdir='${exec_prefix}/libexec'
669 datarootdir='${prefix}/share'
670 datadir='${datarootdir}'
671 sysconfdir='${prefix}/etc'
672 sharedstatedir='${prefix}/com'
673 localstatedir='${prefix}/var'
674 includedir='${prefix}/include'
675 oldincludedir='/usr/include'
676 docdir='${datarootdir}/doc/${PACKAGE}'
677 infodir='${datarootdir}/info'
678 htmldir='${docdir}'
679 dvidir='${docdir}'
680 pdfdir='${docdir}'
681 psdir='${docdir}'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
685
686 ac_prev=
687 ac_dashdash=
688 for ac_option
689 do
690   # If the previous option needs an argument, assign it.
691   if test -n "$ac_prev"; then
692     eval $ac_prev=\$ac_option
693     ac_prev=
694     continue
695   fi
696
697   case $ac_option in
698   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699   *=)   ac_optarg= ;;
700   *)    ac_optarg=yes ;;
701   esac
702
703   # Accept the important Cygnus configure options, so we can diagnose typos.
704
705   case $ac_dashdash$ac_option in
706   --)
707     ac_dashdash=yes ;;
708
709   -bindir | --bindir | --bindi | --bind | --bin | --bi)
710     ac_prev=bindir ;;
711   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
712     bindir=$ac_optarg ;;
713
714   -build | --build | --buil | --bui | --bu)
715     ac_prev=build_alias ;;
716   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717     build_alias=$ac_optarg ;;
718
719   -cache-file | --cache-file | --cache-fil | --cache-fi \
720   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
721     ac_prev=cache_file ;;
722   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
723   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
724     cache_file=$ac_optarg ;;
725
726   --config-cache | -C)
727     cache_file=config.cache ;;
728
729   -datadir | --datadir | --datadi | --datad)
730     ac_prev=datadir ;;
731   -datadir=* | --datadir=* | --datadi=* | --datad=*)
732     datadir=$ac_optarg ;;
733
734   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
735   | --dataroo | --dataro | --datar)
736     ac_prev=datarootdir ;;
737   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
738   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
739     datarootdir=$ac_optarg ;;
740
741   -disable-* | --disable-*)
742     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743     # Reject names that are not valid shell variable names.
744     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
745       as_fn_error $? "invalid feature name: $ac_useropt"
746     ac_useropt_orig=$ac_useropt
747     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
748     case $ac_user_opts in
749       *"
750 "enable_$ac_useropt"
751 "*) ;;
752       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
753          ac_unrecognized_sep=', ';;
754     esac
755     eval enable_$ac_useropt=no ;;
756
757   -docdir | --docdir | --docdi | --doc | --do)
758     ac_prev=docdir ;;
759   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760     docdir=$ac_optarg ;;
761
762   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763     ac_prev=dvidir ;;
764   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765     dvidir=$ac_optarg ;;
766
767   -enable-* | --enable-*)
768     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769     # Reject names that are not valid shell variable names.
770     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771       as_fn_error $? "invalid feature name: $ac_useropt"
772     ac_useropt_orig=$ac_useropt
773     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774     case $ac_user_opts in
775       *"
776 "enable_$ac_useropt"
777 "*) ;;
778       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
779          ac_unrecognized_sep=', ';;
780     esac
781     eval enable_$ac_useropt=\$ac_optarg ;;
782
783   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
785   | --exec | --exe | --ex)
786     ac_prev=exec_prefix ;;
787   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
788   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
789   | --exec=* | --exe=* | --ex=*)
790     exec_prefix=$ac_optarg ;;
791
792   -gas | --gas | --ga | --g)
793     # Obsolete; use --with-gas.
794     with_gas=yes ;;
795
796   -help | --help | --hel | --he | -h)
797     ac_init_help=long ;;
798   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
799     ac_init_help=recursive ;;
800   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
801     ac_init_help=short ;;
802
803   -host | --host | --hos | --ho)
804     ac_prev=host_alias ;;
805   -host=* | --host=* | --hos=* | --ho=*)
806     host_alias=$ac_optarg ;;
807
808   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
809     ac_prev=htmldir ;;
810   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
811   | --ht=*)
812     htmldir=$ac_optarg ;;
813
814   -includedir | --includedir | --includedi | --included | --include \
815   | --includ | --inclu | --incl | --inc)
816     ac_prev=includedir ;;
817   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
818   | --includ=* | --inclu=* | --incl=* | --inc=*)
819     includedir=$ac_optarg ;;
820
821   -infodir | --infodir | --infodi | --infod | --info | --inf)
822     ac_prev=infodir ;;
823   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824     infodir=$ac_optarg ;;
825
826   -libdir | --libdir | --libdi | --libd)
827     ac_prev=libdir ;;
828   -libdir=* | --libdir=* | --libdi=* | --libd=*)
829     libdir=$ac_optarg ;;
830
831   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
832   | --libexe | --libex | --libe)
833     ac_prev=libexecdir ;;
834   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
835   | --libexe=* | --libex=* | --libe=*)
836     libexecdir=$ac_optarg ;;
837
838   -localedir | --localedir | --localedi | --localed | --locale)
839     ac_prev=localedir ;;
840   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841     localedir=$ac_optarg ;;
842
843   -localstatedir | --localstatedir | --localstatedi | --localstated \
844   | --localstate | --localstat | --localsta | --localst | --locals)
845     ac_prev=localstatedir ;;
846   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
847   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
848     localstatedir=$ac_optarg ;;
849
850   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
851     ac_prev=mandir ;;
852   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853     mandir=$ac_optarg ;;
854
855   -nfp | --nfp | --nf)
856     # Obsolete; use --without-fp.
857     with_fp=no ;;
858
859   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860   | --no-cr | --no-c | -n)
861     no_create=yes ;;
862
863   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
865     no_recursion=yes ;;
866
867   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
868   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
869   | --oldin | --oldi | --old | --ol | --o)
870     ac_prev=oldincludedir ;;
871   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
872   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
873   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
874     oldincludedir=$ac_optarg ;;
875
876   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
877     ac_prev=prefix ;;
878   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
879     prefix=$ac_optarg ;;
880
881   -program-prefix | --program-prefix | --program-prefi | --program-pref \
882   | --program-pre | --program-pr | --program-p)
883     ac_prev=program_prefix ;;
884   -program-prefix=* | --program-prefix=* | --program-prefi=* \
885   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
886     program_prefix=$ac_optarg ;;
887
888   -program-suffix | --program-suffix | --program-suffi | --program-suff \
889   | --program-suf | --program-su | --program-s)
890     ac_prev=program_suffix ;;
891   -program-suffix=* | --program-suffix=* | --program-suffi=* \
892   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
893     program_suffix=$ac_optarg ;;
894
895   -program-transform-name | --program-transform-name \
896   | --program-transform-nam | --program-transform-na \
897   | --program-transform-n | --program-transform- \
898   | --program-transform | --program-transfor \
899   | --program-transfo | --program-transf \
900   | --program-trans | --program-tran \
901   | --progr-tra | --program-tr | --program-t)
902     ac_prev=program_transform_name ;;
903   -program-transform-name=* | --program-transform-name=* \
904   | --program-transform-nam=* | --program-transform-na=* \
905   | --program-transform-n=* | --program-transform-=* \
906   | --program-transform=* | --program-transfor=* \
907   | --program-transfo=* | --program-transf=* \
908   | --program-trans=* | --program-tran=* \
909   | --progr-tra=* | --program-tr=* | --program-t=*)
910     program_transform_name=$ac_optarg ;;
911
912   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
913     ac_prev=pdfdir ;;
914   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
915     pdfdir=$ac_optarg ;;
916
917   -psdir | --psdir | --psdi | --psd | --ps)
918     ac_prev=psdir ;;
919   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
920     psdir=$ac_optarg ;;
921
922   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923   | -silent | --silent | --silen | --sile | --sil)
924     silent=yes ;;
925
926   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
927     ac_prev=sbindir ;;
928   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
929   | --sbi=* | --sb=*)
930     sbindir=$ac_optarg ;;
931
932   -sharedstatedir | --sharedstatedir | --sharedstatedi \
933   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
934   | --sharedst | --shareds | --shared | --share | --shar \
935   | --sha | --sh)
936     ac_prev=sharedstatedir ;;
937   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
938   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
939   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
940   | --sha=* | --sh=*)
941     sharedstatedir=$ac_optarg ;;
942
943   -site | --site | --sit)
944     ac_prev=site ;;
945   -site=* | --site=* | --sit=*)
946     site=$ac_optarg ;;
947
948   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
949     ac_prev=srcdir ;;
950   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
951     srcdir=$ac_optarg ;;
952
953   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
954   | --syscon | --sysco | --sysc | --sys | --sy)
955     ac_prev=sysconfdir ;;
956   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
957   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
958     sysconfdir=$ac_optarg ;;
959
960   -target | --target | --targe | --targ | --tar | --ta | --t)
961     ac_prev=target_alias ;;
962   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
963     target_alias=$ac_optarg ;;
964
965   -v | -verbose | --verbose | --verbos | --verbo | --verb)
966     verbose=yes ;;
967
968   -version | --version | --versio | --versi | --vers | -V)
969     ac_init_version=: ;;
970
971   -with-* | --with-*)
972     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973     # Reject names that are not valid shell variable names.
974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975       as_fn_error $? "invalid package name: $ac_useropt"
976     ac_useropt_orig=$ac_useropt
977     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978     case $ac_user_opts in
979       *"
980 "with_$ac_useropt"
981 "*) ;;
982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
983          ac_unrecognized_sep=', ';;
984     esac
985     eval with_$ac_useropt=\$ac_optarg ;;
986
987   -without-* | --without-*)
988     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989     # Reject names that are not valid shell variable names.
990     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991       as_fn_error $? "invalid package name: $ac_useropt"
992     ac_useropt_orig=$ac_useropt
993     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994     case $ac_user_opts in
995       *"
996 "with_$ac_useropt"
997 "*) ;;
998       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
999          ac_unrecognized_sep=', ';;
1000     esac
1001     eval with_$ac_useropt=no ;;
1002
1003   --x)
1004     # Obsolete; use --with-x.
1005     with_x=yes ;;
1006
1007   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1008   | --x-incl | --x-inc | --x-in | --x-i)
1009     ac_prev=x_includes ;;
1010   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1011   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1012     x_includes=$ac_optarg ;;
1013
1014   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1015   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1016     ac_prev=x_libraries ;;
1017   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1018   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1019     x_libraries=$ac_optarg ;;
1020
1021   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1022 Try \`$0 --help' for more information"
1023     ;;
1024
1025   *=*)
1026     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1027     # Reject names that are not valid shell variable names.
1028     case $ac_envvar in #(
1029       '' | [0-9]* | *[!_$as_cr_alnum]* )
1030       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1031     esac
1032     eval $ac_envvar=\$ac_optarg
1033     export $ac_envvar ;;
1034
1035   *)
1036     # FIXME: should be removed in autoconf 3.0.
1037     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1038     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1040     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1041     ;;
1042
1043   esac
1044 done
1045
1046 if test -n "$ac_prev"; then
1047   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1048   as_fn_error $? "missing argument to $ac_option"
1049 fi
1050
1051 if test -n "$ac_unrecognized_opts"; then
1052   case $enable_option_checking in
1053     no) ;;
1054     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1055     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1056   esac
1057 fi
1058
1059 # Check all directory arguments for consistency.
1060 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1061                 datadir sysconfdir sharedstatedir localstatedir includedir \
1062                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1063                 libdir localedir mandir
1064 do
1065   eval ac_val=\$$ac_var
1066   # Remove trailing slashes.
1067   case $ac_val in
1068     */ )
1069       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1070       eval $ac_var=\$ac_val;;
1071   esac
1072   # Be sure to have absolute directory names.
1073   case $ac_val in
1074     [\\/$]* | ?:[\\/]* )  continue;;
1075     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1076   esac
1077   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1078 done
1079
1080 # There might be people who depend on the old broken behavior: `$host'
1081 # used to hold the argument of --host etc.
1082 # FIXME: To remove some day.
1083 build=$build_alias
1084 host=$host_alias
1085 target=$target_alias
1086
1087 # FIXME: To remove some day.
1088 if test "x$host_alias" != x; then
1089   if test "x$build_alias" = x; then
1090     cross_compiling=maybe
1091   elif test "x$build_alias" != "x$host_alias"; then
1092     cross_compiling=yes
1093   fi
1094 fi
1095
1096 ac_tool_prefix=
1097 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1098
1099 test "$silent" = yes && exec 6>/dev/null
1100
1101
1102 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1103 ac_ls_di=`ls -di .` &&
1104 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1105   as_fn_error $? "working directory cannot be determined"
1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1107   as_fn_error $? "pwd does not report name of working directory"
1108
1109
1110 # Find the source files, if location was not specified.
1111 if test -z "$srcdir"; then
1112   ac_srcdir_defaulted=yes
1113   # Try the directory containing this script, then the parent directory.
1114   ac_confdir=`$as_dirname -- "$as_myself" ||
1115 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1116          X"$as_myself" : 'X\(//\)[^/]' \| \
1117          X"$as_myself" : 'X\(//\)$' \| \
1118          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1119 $as_echo X"$as_myself" |
1120     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1121             s//\1/
1122             q
1123           }
1124           /^X\(\/\/\)[^/].*/{
1125             s//\1/
1126             q
1127           }
1128           /^X\(\/\/\)$/{
1129             s//\1/
1130             q
1131           }
1132           /^X\(\/\).*/{
1133             s//\1/
1134             q
1135           }
1136           s/.*/./; q'`
1137   srcdir=$ac_confdir
1138   if test ! -r "$srcdir/$ac_unique_file"; then
1139     srcdir=..
1140   fi
1141 else
1142   ac_srcdir_defaulted=no
1143 fi
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1145   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1146   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1147 fi
1148 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1149 ac_abs_confdir=`(
1150         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1151         pwd)`
1152 # When building in place, set srcdir=.
1153 if test "$ac_abs_confdir" = "$ac_pwd"; then
1154   srcdir=.
1155 fi
1156 # Remove unnecessary trailing slashes from srcdir.
1157 # Double slashes in file names in object file debugging info
1158 # mess up M-x gdb in Emacs.
1159 case $srcdir in
1160 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161 esac
1162 for ac_var in $ac_precious_vars; do
1163   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1164   eval ac_env_${ac_var}_value=\$${ac_var}
1165   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1166   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1167 done
1168
1169 #
1170 # Report the --help message.
1171 #
1172 if test "$ac_init_help" = "long"; then
1173   # Omit some internal or obsolete options to make the list less imposing.
1174   # This message is too long to be a string in the A/UX 3.1 sh.
1175   cat <<_ACEOF
1176 \`configure' configures this package to adapt to many kinds of systems.
1177
1178 Usage: $0 [OPTION]... [VAR=VALUE]...
1179
1180 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1181 VAR=VALUE.  See below for descriptions of some of the useful variables.
1182
1183 Defaults for the options are specified in brackets.
1184
1185 Configuration:
1186   -h, --help              display this help and exit
1187       --help=short        display options specific to this package
1188       --help=recursive    display the short help of all the included packages
1189   -V, --version           display version information and exit
1190   -q, --quiet, --silent   do not print \`checking ...' messages
1191       --cache-file=FILE   cache test results in FILE [disabled]
1192   -C, --config-cache      alias for \`--cache-file=config.cache'
1193   -n, --no-create         do not create output files
1194       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1195
1196 Installation directories:
1197   --prefix=PREFIX         install architecture-independent files in PREFIX
1198                           [$ac_default_prefix]
1199   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1200                           [PREFIX]
1201
1202 By default, \`make install' will install all the files in
1203 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1204 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1205 for instance \`--prefix=\$HOME'.
1206
1207 For better control, use the options below.
1208
1209 Fine tuning of the installation directories:
1210   --bindir=DIR            user executables [EPREFIX/bin]
1211   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1212   --libexecdir=DIR        program executables [EPREFIX/libexec]
1213   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1214   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1215   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1216   --libdir=DIR            object code libraries [EPREFIX/lib]
1217   --includedir=DIR        C header files [PREFIX/include]
1218   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1219   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1220   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1221   --infodir=DIR           info documentation [DATAROOTDIR/info]
1222   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1223   --mandir=DIR            man documentation [DATAROOTDIR/man]
1224   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1225   --htmldir=DIR           html documentation [DOCDIR]
1226   --dvidir=DIR            dvi documentation [DOCDIR]
1227   --pdfdir=DIR            pdf documentation [DOCDIR]
1228   --psdir=DIR             ps documentation [DOCDIR]
1229 _ACEOF
1230
1231   cat <<\_ACEOF
1232 _ACEOF
1233 fi
1234
1235 if test -n "$ac_init_help"; then
1236
1237   cat <<\_ACEOF
1238
1239 Report bugs to the package provider.
1240 _ACEOF
1241 ac_status=$?
1242 fi
1243
1244 if test "$ac_init_help" = "recursive"; then
1245   # If there are subdirs, report their specific --help.
1246   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1247     test -d "$ac_dir" ||
1248       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1249       continue
1250     ac_builddir=.
1251
1252 case "$ac_dir" in
1253 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254 *)
1255   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1256   # A ".." for each directory in $ac_dir_suffix.
1257   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1258   case $ac_top_builddir_sub in
1259   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1260   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1261   esac ;;
1262 esac
1263 ac_abs_top_builddir=$ac_pwd
1264 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1265 # for backward compatibility:
1266 ac_top_builddir=$ac_top_build_prefix
1267
1268 case $srcdir in
1269   .)  # We are building in place.
1270     ac_srcdir=.
1271     ac_top_srcdir=$ac_top_builddir_sub
1272     ac_abs_top_srcdir=$ac_pwd ;;
1273   [\\/]* | ?:[\\/]* )  # Absolute name.
1274     ac_srcdir=$srcdir$ac_dir_suffix;
1275     ac_top_srcdir=$srcdir
1276     ac_abs_top_srcdir=$srcdir ;;
1277   *) # Relative name.
1278     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1279     ac_top_srcdir=$ac_top_build_prefix$srcdir
1280     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1281 esac
1282 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1283
1284     cd "$ac_dir" || { ac_status=$?; continue; }
1285     # Check for guested configure.
1286     if test -f "$ac_srcdir/configure.gnu"; then
1287       echo &&
1288       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1289     elif test -f "$ac_srcdir/configure"; then
1290       echo &&
1291       $SHELL "$ac_srcdir/configure" --help=recursive
1292     else
1293       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1294     fi || ac_status=$?
1295     cd "$ac_pwd" || { ac_status=$?; break; }
1296   done
1297 fi
1298
1299 test -n "$ac_init_help" && exit $ac_status
1300 if $ac_init_version; then
1301   cat <<\_ACEOF
1302 configure
1303 generated by GNU Autoconf 2.69
1304
1305 Copyright (C) 2012 Free Software Foundation, Inc.
1306 This configure script is free software; the Free Software Foundation
1307 gives unlimited permission to copy, distribute and modify it.
1308 _ACEOF
1309   exit
1310 fi
1311
1312 ## ------------------------ ##
1313 ## Autoconf initialization. ##
1314 ## ------------------------ ##
1315 cat >config.log <<_ACEOF
1316 This file contains any messages produced by compilers while
1317 running configure, to aid debugging if configure makes a mistake.
1318
1319 It was created by $as_me, which was
1320 generated by GNU Autoconf 2.69.  Invocation command line was
1321
1322   $ $0 $@
1323
1324 _ACEOF
1325 exec 5>>config.log
1326 {
1327 cat <<_ASUNAME
1328 ## --------- ##
1329 ## Platform. ##
1330 ## --------- ##
1331
1332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1337
1338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1339 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1340
1341 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1342 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1344 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1345 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1346 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1347 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1348
1349 _ASUNAME
1350
1351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352 for as_dir in $PATH
1353 do
1354   IFS=$as_save_IFS
1355   test -z "$as_dir" && as_dir=.
1356     $as_echo "PATH: $as_dir"
1357   done
1358 IFS=$as_save_IFS
1359
1360 } >&5
1361
1362 cat >&5 <<_ACEOF
1363
1364
1365 ## ----------- ##
1366 ## Core tests. ##
1367 ## ----------- ##
1368
1369 _ACEOF
1370
1371
1372 # Keep a trace of the command line.
1373 # Strip out --no-create and --no-recursion so they do not pile up.
1374 # Strip out --silent because we don't want to record it for future runs.
1375 # Also quote any args containing shell meta-characters.
1376 # Make two passes to allow for proper duplicate-argument suppression.
1377 ac_configure_args=
1378 ac_configure_args0=
1379 ac_configure_args1=
1380 ac_must_keep_next=false
1381 for ac_pass in 1 2
1382 do
1383   for ac_arg
1384   do
1385     case $ac_arg in
1386     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1387     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1388     | -silent | --silent | --silen | --sile | --sil)
1389       continue ;;
1390     *\'*)
1391       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1392     esac
1393     case $ac_pass in
1394     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1395     2)
1396       as_fn_append ac_configure_args1 " '$ac_arg'"
1397       if test $ac_must_keep_next = true; then
1398         ac_must_keep_next=false # Got value, back to normal.
1399       else
1400         case $ac_arg in
1401           *=* | --config-cache | -C | -disable-* | --disable-* \
1402           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1403           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1404           | -with-* | --with-* | -without-* | --without-* | --x)
1405             case "$ac_configure_args0 " in
1406               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1407             esac
1408             ;;
1409           -* ) ac_must_keep_next=true ;;
1410         esac
1411       fi
1412       as_fn_append ac_configure_args " '$ac_arg'"
1413       ;;
1414     esac
1415   done
1416 done
1417 { ac_configure_args0=; unset ac_configure_args0;}
1418 { ac_configure_args1=; unset ac_configure_args1;}
1419
1420 # When interrupted or exit'd, cleanup temporary files, and complete
1421 # config.log.  We remove comments because anyway the quotes in there
1422 # would cause problems or look ugly.
1423 # WARNING: Use '\'' to represent an apostrophe within the trap.
1424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1425 trap 'exit_status=$?
1426   # Save into config.log some information that might help in debugging.
1427   {
1428     echo
1429
1430     $as_echo "## ---------------- ##
1431 ## Cache variables. ##
1432 ## ---------------- ##"
1433     echo
1434     # The following way of writing the cache mishandles newlines in values,
1435 (
1436   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1437     eval ac_val=\$$ac_var
1438     case $ac_val in #(
1439     *${as_nl}*)
1440       case $ac_var in #(
1441       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1443       esac
1444       case $ac_var in #(
1445       _ | IFS | as_nl) ;; #(
1446       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1447       *) { eval $ac_var=; unset $ac_var;} ;;
1448       esac ;;
1449     esac
1450   done
1451   (set) 2>&1 |
1452     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1453     *${as_nl}ac_space=\ *)
1454       sed -n \
1455         "s/'\''/'\''\\\\'\'''\''/g;
1456           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1457       ;; #(
1458     *)
1459       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1460       ;;
1461     esac |
1462     sort
1463 )
1464     echo
1465
1466     $as_echo "## ----------------- ##
1467 ## Output variables. ##
1468 ## ----------------- ##"
1469     echo
1470     for ac_var in $ac_subst_vars
1471     do
1472       eval ac_val=\$$ac_var
1473       case $ac_val in
1474       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1475       esac
1476       $as_echo "$ac_var='\''$ac_val'\''"
1477     done | sort
1478     echo
1479
1480     if test -n "$ac_subst_files"; then
1481       $as_echo "## ------------------- ##
1482 ## File substitutions. ##
1483 ## ------------------- ##"
1484       echo
1485       for ac_var in $ac_subst_files
1486       do
1487         eval ac_val=\$$ac_var
1488         case $ac_val in
1489         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1490         esac
1491         $as_echo "$ac_var='\''$ac_val'\''"
1492       done | sort
1493       echo
1494     fi
1495
1496     if test -s confdefs.h; then
1497       $as_echo "## ----------- ##
1498 ## confdefs.h. ##
1499 ## ----------- ##"
1500       echo
1501       cat confdefs.h
1502       echo
1503     fi
1504     test "$ac_signal" != 0 &&
1505       $as_echo "$as_me: caught signal $ac_signal"
1506     $as_echo "$as_me: exit $exit_status"
1507   } >&5
1508   rm -f core *.core core.conftest.* &&
1509     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1510     exit $exit_status
1511 ' 0
1512 for ac_signal in 1 2 13 15; do
1513   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1514 done
1515 ac_signal=0
1516
1517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1518 rm -f -r conftest* confdefs.h
1519
1520 $as_echo "/* confdefs.h */" > confdefs.h
1521
1522 # Predefined preprocessor variables.
1523
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_NAME "$PACKAGE_NAME"
1526 _ACEOF
1527
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1530 _ACEOF
1531
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1534 _ACEOF
1535
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_STRING "$PACKAGE_STRING"
1538 _ACEOF
1539
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1542 _ACEOF
1543
1544 cat >>confdefs.h <<_ACEOF
1545 #define PACKAGE_URL "$PACKAGE_URL"
1546 _ACEOF
1547
1548
1549 # Let the site file select an alternate cache file if it wants to.
1550 # Prefer an explicitly selected file to automatically selected ones.
1551 ac_site_file1=NONE
1552 ac_site_file2=NONE
1553 if test -n "$CONFIG_SITE"; then
1554   # We do not want a PATH search for config.site.
1555   case $CONFIG_SITE in #((
1556     -*)  ac_site_file1=./$CONFIG_SITE;;
1557     */*) ac_site_file1=$CONFIG_SITE;;
1558     *)   ac_site_file1=./$CONFIG_SITE;;
1559   esac
1560 elif test "x$prefix" != xNONE; then
1561   ac_site_file1=$prefix/share/config.site
1562   ac_site_file2=$prefix/etc/config.site
1563 else
1564   ac_site_file1=$ac_default_prefix/share/config.site
1565   ac_site_file2=$ac_default_prefix/etc/config.site
1566 fi
1567 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1568 do
1569   test "x$ac_site_file" = xNONE && continue
1570   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1571     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1573     sed 's/^/| /' "$ac_site_file" >&5
1574     . "$ac_site_file" \
1575       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1577 as_fn_error $? "failed to load site script $ac_site_file
1578 See \`config.log' for more details" "$LINENO" 5; }
1579   fi
1580 done
1581
1582 if test -r "$cache_file"; then
1583   # Some versions of bash will fail to source /dev/null (special files
1584   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1585   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1586     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1587 $as_echo "$as_me: loading cache $cache_file" >&6;}
1588     case $cache_file in
1589       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1590       *)                      . "./$cache_file";;
1591     esac
1592   fi
1593 else
1594   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1595 $as_echo "$as_me: creating cache $cache_file" >&6;}
1596   >$cache_file
1597 fi
1598
1599 # Check that the precious variables saved in the cache have kept the same
1600 # value.
1601 ac_cache_corrupted=false
1602 for ac_var in $ac_precious_vars; do
1603   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1604   eval ac_new_set=\$ac_env_${ac_var}_set
1605   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1606   eval ac_new_val=\$ac_env_${ac_var}_value
1607   case $ac_old_set,$ac_new_set in
1608     set,)
1609       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1610 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1611       ac_cache_corrupted=: ;;
1612     ,set)
1613       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1614 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1615       ac_cache_corrupted=: ;;
1616     ,);;
1617     *)
1618       if test "x$ac_old_val" != "x$ac_new_val"; then
1619         # differences in whitespace do not lead to failure.
1620         ac_old_val_w=`echo x $ac_old_val`
1621         ac_new_val_w=`echo x $ac_new_val`
1622         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1623           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1624 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1625           ac_cache_corrupted=:
1626         else
1627           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1628 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1629           eval $ac_var=\$ac_old_val
1630         fi
1631         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1632 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1633         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1634 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1635       fi;;
1636   esac
1637   # Pass precious variables to config.status.
1638   if test "$ac_new_set" = set; then
1639     case $ac_new_val in
1640     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641     *) ac_arg=$ac_var=$ac_new_val ;;
1642     esac
1643     case " $ac_configure_args " in
1644       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1645       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1646     esac
1647   fi
1648 done
1649 if $ac_cache_corrupted; then
1650   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1652   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1653 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1654   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1655 fi
1656 ## -------------------- ##
1657 ## Main body of script. ##
1658 ## -------------------- ##
1659
1660 ac_ext=c
1661 ac_cpp='$CPP $CPPFLAGS'
1662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1665
1666
1667
1668
1669
1670 if test x$with_rlm_sqlippool != xno; then
1671
1672
1673         targetname=rlm_sqlippool
1674 else
1675         targetname=
1676         echo \*\*\* module rlm_sqlippool is disabled.
1677 fi
1678
1679 mod_ldflags=$SMART_LIBS
1680 mod_cflags=$SMART_CFLAGS
1681
1682
1683
1684
1685   unset ac_cv_env_LIBS_set
1686   unset ac_cv_env_LIBS_value
1687
1688   ac_config_files="$ac_config_files all.mk"
1689
1690 cat >confcache <<\_ACEOF
1691 # This file is a shell script that caches the results of configure
1692 # tests run on this system so they can be shared between configure
1693 # scripts and configure runs, see configure's option --config-cache.
1694 # It is not useful on other systems.  If it contains results you don't
1695 # want to keep, you may remove or edit it.
1696 #
1697 # config.status only pays attention to the cache file if you give it
1698 # the --recheck option to rerun configure.
1699 #
1700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1702 # following values.
1703
1704 _ACEOF
1705
1706 # The following way of writing the cache mishandles newlines in values,
1707 # but we know of no workaround that is simple, portable, and efficient.
1708 # So, we kill variables containing newlines.
1709 # Ultrix sh set writes to stderr and can't be redirected directly,
1710 # and sets the high bit in the cache file unless we assign to the vars.
1711 (
1712   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1713     eval ac_val=\$$ac_var
1714     case $ac_val in #(
1715     *${as_nl}*)
1716       case $ac_var in #(
1717       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1718 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1719       esac
1720       case $ac_var in #(
1721       _ | IFS | as_nl) ;; #(
1722       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1723       *) { eval $ac_var=; unset $ac_var;} ;;
1724       esac ;;
1725     esac
1726   done
1727
1728   (set) 2>&1 |
1729     case $as_nl`(ac_space=' '; set) 2>&1` in #(
1730     *${as_nl}ac_space=\ *)
1731       # `set' does not quote correctly, so add quotes: double-quote
1732       # substitution turns \\\\ into \\, and sed turns \\ into \.
1733       sed -n \
1734         "s/'/'\\\\''/g;
1735           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1736       ;; #(
1737     *)
1738       # `set' quotes correctly as required by POSIX, so do not add quotes.
1739       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1740       ;;
1741     esac |
1742     sort
1743 ) |
1744   sed '
1745      /^ac_cv_env_/b end
1746      t clear
1747      :clear
1748      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1749      t end
1750      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1751      :end' >>confcache
1752 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1753   if test -w "$cache_file"; then
1754     if test "x$cache_file" != "x/dev/null"; then
1755       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1756 $as_echo "$as_me: updating cache $cache_file" >&6;}
1757       if test ! -f "$cache_file" || test -h "$cache_file"; then
1758         cat confcache >"$cache_file"
1759       else
1760         case $cache_file in #(
1761         */* | ?:*)
1762           mv -f confcache "$cache_file"$$ &&
1763           mv -f "$cache_file"$$ "$cache_file" ;; #(
1764         *)
1765           mv -f confcache "$cache_file" ;;
1766         esac
1767       fi
1768     fi
1769   else
1770     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1771 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1772   fi
1773 fi
1774 rm -f confcache
1775
1776 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1777 # Let make expand exec_prefix.
1778 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1779
1780 # Transform confdefs.h into DEFS.
1781 # Protect against shell expansion while executing Makefile rules.
1782 # Protect against Makefile macro expansion.
1783 #
1784 # If the first sed substitution is executed (which looks for macros that
1785 # take arguments), then branch to the quote section.  Otherwise,
1786 # look for a macro that doesn't take arguments.
1787 ac_script='
1788 :mline
1789 /\\$/{
1790  N
1791  s,\\\n,,
1792  b mline
1793 }
1794 t clear
1795 :clear
1796 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1797 t quote
1798 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1799 t quote
1800 b any
1801 :quote
1802 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1803 s/\[/\\&/g
1804 s/\]/\\&/g
1805 s/\$/$$/g
1806 H
1807 :any
1808 ${
1809         g
1810         s/^\n//
1811         s/\n/ /g
1812         p
1813 }
1814 '
1815 DEFS=`sed -n "$ac_script" confdefs.h`
1816
1817
1818 ac_libobjs=
1819 ac_ltlibobjs=
1820 U=
1821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1822   # 1. Remove the extension, and $U if already installed.
1823   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1824   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1825   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1826   #    will be set to the directory where LIBOBJS objects are built.
1827   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1828   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1829 done
1830 LIBOBJS=$ac_libobjs
1831
1832 LTLIBOBJS=$ac_ltlibobjs
1833
1834
1835
1836 : "${CONFIG_STATUS=./config.status}"
1837 ac_write_fail=0
1838 ac_clean_files_save=$ac_clean_files
1839 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1841 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1842 as_write_fail=0
1843 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1844 #! $SHELL
1845 # Generated by $as_me.
1846 # Run this file to recreate the current configuration.
1847 # Compiler output produced by configure, useful for debugging
1848 # configure, is in config.log if it exists.
1849
1850 debug=false
1851 ac_cs_recheck=false
1852 ac_cs_silent=false
1853
1854 SHELL=\${CONFIG_SHELL-$SHELL}
1855 export SHELL
1856 _ASEOF
1857 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1858 ## -------------------- ##
1859 ## M4sh Initialization. ##
1860 ## -------------------- ##
1861
1862 # Be more Bourne compatible
1863 DUALCASE=1; export DUALCASE # for MKS sh
1864 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1865   emulate sh
1866   NULLCMD=:
1867   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1868   # is contrary to our usage.  Disable this feature.
1869   alias -g '${1+"$@"}'='"$@"'
1870   setopt NO_GLOB_SUBST
1871 else
1872   case `(set -o) 2>/dev/null` in #(
1873   *posix*) :
1874     set -o posix ;; #(
1875   *) :
1876      ;;
1877 esac
1878 fi
1879
1880
1881 as_nl='
1882 '
1883 export as_nl
1884 # Printing a long string crashes Solaris 7 /usr/bin/printf.
1885 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1888 # Prefer a ksh shell builtin over an external printf program on Solaris,
1889 # but without wasting forks for bash or zsh.
1890 if test -z "$BASH_VERSION$ZSH_VERSION" \
1891     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1892   as_echo='print -r --'
1893   as_echo_n='print -rn --'
1894 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1895   as_echo='printf %s\n'
1896   as_echo_n='printf %s'
1897 else
1898   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1899     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1900     as_echo_n='/usr/ucb/echo -n'
1901   else
1902     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1903     as_echo_n_body='eval
1904       arg=$1;
1905       case $arg in #(
1906       *"$as_nl"*)
1907         expr "X$arg" : "X\\(.*\\)$as_nl";
1908         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1909       esac;
1910       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1911     '
1912     export as_echo_n_body
1913     as_echo_n='sh -c $as_echo_n_body as_echo'
1914   fi
1915   export as_echo_body
1916   as_echo='sh -c $as_echo_body as_echo'
1917 fi
1918
1919 # The user is always right.
1920 if test "${PATH_SEPARATOR+set}" != set; then
1921   PATH_SEPARATOR=:
1922   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1923     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1924       PATH_SEPARATOR=';'
1925   }
1926 fi
1927
1928
1929 # IFS
1930 # We need space, tab and new line, in precisely that order.  Quoting is
1931 # there to prevent editors from complaining about space-tab.
1932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1933 # splitting by setting IFS to empty value.)
1934 IFS=" ""        $as_nl"
1935
1936 # Find who we are.  Look in the path if we contain no directory separator.
1937 as_myself=
1938 case $0 in #((
1939   *[\\/]* ) as_myself=$0 ;;
1940   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1942 do
1943   IFS=$as_save_IFS
1944   test -z "$as_dir" && as_dir=.
1945     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1946   done
1947 IFS=$as_save_IFS
1948
1949      ;;
1950 esac
1951 # We did not find ourselves, most probably we were run as `sh COMMAND'
1952 # in which case we are not to be found in the path.
1953 if test "x$as_myself" = x; then
1954   as_myself=$0
1955 fi
1956 if test ! -f "$as_myself"; then
1957   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1958   exit 1
1959 fi
1960
1961 # Unset variables that we do not need and which cause bugs (e.g. in
1962 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1963 # suppresses any "Segmentation fault" message there.  '((' could
1964 # trigger a bug in pdksh 5.2.14.
1965 for as_var in BASH_ENV ENV MAIL MAILPATH
1966 do eval test x\${$as_var+set} = xset \
1967   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1968 done
1969 PS1='$ '
1970 PS2='> '
1971 PS4='+ '
1972
1973 # NLS nuisances.
1974 LC_ALL=C
1975 export LC_ALL
1976 LANGUAGE=C
1977 export LANGUAGE
1978
1979 # CDPATH.
1980 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1981
1982
1983 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1984 # ----------------------------------------
1985 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1986 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1987 # script with STATUS, using 1 if that was 0.
1988 as_fn_error ()
1989 {
1990   as_status=$1; test $as_status -eq 0 && as_status=1
1991   if test "$4"; then
1992     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1994   fi
1995   $as_echo "$as_me: error: $2" >&2
1996   as_fn_exit $as_status
1997 } # as_fn_error
1998
1999
2000 # as_fn_set_status STATUS
2001 # -----------------------
2002 # Set $? to STATUS, without forking.
2003 as_fn_set_status ()
2004 {
2005   return $1
2006 } # as_fn_set_status
2007
2008 # as_fn_exit STATUS
2009 # -----------------
2010 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2011 as_fn_exit ()
2012 {
2013   set +e
2014   as_fn_set_status $1
2015   exit $1
2016 } # as_fn_exit
2017
2018 # as_fn_unset VAR
2019 # ---------------
2020 # Portably unset VAR.
2021 as_fn_unset ()
2022 {
2023   { eval $1=; unset $1;}
2024 }
2025 as_unset=as_fn_unset
2026 # as_fn_append VAR VALUE
2027 # ----------------------
2028 # Append the text in VALUE to the end of the definition contained in VAR. Take
2029 # advantage of any shell optimizations that allow amortized linear growth over
2030 # repeated appends, instead of the typical quadratic growth present in naive
2031 # implementations.
2032 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2033   eval 'as_fn_append ()
2034   {
2035     eval $1+=\$2
2036   }'
2037 else
2038   as_fn_append ()
2039   {
2040     eval $1=\$$1\$2
2041   }
2042 fi # as_fn_append
2043
2044 # as_fn_arith ARG...
2045 # ------------------
2046 # Perform arithmetic evaluation on the ARGs, and store the result in the
2047 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2048 # must be portable across $(()) and expr.
2049 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2050   eval 'as_fn_arith ()
2051   {
2052     as_val=$(( $* ))
2053   }'
2054 else
2055   as_fn_arith ()
2056   {
2057     as_val=`expr "$@" || test $? -eq 1`
2058   }
2059 fi # as_fn_arith
2060
2061
2062 if expr a : '\(a\)' >/dev/null 2>&1 &&
2063    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2064   as_expr=expr
2065 else
2066   as_expr=false
2067 fi
2068
2069 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2070   as_basename=basename
2071 else
2072   as_basename=false
2073 fi
2074
2075 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2076   as_dirname=dirname
2077 else
2078   as_dirname=false
2079 fi
2080
2081 as_me=`$as_basename -- "$0" ||
2082 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2083          X"$0" : 'X\(//\)$' \| \
2084          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2085 $as_echo X/"$0" |
2086     sed '/^.*\/\([^/][^/]*\)\/*$/{
2087             s//\1/
2088             q
2089           }
2090           /^X\/\(\/\/\)$/{
2091             s//\1/
2092             q
2093           }
2094           /^X\/\(\/\).*/{
2095             s//\1/
2096             q
2097           }
2098           s/.*/./; q'`
2099
2100 # Avoid depending upon Character Ranges.
2101 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2102 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2103 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2104 as_cr_digits='0123456789'
2105 as_cr_alnum=$as_cr_Letters$as_cr_digits
2106
2107 ECHO_C= ECHO_N= ECHO_T=
2108 case `echo -n x` in #(((((
2109 -n*)
2110   case `echo 'xy\c'` in
2111   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2112   xy)  ECHO_C='\c';;
2113   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2114        ECHO_T=' ';;
2115   esac;;
2116 *)
2117   ECHO_N='-n';;
2118 esac
2119
2120 rm -f conf$$ conf$$.exe conf$$.file
2121 if test -d conf$$.dir; then
2122   rm -f conf$$.dir/conf$$.file
2123 else
2124   rm -f conf$$.dir
2125   mkdir conf$$.dir 2>/dev/null
2126 fi
2127 if (echo >conf$$.file) 2>/dev/null; then
2128   if ln -s conf$$.file conf$$ 2>/dev/null; then
2129     as_ln_s='ln -s'
2130     # ... but there are two gotchas:
2131     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2132     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2133     # In both cases, we have to default to `cp -pR'.
2134     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2135       as_ln_s='cp -pR'
2136   elif ln conf$$.file conf$$ 2>/dev/null; then
2137     as_ln_s=ln
2138   else
2139     as_ln_s='cp -pR'
2140   fi
2141 else
2142   as_ln_s='cp -pR'
2143 fi
2144 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2145 rmdir conf$$.dir 2>/dev/null
2146
2147
2148 # as_fn_mkdir_p
2149 # -------------
2150 # Create "$as_dir" as a directory, including parents if necessary.
2151 as_fn_mkdir_p ()
2152 {
2153
2154   case $as_dir in #(
2155   -*) as_dir=./$as_dir;;
2156   esac
2157   test -d "$as_dir" || eval $as_mkdir_p || {
2158     as_dirs=
2159     while :; do
2160       case $as_dir in #(
2161       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2162       *) as_qdir=$as_dir;;
2163       esac
2164       as_dirs="'$as_qdir' $as_dirs"
2165       as_dir=`$as_dirname -- "$as_dir" ||
2166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2167          X"$as_dir" : 'X\(//\)[^/]' \| \
2168          X"$as_dir" : 'X\(//\)$' \| \
2169          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2170 $as_echo X"$as_dir" |
2171     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2172             s//\1/
2173             q
2174           }
2175           /^X\(\/\/\)[^/].*/{
2176             s//\1/
2177             q
2178           }
2179           /^X\(\/\/\)$/{
2180             s//\1/
2181             q
2182           }
2183           /^X\(\/\).*/{
2184             s//\1/
2185             q
2186           }
2187           s/.*/./; q'`
2188       test -d "$as_dir" && break
2189     done
2190     test -z "$as_dirs" || eval "mkdir $as_dirs"
2191   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2192
2193
2194 } # as_fn_mkdir_p
2195 if mkdir -p . 2>/dev/null; then
2196   as_mkdir_p='mkdir -p "$as_dir"'
2197 else
2198   test -d ./-p && rmdir ./-p
2199   as_mkdir_p=false
2200 fi
2201
2202
2203 # as_fn_executable_p FILE
2204 # -----------------------
2205 # Test if FILE is an executable regular file.
2206 as_fn_executable_p ()
2207 {
2208   test -f "$1" && test -x "$1"
2209 } # as_fn_executable_p
2210 as_test_x='test -x'
2211 as_executable_p=as_fn_executable_p
2212
2213 # Sed expression to map a string onto a valid CPP name.
2214 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2215
2216 # Sed expression to map a string onto a valid variable name.
2217 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2218
2219
2220 exec 6>&1
2221 ## ----------------------------------- ##
2222 ## Main body of $CONFIG_STATUS script. ##
2223 ## ----------------------------------- ##
2224 _ASEOF
2225 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2226
2227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2228 # Save the log message, to keep $0 and so on meaningful, and to
2229 # report actual input values of CONFIG_FILES etc. instead of their
2230 # values after options handling.
2231 ac_log="
2232 This file was extended by $as_me, which was
2233 generated by GNU Autoconf 2.69.  Invocation command line was
2234
2235   CONFIG_FILES    = $CONFIG_FILES
2236   CONFIG_HEADERS  = $CONFIG_HEADERS
2237   CONFIG_LINKS    = $CONFIG_LINKS
2238   CONFIG_COMMANDS = $CONFIG_COMMANDS
2239   $ $0 $@
2240
2241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 "
2243
2244 _ACEOF
2245
2246 case $ac_config_files in *"
2247 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2248 esac
2249
2250
2251
2252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2253 # Files that config.status was made for.
2254 config_files="$ac_config_files"
2255
2256 _ACEOF
2257
2258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2259 ac_cs_usage="\
2260 \`$as_me' instantiates files and other configuration actions
2261 from templates according to the current configuration.  Unless the files
2262 and actions are specified as TAGs, all are instantiated by default.
2263
2264 Usage: $0 [OPTION]... [TAG]...
2265
2266   -h, --help       print this help, then exit
2267   -V, --version    print version number and configuration settings, then exit
2268       --config     print configuration, then exit
2269   -q, --quiet, --silent
2270                    do not print progress messages
2271   -d, --debug      don't remove temporary files
2272       --recheck    update $as_me by reconfiguring in the same conditions
2273       --file=FILE[:TEMPLATE]
2274                    instantiate the configuration file FILE
2275
2276 Configuration files:
2277 $config_files
2278
2279 Report bugs to the package provider."
2280
2281 _ACEOF
2282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2283 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2284 ac_cs_version="\\
2285 config.status
2286 configured by $0, generated by GNU Autoconf 2.69,
2287   with options \\"\$ac_cs_config\\"
2288
2289 Copyright (C) 2012 Free Software Foundation, Inc.
2290 This config.status script is free software; the Free Software Foundation
2291 gives unlimited permission to copy, distribute and modify it."
2292
2293 ac_pwd='$ac_pwd'
2294 srcdir='$srcdir'
2295 test -n "\$AWK" || AWK=awk
2296 _ACEOF
2297
2298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2299 # The default lists apply if the user does not specify any file.
2300 ac_need_defaults=:
2301 while test $# != 0
2302 do
2303   case $1 in
2304   --*=?*)
2305     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2306     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2307     ac_shift=:
2308     ;;
2309   --*=)
2310     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2311     ac_optarg=
2312     ac_shift=:
2313     ;;
2314   *)
2315     ac_option=$1
2316     ac_optarg=$2
2317     ac_shift=shift
2318     ;;
2319   esac
2320
2321   case $ac_option in
2322   # Handling of the options.
2323   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2324     ac_cs_recheck=: ;;
2325   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2326     $as_echo "$ac_cs_version"; exit ;;
2327   --config | --confi | --conf | --con | --co | --c )
2328     $as_echo "$ac_cs_config"; exit ;;
2329   --debug | --debu | --deb | --de | --d | -d )
2330     debug=: ;;
2331   --file | --fil | --fi | --f )
2332     $ac_shift
2333     case $ac_optarg in
2334     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2335     '') as_fn_error $? "missing file argument" ;;
2336     esac
2337     as_fn_append CONFIG_FILES " '$ac_optarg'"
2338     ac_need_defaults=false;;
2339   --he | --h |  --help | --hel | -h )
2340     $as_echo "$ac_cs_usage"; exit ;;
2341   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2342   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2343     ac_cs_silent=: ;;
2344
2345   # This is an error.
2346   -*) as_fn_error $? "unrecognized option: \`$1'
2347 Try \`$0 --help' for more information." ;;
2348
2349   *) as_fn_append ac_config_targets " $1"
2350      ac_need_defaults=false ;;
2351
2352   esac
2353   shift
2354 done
2355
2356 ac_configure_extra_args=
2357
2358 if $ac_cs_silent; then
2359   exec 6>/dev/null
2360   ac_configure_extra_args="$ac_configure_extra_args --silent"
2361 fi
2362
2363 _ACEOF
2364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2365 if \$ac_cs_recheck; then
2366   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2367   shift
2368   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2369   CONFIG_SHELL='$SHELL'
2370   export CONFIG_SHELL
2371   exec "\$@"
2372 fi
2373
2374 _ACEOF
2375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2376 exec 5>>config.log
2377 {
2378   echo
2379   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2380 ## Running $as_me. ##
2381 _ASBOX
2382   $as_echo "$ac_log"
2383 } >&5
2384
2385 _ACEOF
2386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2387 _ACEOF
2388
2389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2390
2391 # Handling of arguments.
2392 for ac_config_target in $ac_config_targets
2393 do
2394   case $ac_config_target in
2395     "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;;
2396
2397   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2398   esac
2399 done
2400
2401
2402 # If the user did not use the arguments to specify the items to instantiate,
2403 # then the envvar interface is used.  Set only those that are not.
2404 # We use the long form for the default assignment because of an extremely
2405 # bizarre bug on SunOS 4.1.3.
2406 if $ac_need_defaults; then
2407   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2408 fi
2409
2410 # Have a temporary directory for convenience.  Make it in the build tree
2411 # simply because there is no reason against having it here, and in addition,
2412 # creating and moving files from /tmp can sometimes cause problems.
2413 # Hook for its removal unless debugging.
2414 # Note that there is a small window in which the directory will not be cleaned:
2415 # after its creation but before its name has been assigned to `$tmp'.
2416 $debug ||
2417 {
2418   tmp= ac_tmp=
2419   trap 'exit_status=$?
2420   : "${ac_tmp:=$tmp}"
2421   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2422 ' 0
2423   trap 'as_fn_exit 1' 1 2 13 15
2424 }
2425 # Create a (secure) tmp directory for tmp files.
2426
2427 {
2428   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2429   test -d "$tmp"
2430 }  ||
2431 {
2432   tmp=./conf$$-$RANDOM
2433   (umask 077 && mkdir "$tmp")
2434 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2435 ac_tmp=$tmp
2436
2437 # Set up the scripts for CONFIG_FILES section.
2438 # No need to generate them if there are no CONFIG_FILES.
2439 # This happens for instance with `./config.status config.h'.
2440 if test -n "$CONFIG_FILES"; then
2441
2442
2443 ac_cr=`echo X | tr X '\015'`
2444 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2445 # But we know of no other shell where ac_cr would be empty at this
2446 # point, so we can use a bashism as a fallback.
2447 if test "x$ac_cr" = x; then
2448   eval ac_cr=\$\'\\r\'
2449 fi
2450 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2451 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2452   ac_cs_awk_cr='\\r'
2453 else
2454   ac_cs_awk_cr=$ac_cr
2455 fi
2456
2457 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2458 _ACEOF
2459
2460
2461 {
2462   echo "cat >conf$$subs.awk <<_ACEOF" &&
2463   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2464   echo "_ACEOF"
2465 } >conf$$subs.sh ||
2466   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2467 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2468 ac_delim='%!_!# '
2469 for ac_last_try in false false false false false :; do
2470   . ./conf$$subs.sh ||
2471     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2472
2473   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2474   if test $ac_delim_n = $ac_delim_num; then
2475     break
2476   elif $ac_last_try; then
2477     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2478   else
2479     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2480   fi
2481 done
2482 rm -f conf$$subs.sh
2483
2484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2485 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2486 _ACEOF
2487 sed -n '
2488 h
2489 s/^/S["/; s/!.*/"]=/
2490 p
2491 g
2492 s/^[^!]*!//
2493 :repl
2494 t repl
2495 s/'"$ac_delim"'$//
2496 t delim
2497 :nl
2498 h
2499 s/\(.\{148\}\)..*/\1/
2500 t more1
2501 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2502 p
2503 n
2504 b repl
2505 :more1
2506 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2507 p
2508 g
2509 s/.\{148\}//
2510 t nl
2511 :delim
2512 h
2513 s/\(.\{148\}\)..*/\1/
2514 t more2
2515 s/["\\]/\\&/g; s/^/"/; s/$/"/
2516 p
2517 b
2518 :more2
2519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2520 p
2521 g
2522 s/.\{148\}//
2523 t delim
2524 ' <conf$$subs.awk | sed '
2525 /^[^""]/{
2526   N
2527   s/\n//
2528 }
2529 ' >>$CONFIG_STATUS || ac_write_fail=1
2530 rm -f conf$$subs.awk
2531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2532 _ACAWK
2533 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2534   for (key in S) S_is_set[key] = 1
2535   FS = "\a"
2536
2537 }
2538 {
2539   line = $ 0
2540   nfields = split(line, field, "@")
2541   substed = 0
2542   len = length(field[1])
2543   for (i = 2; i < nfields; i++) {
2544     key = field[i]
2545     keylen = length(key)
2546     if (S_is_set[key]) {
2547       value = S[key]
2548       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2549       len += length(value) + length(field[++i])
2550       substed = 1
2551     } else
2552       len += 1 + keylen
2553   }
2554
2555   print line
2556 }
2557
2558 _ACAWK
2559 _ACEOF
2560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2561 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2562   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2563 else
2564   cat
2565 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2566   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2567 _ACEOF
2568
2569 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2570 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2571 # trailing colons and then remove the whole line if VPATH becomes empty
2572 # (actually we leave an empty line to preserve line numbers).
2573 if test "x$srcdir" = x.; then
2574   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
2575 h
2576 s///
2577 s/^/:/
2578 s/[      ]*$/:/
2579 s/:\$(srcdir):/:/g
2580 s/:\${srcdir}:/:/g
2581 s/:@srcdir@:/:/g
2582 s/^:*//
2583 s/:*$//
2584 x
2585 s/\(=[   ]*\).*/\1/
2586 G
2587 s/\n//
2588 s/^[^=]*=[       ]*$//
2589 }'
2590 fi
2591
2592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2593 fi # test -n "$CONFIG_FILES"
2594
2595
2596 eval set X "  :F $CONFIG_FILES      "
2597 shift
2598 for ac_tag
2599 do
2600   case $ac_tag in
2601   :[FHLC]) ac_mode=$ac_tag; continue;;
2602   esac
2603   case $ac_mode$ac_tag in
2604   :[FHL]*:*);;
2605   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2606   :[FH]-) ac_tag=-:-;;
2607   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2608   esac
2609   ac_save_IFS=$IFS
2610   IFS=:
2611   set x $ac_tag
2612   IFS=$ac_save_IFS
2613   shift
2614   ac_file=$1
2615   shift
2616
2617   case $ac_mode in
2618   :L) ac_source=$1;;
2619   :[FH])
2620     ac_file_inputs=
2621     for ac_f
2622     do
2623       case $ac_f in
2624       -) ac_f="$ac_tmp/stdin";;
2625       *) # Look for the file first in the build tree, then in the source tree
2626          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2627          # because $ac_f cannot contain `:'.
2628          test -f "$ac_f" ||
2629            case $ac_f in
2630            [\\/$]*) false;;
2631            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2632            esac ||
2633            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2634       esac
2635       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2636       as_fn_append ac_file_inputs " '$ac_f'"
2637     done
2638
2639     # Let's still pretend it is `configure' which instantiates (i.e., don't
2640     # use $as_me), people would be surprised to read:
2641     #    /* config.h.  Generated by config.status.  */
2642     configure_input='Generated from '`
2643           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2644         `' by configure.'
2645     if test x"$ac_file" != x-; then
2646       configure_input="$ac_file.  $configure_input"
2647       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2648 $as_echo "$as_me: creating $ac_file" >&6;}
2649     fi
2650     # Neutralize special characters interpreted by sed in replacement strings.
2651     case $configure_input in #(
2652     *\&* | *\|* | *\\* )
2653        ac_sed_conf_input=`$as_echo "$configure_input" |
2654        sed 's/[\\\\&|]/\\\\&/g'`;; #(
2655     *) ac_sed_conf_input=$configure_input;;
2656     esac
2657
2658     case $ac_tag in
2659     *:-:* | *:-) cat >"$ac_tmp/stdin" \
2660       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2661     esac
2662     ;;
2663   esac
2664
2665   ac_dir=`$as_dirname -- "$ac_file" ||
2666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2667          X"$ac_file" : 'X\(//\)[^/]' \| \
2668          X"$ac_file" : 'X\(//\)$' \| \
2669          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2670 $as_echo X"$ac_file" |
2671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2672             s//\1/
2673             q
2674           }
2675           /^X\(\/\/\)[^/].*/{
2676             s//\1/
2677             q
2678           }
2679           /^X\(\/\/\)$/{
2680             s//\1/
2681             q
2682           }
2683           /^X\(\/\).*/{
2684             s//\1/
2685             q
2686           }
2687           s/.*/./; q'`
2688   as_dir="$ac_dir"; as_fn_mkdir_p
2689   ac_builddir=.
2690
2691 case "$ac_dir" in
2692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2693 *)
2694   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2695   # A ".." for each directory in $ac_dir_suffix.
2696   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2697   case $ac_top_builddir_sub in
2698   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2699   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2700   esac ;;
2701 esac
2702 ac_abs_top_builddir=$ac_pwd
2703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2704 # for backward compatibility:
2705 ac_top_builddir=$ac_top_build_prefix
2706
2707 case $srcdir in
2708   .)  # We are building in place.
2709     ac_srcdir=.
2710     ac_top_srcdir=$ac_top_builddir_sub
2711     ac_abs_top_srcdir=$ac_pwd ;;
2712   [\\/]* | ?:[\\/]* )  # Absolute name.
2713     ac_srcdir=$srcdir$ac_dir_suffix;
2714     ac_top_srcdir=$srcdir
2715     ac_abs_top_srcdir=$srcdir ;;
2716   *) # Relative name.
2717     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2718     ac_top_srcdir=$ac_top_build_prefix$srcdir
2719     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2720 esac
2721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2722
2723
2724   case $ac_mode in
2725   :F)
2726   #
2727   # CONFIG_FILE
2728   #
2729
2730 _ACEOF
2731
2732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2733 # If the template does not know about datarootdir, expand it.
2734 # FIXME: This hack should be removed a few years after 2.60.
2735 ac_datarootdir_hack=; ac_datarootdir_seen=
2736 ac_sed_dataroot='
2737 /datarootdir/ {
2738   p
2739   q
2740 }
2741 /@datadir@/p
2742 /@docdir@/p
2743 /@infodir@/p
2744 /@localedir@/p
2745 /@mandir@/p'
2746 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2747 *datarootdir*) ac_datarootdir_seen=yes;;
2748 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2749   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2750 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2751 _ACEOF
2752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2753   ac_datarootdir_hack='
2754   s&@datadir@&$datadir&g
2755   s&@docdir@&$docdir&g
2756   s&@infodir@&$infodir&g
2757   s&@localedir@&$localedir&g
2758   s&@mandir@&$mandir&g
2759   s&\\\${datarootdir}&$datarootdir&g' ;;
2760 esac
2761 _ACEOF
2762
2763 # Neutralize VPATH when `$srcdir' = `.'.
2764 # Shell code in configure.ac might set extrasub.
2765 # FIXME: do we really want to maintain this feature?
2766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2767 ac_sed_extra="$ac_vpsub
2768 $extrasub
2769 _ACEOF
2770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2771 :t
2772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2773 s|@configure_input@|$ac_sed_conf_input|;t t
2774 s&@top_builddir@&$ac_top_builddir_sub&;t t
2775 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2776 s&@srcdir@&$ac_srcdir&;t t
2777 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2778 s&@top_srcdir@&$ac_top_srcdir&;t t
2779 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2780 s&@builddir@&$ac_builddir&;t t
2781 s&@abs_builddir@&$ac_abs_builddir&;t t
2782 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2783 $ac_datarootdir_hack
2784 "
2785 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2786   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2787
2788 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2789   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2790   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
2791       "$ac_tmp/out"`; test -z "$ac_out"; } &&
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2793 which seems to be undefined.  Please make sure it is defined" >&5
2794 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2795 which seems to be undefined.  Please make sure it is defined" >&2;}
2796
2797   rm -f "$ac_tmp/stdin"
2798   case $ac_file in
2799   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2800   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2801   esac \
2802   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2803  ;;
2804
2805
2806
2807   esac
2808
2809 done # for ac_tag
2810
2811
2812 as_fn_exit 0
2813 _ACEOF
2814 ac_clean_files=$ac_clean_files_save
2815
2816 test $ac_write_fail = 0 ||
2817   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2818
2819
2820 # configure is writing to config.log, and then calls config.status.
2821 # config.status does its own redirection, appending to config.log.
2822 # Unfortunately, on DOS this fails, as config.log is still kept open
2823 # by configure, so config.status won't be able to write to it; its
2824 # output is simply discarded.  So we exec the FD to /dev/null,
2825 # effectively closing config.log, so it can be properly (re)opened and
2826 # appended to by config.status.  When coming back to configure, we
2827 # need to make the FD available again.
2828 if test "$no_create" != yes; then
2829   ac_cs_success=:
2830   ac_config_status_args=
2831   test "$silent" = yes &&
2832     ac_config_status_args="$ac_config_status_args --quiet"
2833   exec 5>/dev/null
2834   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2835   exec 5>>config.log
2836   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2837   # would make configure fail if this is the last instruction.
2838   $ac_cs_success || as_fn_exit 1
2839 fi
2840 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2841   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2842 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2843 fi
2844
2845