Install serial-getty@ units under getty.target
[external/systemd.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for systemd 43.
4 #
5 # Report bugs to <systemd-devel@lists.freedesktop.org>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: systemd-devel@lists.freedesktop.org about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549 as_awk_strverscmp='
550   # Use only awk features that work with 7th edition Unix awk (1978).
551   # My, what an old awk you have, Mr. Solaris!
552   END {
553     while (length(v1) && length(v2)) {
554       # Set d1 to be the next thing to compare from v1, and likewise for d2.
555       # Normally this is a single character, but if v1 and v2 contain digits,
556       # compare them as integers and fractions as strverscmp does.
557       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
558         # Split v1 and v2 into their leading digit string components d1 and d2,
559         # and advance v1 and v2 past the leading digit strings.
560         for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
561         for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
562         d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
563         d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
564         if (d1 ~ /^0/) {
565           if (d2 ~ /^0/) {
566             # Compare two fractions.
567             while (d1 ~ /^0/ && d2 ~ /^0/) {
568               d1 = substr(d1, 2); len1--
569               d2 = substr(d2, 2); len2--
570             }
571             if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
572               # The two components differ in length, and the common prefix
573               # contains only leading zeros.  Consider the longer to be less.
574               d1 = -len1
575               d2 = -len2
576             } else {
577               # Otherwise, compare as strings.
578               d1 = "x" d1
579               d2 = "x" d2
580             }
581           } else {
582             # A fraction is less than an integer.
583             exit 1
584           }
585         } else {
586           if (d2 ~ /^0/) {
587             # An integer is greater than a fraction.
588             exit 2
589           } else {
590             # Compare two integers.
591             d1 += 0
592             d2 += 0
593           }
594         }
595       } else {
596         # The normal case, without worrying about digits.
597         d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
598         d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
599       }
600       if (d1 < d2) exit 1
601       if (d1 > d2) exit 2
602     }
603     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
604     # which mishandles some comparisons of empty strings to integers.
605     if (length(v2)) exit 1
606     if (length(v1)) exit 2
607   }
608 '
609
610 test -n "$DJDIR" || exec 7<&0 </dev/null
611 exec 6>&1
612
613 # Name of the host.
614 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
615 # so uname gets run too.
616 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
617
618 #
619 # Initializations.
620 #
621 ac_default_prefix=/usr/local
622 ac_clean_files=
623 ac_config_libobj_dir=.
624 LIBOBJS=
625 cross_compiling=no
626 subdirs=
627 MFLAGS=
628 MAKEFLAGS=
629
630 # Identity of this package.
631 PACKAGE_NAME='systemd'
632 PACKAGE_TARNAME='systemd'
633 PACKAGE_VERSION='43'
634 PACKAGE_STRING='systemd 43'
635 PACKAGE_BUGREPORT='systemd-devel@lists.freedesktop.org'
636 PACKAGE_URL=''
637
638 ac_unique_file="src/main.c"
639 # Factoring default headers for most tests.
640 ac_includes_default="\
641 #include <stdio.h>
642 #ifdef HAVE_SYS_TYPES_H
643 # include <sys/types.h>
644 #endif
645 #ifdef HAVE_SYS_STAT_H
646 # include <sys/stat.h>
647 #endif
648 #ifdef STDC_HEADERS
649 # include <stdlib.h>
650 # include <stddef.h>
651 #else
652 # ifdef HAVE_STDLIB_H
653 #  include <stdlib.h>
654 # endif
655 #endif
656 #ifdef HAVE_STRING_H
657 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
658 #  include <memory.h>
659 # endif
660 # include <string.h>
661 #endif
662 #ifdef HAVE_STRINGS_H
663 # include <strings.h>
664 #endif
665 #ifdef HAVE_INTTYPES_H
666 # include <inttypes.h>
667 #endif
668 #ifdef HAVE_STDINT_H
669 # include <stdint.h>
670 #endif
671 #ifdef HAVE_UNISTD_H
672 # include <unistd.h>
673 #endif"
674
675 ac_default_prefix=/usr
676 ac_subst_vars='am__EXEEXT_FALSE
677 am__EXEEXT_TRUE
678 LTLIBOBJS
679 LIBOBJS
680 rootlibdir
681 rootprefix
682 pamlibdir
683 udevrulesdir
684 dbusinterfacedir
685 dbussystemservicedir
686 dbussessionservicedir
687 dbuspolicydir
688 HAVE_SYSV_COMPAT_FALSE
689 HAVE_SYSV_COMPAT_TRUE
690 HAVE_PLYMOUTH_FALSE
691 HAVE_PLYMOUTH_TRUE
692 TARGET_MAGEIA_FALSE
693 TARGET_MAGEIA_TRUE
694 TARGET_ANGSTROM_FALSE
695 TARGET_ANGSTROM_TRUE
696 TARGET_MEEGO_FALSE
697 TARGET_MEEGO_TRUE
698 TARGET_MANDRIVA_FALSE
699 TARGET_MANDRIVA_TRUE
700 TARGET_ALTLINUX_FALSE
701 TARGET_ALTLINUX_TRUE
702 TARGET_FRUGALWARE_FALSE
703 TARGET_FRUGALWARE_TRUE
704 TARGET_SLACKWARE_FALSE
705 TARGET_SLACKWARE_TRUE
706 TARGET_GENTOO_FALSE
707 TARGET_GENTOO_TRUE
708 TARGET_ARCH_FALSE
709 TARGET_ARCH_TRUE
710 TARGET_DEBIAN_OR_UBUNTU_FALSE
711 TARGET_DEBIAN_OR_UBUNTU_TRUE
712 TARGET_UBUNTU_FALSE
713 TARGET_UBUNTU_TRUE
714 TARGET_DEBIAN_FALSE
715 TARGET_DEBIAN_TRUE
716 TARGET_SUSE_FALSE
717 TARGET_SUSE_TRUE
718 TARGET_FEDORA_FALSE
719 TARGET_FEDORA_TRUE
720 M4_DEFINES
721 SYSTEM_SYSVRCND_PATH
722 SYSTEM_SYSVINIT_PATH
723 M4
724 HAVE_XSLTPROC_FALSE
725 HAVE_XSLTPROC_TRUE
726 XSLTPROC
727 HAVE_VALAC_FALSE
728 HAVE_VALAC_TRUE
729 VAPIDIR
730 VALAC
731 LIBNOTIFY_LIBS
732 LIBNOTIFY_CFLAGS
733 HAVE_GTK_FALSE
734 HAVE_GTK_TRUE
735 GTK_LIBS
736 GTK_CFLAGS
737 ENABLE_MANPAGES_FALSE
738 ENABLE_MANPAGES_TRUE
739 ENABLE_COREDUMP_FALSE
740 ENABLE_COREDUMP_TRUE
741 ENABLE_LOCALED_FALSE
742 ENABLE_LOCALED_TRUE
743 ENABLE_TIMEDATED_FALSE
744 ENABLE_TIMEDATED_TRUE
745 ENABLE_HOSTNAMED_FALSE
746 ENABLE_HOSTNAMED_TRUE
747 ENABLE_LOGIND_FALSE
748 ENABLE_LOGIND_TRUE
749 ENABLE_RANDOMSEED_FALSE
750 ENABLE_RANDOMSEED_TRUE
751 ENABLE_QUOTACHECK_FALSE
752 ENABLE_QUOTACHECK_TRUE
753 ENABLE_READAHEAD_FALSE
754 ENABLE_READAHEAD_TRUE
755 ENABLE_VCONSOLE_FALSE
756 ENABLE_VCONSOLE_TRUE
757 ENABLE_BINFMT_FALSE
758 ENABLE_BINFMT_TRUE
759 HAVE_LIBCRYPTSETUP_FALSE
760 HAVE_LIBCRYPTSETUP_TRUE
761 LIBCRYPTSETUP_LIBS
762 LIBCRYPTSETUP_CFLAGS
763 AUDIT_LIBS
764 HAVE_ACL_FALSE
765 HAVE_ACL_TRUE
766 ACL_LIBS
767 HAVE_PAM_FALSE
768 HAVE_PAM_TRUE
769 PAM_LIBS
770 LIBWRAP_LIBS
771 HAVE_XZ_FALSE
772 HAVE_XZ_TRUE
773 XZ_LIBS
774 XZ_CFLAGS
775 HAVE_SELINUX_FALSE
776 HAVE_SELINUX_TRUE
777 SELINUX_LIBS
778 SELINUX_CFLAGS
779 KMOD_LIBS
780 KMOD_CFLAGS
781 DBUS_LIBS
782 DBUS_CFLAGS
783 UDEV_LIBS
784 UDEV_CFLAGS
785 PKG_CONFIG_LIBDIR
786 PKG_CONFIG_PATH
787 PKG_CONFIG
788 CAP_LIBS
789 OTOOL64
790 OTOOL
791 LIPO
792 NMEDIT
793 DSYMUTIL
794 MANIFEST_TOOL
795 RANLIB
796 ac_ct_AR
797 AR
798 DLLTOOL
799 OBJDUMP
800 NM
801 ac_ct_DUMPBIN
802 DUMPBIN
803 LD
804 FGREP
805 LIBTOOL
806 GPERF
807 STRINGS
808 OBJCOPY
809 SED
810 LN_S
811 GETTEXT_PACKAGE
812 DATADIRNAME
813 ALL_LINGUAS
814 INTLTOOL_PERL
815 GMSGFMT
816 MSGFMT
817 MSGMERGE
818 XGETTEXT
819 INTLTOOL_POLICY_RULE
820 INTLTOOL_SERVICE_RULE
821 INTLTOOL_THEME_RULE
822 INTLTOOL_SCHEMAS_RULE
823 INTLTOOL_CAVES_RULE
824 INTLTOOL_XML_NOMERGE_RULE
825 INTLTOOL_XML_RULE
826 INTLTOOL_KBD_RULE
827 INTLTOOL_XAM_RULE
828 INTLTOOL_UI_RULE
829 INTLTOOL_SOUNDLIST_RULE
830 INTLTOOL_SHEET_RULE
831 INTLTOOL_SERVER_RULE
832 INTLTOOL_PONG_RULE
833 INTLTOOL_OAF_RULE
834 INTLTOOL_PROP_RULE
835 INTLTOOL_KEYS_RULE
836 INTLTOOL_DIRECTORY_RULE
837 INTLTOOL_DESKTOP_RULE
838 INTLTOOL_EXTRACT
839 INTLTOOL_MERGE
840 INTLTOOL_UPDATE
841 USE_NLS
842 host_os
843 host_vendor
844 host_cpu
845 host
846 build_os
847 build_vendor
848 build_cpu
849 build
850 AM_BACKSLASH
851 AM_DEFAULT_VERBOSITY
852 AM_DEFAULT_V
853 AM_V
854 am__fastdepCC_FALSE
855 am__fastdepCC_TRUE
856 CCDEPMODE
857 am__nodep
858 AMDEPBACKSLASH
859 AMDEP_FALSE
860 AMDEP_TRUE
861 am__quote
862 am__include
863 DEPDIR
864 am__untar
865 am__tar
866 AMTAR
867 am__leading_dot
868 SET_MAKE
869 AWK
870 mkdir_p
871 MKDIR_P
872 INSTALL_STRIP_PROGRAM
873 STRIP
874 install_sh
875 MAKEINFO
876 AUTOHEADER
877 AUTOMAKE
878 AUTOCONF
879 ACLOCAL
880 VERSION
881 PACKAGE
882 CYGPATH_W
883 am__isrc
884 INSTALL_DATA
885 INSTALL_SCRIPT
886 INSTALL_PROGRAM
887 EGREP
888 GREP
889 CPP
890 OBJEXT
891 EXEEXT
892 ac_ct_CC
893 CPPFLAGS
894 LDFLAGS
895 CFLAGS
896 CC
897 target_alias
898 host_alias
899 build_alias
900 LIBS
901 ECHO_T
902 ECHO_N
903 ECHO_C
904 DEFS
905 mandir
906 localedir
907 libdir
908 psdir
909 pdfdir
910 dvidir
911 htmldir
912 infodir
913 docdir
914 oldincludedir
915 includedir
916 localstatedir
917 sharedstatedir
918 sysconfdir
919 datadir
920 datarootdir
921 libexecdir
922 sbindir
923 bindir
924 program_transform_name
925 prefix
926 exec_prefix
927 PACKAGE_URL
928 PACKAGE_BUGREPORT
929 PACKAGE_STRING
930 PACKAGE_VERSION
931 PACKAGE_TARNAME
932 PACKAGE_NAME
933 PATH_SEPARATOR
934 SHELL'
935 ac_subst_files=''
936 ac_user_opts='
937 enable_option_checking
938 enable_largefile
939 enable_dependency_tracking
940 enable_silent_rules
941 enable_nls
942 enable_shared
943 enable_static
944 with_pic
945 enable_fast_install
946 with_gnu_ld
947 with_sysroot
948 enable_libtool_lock
949 enable_selinux
950 enable_xz
951 enable_tcpwrap
952 enable_pam
953 enable_acl
954 enable_audit
955 enable_libcryptsetup
956 enable_binfmt
957 enable_vconsole
958 enable_readahead
959 enable_quotacheck
960 enable_randomseed
961 enable_logind
962 enable_hostnamed
963 enable_timedated
964 enable_localed
965 enable_coredump
966 enable_manpages
967 enable_gtk
968 with_distro
969 with_sysvinit_path
970 with_sysvrcd_path
971 with_tty_gid
972 enable_plymouth
973 with_dbuspolicydir
974 with_dbussessionservicedir
975 with_dbussystemservicedir
976 with_dbusinterfacedir
977 with_udevrulesdir
978 with_rootprefix
979 with_rootlibdir
980 with_pamlibdir
981 enable_split_usr
982 '
983       ac_precious_vars='build_alias
984 host_alias
985 target_alias
986 CC
987 CFLAGS
988 LDFLAGS
989 LIBS
990 CPPFLAGS
991 CPP
992 PKG_CONFIG
993 PKG_CONFIG_PATH
994 PKG_CONFIG_LIBDIR
995 UDEV_CFLAGS
996 UDEV_LIBS
997 DBUS_CFLAGS
998 DBUS_LIBS
999 KMOD_CFLAGS
1000 KMOD_LIBS
1001 SELINUX_CFLAGS
1002 SELINUX_LIBS
1003 XZ_CFLAGS
1004 XZ_LIBS
1005 LIBCRYPTSETUP_CFLAGS
1006 LIBCRYPTSETUP_LIBS
1007 GTK_CFLAGS
1008 GTK_LIBS
1009 LIBNOTIFY_CFLAGS
1010 LIBNOTIFY_LIBS'
1011
1012
1013 # Initialize some variables set by options.
1014 ac_init_help=
1015 ac_init_version=false
1016 ac_unrecognized_opts=
1017 ac_unrecognized_sep=
1018 # The variables have the same names as the options, with
1019 # dashes changed to underlines.
1020 cache_file=/dev/null
1021 exec_prefix=NONE
1022 no_create=
1023 no_recursion=
1024 prefix=NONE
1025 program_prefix=NONE
1026 program_suffix=NONE
1027 program_transform_name=s,x,x,
1028 silent=
1029 site=
1030 srcdir=
1031 verbose=
1032 x_includes=NONE
1033 x_libraries=NONE
1034
1035 # Installation directory options.
1036 # These are left unexpanded so users can "make install exec_prefix=/foo"
1037 # and all the variables that are supposed to be based on exec_prefix
1038 # by default will actually change.
1039 # Use braces instead of parens because sh, perl, etc. also accept them.
1040 # (The list follows the same order as the GNU Coding Standards.)
1041 bindir='${exec_prefix}/bin'
1042 sbindir='${exec_prefix}/sbin'
1043 libexecdir='${exec_prefix}/libexec'
1044 datarootdir='${prefix}/share'
1045 datadir='${datarootdir}'
1046 sysconfdir='${prefix}/etc'
1047 sharedstatedir='${prefix}/com'
1048 localstatedir='${prefix}/var'
1049 includedir='${prefix}/include'
1050 oldincludedir='/usr/include'
1051 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1052 infodir='${datarootdir}/info'
1053 htmldir='${docdir}'
1054 dvidir='${docdir}'
1055 pdfdir='${docdir}'
1056 psdir='${docdir}'
1057 libdir='${exec_prefix}/lib'
1058 localedir='${datarootdir}/locale'
1059 mandir='${datarootdir}/man'
1060
1061 ac_prev=
1062 ac_dashdash=
1063 for ac_option
1064 do
1065   # If the previous option needs an argument, assign it.
1066   if test -n "$ac_prev"; then
1067     eval $ac_prev=\$ac_option
1068     ac_prev=
1069     continue
1070   fi
1071
1072   case $ac_option in
1073   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1074   *=)   ac_optarg= ;;
1075   *)    ac_optarg=yes ;;
1076   esac
1077
1078   # Accept the important Cygnus configure options, so we can diagnose typos.
1079
1080   case $ac_dashdash$ac_option in
1081   --)
1082     ac_dashdash=yes ;;
1083
1084   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1085     ac_prev=bindir ;;
1086   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1087     bindir=$ac_optarg ;;
1088
1089   -build | --build | --buil | --bui | --bu)
1090     ac_prev=build_alias ;;
1091   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1092     build_alias=$ac_optarg ;;
1093
1094   -cache-file | --cache-file | --cache-fil | --cache-fi \
1095   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1096     ac_prev=cache_file ;;
1097   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1098   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1099     cache_file=$ac_optarg ;;
1100
1101   --config-cache | -C)
1102     cache_file=config.cache ;;
1103
1104   -datadir | --datadir | --datadi | --datad)
1105     ac_prev=datadir ;;
1106   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1107     datadir=$ac_optarg ;;
1108
1109   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1110   | --dataroo | --dataro | --datar)
1111     ac_prev=datarootdir ;;
1112   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1113   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1114     datarootdir=$ac_optarg ;;
1115
1116   -disable-* | --disable-*)
1117     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1118     # Reject names that are not valid shell variable names.
1119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120       as_fn_error $? "invalid feature name: $ac_useropt"
1121     ac_useropt_orig=$ac_useropt
1122     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123     case $ac_user_opts in
1124       *"
1125 "enable_$ac_useropt"
1126 "*) ;;
1127       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1128          ac_unrecognized_sep=', ';;
1129     esac
1130     eval enable_$ac_useropt=no ;;
1131
1132   -docdir | --docdir | --docdi | --doc | --do)
1133     ac_prev=docdir ;;
1134   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1135     docdir=$ac_optarg ;;
1136
1137   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1138     ac_prev=dvidir ;;
1139   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1140     dvidir=$ac_optarg ;;
1141
1142   -enable-* | --enable-*)
1143     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1144     # Reject names that are not valid shell variable names.
1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146       as_fn_error $? "invalid feature name: $ac_useropt"
1147     ac_useropt_orig=$ac_useropt
1148     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149     case $ac_user_opts in
1150       *"
1151 "enable_$ac_useropt"
1152 "*) ;;
1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1154          ac_unrecognized_sep=', ';;
1155     esac
1156     eval enable_$ac_useropt=\$ac_optarg ;;
1157
1158   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1159   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1160   | --exec | --exe | --ex)
1161     ac_prev=exec_prefix ;;
1162   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1163   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1164   | --exec=* | --exe=* | --ex=*)
1165     exec_prefix=$ac_optarg ;;
1166
1167   -gas | --gas | --ga | --g)
1168     # Obsolete; use --with-gas.
1169     with_gas=yes ;;
1170
1171   -help | --help | --hel | --he | -h)
1172     ac_init_help=long ;;
1173   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1174     ac_init_help=recursive ;;
1175   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1176     ac_init_help=short ;;
1177
1178   -host | --host | --hos | --ho)
1179     ac_prev=host_alias ;;
1180   -host=* | --host=* | --hos=* | --ho=*)
1181     host_alias=$ac_optarg ;;
1182
1183   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1184     ac_prev=htmldir ;;
1185   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1186   | --ht=*)
1187     htmldir=$ac_optarg ;;
1188
1189   -includedir | --includedir | --includedi | --included | --include \
1190   | --includ | --inclu | --incl | --inc)
1191     ac_prev=includedir ;;
1192   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1193   | --includ=* | --inclu=* | --incl=* | --inc=*)
1194     includedir=$ac_optarg ;;
1195
1196   -infodir | --infodir | --infodi | --infod | --info | --inf)
1197     ac_prev=infodir ;;
1198   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1199     infodir=$ac_optarg ;;
1200
1201   -libdir | --libdir | --libdi | --libd)
1202     ac_prev=libdir ;;
1203   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1204     libdir=$ac_optarg ;;
1205
1206   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1207   | --libexe | --libex | --libe)
1208     ac_prev=libexecdir ;;
1209   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1210   | --libexe=* | --libex=* | --libe=*)
1211     libexecdir=$ac_optarg ;;
1212
1213   -localedir | --localedir | --localedi | --localed | --locale)
1214     ac_prev=localedir ;;
1215   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1216     localedir=$ac_optarg ;;
1217
1218   -localstatedir | --localstatedir | --localstatedi | --localstated \
1219   | --localstate | --localstat | --localsta | --localst | --locals)
1220     ac_prev=localstatedir ;;
1221   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1222   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1223     localstatedir=$ac_optarg ;;
1224
1225   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1226     ac_prev=mandir ;;
1227   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1228     mandir=$ac_optarg ;;
1229
1230   -nfp | --nfp | --nf)
1231     # Obsolete; use --without-fp.
1232     with_fp=no ;;
1233
1234   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1235   | --no-cr | --no-c | -n)
1236     no_create=yes ;;
1237
1238   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1239   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1240     no_recursion=yes ;;
1241
1242   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1243   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1244   | --oldin | --oldi | --old | --ol | --o)
1245     ac_prev=oldincludedir ;;
1246   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1247   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1248   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1249     oldincludedir=$ac_optarg ;;
1250
1251   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1252     ac_prev=prefix ;;
1253   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1254     prefix=$ac_optarg ;;
1255
1256   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1257   | --program-pre | --program-pr | --program-p)
1258     ac_prev=program_prefix ;;
1259   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1260   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1261     program_prefix=$ac_optarg ;;
1262
1263   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1264   | --program-suf | --program-su | --program-s)
1265     ac_prev=program_suffix ;;
1266   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1267   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1268     program_suffix=$ac_optarg ;;
1269
1270   -program-transform-name | --program-transform-name \
1271   | --program-transform-nam | --program-transform-na \
1272   | --program-transform-n | --program-transform- \
1273   | --program-transform | --program-transfor \
1274   | --program-transfo | --program-transf \
1275   | --program-trans | --program-tran \
1276   | --progr-tra | --program-tr | --program-t)
1277     ac_prev=program_transform_name ;;
1278   -program-transform-name=* | --program-transform-name=* \
1279   | --program-transform-nam=* | --program-transform-na=* \
1280   | --program-transform-n=* | --program-transform-=* \
1281   | --program-transform=* | --program-transfor=* \
1282   | --program-transfo=* | --program-transf=* \
1283   | --program-trans=* | --program-tran=* \
1284   | --progr-tra=* | --program-tr=* | --program-t=*)
1285     program_transform_name=$ac_optarg ;;
1286
1287   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1288     ac_prev=pdfdir ;;
1289   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1290     pdfdir=$ac_optarg ;;
1291
1292   -psdir | --psdir | --psdi | --psd | --ps)
1293     ac_prev=psdir ;;
1294   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1295     psdir=$ac_optarg ;;
1296
1297   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1298   | -silent | --silent | --silen | --sile | --sil)
1299     silent=yes ;;
1300
1301   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1302     ac_prev=sbindir ;;
1303   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1304   | --sbi=* | --sb=*)
1305     sbindir=$ac_optarg ;;
1306
1307   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1308   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1309   | --sharedst | --shareds | --shared | --share | --shar \
1310   | --sha | --sh)
1311     ac_prev=sharedstatedir ;;
1312   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1313   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1314   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1315   | --sha=* | --sh=*)
1316     sharedstatedir=$ac_optarg ;;
1317
1318   -site | --site | --sit)
1319     ac_prev=site ;;
1320   -site=* | --site=* | --sit=*)
1321     site=$ac_optarg ;;
1322
1323   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1324     ac_prev=srcdir ;;
1325   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1326     srcdir=$ac_optarg ;;
1327
1328   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1329   | --syscon | --sysco | --sysc | --sys | --sy)
1330     ac_prev=sysconfdir ;;
1331   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1332   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1333     sysconfdir=$ac_optarg ;;
1334
1335   -target | --target | --targe | --targ | --tar | --ta | --t)
1336     ac_prev=target_alias ;;
1337   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1338     target_alias=$ac_optarg ;;
1339
1340   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1341     verbose=yes ;;
1342
1343   -version | --version | --versio | --versi | --vers | -V)
1344     ac_init_version=: ;;
1345
1346   -with-* | --with-*)
1347     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1348     # Reject names that are not valid shell variable names.
1349     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1350       as_fn_error $? "invalid package name: $ac_useropt"
1351     ac_useropt_orig=$ac_useropt
1352     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1353     case $ac_user_opts in
1354       *"
1355 "with_$ac_useropt"
1356 "*) ;;
1357       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1358          ac_unrecognized_sep=', ';;
1359     esac
1360     eval with_$ac_useropt=\$ac_optarg ;;
1361
1362   -without-* | --without-*)
1363     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1364     # Reject names that are not valid shell variable names.
1365     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1366       as_fn_error $? "invalid package name: $ac_useropt"
1367     ac_useropt_orig=$ac_useropt
1368     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1369     case $ac_user_opts in
1370       *"
1371 "with_$ac_useropt"
1372 "*) ;;
1373       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1374          ac_unrecognized_sep=', ';;
1375     esac
1376     eval with_$ac_useropt=no ;;
1377
1378   --x)
1379     # Obsolete; use --with-x.
1380     with_x=yes ;;
1381
1382   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1383   | --x-incl | --x-inc | --x-in | --x-i)
1384     ac_prev=x_includes ;;
1385   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1386   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1387     x_includes=$ac_optarg ;;
1388
1389   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1390   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1391     ac_prev=x_libraries ;;
1392   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1393   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1394     x_libraries=$ac_optarg ;;
1395
1396   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1397 Try \`$0 --help' for more information"
1398     ;;
1399
1400   *=*)
1401     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1402     # Reject names that are not valid shell variable names.
1403     case $ac_envvar in #(
1404       '' | [0-9]* | *[!_$as_cr_alnum]* )
1405       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1406     esac
1407     eval $ac_envvar=\$ac_optarg
1408     export $ac_envvar ;;
1409
1410   *)
1411     # FIXME: should be removed in autoconf 3.0.
1412     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1413     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1414       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1415     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1416     ;;
1417
1418   esac
1419 done
1420
1421 if test -n "$ac_prev"; then
1422   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1423   as_fn_error $? "missing argument to $ac_option"
1424 fi
1425
1426 if test -n "$ac_unrecognized_opts"; then
1427   case $enable_option_checking in
1428     no) ;;
1429     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1430     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1431   esac
1432 fi
1433
1434 # Check all directory arguments for consistency.
1435 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436                 datadir sysconfdir sharedstatedir localstatedir includedir \
1437                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438                 libdir localedir mandir
1439 do
1440   eval ac_val=\$$ac_var
1441   # Remove trailing slashes.
1442   case $ac_val in
1443     */ )
1444       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1445       eval $ac_var=\$ac_val;;
1446   esac
1447   # Be sure to have absolute directory names.
1448   case $ac_val in
1449     [\\/$]* | ?:[\\/]* )  continue;;
1450     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1451   esac
1452   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1453 done
1454
1455 # There might be people who depend on the old broken behavior: `$host'
1456 # used to hold the argument of --host etc.
1457 # FIXME: To remove some day.
1458 build=$build_alias
1459 host=$host_alias
1460 target=$target_alias
1461
1462 # FIXME: To remove some day.
1463 if test "x$host_alias" != x; then
1464   if test "x$build_alias" = x; then
1465     cross_compiling=maybe
1466     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1467     If a cross compiler is detected then cross compile mode will be used" >&2
1468   elif test "x$build_alias" != "x$host_alias"; then
1469     cross_compiling=yes
1470   fi
1471 fi
1472
1473 ac_tool_prefix=
1474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1475
1476 test "$silent" = yes && exec 6>/dev/null
1477
1478
1479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di=`ls -di .` &&
1481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1482   as_fn_error $? "working directory cannot be determined"
1483 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1484   as_fn_error $? "pwd does not report name of working directory"
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489   ac_srcdir_defaulted=yes
1490   # Try the directory containing this script, then the parent directory.
1491   ac_confdir=`$as_dirname -- "$as_myself" ||
1492 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493          X"$as_myself" : 'X\(//\)[^/]' \| \
1494          X"$as_myself" : 'X\(//\)$' \| \
1495          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1496 $as_echo X"$as_myself" |
1497     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498             s//\1/
1499             q
1500           }
1501           /^X\(\/\/\)[^/].*/{
1502             s//\1/
1503             q
1504           }
1505           /^X\(\/\/\)$/{
1506             s//\1/
1507             q
1508           }
1509           /^X\(\/\).*/{
1510             s//\1/
1511             q
1512           }
1513           s/.*/./; q'`
1514   srcdir=$ac_confdir
1515   if test ! -r "$srcdir/$ac_unique_file"; then
1516     srcdir=..
1517   fi
1518 else
1519   ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1524 fi
1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 ac_abs_confdir=`(
1527         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1528         pwd)`
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531   srcdir=.
1532 fi
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1536 case $srcdir in
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1538 esac
1539 for ac_var in $ac_precious_vars; do
1540   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541   eval ac_env_${ac_var}_value=\$${ac_var}
1542   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1544 done
1545
1546 #
1547 # Report the --help message.
1548 #
1549 if test "$ac_init_help" = "long"; then
1550   # Omit some internal or obsolete options to make the list less imposing.
1551   # This message is too long to be a string in the A/UX 3.1 sh.
1552   cat <<_ACEOF
1553 \`configure' configures systemd 43 to adapt to many kinds of systems.
1554
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1556
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE.  See below for descriptions of some of the useful variables.
1559
1560 Defaults for the options are specified in brackets.
1561
1562 Configuration:
1563   -h, --help              display this help and exit
1564       --help=short        display options specific to this package
1565       --help=recursive    display the short help of all the included packages
1566   -V, --version           display version information and exit
1567   -q, --quiet, --silent   do not print \`checking ...' messages
1568       --cache-file=FILE   cache test results in FILE [disabled]
1569   -C, --config-cache      alias for \`--cache-file=config.cache'
1570   -n, --no-create         do not create output files
1571       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1572
1573 Installation directories:
1574   --prefix=PREFIX         install architecture-independent files in PREFIX
1575                           [$ac_default_prefix]
1576   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1577                           [PREFIX]
1578
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1583
1584 For better control, use the options below.
1585
1586 Fine tuning of the installation directories:
1587   --bindir=DIR            user executables [EPREFIX/bin]
1588   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1589   --libexecdir=DIR        program executables [EPREFIX/libexec]
1590   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1591   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1592   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1593   --libdir=DIR            object code libraries [EPREFIX/lib]
1594   --includedir=DIR        C header files [PREFIX/include]
1595   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1596   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1597   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1598   --infodir=DIR           info documentation [DATAROOTDIR/info]
1599   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1600   --mandir=DIR            man documentation [DATAROOTDIR/man]
1601   --docdir=DIR            documentation root [DATAROOTDIR/doc/systemd]
1602   --htmldir=DIR           html documentation [DOCDIR]
1603   --dvidir=DIR            dvi documentation [DOCDIR]
1604   --pdfdir=DIR            pdf documentation [DOCDIR]
1605   --psdir=DIR             ps documentation [DOCDIR]
1606 _ACEOF
1607
1608   cat <<\_ACEOF
1609
1610 Program names:
1611   --program-prefix=PREFIX            prepend PREFIX to installed program names
1612   --program-suffix=SUFFIX            append SUFFIX to installed program names
1613   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1614
1615 System types:
1616   --build=BUILD     configure for building on BUILD [guessed]
1617   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1618 _ACEOF
1619 fi
1620
1621 if test -n "$ac_init_help"; then
1622   case $ac_init_help in
1623      short | recursive ) echo "Configuration of systemd 43:";;
1624    esac
1625   cat <<\_ACEOF
1626
1627 Optional Features:
1628   --disable-option-checking  ignore unrecognized --enable/--with options
1629   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1630   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1631   --disable-largefile     omit support for large files
1632   --disable-dependency-tracking  speeds up one-time build
1633   --enable-dependency-tracking   do not reject slow dependency extractors
1634   --enable-silent-rules          less verbose build output (undo: `make V=1')
1635   --disable-silent-rules         verbose build output (undo: `make V=0')
1636   --disable-nls           do not use Native Language Support
1637   --enable-shared[=PKGS]  build shared libraries [default=yes]
1638   --enable-static[=PKGS]  build static libraries [default=yes]
1639   --enable-fast-install[=PKGS]
1640                           optimize for fast installation [default=yes]
1641   --disable-libtool-lock  avoid locking (might break parallel builds)
1642   --disable-selinux       Disable optional SELINUX support
1643   --disable-xz            Disable optional XZ support
1644   --disable-tcpwrap       Disable optional TCP wrappers support
1645   --disable-pam           Disable optional PAM support
1646   --disable-acl           Disable optional ACL support
1647   --disable-audit         Disable optional AUDIT support
1648   --disable-libcryptsetup disable libcryptsetup tools
1649   --disable-binfmt        disable binfmt tool
1650   --disable-vconsole      disable vconsole tool
1651   --disable-readahead     disable readahead tools
1652   --disable-quotacheck    disable quotacheck tools
1653   --disable-randomseed    disable randomseed tools
1654   --disable-logind        disable login daemon
1655   --disable-hostnamed     disable hostname daemon
1656   --disable-timedated     disable timedate daemon
1657   --disable-localed       disable locale daemon
1658   --disable-coredump      disable coredump hook
1659   --disable-manpages      disable manpages
1660   --disable-gtk           disable GTK tools
1661   --enable-plymouth       enable plymouth support
1662   --enable-split-usr      Assume that /bin, /sbin aren\'t symlinks into /usr
1663
1664 Optional Packages:
1665   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1666   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1667   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1668                           both]
1669   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1670   --with-sysroot=DIR Search for dependent libraries within DIR
1671                         (or the compiler's sysroot if not specified).
1672   --with-distro=DISTRO    Specify the distribution to target: One of fedora,
1673                           suse, debian, ubuntu, arch, gentoo, slackware,
1674                           altlinuxi, mandriva, meego, mageia, angstrom or
1675                           other
1676   --with-sysvinit-path=PATH
1677                           Specify the path to where the SysV init scripts are
1678                           located [default=based on distro]
1679   --with-sysvrcd-path=PATH
1680                           Specify the path to the base directory for the SysV
1681                           rcN.d directories [default=based on distro]
1682   --with-tty-gid=GID      Specify the numeric GID of the 'tty' group
1683   --with-dbuspolicydir=DIR
1684                           D-Bus policy directory
1685   --with-dbussessionservicedir=DIR
1686                           D-Bus session service directory
1687   --with-dbussystemservicedir=DIR
1688                           D-Bus system service directory
1689   --with-dbusinterfacedir=DIR
1690                           D-Bus interface directory
1691   --with-udevrulesdir=DIR Directory for udev rules
1692   --with-rootprefix=DIR   rootfs directory prefix for config files and kernel
1693                           modules
1694   --with-rootlibdir=DIR   Root directory for libraries necessary for boot
1695   --with-pamlibdir=DIR    Directory for PAM modules
1696
1697 Some influential environment variables:
1698   CC          C compiler command
1699   CFLAGS      C compiler flags
1700   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1701               nonstandard directory <lib dir>
1702   LIBS        libraries to pass to the linker, e.g. -l<library>
1703   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1704               you have headers in a nonstandard directory <include dir>
1705   CPP         C preprocessor
1706   PKG_CONFIG  path to pkg-config utility
1707   PKG_CONFIG_PATH
1708               directories to add to pkg-config's search path
1709   PKG_CONFIG_LIBDIR
1710               path overriding pkg-config's built-in search path
1711   UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1712   UDEV_LIBS   linker flags for UDEV, overriding pkg-config
1713   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1714   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1715   KMOD_CFLAGS C compiler flags for KMOD, overriding pkg-config
1716   KMOD_LIBS   linker flags for KMOD, overriding pkg-config
1717   SELINUX_CFLAGS
1718               C compiler flags for SELINUX, overriding pkg-config
1719   SELINUX_LIBS
1720               linker flags for SELINUX, overriding pkg-config
1721   XZ_CFLAGS   C compiler flags for XZ, overriding pkg-config
1722   XZ_LIBS     linker flags for XZ, overriding pkg-config
1723   LIBCRYPTSETUP_CFLAGS
1724               C compiler flags for LIBCRYPTSETUP, overriding pkg-config
1725   LIBCRYPTSETUP_LIBS
1726               linker flags for LIBCRYPTSETUP, overriding pkg-config
1727   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1728   GTK_LIBS    linker flags for GTK, overriding pkg-config
1729   LIBNOTIFY_CFLAGS
1730               C compiler flags for LIBNOTIFY, overriding pkg-config
1731   LIBNOTIFY_LIBS
1732               linker flags for LIBNOTIFY, overriding pkg-config
1733
1734 Use these variables to override the choices made by `configure' or to help
1735 it to find libraries and programs with nonstandard names/locations.
1736
1737 Report bugs to <systemd-devel@lists.freedesktop.org>.
1738 _ACEOF
1739 ac_status=$?
1740 fi
1741
1742 if test "$ac_init_help" = "recursive"; then
1743   # If there are subdirs, report their specific --help.
1744   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1745     test -d "$ac_dir" ||
1746       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1747       continue
1748     ac_builddir=.
1749
1750 case "$ac_dir" in
1751 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1752 *)
1753   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1754   # A ".." for each directory in $ac_dir_suffix.
1755   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1756   case $ac_top_builddir_sub in
1757   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1758   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1759   esac ;;
1760 esac
1761 ac_abs_top_builddir=$ac_pwd
1762 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1763 # for backward compatibility:
1764 ac_top_builddir=$ac_top_build_prefix
1765
1766 case $srcdir in
1767   .)  # We are building in place.
1768     ac_srcdir=.
1769     ac_top_srcdir=$ac_top_builddir_sub
1770     ac_abs_top_srcdir=$ac_pwd ;;
1771   [\\/]* | ?:[\\/]* )  # Absolute name.
1772     ac_srcdir=$srcdir$ac_dir_suffix;
1773     ac_top_srcdir=$srcdir
1774     ac_abs_top_srcdir=$srcdir ;;
1775   *) # Relative name.
1776     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1777     ac_top_srcdir=$ac_top_build_prefix$srcdir
1778     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1779 esac
1780 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1781
1782     cd "$ac_dir" || { ac_status=$?; continue; }
1783     # Check for guested configure.
1784     if test -f "$ac_srcdir/configure.gnu"; then
1785       echo &&
1786       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1787     elif test -f "$ac_srcdir/configure"; then
1788       echo &&
1789       $SHELL "$ac_srcdir/configure" --help=recursive
1790     else
1791       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1792     fi || ac_status=$?
1793     cd "$ac_pwd" || { ac_status=$?; break; }
1794   done
1795 fi
1796
1797 test -n "$ac_init_help" && exit $ac_status
1798 if $ac_init_version; then
1799   cat <<\_ACEOF
1800 systemd configure 43
1801 generated by GNU Autoconf 2.68
1802
1803 Copyright (C) 2010 Free Software Foundation, Inc.
1804 This configure script is free software; the Free Software Foundation
1805 gives unlimited permission to copy, distribute and modify it.
1806 _ACEOF
1807   exit
1808 fi
1809
1810 ## ------------------------ ##
1811 ## Autoconf initialization. ##
1812 ## ------------------------ ##
1813
1814 # ac_fn_c_try_compile LINENO
1815 # --------------------------
1816 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_c_try_compile ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   rm -f conftest.$ac_objext
1821   if { { ac_try="$ac_compile"
1822 case "(($ac_try" in
1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824   *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828   (eval "$ac_compile") 2>conftest.err
1829   ac_status=$?
1830   if test -s conftest.err; then
1831     grep -v '^ *+' conftest.err >conftest.er1
1832     cat conftest.er1 >&5
1833     mv -f conftest.er1 conftest.err
1834   fi
1835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836   test $ac_status = 0; } && {
1837          test -z "$ac_c_werror_flag" ||
1838          test ! -s conftest.err
1839        } && test -s conftest.$ac_objext; then :
1840   ac_retval=0
1841 else
1842   $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1844
1845         ac_retval=1
1846 fi
1847   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848   as_fn_set_status $ac_retval
1849
1850 } # ac_fn_c_try_compile
1851
1852 # ac_fn_c_try_cpp LINENO
1853 # ----------------------
1854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_c_try_cpp ()
1856 {
1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858   if { { ac_try="$ac_cpp conftest.$ac_ext"
1859 case "(($ac_try" in
1860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861   *) ac_try_echo=$ac_try;;
1862 esac
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866   ac_status=$?
1867   if test -s conftest.err; then
1868     grep -v '^ *+' conftest.err >conftest.er1
1869     cat conftest.er1 >&5
1870     mv -f conftest.er1 conftest.err
1871   fi
1872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873   test $ac_status = 0; } > conftest.i && {
1874          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875          test ! -s conftest.err
1876        }; then :
1877   ac_retval=0
1878 else
1879   $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1881
1882     ac_retval=1
1883 fi
1884   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885   as_fn_set_status $ac_retval
1886
1887 } # ac_fn_c_try_cpp
1888
1889 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1890 # -------------------------------------------------------
1891 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1892 # the include files in INCLUDES and setting the cache variable VAR
1893 # accordingly.
1894 ac_fn_c_check_header_mongrel ()
1895 {
1896   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897   if eval \${$3+:} false; then :
1898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \${$3+:} false; then :
1901   $as_echo_n "(cached) " >&6
1902 fi
1903 eval ac_res=\$$3
1904                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1906 else
1907   # Is the header compilable?
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1909 $as_echo_n "checking $2 usability... " >&6; }
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h.  */
1912 $4
1913 #include <$2>
1914 _ACEOF
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916   ac_header_compiler=yes
1917 else
1918   ac_header_compiler=no
1919 fi
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1922 $as_echo "$ac_header_compiler" >&6; }
1923
1924 # Is the header present?
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1926 $as_echo_n "checking $2 presence... " >&6; }
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h.  */
1929 #include <$2>
1930 _ACEOF
1931 if ac_fn_c_try_cpp "$LINENO"; then :
1932   ac_header_preproc=yes
1933 else
1934   ac_header_preproc=no
1935 fi
1936 rm -f conftest.err conftest.i conftest.$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1938 $as_echo "$ac_header_preproc" >&6; }
1939
1940 # So?  What about this header?
1941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1942   yes:no: )
1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1944 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947     ;;
1948   no:yes:* )
1949     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1950 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1951     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1952 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1953     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1954 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1955     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1956 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1957     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1958 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1959 ( $as_echo "## -------------------------------------------------- ##
1960 ## Report this to systemd-devel@lists.freedesktop.org ##
1961 ## -------------------------------------------------- ##"
1962      ) | sed "s/^/$as_me: WARNING:     /" >&2
1963     ;;
1964 esac
1965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \${$3+:} false; then :
1968   $as_echo_n "(cached) " >&6
1969 else
1970   eval "$3=\$ac_header_compiler"
1971 fi
1972 eval ac_res=\$$3
1973                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 fi
1976   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977
1978 } # ac_fn_c_check_header_mongrel
1979
1980 # ac_fn_c_try_run LINENO
1981 # ----------------------
1982 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1983 # that executables *can* be run.
1984 ac_fn_c_try_run ()
1985 {
1986   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987   if { { ac_try="$ac_link"
1988 case "(($ac_try" in
1989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990   *) ac_try_echo=$ac_try;;
1991 esac
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994   (eval "$ac_link") 2>&5
1995   ac_status=$?
1996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1998   { { case "(($ac_try" in
1999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000   *) ac_try_echo=$ac_try;;
2001 esac
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004   (eval "$ac_try") 2>&5
2005   ac_status=$?
2006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007   test $ac_status = 0; }; }; then :
2008   ac_retval=0
2009 else
2010   $as_echo "$as_me: program exited with status $ac_status" >&5
2011        $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2013
2014        ac_retval=$ac_status
2015 fi
2016   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018   as_fn_set_status $ac_retval
2019
2020 } # ac_fn_c_try_run
2021
2022 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists and can be compiled using the include files in
2025 # INCLUDES, setting the cache variable VAR accordingly.
2026 ac_fn_c_check_header_compile ()
2027 {
2028   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \${$3+:} false; then :
2032   $as_echo_n "(cached) " >&6
2033 else
2034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h.  */
2036 $4
2037 #include <$2>
2038 _ACEOF
2039 if ac_fn_c_try_compile "$LINENO"; then :
2040   eval "$3=yes"
2041 else
2042   eval "$3=no"
2043 fi
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045 fi
2046 eval ac_res=\$$3
2047                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050
2051 } # ac_fn_c_check_header_compile
2052
2053 # ac_fn_c_try_link LINENO
2054 # -----------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_c_try_link ()
2057 {
2058   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059   rm -f conftest.$ac_objext conftest$ac_exeext
2060   if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063   *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067   (eval "$ac_link") 2>conftest.err
2068   ac_status=$?
2069   if test -s conftest.err; then
2070     grep -v '^ *+' conftest.err >conftest.er1
2071     cat conftest.er1 >&5
2072     mv -f conftest.er1 conftest.err
2073   fi
2074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075   test $ac_status = 0; } && {
2076          test -z "$ac_c_werror_flag" ||
2077          test ! -s conftest.err
2078        } && test -s conftest$ac_exeext && {
2079          test "$cross_compiling" = yes ||
2080          $as_test_x conftest$ac_exeext
2081        }; then :
2082   ac_retval=0
2083 else
2084   $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2086
2087         ac_retval=1
2088 fi
2089   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091   # interfere with the next link command; also delete a directory that is
2092   # left behind by Apple's compiler.  We do this before executing the actions.
2093   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095   as_fn_set_status $ac_retval
2096
2097 } # ac_fn_c_try_link
2098
2099 # ac_fn_c_check_func LINENO FUNC VAR
2100 # ----------------------------------
2101 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2102 ac_fn_c_check_func ()
2103 {
2104   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if eval \${$3+:} false; then :
2108   $as_echo_n "(cached) " >&6
2109 else
2110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h.  */
2112 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2114 #define $2 innocuous_$2
2115
2116 /* System header to define __stub macros and hopefully few prototypes,
2117     which can conflict with char $2 (); below.
2118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2119     <limits.h> exists even on freestanding compilers.  */
2120
2121 #ifdef __STDC__
2122 # include <limits.h>
2123 #else
2124 # include <assert.h>
2125 #endif
2126
2127 #undef $2
2128
2129 /* Override any GCC internal prototype to avoid an error.
2130    Use char because int might match the return type of a GCC
2131    builtin and then its argument prototype would still apply.  */
2132 #ifdef __cplusplus
2133 extern "C"
2134 #endif
2135 char $2 ();
2136 /* The GNU C library defines this for functions which it implements
2137     to always fail with ENOSYS.  Some functions are actually named
2138     something starting with __ and the normal name is an alias.  */
2139 #if defined __stub_$2 || defined __stub___$2
2140 choke me
2141 #endif
2142
2143 int
2144 main ()
2145 {
2146 return $2 ();
2147   ;
2148   return 0;
2149 }
2150 _ACEOF
2151 if ac_fn_c_try_link "$LINENO"; then :
2152   eval "$3=yes"
2153 else
2154   eval "$3=no"
2155 fi
2156 rm -f core conftest.err conftest.$ac_objext \
2157     conftest$ac_exeext conftest.$ac_ext
2158 fi
2159 eval ac_res=\$$3
2160                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163
2164 } # ac_fn_c_check_func
2165 cat >config.log <<_ACEOF
2166 This file contains any messages produced by compilers while
2167 running configure, to aid debugging if configure makes a mistake.
2168
2169 It was created by systemd $as_me 43, which was
2170 generated by GNU Autoconf 2.68.  Invocation command line was
2171
2172   $ $0 $@
2173
2174 _ACEOF
2175 exec 5>>config.log
2176 {
2177 cat <<_ASUNAME
2178 ## --------- ##
2179 ## Platform. ##
2180 ## --------- ##
2181
2182 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2183 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2184 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2185 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2186 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2187
2188 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2189 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2190
2191 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2192 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2193 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2194 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2195 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2196 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2197 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2198
2199 _ASUNAME
2200
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2202 for as_dir in $PATH
2203 do
2204   IFS=$as_save_IFS
2205   test -z "$as_dir" && as_dir=.
2206     $as_echo "PATH: $as_dir"
2207   done
2208 IFS=$as_save_IFS
2209
2210 } >&5
2211
2212 cat >&5 <<_ACEOF
2213
2214
2215 ## ----------- ##
2216 ## Core tests. ##
2217 ## ----------- ##
2218
2219 _ACEOF
2220
2221
2222 # Keep a trace of the command line.
2223 # Strip out --no-create and --no-recursion so they do not pile up.
2224 # Strip out --silent because we don't want to record it for future runs.
2225 # Also quote any args containing shell meta-characters.
2226 # Make two passes to allow for proper duplicate-argument suppression.
2227 ac_configure_args=
2228 ac_configure_args0=
2229 ac_configure_args1=
2230 ac_must_keep_next=false
2231 for ac_pass in 1 2
2232 do
2233   for ac_arg
2234   do
2235     case $ac_arg in
2236     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2237     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2238     | -silent | --silent | --silen | --sile | --sil)
2239       continue ;;
2240     *\'*)
2241       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2242     esac
2243     case $ac_pass in
2244     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2245     2)
2246       as_fn_append ac_configure_args1 " '$ac_arg'"
2247       if test $ac_must_keep_next = true; then
2248         ac_must_keep_next=false # Got value, back to normal.
2249       else
2250         case $ac_arg in
2251           *=* | --config-cache | -C | -disable-* | --disable-* \
2252           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2253           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2254           | -with-* | --with-* | -without-* | --without-* | --x)
2255             case "$ac_configure_args0 " in
2256               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2257             esac
2258             ;;
2259           -* ) ac_must_keep_next=true ;;
2260         esac
2261       fi
2262       as_fn_append ac_configure_args " '$ac_arg'"
2263       ;;
2264     esac
2265   done
2266 done
2267 { ac_configure_args0=; unset ac_configure_args0;}
2268 { ac_configure_args1=; unset ac_configure_args1;}
2269
2270 # When interrupted or exit'd, cleanup temporary files, and complete
2271 # config.log.  We remove comments because anyway the quotes in there
2272 # would cause problems or look ugly.
2273 # WARNING: Use '\'' to represent an apostrophe within the trap.
2274 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2275 trap 'exit_status=$?
2276   # Save into config.log some information that might help in debugging.
2277   {
2278     echo
2279
2280     $as_echo "## ---------------- ##
2281 ## Cache variables. ##
2282 ## ---------------- ##"
2283     echo
2284     # The following way of writing the cache mishandles newlines in values,
2285 (
2286   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2287     eval ac_val=\$$ac_var
2288     case $ac_val in #(
2289     *${as_nl}*)
2290       case $ac_var in #(
2291       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2293       esac
2294       case $ac_var in #(
2295       _ | IFS | as_nl) ;; #(
2296       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2297       *) { eval $ac_var=; unset $ac_var;} ;;
2298       esac ;;
2299     esac
2300   done
2301   (set) 2>&1 |
2302     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2303     *${as_nl}ac_space=\ *)
2304       sed -n \
2305         "s/'\''/'\''\\\\'\'''\''/g;
2306           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2307       ;; #(
2308     *)
2309       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2310       ;;
2311     esac |
2312     sort
2313 )
2314     echo
2315
2316     $as_echo "## ----------------- ##
2317 ## Output variables. ##
2318 ## ----------------- ##"
2319     echo
2320     for ac_var in $ac_subst_vars
2321     do
2322       eval ac_val=\$$ac_var
2323       case $ac_val in
2324       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2325       esac
2326       $as_echo "$ac_var='\''$ac_val'\''"
2327     done | sort
2328     echo
2329
2330     if test -n "$ac_subst_files"; then
2331       $as_echo "## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##"
2334       echo
2335       for ac_var in $ac_subst_files
2336       do
2337         eval ac_val=\$$ac_var
2338         case $ac_val in
2339         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340         esac
2341         $as_echo "$ac_var='\''$ac_val'\''"
2342       done | sort
2343       echo
2344     fi
2345
2346     if test -s confdefs.h; then
2347       $as_echo "## ----------- ##
2348 ## confdefs.h. ##
2349 ## ----------- ##"
2350       echo
2351       cat confdefs.h
2352       echo
2353     fi
2354     test "$ac_signal" != 0 &&
2355       $as_echo "$as_me: caught signal $ac_signal"
2356     $as_echo "$as_me: exit $exit_status"
2357   } >&5
2358   rm -f core *.core core.conftest.* &&
2359     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2360     exit $exit_status
2361 ' 0
2362 for ac_signal in 1 2 13 15; do
2363   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2364 done
2365 ac_signal=0
2366
2367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2368 rm -f -r conftest* confdefs.h
2369
2370 $as_echo "/* confdefs.h */" > confdefs.h
2371
2372 # Predefined preprocessor variables.
2373
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_NAME "$PACKAGE_NAME"
2376 _ACEOF
2377
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2380 _ACEOF
2381
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2384 _ACEOF
2385
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_STRING "$PACKAGE_STRING"
2388 _ACEOF
2389
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2392 _ACEOF
2393
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_URL "$PACKAGE_URL"
2396 _ACEOF
2397
2398
2399 # Let the site file select an alternate cache file if it wants to.
2400 # Prefer an explicitly selected file to automatically selected ones.
2401 ac_site_file1=NONE
2402 ac_site_file2=NONE
2403 if test -n "$CONFIG_SITE"; then
2404   # We do not want a PATH search for config.site.
2405   case $CONFIG_SITE in #((
2406     -*)  ac_site_file1=./$CONFIG_SITE;;
2407     */*) ac_site_file1=$CONFIG_SITE;;
2408     *)   ac_site_file1=./$CONFIG_SITE;;
2409   esac
2410 elif test "x$prefix" != xNONE; then
2411   ac_site_file1=$prefix/share/config.site
2412   ac_site_file2=$prefix/etc/config.site
2413 else
2414   ac_site_file1=$ac_default_prefix/share/config.site
2415   ac_site_file2=$ac_default_prefix/etc/config.site
2416 fi
2417 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2418 do
2419   test "x$ac_site_file" = xNONE && continue
2420   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2421     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2422 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2423     sed 's/^/| /' "$ac_site_file" >&5
2424     . "$ac_site_file" \
2425       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 as_fn_error $? "failed to load site script $ac_site_file
2428 See \`config.log' for more details" "$LINENO" 5; }
2429   fi
2430 done
2431
2432 if test -r "$cache_file"; then
2433   # Some versions of bash will fail to source /dev/null (special files
2434   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2435   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2436     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2437 $as_echo "$as_me: loading cache $cache_file" >&6;}
2438     case $cache_file in
2439       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2440       *)                      . "./$cache_file";;
2441     esac
2442   fi
2443 else
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2445 $as_echo "$as_me: creating cache $cache_file" >&6;}
2446   >$cache_file
2447 fi
2448
2449 # Check that the precious variables saved in the cache have kept the same
2450 # value.
2451 ac_cache_corrupted=false
2452 for ac_var in $ac_precious_vars; do
2453   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2454   eval ac_new_set=\$ac_env_${ac_var}_set
2455   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2456   eval ac_new_val=\$ac_env_${ac_var}_value
2457   case $ac_old_set,$ac_new_set in
2458     set,)
2459       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2460 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2461       ac_cache_corrupted=: ;;
2462     ,set)
2463       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2464 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2465       ac_cache_corrupted=: ;;
2466     ,);;
2467     *)
2468       if test "x$ac_old_val" != "x$ac_new_val"; then
2469         # differences in whitespace do not lead to failure.
2470         ac_old_val_w=`echo x $ac_old_val`
2471         ac_new_val_w=`echo x $ac_new_val`
2472         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2473           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2474 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2475           ac_cache_corrupted=:
2476         else
2477           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2478 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2479           eval $ac_var=\$ac_old_val
2480         fi
2481         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2482 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2483         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2484 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2485       fi;;
2486   esac
2487   # Pass precious variables to config.status.
2488   if test "$ac_new_set" = set; then
2489     case $ac_new_val in
2490     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2491     *) ac_arg=$ac_var=$ac_new_val ;;
2492     esac
2493     case " $ac_configure_args " in
2494       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2495       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2496     esac
2497   fi
2498 done
2499 if $ac_cache_corrupted; then
2500   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2503 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2504   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2505 fi
2506 ## -------------------- ##
2507 ## Main body of script. ##
2508 ## -------------------- ##
2509
2510 ac_ext=c
2511 ac_cpp='$CPP $CPPFLAGS'
2512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2515
2516
2517
2518
2519 ac_config_headers="$ac_config_headers config.h"
2520
2521 ac_ext=c
2522 ac_cpp='$CPP $CPPFLAGS'
2523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2526 if test -n "$ac_tool_prefix"; then
2527   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2528 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if ${ac_cv_prog_CC+:} false; then :
2532   $as_echo_n "(cached) " >&6
2533 else
2534   if test -n "$CC"; then
2535   ac_cv_prog_CC="$CC" # Let the user override the test.
2536 else
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2539 do
2540   IFS=$as_save_IFS
2541   test -z "$as_dir" && as_dir=.
2542     for ac_exec_ext in '' $ac_executable_extensions; do
2543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546     break 2
2547   fi
2548 done
2549   done
2550 IFS=$as_save_IFS
2551
2552 fi
2553 fi
2554 CC=$ac_cv_prog_CC
2555 if test -n "$CC"; then
2556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2558 else
2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 fi
2562
2563
2564 fi
2565 if test -z "$ac_cv_prog_CC"; then
2566   ac_ct_CC=$CC
2567   # Extract the first word of "gcc", so it can be a program name with args.
2568 set dummy gcc; ac_word=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2572   $as_echo_n "(cached) " >&6
2573 else
2574   if test -n "$ac_ct_CC"; then
2575   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2576 else
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 for as_dir in $PATH
2579 do
2580   IFS=$as_save_IFS
2581   test -z "$as_dir" && as_dir=.
2582     for ac_exec_ext in '' $ac_executable_extensions; do
2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584     ac_cv_prog_ac_ct_CC="gcc"
2585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586     break 2
2587   fi
2588 done
2589   done
2590 IFS=$as_save_IFS
2591
2592 fi
2593 fi
2594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2595 if test -n "$ac_ct_CC"; then
2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2597 $as_echo "$ac_ct_CC" >&6; }
2598 else
2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2601 fi
2602
2603   if test "x$ac_ct_CC" = x; then
2604     CC=""
2605   else
2606     case $cross_compiling:$ac_tool_warned in
2607 yes:)
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2610 ac_tool_warned=yes ;;
2611 esac
2612     CC=$ac_ct_CC
2613   fi
2614 else
2615   CC="$ac_cv_prog_CC"
2616 fi
2617
2618 if test -z "$CC"; then
2619           if test -n "$ac_tool_prefix"; then
2620     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}cc; ac_word=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if ${ac_cv_prog_CC+:} false; then :
2625   $as_echo_n "(cached) " >&6
2626 else
2627   if test -n "$CC"; then
2628   ac_cv_prog_CC="$CC" # Let the user override the test.
2629 else
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 for as_dir in $PATH
2632 do
2633   IFS=$as_save_IFS
2634   test -z "$as_dir" && as_dir=.
2635     for ac_exec_ext in '' $ac_executable_extensions; do
2636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637     ac_cv_prog_CC="${ac_tool_prefix}cc"
2638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639     break 2
2640   fi
2641 done
2642   done
2643 IFS=$as_save_IFS
2644
2645 fi
2646 fi
2647 CC=$ac_cv_prog_CC
2648 if test -n "$CC"; then
2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2650 $as_echo "$CC" >&6; }
2651 else
2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2654 fi
2655
2656
2657   fi
2658 fi
2659 if test -z "$CC"; then
2660   # Extract the first word of "cc", so it can be a program name with args.
2661 set dummy cc; ac_word=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_CC+:} false; then :
2665   $as_echo_n "(cached) " >&6
2666 else
2667   if test -n "$CC"; then
2668   ac_cv_prog_CC="$CC" # Let the user override the test.
2669 else
2670   ac_prog_rejected=no
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH
2673 do
2674   IFS=$as_save_IFS
2675   test -z "$as_dir" && as_dir=.
2676     for ac_exec_ext in '' $ac_executable_extensions; do
2677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2679        ac_prog_rejected=yes
2680        continue
2681      fi
2682     ac_cv_prog_CC="cc"
2683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684     break 2
2685   fi
2686 done
2687   done
2688 IFS=$as_save_IFS
2689
2690 if test $ac_prog_rejected = yes; then
2691   # We found a bogon in the path, so make sure we never use it.
2692   set dummy $ac_cv_prog_CC
2693   shift
2694   if test $# != 0; then
2695     # We chose a different compiler from the bogus one.
2696     # However, it has the same basename, so the bogon will be chosen
2697     # first if we set CC to just the basename; use the full file name.
2698     shift
2699     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2700   fi
2701 fi
2702 fi
2703 fi
2704 CC=$ac_cv_prog_CC
2705 if test -n "$CC"; then
2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2708 else
2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2711 fi
2712
2713
2714 fi
2715 if test -z "$CC"; then
2716   if test -n "$ac_tool_prefix"; then
2717   for ac_prog in cl.exe
2718   do
2719     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_CC+:} false; then :
2724   $as_echo_n "(cached) " >&6
2725 else
2726   if test -n "$CC"; then
2727   ac_cv_prog_CC="$CC" # Let the user override the test.
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2731 do
2732   IFS=$as_save_IFS
2733   test -z "$as_dir" && as_dir=.
2734     for ac_exec_ext in '' $ac_executable_extensions; do
2735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738     break 2
2739   fi
2740 done
2741   done
2742 IFS=$as_save_IFS
2743
2744 fi
2745 fi
2746 CC=$ac_cv_prog_CC
2747 if test -n "$CC"; then
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2750 else
2751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2753 fi
2754
2755
2756     test -n "$CC" && break
2757   done
2758 fi
2759 if test -z "$CC"; then
2760   ac_ct_CC=$CC
2761   for ac_prog in cl.exe
2762 do
2763   # Extract the first word of "$ac_prog", so it can be a program name with args.
2764 set dummy $ac_prog; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2768   $as_echo_n "(cached) " >&6
2769 else
2770   if test -n "$ac_ct_CC"; then
2771   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2772 else
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 for as_dir in $PATH
2775 do
2776   IFS=$as_save_IFS
2777   test -z "$as_dir" && as_dir=.
2778     for ac_exec_ext in '' $ac_executable_extensions; do
2779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780     ac_cv_prog_ac_ct_CC="$ac_prog"
2781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782     break 2
2783   fi
2784 done
2785   done
2786 IFS=$as_save_IFS
2787
2788 fi
2789 fi
2790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2791 if test -n "$ac_ct_CC"; then
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2793 $as_echo "$ac_ct_CC" >&6; }
2794 else
2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2797 fi
2798
2799
2800   test -n "$ac_ct_CC" && break
2801 done
2802
2803   if test "x$ac_ct_CC" = x; then
2804     CC=""
2805   else
2806     case $cross_compiling:$ac_tool_warned in
2807 yes:)
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2810 ac_tool_warned=yes ;;
2811 esac
2812     CC=$ac_ct_CC
2813   fi
2814 fi
2815
2816 fi
2817
2818
2819 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 as_fn_error $? "no acceptable C compiler found in \$PATH
2822 See \`config.log' for more details" "$LINENO" 5; }
2823
2824 # Provide some information about the compiler.
2825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2826 set X $ac_compile
2827 ac_compiler=$2
2828 for ac_option in --version -v -V -qversion; do
2829   { { ac_try="$ac_compiler $ac_option >&5"
2830 case "(($ac_try" in
2831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832   *) ac_try_echo=$ac_try;;
2833 esac
2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2837   ac_status=$?
2838   if test -s conftest.err; then
2839     sed '10a\
2840 ... rest of stderr output deleted ...
2841          10q' conftest.err >conftest.er1
2842     cat conftest.er1 >&5
2843   fi
2844   rm -f conftest.er1 conftest.err
2845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846   test $ac_status = 0; }
2847 done
2848
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h.  */
2851
2852 int
2853 main ()
2854 {
2855
2856   ;
2857   return 0;
2858 }
2859 _ACEOF
2860 ac_clean_files_save=$ac_clean_files
2861 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2862 # Try to create an executable without -o first, disregard a.out.
2863 # It will help us diagnose broken compilers, and finding out an intuition
2864 # of exeext.
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2866 $as_echo_n "checking whether the C compiler works... " >&6; }
2867 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2868
2869 # The possible output files:
2870 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2871
2872 ac_rmfiles=
2873 for ac_file in $ac_files
2874 do
2875   case $ac_file in
2876     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2877     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2878   esac
2879 done
2880 rm -f $ac_rmfiles
2881
2882 if { { ac_try="$ac_link_default"
2883 case "(($ac_try" in
2884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885   *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 $as_echo "$ac_try_echo"; } >&5
2889   (eval "$ac_link_default") 2>&5
2890   ac_status=$?
2891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2892   test $ac_status = 0; }; then :
2893   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2894 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2895 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2896 # so that the user can short-circuit this test for compilers unknown to
2897 # Autoconf.
2898 for ac_file in $ac_files ''
2899 do
2900   test -f "$ac_file" || continue
2901   case $ac_file in
2902     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2903         ;;
2904     [ab].out )
2905         # We found the default executable, but exeext='' is most
2906         # certainly right.
2907         break;;
2908     *.* )
2909         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2910         then :; else
2911            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2912         fi
2913         # We set ac_cv_exeext here because the later test for it is not
2914         # safe: cross compilers may not add the suffix if given an `-o'
2915         # argument, so we may need to know it at that point already.
2916         # Even if this section looks crufty: it has the advantage of
2917         # actually working.
2918         break;;
2919     * )
2920         break;;
2921   esac
2922 done
2923 test "$ac_cv_exeext" = no && ac_cv_exeext=
2924
2925 else
2926   ac_file=''
2927 fi
2928 if test -z "$ac_file"; then :
2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931 $as_echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2933
2934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936 as_fn_error 77 "C compiler cannot create executables
2937 See \`config.log' for more details" "$LINENO" 5; }
2938 else
2939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2940 $as_echo "yes" >&6; }
2941 fi
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2943 $as_echo_n "checking for C compiler default output file name... " >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2945 $as_echo "$ac_file" >&6; }
2946 ac_exeext=$ac_cv_exeext
2947
2948 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2949 ac_clean_files=$ac_clean_files_save
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2951 $as_echo_n "checking for suffix of executables... " >&6; }
2952 if { { ac_try="$ac_link"
2953 case "(($ac_try" in
2954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955   *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959   (eval "$ac_link") 2>&5
2960   ac_status=$?
2961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962   test $ac_status = 0; }; then :
2963   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2964 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2965 # work properly (i.e., refer to `conftest.exe'), while it won't with
2966 # `rm'.
2967 for ac_file in conftest.exe conftest conftest.*; do
2968   test -f "$ac_file" || continue
2969   case $ac_file in
2970     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2971     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2972           break;;
2973     * ) break;;
2974   esac
2975 done
2976 else
2977   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2980 See \`config.log' for more details" "$LINENO" 5; }
2981 fi
2982 rm -f conftest conftest$ac_cv_exeext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2984 $as_echo "$ac_cv_exeext" >&6; }
2985
2986 rm -f conftest.$ac_ext
2987 EXEEXT=$ac_cv_exeext
2988 ac_exeext=$EXEEXT
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h.  */
2991 #include <stdio.h>
2992 int
2993 main ()
2994 {
2995 FILE *f = fopen ("conftest.out", "w");
2996  return ferror (f) || fclose (f) != 0;
2997
2998   ;
2999   return 0;
3000 }
3001 _ACEOF
3002 ac_clean_files="$ac_clean_files conftest.out"
3003 # Check that the compiler produces executables we can run.  If not, either
3004 # the compiler is broken, or we cross compile.
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3006 $as_echo_n "checking whether we are cross compiling... " >&6; }
3007 if test "$cross_compiling" != yes; then
3008   { { ac_try="$ac_link"
3009 case "(($ac_try" in
3010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011   *) ac_try_echo=$ac_try;;
3012 esac
3013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3014 $as_echo "$ac_try_echo"; } >&5
3015   (eval "$ac_link") 2>&5
3016   ac_status=$?
3017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018   test $ac_status = 0; }
3019   if { ac_try='./conftest$ac_cv_exeext'
3020   { { case "(($ac_try" in
3021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022   *) ac_try_echo=$ac_try;;
3023 esac
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026   (eval "$ac_try") 2>&5
3027   ac_status=$?
3028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029   test $ac_status = 0; }; }; then
3030     cross_compiling=no
3031   else
3032     if test "$cross_compiling" = maybe; then
3033         cross_compiling=yes
3034     else
3035         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 as_fn_error $? "cannot run C compiled programs.
3038 If you meant to cross compile, use \`--host'.
3039 See \`config.log' for more details" "$LINENO" 5; }
3040     fi
3041   fi
3042 fi
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3044 $as_echo "$cross_compiling" >&6; }
3045
3046 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3047 ac_clean_files=$ac_clean_files_save
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3049 $as_echo_n "checking for suffix of object files... " >&6; }
3050 if ${ac_cv_objext+:} false; then :
3051   $as_echo_n "(cached) " >&6
3052 else
3053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h.  */
3055
3056 int
3057 main ()
3058 {
3059
3060   ;
3061   return 0;
3062 }
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { { ac_try="$ac_compile"
3066 case "(($ac_try" in
3067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068   *) ac_try_echo=$ac_try;;
3069 esac
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072   (eval "$ac_compile") 2>&5
3073   ac_status=$?
3074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075   test $ac_status = 0; }; then :
3076   for ac_file in conftest.o conftest.obj conftest.*; do
3077   test -f "$ac_file" || continue;
3078   case $ac_file in
3079     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3080     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3081        break;;
3082   esac
3083 done
3084 else
3085   $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3087
3088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 as_fn_error $? "cannot compute suffix of object files: cannot compile
3091 See \`config.log' for more details" "$LINENO" 5; }
3092 fi
3093 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3094 fi
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3096 $as_echo "$ac_cv_objext" >&6; }
3097 OBJEXT=$ac_cv_objext
3098 ac_objext=$OBJEXT
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3100 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3101 if ${ac_cv_c_compiler_gnu+:} false; then :
3102   $as_echo_n "(cached) " >&6
3103 else
3104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h.  */
3106
3107 int
3108 main ()
3109 {
3110 #ifndef __GNUC__
3111        choke me
3112 #endif
3113
3114   ;
3115   return 0;
3116 }
3117 _ACEOF
3118 if ac_fn_c_try_compile "$LINENO"; then :
3119   ac_compiler_gnu=yes
3120 else
3121   ac_compiler_gnu=no
3122 fi
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3125
3126 fi
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3128 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3129 if test $ac_compiler_gnu = yes; then
3130   GCC=yes
3131 else
3132   GCC=
3133 fi
3134 ac_test_CFLAGS=${CFLAGS+set}
3135 ac_save_CFLAGS=$CFLAGS
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3137 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3138 if ${ac_cv_prog_cc_g+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   ac_save_c_werror_flag=$ac_c_werror_flag
3142    ac_c_werror_flag=yes
3143    ac_cv_prog_cc_g=no
3144    CFLAGS="-g"
3145    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h.  */
3147
3148 int
3149 main ()
3150 {
3151
3152   ;
3153   return 0;
3154 }
3155 _ACEOF
3156 if ac_fn_c_try_compile "$LINENO"; then :
3157   ac_cv_prog_cc_g=yes
3158 else
3159   CFLAGS=""
3160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h.  */
3162
3163 int
3164 main ()
3165 {
3166
3167   ;
3168   return 0;
3169 }
3170 _ACEOF
3171 if ac_fn_c_try_compile "$LINENO"; then :
3172
3173 else
3174   ac_c_werror_flag=$ac_save_c_werror_flag
3175          CFLAGS="-g"
3176          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h.  */
3178
3179 int
3180 main ()
3181 {
3182
3183   ;
3184   return 0;
3185 }
3186 _ACEOF
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188   ac_cv_prog_cc_g=yes
3189 fi
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 fi
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 fi
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195    ac_c_werror_flag=$ac_save_c_werror_flag
3196 fi
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3198 $as_echo "$ac_cv_prog_cc_g" >&6; }
3199 if test "$ac_test_CFLAGS" = set; then
3200   CFLAGS=$ac_save_CFLAGS
3201 elif test $ac_cv_prog_cc_g = yes; then
3202   if test "$GCC" = yes; then
3203     CFLAGS="-g -O2"
3204   else
3205     CFLAGS="-g"
3206   fi
3207 else
3208   if test "$GCC" = yes; then
3209     CFLAGS="-O2"
3210   else
3211     CFLAGS=
3212   fi
3213 fi
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3215 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3216 if ${ac_cv_prog_cc_c89+:} false; then :
3217   $as_echo_n "(cached) " >&6
3218 else
3219   ac_cv_prog_cc_c89=no
3220 ac_save_CC=$CC
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h.  */
3223 #include <stdarg.h>
3224 #include <stdio.h>
3225 #include <sys/types.h>
3226 #include <sys/stat.h>
3227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3228 struct buf { int x; };
3229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3230 static char *e (p, i)
3231      char **p;
3232      int i;
3233 {
3234   return p[i];
3235 }
3236 static char *f (char * (*g) (char **, int), char **p, ...)
3237 {
3238   char *s;
3239   va_list v;
3240   va_start (v,p);
3241   s = g (p, va_arg (v,int));
3242   va_end (v);
3243   return s;
3244 }
3245
3246 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3247    function prototypes and stuff, but not '\xHH' hex character constants.
3248    These don't provoke an error unfortunately, instead are silently treated
3249    as 'x'.  The following induces an error, until -std is added to get
3250    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3251    array size at least.  It's necessary to write '\x00'==0 to get something
3252    that's true only with -std.  */
3253 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3254
3255 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3256    inside strings and character constants.  */
3257 #define FOO(x) 'x'
3258 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3259
3260 int test (int i, double x);
3261 struct s1 {int (*f) (int a);};
3262 struct s2 {int (*f) (double a);};
3263 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3264 int argc;
3265 char **argv;
3266 int
3267 main ()
3268 {
3269 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3270   ;
3271   return 0;
3272 }
3273 _ACEOF
3274 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3275         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3276 do
3277   CC="$ac_save_CC $ac_arg"
3278   if ac_fn_c_try_compile "$LINENO"; then :
3279   ac_cv_prog_cc_c89=$ac_arg
3280 fi
3281 rm -f core conftest.err conftest.$ac_objext
3282   test "x$ac_cv_prog_cc_c89" != "xno" && break
3283 done
3284 rm -f conftest.$ac_ext
3285 CC=$ac_save_CC
3286
3287 fi
3288 # AC_CACHE_VAL
3289 case "x$ac_cv_prog_cc_c89" in
3290   x)
3291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3292 $as_echo "none needed" >&6; } ;;
3293   xno)
3294     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3295 $as_echo "unsupported" >&6; } ;;
3296   *)
3297     CC="$CC $ac_cv_prog_cc_c89"
3298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3299 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3300 esac
3301 if test "x$ac_cv_prog_cc_c89" != xno; then :
3302
3303 fi
3304
3305 ac_ext=c
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310
3311
3312 ac_ext=c
3313 ac_cpp='$CPP $CPPFLAGS'
3314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3318 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3319 # On Suns, sometimes $CPP names a directory.
3320 if test -n "$CPP" && test -d "$CPP"; then
3321   CPP=
3322 fi
3323 if test -z "$CPP"; then
3324   if ${ac_cv_prog_CPP+:} false; then :
3325   $as_echo_n "(cached) " >&6
3326 else
3327       # Double quotes because CPP needs to be expanded
3328     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3329     do
3330       ac_preproc_ok=false
3331 for ac_c_preproc_warn_flag in '' yes
3332 do
3333   # Use a header file that comes with gcc, so configuring glibc
3334   # with a fresh cross-compiler works.
3335   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3336   # <limits.h> exists even on freestanding compilers.
3337   # On the NeXT, cc -E runs the code through the compiler's parser,
3338   # not just through cpp. "Syntax error" is here to catch this case.
3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h.  */
3341 #ifdef __STDC__
3342 # include <limits.h>
3343 #else
3344 # include <assert.h>
3345 #endif
3346                      Syntax error
3347 _ACEOF
3348 if ac_fn_c_try_cpp "$LINENO"; then :
3349
3350 else
3351   # Broken: fails on valid input.
3352 continue
3353 fi
3354 rm -f conftest.err conftest.i conftest.$ac_ext
3355
3356   # OK, works on sane cases.  Now check whether nonexistent headers
3357   # can be detected and how.
3358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h.  */
3360 #include <ac_nonexistent.h>
3361 _ACEOF
3362 if ac_fn_c_try_cpp "$LINENO"; then :
3363   # Broken: success on invalid input.
3364 continue
3365 else
3366   # Passes both tests.
3367 ac_preproc_ok=:
3368 break
3369 fi
3370 rm -f conftest.err conftest.i conftest.$ac_ext
3371
3372 done
3373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3374 rm -f conftest.i conftest.err conftest.$ac_ext
3375 if $ac_preproc_ok; then :
3376   break
3377 fi
3378
3379     done
3380     ac_cv_prog_CPP=$CPP
3381
3382 fi
3383   CPP=$ac_cv_prog_CPP
3384 else
3385   ac_cv_prog_CPP=$CPP
3386 fi
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3388 $as_echo "$CPP" >&6; }
3389 ac_preproc_ok=false
3390 for ac_c_preproc_warn_flag in '' yes
3391 do
3392   # Use a header file that comes with gcc, so configuring glibc
3393   # with a fresh cross-compiler works.
3394   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395   # <limits.h> exists even on freestanding compilers.
3396   # On the NeXT, cc -E runs the code through the compiler's parser,
3397   # not just through cpp. "Syntax error" is here to catch this case.
3398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h.  */
3400 #ifdef __STDC__
3401 # include <limits.h>
3402 #else
3403 # include <assert.h>
3404 #endif
3405                      Syntax error
3406 _ACEOF
3407 if ac_fn_c_try_cpp "$LINENO"; then :
3408
3409 else
3410   # Broken: fails on valid input.
3411 continue
3412 fi
3413 rm -f conftest.err conftest.i conftest.$ac_ext
3414
3415   # OK, works on sane cases.  Now check whether nonexistent headers
3416   # can be detected and how.
3417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h.  */
3419 #include <ac_nonexistent.h>
3420 _ACEOF
3421 if ac_fn_c_try_cpp "$LINENO"; then :
3422   # Broken: success on invalid input.
3423 continue
3424 else
3425   # Passes both tests.
3426 ac_preproc_ok=:
3427 break
3428 fi
3429 rm -f conftest.err conftest.i conftest.$ac_ext
3430
3431 done
3432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3433 rm -f conftest.i conftest.err conftest.$ac_ext
3434 if $ac_preproc_ok; then :
3435
3436 else
3437   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3440 See \`config.log' for more details" "$LINENO" 5; }
3441 fi
3442
3443 ac_ext=c
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3452 if ${ac_cv_path_GREP+:} false; then :
3453   $as_echo_n "(cached) " >&6
3454 else
3455   if test -z "$GREP"; then
3456   ac_path_GREP_found=false
3457   # Loop through the user's path and test for each of PROGNAME-LIST
3458   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3460 do
3461   IFS=$as_save_IFS
3462   test -z "$as_dir" && as_dir=.
3463     for ac_prog in grep ggrep; do
3464     for ac_exec_ext in '' $ac_executable_extensions; do
3465       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3466       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3467 # Check for GNU ac_path_GREP and select it if it is found.
3468   # Check for GNU $ac_path_GREP
3469 case `"$ac_path_GREP" --version 2>&1` in
3470 *GNU*)
3471   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3472 *)
3473   ac_count=0
3474   $as_echo_n 0123456789 >"conftest.in"
3475   while :
3476   do
3477     cat "conftest.in" "conftest.in" >"conftest.tmp"
3478     mv "conftest.tmp" "conftest.in"
3479     cp "conftest.in" "conftest.nl"
3480     $as_echo 'GREP' >> "conftest.nl"
3481     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3482     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3483     as_fn_arith $ac_count + 1 && ac_count=$as_val
3484     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3485       # Best one so far, save it but keep looking for a better one
3486       ac_cv_path_GREP="$ac_path_GREP"
3487       ac_path_GREP_max=$ac_count
3488     fi
3489     # 10*(2^10) chars as input seems more than enough
3490     test $ac_count -gt 10 && break
3491   done
3492   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3493 esac
3494
3495       $ac_path_GREP_found && break 3
3496     done
3497   done
3498   done
3499 IFS=$as_save_IFS
3500   if test -z "$ac_cv_path_GREP"; then
3501     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3502   fi
3503 else
3504   ac_cv_path_GREP=$GREP
3505 fi
3506
3507 fi
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3509 $as_echo "$ac_cv_path_GREP" >&6; }
3510  GREP="$ac_cv_path_GREP"
3511
3512
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3514 $as_echo_n "checking for egrep... " >&6; }
3515 if ${ac_cv_path_EGREP+:} false; then :
3516   $as_echo_n "(cached) " >&6
3517 else
3518   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3519    then ac_cv_path_EGREP="$GREP -E"
3520    else
3521      if test -z "$EGREP"; then
3522   ac_path_EGREP_found=false
3523   # Loop through the user's path and test for each of PROGNAME-LIST
3524   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3526 do
3527   IFS=$as_save_IFS
3528   test -z "$as_dir" && as_dir=.
3529     for ac_prog in egrep; do
3530     for ac_exec_ext in '' $ac_executable_extensions; do
3531       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3532       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3533 # Check for GNU ac_path_EGREP and select it if it is found.
3534   # Check for GNU $ac_path_EGREP
3535 case `"$ac_path_EGREP" --version 2>&1` in
3536 *GNU*)
3537   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3538 *)
3539   ac_count=0
3540   $as_echo_n 0123456789 >"conftest.in"
3541   while :
3542   do
3543     cat "conftest.in" "conftest.in" >"conftest.tmp"
3544     mv "conftest.tmp" "conftest.in"
3545     cp "conftest.in" "conftest.nl"
3546     $as_echo 'EGREP' >> "conftest.nl"
3547     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3548     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3549     as_fn_arith $ac_count + 1 && ac_count=$as_val
3550     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3551       # Best one so far, save it but keep looking for a better one
3552       ac_cv_path_EGREP="$ac_path_EGREP"
3553       ac_path_EGREP_max=$ac_count
3554     fi
3555     # 10*(2^10) chars as input seems more than enough
3556     test $ac_count -gt 10 && break
3557   done
3558   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3559 esac
3560
3561       $ac_path_EGREP_found && break 3
3562     done
3563   done
3564   done
3565 IFS=$as_save_IFS
3566   if test -z "$ac_cv_path_EGREP"; then
3567     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3568   fi
3569 else
3570   ac_cv_path_EGREP=$EGREP
3571 fi
3572
3573    fi
3574 fi
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3576 $as_echo "$ac_cv_path_EGREP" >&6; }
3577  EGREP="$ac_cv_path_EGREP"
3578
3579
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3581 $as_echo_n "checking for ANSI C header files... " >&6; }
3582 if ${ac_cv_header_stdc+:} false; then :
3583   $as_echo_n "(cached) " >&6
3584 else
3585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h.  */
3587 #include <stdlib.h>
3588 #include <stdarg.h>
3589 #include <string.h>
3590 #include <float.h>
3591
3592 int
3593 main ()
3594 {
3595
3596   ;
3597   return 0;
3598 }
3599 _ACEOF
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601   ac_cv_header_stdc=yes
3602 else
3603   ac_cv_header_stdc=no
3604 fi
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606
3607 if test $ac_cv_header_stdc = yes; then
3608   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h.  */
3611 #include <string.h>
3612
3613 _ACEOF
3614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3615   $EGREP "memchr" >/dev/null 2>&1; then :
3616
3617 else
3618   ac_cv_header_stdc=no
3619 fi
3620 rm -f conftest*
3621
3622 fi
3623
3624 if test $ac_cv_header_stdc = yes; then
3625   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h.  */
3628 #include <stdlib.h>
3629
3630 _ACEOF
3631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3632   $EGREP "free" >/dev/null 2>&1; then :
3633
3634 else
3635   ac_cv_header_stdc=no
3636 fi
3637 rm -f conftest*
3638
3639 fi
3640
3641 if test $ac_cv_header_stdc = yes; then
3642   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3643   if test "$cross_compiling" = yes; then :
3644   :
3645 else
3646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h.  */
3648 #include <ctype.h>
3649 #include <stdlib.h>
3650 #if ((' ' & 0x0FF) == 0x020)
3651 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3652 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3653 #else
3654 # define ISLOWER(c) \
3655                    (('a' <= (c) && (c) <= 'i') \
3656                      || ('j' <= (c) && (c) <= 'r') \
3657                      || ('s' <= (c) && (c) <= 'z'))
3658 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3659 #endif
3660
3661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3662 int
3663 main ()
3664 {
3665   int i;
3666   for (i = 0; i < 256; i++)
3667     if (XOR (islower (i), ISLOWER (i))
3668         || toupper (i) != TOUPPER (i))
3669       return 2;
3670   return 0;
3671 }
3672 _ACEOF
3673 if ac_fn_c_try_run "$LINENO"; then :
3674
3675 else
3676   ac_cv_header_stdc=no
3677 fi
3678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3679   conftest.$ac_objext conftest.beam conftest.$ac_ext
3680 fi
3681
3682 fi
3683 fi
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3685 $as_echo "$ac_cv_header_stdc" >&6; }
3686 if test $ac_cv_header_stdc = yes; then
3687
3688 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3689
3690 fi
3691
3692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3693 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3694                   inttypes.h stdint.h unistd.h
3695 do :
3696   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3697 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3698 "
3699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3700   cat >>confdefs.h <<_ACEOF
3701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3702 _ACEOF
3703
3704 fi
3705
3706 done
3707
3708
3709
3710   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3711 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3712   MINIX=yes
3713 else
3714   MINIX=
3715 fi
3716
3717
3718   if test "$MINIX" = yes; then
3719
3720 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3721
3722
3723 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3724
3725
3726 $as_echo "#define _MINIX 1" >>confdefs.h
3727
3728   fi
3729
3730
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3732 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3733 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h.  */
3738
3739 #         define __EXTENSIONS__ 1
3740           $ac_includes_default
3741 int
3742 main ()
3743 {
3744
3745   ;
3746   return 0;
3747 }
3748 _ACEOF
3749 if ac_fn_c_try_compile "$LINENO"; then :
3750   ac_cv_safe_to_define___extensions__=yes
3751 else
3752   ac_cv_safe_to_define___extensions__=no
3753 fi
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 fi
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3757 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3758   test $ac_cv_safe_to_define___extensions__ = yes &&
3759     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3760
3761   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3762
3763   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3764
3765   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3766
3767   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3768
3769
3770 # Check whether --enable-largefile was given.
3771 if test "${enable_largefile+set}" = set; then :
3772   enableval=$enable_largefile;
3773 fi
3774
3775 if test "$enable_largefile" != no; then
3776
3777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3778 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3779 if ${ac_cv_sys_largefile_CC+:} false; then :
3780   $as_echo_n "(cached) " >&6
3781 else
3782   ac_cv_sys_largefile_CC=no
3783      if test "$GCC" != yes; then
3784        ac_save_CC=$CC
3785        while :; do
3786          # IRIX 6.2 and later do not support large files by default,
3787          # so use the C compiler's -n32 option if that helps.
3788          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h.  */
3790 #include <sys/types.h>
3791  /* Check that off_t can represent 2**63 - 1 correctly.
3792     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3793     since some C++ compilers masquerading as C compilers
3794     incorrectly reject 9223372036854775807.  */
3795 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3796   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3797                        && LARGE_OFF_T % 2147483647 == 1)
3798                       ? 1 : -1];
3799 int
3800 main ()
3801 {
3802
3803   ;
3804   return 0;
3805 }
3806 _ACEOF
3807          if ac_fn_c_try_compile "$LINENO"; then :
3808   break
3809 fi
3810 rm -f core conftest.err conftest.$ac_objext
3811          CC="$CC -n32"
3812          if ac_fn_c_try_compile "$LINENO"; then :
3813   ac_cv_sys_largefile_CC=' -n32'; break
3814 fi
3815 rm -f core conftest.err conftest.$ac_objext
3816          break
3817        done
3818        CC=$ac_save_CC
3819        rm -f conftest.$ac_ext
3820     fi
3821 fi
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3823 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3824   if test "$ac_cv_sys_largefile_CC" != no; then
3825     CC=$CC$ac_cv_sys_largefile_CC
3826   fi
3827
3828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3829 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3830 if ${ac_cv_sys_file_offset_bits+:} false; then :
3831   $as_echo_n "(cached) " >&6
3832 else
3833   while :; do
3834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h.  */
3836 #include <sys/types.h>
3837  /* Check that off_t can represent 2**63 - 1 correctly.
3838     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3839     since some C++ compilers masquerading as C compilers
3840     incorrectly reject 9223372036854775807.  */
3841 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3842   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3843                        && LARGE_OFF_T % 2147483647 == 1)
3844                       ? 1 : -1];
3845 int
3846 main ()
3847 {
3848
3849   ;
3850   return 0;
3851 }
3852 _ACEOF
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854   ac_cv_sys_file_offset_bits=no; break
3855 fi
3856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h.  */
3859 #define _FILE_OFFSET_BITS 64
3860 #include <sys/types.h>
3861  /* Check that off_t can represent 2**63 - 1 correctly.
3862     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3863     since some C++ compilers masquerading as C compilers
3864     incorrectly reject 9223372036854775807.  */
3865 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3866   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3867                        && LARGE_OFF_T % 2147483647 == 1)
3868                       ? 1 : -1];
3869 int
3870 main ()
3871 {
3872
3873   ;
3874   return 0;
3875 }
3876 _ACEOF
3877 if ac_fn_c_try_compile "$LINENO"; then :
3878   ac_cv_sys_file_offset_bits=64; break
3879 fi
3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3881   ac_cv_sys_file_offset_bits=unknown
3882   break
3883 done
3884 fi
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3886 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3887 case $ac_cv_sys_file_offset_bits in #(
3888   no | unknown) ;;
3889   *)
3890 cat >>confdefs.h <<_ACEOF
3891 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3892 _ACEOF
3893 ;;
3894 esac
3895 rm -rf conftest*
3896   if test $ac_cv_sys_file_offset_bits = unknown; then
3897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3898 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3899 if ${ac_cv_sys_large_files+:} false; then :
3900   $as_echo_n "(cached) " >&6
3901 else
3902   while :; do
3903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h.  */
3905 #include <sys/types.h>
3906  /* Check that off_t can represent 2**63 - 1 correctly.
3907     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3908     since some C++ compilers masquerading as C compilers
3909     incorrectly reject 9223372036854775807.  */
3910 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3911   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3912                        && LARGE_OFF_T % 2147483647 == 1)
3913                       ? 1 : -1];
3914 int
3915 main ()
3916 {
3917
3918   ;
3919   return 0;
3920 }
3921 _ACEOF
3922 if ac_fn_c_try_compile "$LINENO"; then :
3923   ac_cv_sys_large_files=no; break
3924 fi
3925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h.  */
3928 #define _LARGE_FILES 1
3929 #include <sys/types.h>
3930  /* Check that off_t can represent 2**63 - 1 correctly.
3931     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3932     since some C++ compilers masquerading as C compilers
3933     incorrectly reject 9223372036854775807.  */
3934 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3935   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3936                        && LARGE_OFF_T % 2147483647 == 1)
3937                       ? 1 : -1];
3938 int
3939 main ()
3940 {
3941
3942   ;
3943   return 0;
3944 }
3945 _ACEOF
3946 if ac_fn_c_try_compile "$LINENO"; then :
3947   ac_cv_sys_large_files=1; break
3948 fi
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950   ac_cv_sys_large_files=unknown
3951   break
3952 done
3953 fi
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3955 $as_echo "$ac_cv_sys_large_files" >&6; }
3956 case $ac_cv_sys_large_files in #(
3957   no | unknown) ;;
3958   *)
3959 cat >>confdefs.h <<_ACEOF
3960 #define _LARGE_FILES $ac_cv_sys_large_files
3961 _ACEOF
3962 ;;
3963 esac
3964 rm -rf conftest*
3965   fi
3966 fi
3967
3968
3969 am__api_version='1.11'
3970
3971 ac_aux_dir=
3972 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3973   if test -f "$ac_dir/install-sh"; then
3974     ac_aux_dir=$ac_dir
3975     ac_install_sh="$ac_aux_dir/install-sh -c"
3976     break
3977   elif test -f "$ac_dir/install.sh"; then
3978     ac_aux_dir=$ac_dir
3979     ac_install_sh="$ac_aux_dir/install.sh -c"
3980     break
3981   elif test -f "$ac_dir/shtool"; then
3982     ac_aux_dir=$ac_dir
3983     ac_install_sh="$ac_aux_dir/shtool install -c"
3984     break
3985   fi
3986 done
3987 if test -z "$ac_aux_dir"; then
3988   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3989 fi
3990
3991 # These three variables are undocumented and unsupported,
3992 # and are intended to be withdrawn in a future Autoconf release.
3993 # They can cause serious problems if a builder's source tree is in a directory
3994 # whose full name contains unusual characters.
3995 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3996 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3997 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3998
3999
4000 # Find a good install program.  We prefer a C program (faster),
4001 # so one script is as good as another.  But avoid the broken or
4002 # incompatible versions:
4003 # SysV /etc/install, /usr/sbin/install
4004 # SunOS /usr/etc/install
4005 # IRIX /sbin/install
4006 # AIX /bin/install
4007 # AmigaOS /C/install, which installs bootblocks on floppy discs
4008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4011 # OS/2's system install, which has a completely different semantic
4012 # ./install, which can be erroneously created by make from ./install.sh.
4013 # Reject install programs that cannot install multiple files.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4015 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4016 if test -z "$INSTALL"; then
4017 if ${ac_cv_path_install+:} false; then :
4018   $as_echo_n "(cached) " >&6
4019 else
4020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 for as_dir in $PATH
4022 do
4023   IFS=$as_save_IFS
4024   test -z "$as_dir" && as_dir=.
4025     # Account for people who put trailing slashes in PATH elements.
4026 case $as_dir/ in #((
4027   ./ | .// | /[cC]/* | \
4028   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4029   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4030   /usr/ucb/* ) ;;
4031   *)
4032     # OSF1 and SCO ODT 3.0 have their own names for install.
4033     # Don't use installbsd from OSF since it installs stuff as root
4034     # by default.
4035     for ac_prog in ginstall scoinst install; do
4036       for ac_exec_ext in '' $ac_executable_extensions; do
4037         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4038           if test $ac_prog = install &&
4039             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4040             # AIX install.  It has an incompatible calling convention.
4041             :
4042           elif test $ac_prog = install &&
4043             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4044             # program-specific install script used by HP pwplus--don't use.
4045             :
4046           else
4047             rm -rf conftest.one conftest.two conftest.dir
4048             echo one > conftest.one
4049             echo two > conftest.two
4050             mkdir conftest.dir
4051             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4052               test -s conftest.one && test -s conftest.two &&
4053               test -s conftest.dir/conftest.one &&
4054               test -s conftest.dir/conftest.two
4055             then
4056               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4057               break 3
4058             fi
4059           fi
4060         fi
4061       done
4062     done
4063     ;;
4064 esac
4065
4066   done
4067 IFS=$as_save_IFS
4068
4069 rm -rf conftest.one conftest.two conftest.dir
4070
4071 fi
4072   if test "${ac_cv_path_install+set}" = set; then
4073     INSTALL=$ac_cv_path_install
4074   else
4075     # As a last resort, use the slow shell script.  Don't cache a
4076     # value for INSTALL within a source directory, because that will
4077     # break other packages using the cache if that directory is
4078     # removed, or if the value is a relative name.
4079     INSTALL=$ac_install_sh
4080   fi
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4083 $as_echo "$INSTALL" >&6; }
4084
4085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4086 # It thinks the first close brace ends the variable substitution.
4087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4088
4089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4090
4091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4092
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4094 $as_echo_n "checking whether build environment is sane... " >&6; }
4095 # Just in case
4096 sleep 1
4097 echo timestamp > conftest.file
4098 # Reject unsafe characters in $srcdir or the absolute working directory
4099 # name.  Accept space and tab only in the latter.
4100 am_lf='
4101 '
4102 case `pwd` in
4103   *[\\\"\#\$\&\'\`$am_lf]*)
4104     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4105 esac
4106 case $srcdir in
4107   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
4108     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4109 esac
4110
4111 # Do `set' in a subshell so we don't clobber the current shell's
4112 # arguments.  Must try -L first in case configure is actually a
4113 # symlink; some systems play weird games with the mod time of symlinks
4114 # (eg FreeBSD returns the mod time of the symlink's containing
4115 # directory).
4116 if (
4117    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4118    if test "$*" = "X"; then
4119       # -L didn't work.
4120       set X `ls -t "$srcdir/configure" conftest.file`
4121    fi
4122    rm -f conftest.file
4123    if test "$*" != "X $srcdir/configure conftest.file" \
4124       && test "$*" != "X conftest.file $srcdir/configure"; then
4125
4126       # If neither matched, then we have a broken ls.  This can happen
4127       # if, for instance, CONFIG_SHELL is bash and it inherits a
4128       # broken ls alias from the environment.  This has actually
4129       # happened.  Such a system could not be considered "sane".
4130       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4131 alias in your environment" "$LINENO" 5
4132    fi
4133
4134    test "$2" = conftest.file
4135    )
4136 then
4137    # Ok.
4138    :
4139 else
4140    as_fn_error $? "newly created file is older than distributed files!
4141 Check your system clock" "$LINENO" 5
4142 fi
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4144 $as_echo "yes" >&6; }
4145 test "$program_prefix" != NONE &&
4146   program_transform_name="s&^&$program_prefix&;$program_transform_name"
4147 # Use a double $ so make ignores it.
4148 test "$program_suffix" != NONE &&
4149   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4150 # Double any \ or $.
4151 # By default was `s,x,x', remove it if useless.
4152 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4153 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4154
4155 # expand $ac_aux_dir to an absolute path
4156 am_aux_dir=`cd $ac_aux_dir && pwd`
4157
4158 if test x"${MISSING+set}" != xset; then
4159   case $am_aux_dir in
4160   *\ * | *\     *)
4161     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4162   *)
4163     MISSING="\${SHELL} $am_aux_dir/missing" ;;
4164   esac
4165 fi
4166 # Use eval to expand $SHELL
4167 if eval "$MISSING --run true"; then
4168   am_missing_run="$MISSING --run "
4169 else
4170   am_missing_run=
4171   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4172 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4173 fi
4174
4175 if test x"${install_sh}" != xset; then
4176   case $am_aux_dir in
4177   *\ * | *\     *)
4178     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4179   *)
4180     install_sh="\${SHELL} $am_aux_dir/install-sh"
4181   esac
4182 fi
4183
4184 # Installed binaries are usually stripped using `strip' when the user
4185 # run `make install-strip'.  However `strip' might not be the right
4186 # tool to use in cross-compilation environments, therefore Automake
4187 # will honor the `STRIP' environment variable to overrule this program.
4188 if test "$cross_compiling" != no; then
4189   if test -n "$ac_tool_prefix"; then
4190   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4191 set dummy ${ac_tool_prefix}strip; ac_word=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if ${ac_cv_prog_STRIP+:} false; then :
4195   $as_echo_n "(cached) " >&6
4196 else
4197   if test -n "$STRIP"; then
4198   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4199 else
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH
4202 do
4203   IFS=$as_save_IFS
4204   test -z "$as_dir" && as_dir=.
4205     for ac_exec_ext in '' $ac_executable_extensions; do
4206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4209     break 2
4210   fi
4211 done
4212   done
4213 IFS=$as_save_IFS
4214
4215 fi
4216 fi
4217 STRIP=$ac_cv_prog_STRIP
4218 if test -n "$STRIP"; then
4219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4220 $as_echo "$STRIP" >&6; }
4221 else
4222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4224 fi
4225
4226
4227 fi
4228 if test -z "$ac_cv_prog_STRIP"; then
4229   ac_ct_STRIP=$STRIP
4230   # Extract the first word of "strip", so it can be a program name with args.
4231 set dummy strip; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   if test -n "$ac_ct_STRIP"; then
4238   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4242 do
4243   IFS=$as_save_IFS
4244   test -z "$as_dir" && as_dir=.
4245     for ac_exec_ext in '' $ac_executable_extensions; do
4246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4247     ac_cv_prog_ac_ct_STRIP="strip"
4248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249     break 2
4250   fi
4251 done
4252   done
4253 IFS=$as_save_IFS
4254
4255 fi
4256 fi
4257 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4258 if test -n "$ac_ct_STRIP"; then
4259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4260 $as_echo "$ac_ct_STRIP" >&6; }
4261 else
4262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4264 fi
4265
4266   if test "x$ac_ct_STRIP" = x; then
4267     STRIP=":"
4268   else
4269     case $cross_compiling:$ac_tool_warned in
4270 yes:)
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4273 ac_tool_warned=yes ;;
4274 esac
4275     STRIP=$ac_ct_STRIP
4276   fi
4277 else
4278   STRIP="$ac_cv_prog_STRIP"
4279 fi
4280
4281 fi
4282 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4283
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4285 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4286 if test -z "$MKDIR_P"; then
4287   if ${ac_cv_path_mkdir+:} false; then :
4288   $as_echo_n "(cached) " >&6
4289 else
4290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4292 do
4293   IFS=$as_save_IFS
4294   test -z "$as_dir" && as_dir=.
4295     for ac_prog in mkdir gmkdir; do
4296          for ac_exec_ext in '' $ac_executable_extensions; do
4297            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4298            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4299              'mkdir (GNU coreutils) '* | \
4300              'mkdir (coreutils) '* | \
4301              'mkdir (fileutils) '4.1*)
4302                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4303                break 3;;
4304            esac
4305          done
4306        done
4307   done
4308 IFS=$as_save_IFS
4309
4310 fi
4311
4312   test -d ./--version && rmdir ./--version
4313   if test "${ac_cv_path_mkdir+set}" = set; then
4314     MKDIR_P="$ac_cv_path_mkdir -p"
4315   else
4316     # As a last resort, use the slow shell script.  Don't cache a
4317     # value for MKDIR_P within a source directory, because that will
4318     # break other packages using the cache if that directory is
4319     # removed, or if the value is a relative name.
4320     MKDIR_P="$ac_install_sh -d"
4321   fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4324 $as_echo "$MKDIR_P" >&6; }
4325
4326 mkdir_p="$MKDIR_P"
4327 case $mkdir_p in
4328   [\\/$]* | ?:[\\/]*) ;;
4329   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4330 esac
4331
4332 for ac_prog in gawk mawk nawk awk
4333 do
4334   # Extract the first word of "$ac_prog", so it can be a program name with args.
4335 set dummy $ac_prog; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_AWK+:} false; then :
4339   $as_echo_n "(cached) " >&6
4340 else
4341   if test -n "$AWK"; then
4342   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4343 else
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4346 do
4347   IFS=$as_save_IFS
4348   test -z "$as_dir" && as_dir=.
4349     for ac_exec_ext in '' $ac_executable_extensions; do
4350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4351     ac_cv_prog_AWK="$ac_prog"
4352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353     break 2
4354   fi
4355 done
4356   done
4357 IFS=$as_save_IFS
4358
4359 fi
4360 fi
4361 AWK=$ac_cv_prog_AWK
4362 if test -n "$AWK"; then
4363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4364 $as_echo "$AWK" >&6; }
4365 else
4366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4368 fi
4369
4370
4371   test -n "$AWK" && break
4372 done
4373
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4375 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4376 set x ${MAKE-make}
4377 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4378 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4379   $as_echo_n "(cached) " >&6
4380 else
4381   cat >conftest.make <<\_ACEOF
4382 SHELL = /bin/sh
4383 all:
4384         @echo '@@@%%%=$(MAKE)=@@@%%%'
4385 _ACEOF
4386 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4387 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4388   *@@@%%%=?*=@@@%%%*)
4389     eval ac_cv_prog_make_${ac_make}_set=yes;;
4390   *)
4391     eval ac_cv_prog_make_${ac_make}_set=no;;
4392 esac
4393 rm -f conftest.make
4394 fi
4395 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4397 $as_echo "yes" >&6; }
4398   SET_MAKE=
4399 else
4400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4402   SET_MAKE="MAKE=${MAKE-make}"
4403 fi
4404
4405 rm -rf .tst 2>/dev/null
4406 mkdir .tst 2>/dev/null
4407 if test -d .tst; then
4408   am__leading_dot=.
4409 else
4410   am__leading_dot=_
4411 fi
4412 rmdir .tst 2>/dev/null
4413
4414 DEPDIR="${am__leading_dot}deps"
4415
4416 ac_config_commands="$ac_config_commands depfiles"
4417
4418
4419 am_make=${MAKE-make}
4420 cat > confinc << 'END'
4421 am__doit:
4422         @echo this is the am__doit target
4423 .PHONY: am__doit
4424 END
4425 # If we don't find an include directive, just comment out the code.
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4427 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4428 am__include="#"
4429 am__quote=
4430 _am_result=none
4431 # First try GNU make style include.
4432 echo "include confinc" > confmf
4433 # Ignore all kinds of additional output from `make'.
4434 case `$am_make -s -f confmf 2> /dev/null` in #(
4435 *the\ am__doit\ target*)
4436   am__include=include
4437   am__quote=
4438   _am_result=GNU
4439   ;;
4440 esac
4441 # Now try BSD make style include.
4442 if test "$am__include" = "#"; then
4443    echo '.include "confinc"' > confmf
4444    case `$am_make -s -f confmf 2> /dev/null` in #(
4445    *the\ am__doit\ target*)
4446      am__include=.include
4447      am__quote="\""
4448      _am_result=BSD
4449      ;;
4450    esac
4451 fi
4452
4453
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4455 $as_echo "$_am_result" >&6; }
4456 rm -f confinc confmf
4457
4458 # Check whether --enable-dependency-tracking was given.
4459 if test "${enable_dependency_tracking+set}" = set; then :
4460   enableval=$enable_dependency_tracking;
4461 fi
4462
4463 if test "x$enable_dependency_tracking" != xno; then
4464   am_depcomp="$ac_aux_dir/depcomp"
4465   AMDEPBACKSLASH='\'
4466   am__nodep='_no'
4467 fi
4468  if test "x$enable_dependency_tracking" != xno; then
4469   AMDEP_TRUE=
4470   AMDEP_FALSE='#'
4471 else
4472   AMDEP_TRUE='#'
4473   AMDEP_FALSE=
4474 fi
4475
4476
4477 # Check whether --enable-silent-rules was given.
4478 if test "${enable_silent_rules+set}" = set; then :
4479   enableval=$enable_silent_rules;
4480 fi
4481
4482 case $enable_silent_rules in
4483 yes) AM_DEFAULT_VERBOSITY=0;;
4484 no)  AM_DEFAULT_VERBOSITY=1;;
4485 *)   AM_DEFAULT_VERBOSITY=1;;
4486 esac
4487 am_make=${MAKE-make}
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4489 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4490 if ${am_cv_make_support_nested_variables+:} false; then :
4491   $as_echo_n "(cached) " >&6
4492 else
4493   if $as_echo 'TRUE=$(BAR$(V))
4494 BAR0=false
4495 BAR1=true
4496 V=1
4497 am__doit:
4498         @$(TRUE)
4499 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4500   am_cv_make_support_nested_variables=yes
4501 else
4502   am_cv_make_support_nested_variables=no
4503 fi
4504 fi
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4506 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4507 if test $am_cv_make_support_nested_variables = yes; then
4508     AM_V='$(V)'
4509   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4510 else
4511   AM_V=$AM_DEFAULT_VERBOSITY
4512   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4513 fi
4514 AM_BACKSLASH='\'
4515
4516 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4517   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4518   # is not polluted with repeated "-I."
4519   am__isrc=' -I$(srcdir)'
4520   # test to see if srcdir already configured
4521   if test -f $srcdir/config.status; then
4522     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4523   fi
4524 fi
4525
4526 # test whether we have cygpath
4527 if test -z "$CYGPATH_W"; then
4528   if (cygpath --version) >/dev/null 2>/dev/null; then
4529     CYGPATH_W='cygpath -w'
4530   else
4531     CYGPATH_W=echo
4532   fi
4533 fi
4534
4535
4536 # Define the identity of the package.
4537  PACKAGE='systemd'
4538  VERSION='43'
4539
4540
4541 cat >>confdefs.h <<_ACEOF
4542 #define PACKAGE "$PACKAGE"
4543 _ACEOF
4544
4545
4546 cat >>confdefs.h <<_ACEOF
4547 #define VERSION "$VERSION"
4548 _ACEOF
4549
4550 # Some tools Automake needs.
4551
4552 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4553
4554
4555 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4556
4557
4558 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4559
4560
4561 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4562
4563
4564 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4565
4566 # We need awk for the "check" target.  The system "awk" is bad on
4567 # some platforms.
4568 # Always define AMTAR for backward compatibility.  Yes, it's still used
4569 # in the wild :-(  We should find a proper way to deprecate it ...
4570 AMTAR='$${TAR-tar}'
4571
4572
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
4574 $as_echo_n "checking how to create a pax tar archive... " >&6; }
4575 # Loop over all known methods to create a tar archive until one works.
4576 _am_tools='gnutar  pax cpio none'
4577 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
4578 # Do not fold the above two line into one, because Tru64 sh and
4579 # Solaris sh will not grok spaces in the rhs of `-'.
4580 for _am_tool in $_am_tools
4581 do
4582   case $_am_tool in
4583   gnutar)
4584     for _am_tar in tar gnutar gtar;
4585     do
4586       { echo "$as_me:$LINENO: $_am_tar --version" >&5
4587    ($_am_tar --version) >&5 2>&5
4588    ac_status=$?
4589    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590    (exit $ac_status); } && break
4591     done
4592     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
4593     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
4594     am__untar="$_am_tar -xf -"
4595     ;;
4596   plaintar)
4597     # Must skip GNU tar: if it does not support --format= it doesn't create
4598     # ustar tarball either.
4599     (tar --version) >/dev/null 2>&1 && continue
4600     am__tar='tar chf - "$$tardir"'
4601     am__tar_='tar chf - "$tardir"'
4602     am__untar='tar xf -'
4603     ;;
4604   pax)
4605     am__tar='pax -L -x pax -w "$$tardir"'
4606     am__tar_='pax -L -x pax -w "$tardir"'
4607     am__untar='pax -r'
4608     ;;
4609   cpio)
4610     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
4611     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
4612     am__untar='cpio -i -H pax -d'
4613     ;;
4614   none)
4615     am__tar=false
4616     am__tar_=false
4617     am__untar=false
4618     ;;
4619   esac
4620
4621   # If the value was cached, stop now.  We just wanted to have am__tar
4622   # and am__untar set.
4623   test -n "${am_cv_prog_tar_pax}" && break
4624
4625   # tar/untar a dummy directory, and stop if the command works
4626   rm -rf conftest.dir
4627   mkdir conftest.dir
4628   echo GrepMe > conftest.dir/file
4629   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4630    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4631    ac_status=$?
4632    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633    (exit $ac_status); }
4634   rm -rf conftest.dir
4635   if test -s conftest.tar; then
4636     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4637    ($am__untar <conftest.tar) >&5 2>&5
4638    ac_status=$?
4639    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640    (exit $ac_status); }
4641     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4642   fi
4643 done
4644 rm -rf conftest.dir
4645
4646 if ${am_cv_prog_tar_pax+:} false; then :
4647   $as_echo_n "(cached) " >&6
4648 else
4649   am_cv_prog_tar_pax=$_am_tool
4650 fi
4651
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
4653 $as_echo "$am_cv_prog_tar_pax" >&6; }
4654
4655
4656
4657
4658 depcc="$CC"   am_compiler_list=
4659
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4661 $as_echo_n "checking dependency style of $depcc... " >&6; }
4662 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4663   $as_echo_n "(cached) " >&6
4664 else
4665   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4666   # We make a subdir and do the tests there.  Otherwise we can end up
4667   # making bogus files that we don't know about and never remove.  For
4668   # instance it was reported that on HP-UX the gcc test will end up
4669   # making a dummy file named `D' -- because `-MD' means `put the output
4670   # in D'.
4671   rm -rf conftest.dir
4672   mkdir conftest.dir
4673   # Copy depcomp to subdir because otherwise we won't find it if we're
4674   # using a relative directory.
4675   cp "$am_depcomp" conftest.dir
4676   cd conftest.dir
4677   # We will build objects and dependencies in a subdirectory because
4678   # it helps to detect inapplicable dependency modes.  For instance
4679   # both Tru64's cc and ICC support -MD to output dependencies as a
4680   # side effect of compilation, but ICC will put the dependencies in
4681   # the current directory while Tru64 will put them in the object
4682   # directory.
4683   mkdir sub
4684
4685   am_cv_CC_dependencies_compiler_type=none
4686   if test "$am_compiler_list" = ""; then
4687      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4688   fi
4689   am__universal=false
4690   case " $depcc " in #(
4691      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4692      esac
4693
4694   for depmode in $am_compiler_list; do
4695     # Setup a source with many dependencies, because some compilers
4696     # like to wrap large dependency lists on column 80 (with \), and
4697     # we should not choose a depcomp mode which is confused by this.
4698     #
4699     # We need to recreate these files for each test, as the compiler may
4700     # overwrite some of them when testing with obscure command lines.
4701     # This happens at least with the AIX C compiler.
4702     : > sub/conftest.c
4703     for i in 1 2 3 4 5 6; do
4704       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4705       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4706       # Solaris 8's {/usr,}/bin/sh.
4707       touch sub/conftst$i.h
4708     done
4709     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4710
4711     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4712     # mode.  It turns out that the SunPro C++ compiler does not properly
4713     # handle `-M -o', and we need to detect this.  Also, some Intel
4714     # versions had trouble with output in subdirs
4715     am__obj=sub/conftest.${OBJEXT-o}
4716     am__minus_obj="-o $am__obj"
4717     case $depmode in
4718     gcc)
4719       # This depmode causes a compiler race in universal mode.
4720       test "$am__universal" = false || continue
4721       ;;
4722     nosideeffect)
4723       # after this tag, mechanisms are not by side-effect, so they'll
4724       # only be used when explicitly requested
4725       if test "x$enable_dependency_tracking" = xyes; then
4726         continue
4727       else
4728         break
4729       fi
4730       ;;
4731     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4732       # This compiler won't grok `-c -o', but also, the minuso test has
4733       # not run yet.  These depmodes are late enough in the game, and
4734       # so weak that their functioning should not be impacted.
4735       am__obj=conftest.${OBJEXT-o}
4736       am__minus_obj=
4737       ;;
4738     none) break ;;
4739     esac
4740     if depmode=$depmode \
4741        source=sub/conftest.c object=$am__obj \
4742        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4743        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4744          >/dev/null 2>conftest.err &&
4745        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4746        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4747        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4748        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4749       # icc doesn't choke on unknown options, it will just issue warnings
4750       # or remarks (even with -Werror).  So we grep stderr for any message
4751       # that says an option was ignored or not supported.
4752       # When given -MP, icc 7.0 and 7.1 complain thusly:
4753       #   icc: Command line warning: ignoring option '-M'; no argument required
4754       # The diagnosis changed in icc 8.0:
4755       #   icc: Command line remark: option '-MP' not supported
4756       if (grep 'ignoring option' conftest.err ||
4757           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4758         am_cv_CC_dependencies_compiler_type=$depmode
4759         break
4760       fi
4761     fi
4762   done
4763
4764   cd ..
4765   rm -rf conftest.dir
4766 else
4767   am_cv_CC_dependencies_compiler_type=none
4768 fi
4769
4770 fi
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4772 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4773 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4774
4775  if
4776   test "x$enable_dependency_tracking" != xno \
4777   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4778   am__fastdepCC_TRUE=
4779   am__fastdepCC_FALSE='#'
4780 else
4781   am__fastdepCC_TRUE='#'
4782   am__fastdepCC_FALSE=
4783 fi
4784
4785
4786
4787
4788 PACKAGE_URL=http://www.freedesktop.org/wiki/Software/systemd
4789
4790
4791 # Make sure we can run config.sub.
4792 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4793   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4794
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4796 $as_echo_n "checking build system type... " >&6; }
4797 if ${ac_cv_build+:} false; then :
4798   $as_echo_n "(cached) " >&6
4799 else
4800   ac_build_alias=$build_alias
4801 test "x$ac_build_alias" = x &&
4802   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4803 test "x$ac_build_alias" = x &&
4804   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4805 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4806   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4807
4808 fi
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4810 $as_echo "$ac_cv_build" >&6; }
4811 case $ac_cv_build in
4812 *-*-*) ;;
4813 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4814 esac
4815 build=$ac_cv_build
4816 ac_save_IFS=$IFS; IFS='-'
4817 set x $ac_cv_build
4818 shift
4819 build_cpu=$1
4820 build_vendor=$2
4821 shift; shift
4822 # Remember, the first character of IFS is used to create $*,
4823 # except with old shells:
4824 build_os=$*
4825 IFS=$ac_save_IFS
4826 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4827
4828
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4830 $as_echo_n "checking host system type... " >&6; }
4831 if ${ac_cv_host+:} false; then :
4832   $as_echo_n "(cached) " >&6
4833 else
4834   if test "x$host_alias" = x; then
4835   ac_cv_host=$ac_cv_build
4836 else
4837   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4838     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4839 fi
4840
4841 fi
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4843 $as_echo "$ac_cv_host" >&6; }
4844 case $ac_cv_host in
4845 *-*-*) ;;
4846 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4847 esac
4848 host=$ac_cv_host
4849 ac_save_IFS=$IFS; IFS='-'
4850 set x $ac_cv_host
4851 shift
4852 host_cpu=$1
4853 host_vendor=$2
4854 shift; shift
4855 # Remember, the first character of IFS is used to create $*,
4856 # except with old shells:
4857 host_os=$*
4858 IFS=$ac_save_IFS
4859 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4860
4861
4862
4863 cat >>confdefs.h <<_ACEOF
4864 #define CANONICAL_HOST "$host"
4865 _ACEOF
4866
4867 if test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
4868        test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"; then :
4869
4870 $as_echo "#define ARCH_MIPS /**/" >>confdefs.h
4871
4872 fi
4873
4874 # Check whether --enable-silent-rules was given.
4875 if test "${enable_silent_rules+set}" = set; then :
4876   enableval=$enable_silent_rules;
4877 fi
4878
4879 case $enable_silent_rules in
4880 yes) AM_DEFAULT_VERBOSITY=0;;
4881 no)  AM_DEFAULT_VERBOSITY=1;;
4882 *)   AM_DEFAULT_VERBOSITY=0;;
4883 esac
4884 am_make=${MAKE-make}
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4886 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4887 if ${am_cv_make_support_nested_variables+:} false; then :
4888   $as_echo_n "(cached) " >&6
4889 else
4890   if $as_echo 'TRUE=$(BAR$(V))
4891 BAR0=false
4892 BAR1=true
4893 V=1
4894 am__doit:
4895         @$(TRUE)
4896 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4897   am_cv_make_support_nested_variables=yes
4898 else
4899   am_cv_make_support_nested_variables=no
4900 fi
4901 fi
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4903 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4904 if test $am_cv_make_support_nested_variables = yes; then
4905     AM_V='$(V)'
4906   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4907 else
4908   AM_V=$AM_DEFAULT_VERBOSITY
4909   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4910 fi
4911 AM_BACKSLASH='\'
4912
4913
4914 # i18n stuff for the PolicyKit policy files
4915
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4917 $as_echo_n "checking whether NLS is requested... " >&6; }
4918     # Check whether --enable-nls was given.
4919 if test "${enable_nls+set}" = set; then :
4920   enableval=$enable_nls; USE_NLS=$enableval
4921 else
4922   USE_NLS=yes
4923 fi
4924
4925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4926 $as_echo "$USE_NLS" >&6; }
4927
4928
4929
4930
4931 case "$am__api_version" in
4932     1.01234)
4933         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4934     ;;
4935     *)
4936     ;;
4937 esac
4938
4939 if test -n "0.40.0"; then
4940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
4941 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
4942
4943     INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4944     INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4945     INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4946
4947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4948 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4949     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4950         as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
4951 fi
4952
4953 # Extract the first word of "intltool-update", so it can be a program name with args.
4954 set dummy intltool-update; ac_word=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4958   $as_echo_n "(cached) " >&6
4959 else
4960   case $INTLTOOL_UPDATE in
4961   [\\/]* | ?:[\\/]*)
4962   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4963   ;;
4964   *)
4965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4967 do
4968   IFS=$as_save_IFS
4969   test -z "$as_dir" && as_dir=.
4970     for ac_exec_ext in '' $ac_executable_extensions; do
4971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974     break 2
4975   fi
4976 done
4977   done
4978 IFS=$as_save_IFS
4979
4980   ;;
4981 esac
4982 fi
4983 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4984 if test -n "$INTLTOOL_UPDATE"; then
4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4986 $as_echo "$INTLTOOL_UPDATE" >&6; }
4987 else
4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 fi
4991
4992
4993 # Extract the first word of "intltool-merge", so it can be a program name with args.
4994 set dummy intltool-merge; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4998   $as_echo_n "(cached) " >&6
4999 else
5000   case $INTLTOOL_MERGE in
5001   [\\/]* | ?:[\\/]*)
5002   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5003   ;;
5004   *)
5005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5007 do
5008   IFS=$as_save_IFS
5009   test -z "$as_dir" && as_dir=.
5010     for ac_exec_ext in '' $ac_executable_extensions; do
5011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014     break 2
5015   fi
5016 done
5017   done
5018 IFS=$as_save_IFS
5019
5020   ;;
5021 esac
5022 fi
5023 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5024 if test -n "$INTLTOOL_MERGE"; then
5025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5026 $as_echo "$INTLTOOL_MERGE" >&6; }
5027 else
5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5030 fi
5031
5032
5033 # Extract the first word of "intltool-extract", so it can be a program name with args.
5034 set dummy intltool-extract; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5038   $as_echo_n "(cached) " >&6
5039 else
5040   case $INTLTOOL_EXTRACT in
5041   [\\/]* | ?:[\\/]*)
5042   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5043   ;;
5044   *)
5045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5047 do
5048   IFS=$as_save_IFS
5049   test -z "$as_dir" && as_dir=.
5050     for ac_exec_ext in '' $ac_executable_extensions; do
5051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054     break 2
5055   fi
5056 done
5057   done
5058 IFS=$as_save_IFS
5059
5060   ;;
5061 esac
5062 fi
5063 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5064 if test -n "$INTLTOOL_EXTRACT"; then
5065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5066 $as_echo "$INTLTOOL_EXTRACT" >&6; }
5067 else
5068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5070 fi
5071
5072
5073 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5074     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5075 fi
5076
5077   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5078 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5079      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5080      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5081       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5082      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5083    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5084     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5085 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5086        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5087       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5088       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@'
5089       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5090       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5091     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5092   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5093     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5094     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5095    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193 # Check the gettext tools to make sure they are GNU
5194 # Extract the first word of "xgettext", so it can be a program name with args.
5195 set dummy xgettext; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_path_XGETTEXT+:} false; then :
5199   $as_echo_n "(cached) " >&6
5200 else
5201   case $XGETTEXT in
5202   [\\/]* | ?:[\\/]*)
5203   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5204   ;;
5205   *)
5206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5208 do
5209   IFS=$as_save_IFS
5210   test -z "$as_dir" && as_dir=.
5211     for ac_exec_ext in '' $ac_executable_extensions; do
5212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5213     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215     break 2
5216   fi
5217 done
5218   done
5219 IFS=$as_save_IFS
5220
5221   ;;
5222 esac
5223 fi
5224 XGETTEXT=$ac_cv_path_XGETTEXT
5225 if test -n "$XGETTEXT"; then
5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5227 $as_echo "$XGETTEXT" >&6; }
5228 else
5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5231 fi
5232
5233
5234 # Extract the first word of "msgmerge", so it can be a program name with args.
5235 set dummy msgmerge; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_path_MSGMERGE+:} false; then :
5239   $as_echo_n "(cached) " >&6
5240 else
5241   case $MSGMERGE in
5242   [\\/]* | ?:[\\/]*)
5243   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5244   ;;
5245   *)
5246   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5248 do
5249   IFS=$as_save_IFS
5250   test -z "$as_dir" && as_dir=.
5251     for ac_exec_ext in '' $ac_executable_extensions; do
5252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255     break 2
5256   fi
5257 done
5258   done
5259 IFS=$as_save_IFS
5260
5261   ;;
5262 esac
5263 fi
5264 MSGMERGE=$ac_cv_path_MSGMERGE
5265 if test -n "$MSGMERGE"; then
5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5267 $as_echo "$MSGMERGE" >&6; }
5268 else
5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5271 fi
5272
5273
5274 # Extract the first word of "msgfmt", so it can be a program name with args.
5275 set dummy msgfmt; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_path_MSGFMT+:} false; then :
5279   $as_echo_n "(cached) " >&6
5280 else
5281   case $MSGFMT in
5282   [\\/]* | ?:[\\/]*)
5283   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5284   ;;
5285   *)
5286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5288 do
5289   IFS=$as_save_IFS
5290   test -z "$as_dir" && as_dir=.
5291     for ac_exec_ext in '' $ac_executable_extensions; do
5292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295     break 2
5296   fi
5297 done
5298   done
5299 IFS=$as_save_IFS
5300
5301   ;;
5302 esac
5303 fi
5304 MSGFMT=$ac_cv_path_MSGFMT
5305 if test -n "$MSGFMT"; then
5306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5307 $as_echo "$MSGFMT" >&6; }
5308 else
5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5311 fi
5312
5313
5314 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5315 set dummy gmsgfmt; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_path_GMSGFMT+:} false; then :
5319   $as_echo_n "(cached) " >&6
5320 else
5321   case $GMSGFMT in
5322   [\\/]* | ?:[\\/]*)
5323   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5324   ;;
5325   *)
5326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5328 do
5329   IFS=$as_save_IFS
5330   test -z "$as_dir" && as_dir=.
5331     for ac_exec_ext in '' $ac_executable_extensions; do
5332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335     break 2
5336   fi
5337 done
5338   done
5339 IFS=$as_save_IFS
5340
5341   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5342   ;;
5343 esac
5344 fi
5345 GMSGFMT=$ac_cv_path_GMSGFMT
5346 if test -n "$GMSGFMT"; then
5347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5348 $as_echo "$GMSGFMT" >&6; }
5349 else
5350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5352 fi
5353
5354
5355 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5356     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5357 fi
5358 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5359 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5360 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5361 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5362     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5363 fi
5364
5365 # Extract the first word of "perl", so it can be a program name with args.
5366 set dummy perl; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5370   $as_echo_n "(cached) " >&6
5371 else
5372   case $INTLTOOL_PERL in
5373   [\\/]* | ?:[\\/]*)
5374   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5375   ;;
5376   *)
5377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH
5379 do
5380   IFS=$as_save_IFS
5381   test -z "$as_dir" && as_dir=.
5382     for ac_exec_ext in '' $ac_executable_extensions; do
5383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386     break 2
5387   fi
5388 done
5389   done
5390 IFS=$as_save_IFS
5391
5392   ;;
5393 esac
5394 fi
5395 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5396 if test -n "$INTLTOOL_PERL"; then
5397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5398 $as_echo "$INTLTOOL_PERL" >&6; }
5399 else
5400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5402 fi
5403
5404
5405 if test -z "$INTLTOOL_PERL"; then
5406    as_fn_error $? "perl not found" "$LINENO" 5
5407 fi
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5409 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
5410 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5411 if test $? -ne 0; then
5412    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5413 else
5414    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5415    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5416 $as_echo "$IT_PERL_VERSION" >&6; }
5417 fi
5418 if test "x" != "xno-xml"; then
5419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5420 $as_echo_n "checking for XML::Parser... " >&6; }
5421    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5422        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5423 $as_echo "ok" >&6; }
5424    else
5425        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5426    fi
5427 fi
5428
5429 # Substitute ALL_LINGUAS so we can use it in po/Makefile
5430
5431
5432 # Set DATADIRNAME correctly if it is not set yet
5433 # (copied from glib-gettext.m4)
5434 if test -z "$DATADIRNAME"; then
5435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h.  */
5437
5438 int
5439 main ()
5440 {
5441 extern int _nl_msg_cat_cntr;
5442                        return _nl_msg_cat_cntr
5443   ;
5444   return 0;
5445 }
5446 _ACEOF
5447 if ac_fn_c_try_link "$LINENO"; then :
5448   DATADIRNAME=share
5449 else
5450   case $host in
5451     *-*-solaris*)
5452                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5453 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5454   DATADIRNAME=share
5455 else
5456   DATADIRNAME=lib
5457 fi
5458
5459     ;;
5460     *)
5461     DATADIRNAME=lib
5462     ;;
5463     esac
5464 fi
5465 rm -f core conftest.err conftest.$ac_objext \
5466     conftest$ac_exeext conftest.$ac_ext
5467 fi
5468
5469
5470
5471
5472
5473
5474 GETTEXT_PACKAGE=systemd
5475
5476
5477
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5479 $as_echo_n "checking whether ln -s works... " >&6; }
5480 LN_S=$as_ln_s
5481 if test "$LN_S" = "ln -s"; then
5482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5483 $as_echo "yes" >&6; }
5484 else
5485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5486 $as_echo "no, using $LN_S" >&6; }
5487 fi
5488
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5490 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5491 if ${ac_cv_path_SED+:} false; then :
5492   $as_echo_n "(cached) " >&6
5493 else
5494             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5495      for ac_i in 1 2 3 4 5 6 7; do
5496        ac_script="$ac_script$as_nl$ac_script"
5497      done
5498      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5499      { ac_script=; unset ac_script;}
5500      if test -z "$SED"; then
5501   ac_path_SED_found=false
5502   # Loop through the user's path and test for each of PROGNAME-LIST
5503   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5505 do
5506   IFS=$as_save_IFS
5507   test -z "$as_dir" && as_dir=.
5508     for ac_prog in sed gsed; do
5509     for ac_exec_ext in '' $ac_executable_extensions; do
5510       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5511       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5512 # Check for GNU ac_path_SED and select it if it is found.
5513   # Check for GNU $ac_path_SED
5514 case `"$ac_path_SED" --version 2>&1` in
5515 *GNU*)
5516   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5517 *)
5518   ac_count=0
5519   $as_echo_n 0123456789 >"conftest.in"
5520   while :
5521   do
5522     cat "conftest.in" "conftest.in" >"conftest.tmp"
5523     mv "conftest.tmp" "conftest.in"
5524     cp "conftest.in" "conftest.nl"
5525     $as_echo '' >> "conftest.nl"
5526     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5527     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5528     as_fn_arith $ac_count + 1 && ac_count=$as_val
5529     if test $ac_count -gt ${ac_path_SED_max-0}; then
5530       # Best one so far, save it but keep looking for a better one
5531       ac_cv_path_SED="$ac_path_SED"
5532       ac_path_SED_max=$ac_count
5533     fi
5534     # 10*(2^10) chars as input seems more than enough
5535     test $ac_count -gt 10 && break
5536   done
5537   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5538 esac
5539
5540       $ac_path_SED_found && break 3
5541     done
5542   done
5543   done
5544 IFS=$as_save_IFS
5545   if test -z "$ac_cv_path_SED"; then
5546     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5547   fi
5548 else
5549   ac_cv_path_SED=$SED
5550 fi
5551
5552 fi
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5554 $as_echo "$ac_cv_path_SED" >&6; }
5555  SED="$ac_cv_path_SED"
5556   rm -f conftest.sed
5557
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5559 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5560 if ${ac_cv_path_GREP+:} false; then :
5561   $as_echo_n "(cached) " >&6
5562 else
5563   if test -z "$GREP"; then
5564   ac_path_GREP_found=false
5565   # Loop through the user's path and test for each of PROGNAME-LIST
5566   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5568 do
5569   IFS=$as_save_IFS
5570   test -z "$as_dir" && as_dir=.
5571     for ac_prog in grep ggrep; do
5572     for ac_exec_ext in '' $ac_executable_extensions; do
5573       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5574       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5575 # Check for GNU ac_path_GREP and select it if it is found.
5576   # Check for GNU $ac_path_GREP
5577 case `"$ac_path_GREP" --version 2>&1` in
5578 *GNU*)
5579   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5580 *)
5581   ac_count=0
5582   $as_echo_n 0123456789 >"conftest.in"
5583   while :
5584   do
5585     cat "conftest.in" "conftest.in" >"conftest.tmp"
5586     mv "conftest.tmp" "conftest.in"
5587     cp "conftest.in" "conftest.nl"
5588     $as_echo 'GREP' >> "conftest.nl"
5589     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5590     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5591     as_fn_arith $ac_count + 1 && ac_count=$as_val
5592     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5593       # Best one so far, save it but keep looking for a better one
5594       ac_cv_path_GREP="$ac_path_GREP"
5595       ac_path_GREP_max=$ac_count
5596     fi
5597     # 10*(2^10) chars as input seems more than enough
5598     test $ac_count -gt 10 && break
5599   done
5600   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5601 esac
5602
5603       $ac_path_GREP_found && break 3
5604     done
5605   done
5606   done
5607 IFS=$as_save_IFS
5608   if test -z "$ac_cv_path_GREP"; then
5609     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5610   fi
5611 else
5612   ac_cv_path_GREP=$GREP
5613 fi
5614
5615 fi
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5617 $as_echo "$ac_cv_path_GREP" >&6; }
5618  GREP="$ac_cv_path_GREP"
5619
5620
5621 for ac_prog in gawk mawk nawk awk
5622 do
5623   # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_AWK+:} false; then :
5628   $as_echo_n "(cached) " >&6
5629 else
5630   if test -n "$AWK"; then
5631   ac_cv_prog_AWK="$AWK" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5635 do
5636   IFS=$as_save_IFS
5637   test -z "$as_dir" && as_dir=.
5638     for ac_exec_ext in '' $ac_executable_extensions; do
5639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640     ac_cv_prog_AWK="$ac_prog"
5641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642     break 2
5643   fi
5644 done
5645   done
5646 IFS=$as_save_IFS
5647
5648 fi
5649 fi
5650 AWK=$ac_cv_prog_AWK
5651 if test -n "$AWK"; then
5652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5653 $as_echo "$AWK" >&6; }
5654 else
5655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5657 fi
5658
5659
5660   test -n "$AWK" && break
5661 done
5662
5663
5664 ac_ext=c
5665 ac_cpp='$CPP $CPPFLAGS'
5666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5669 if test -n "$ac_tool_prefix"; then
5670   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_CC+:} false; then :
5675   $as_echo_n "(cached) " >&6
5676 else
5677   if test -n "$CC"; then
5678   ac_cv_prog_CC="$CC" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683   IFS=$as_save_IFS
5684   test -z "$as_dir" && as_dir=.
5685     for ac_exec_ext in '' $ac_executable_extensions; do
5686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689     break 2
5690   fi
5691 done
5692   done
5693 IFS=$as_save_IFS
5694
5695 fi
5696 fi
5697 CC=$ac_cv_prog_CC
5698 if test -n "$CC"; then
5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5700 $as_echo "$CC" >&6; }
5701 else
5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705
5706
5707 fi
5708 if test -z "$ac_cv_prog_CC"; then
5709   ac_ct_CC=$CC
5710   # Extract the first word of "gcc", so it can be a program name with args.
5711 set dummy gcc; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5715   $as_echo_n "(cached) " >&6
5716 else
5717   if test -n "$ac_ct_CC"; then
5718   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5722 do
5723   IFS=$as_save_IFS
5724   test -z "$as_dir" && as_dir=.
5725     for ac_exec_ext in '' $ac_executable_extensions; do
5726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727     ac_cv_prog_ac_ct_CC="gcc"
5728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729     break 2
5730   fi
5731 done
5732   done
5733 IFS=$as_save_IFS
5734
5735 fi
5736 fi
5737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5738 if test -n "$ac_ct_CC"; then
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5740 $as_echo "$ac_ct_CC" >&6; }
5741 else
5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5744 fi
5745
5746   if test "x$ac_ct_CC" = x; then
5747     CC=""
5748   else
5749     case $cross_compiling:$ac_tool_warned in
5750 yes:)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5754 esac
5755     CC=$ac_ct_CC
5756   fi
5757 else
5758   CC="$ac_cv_prog_CC"
5759 fi
5760
5761 if test -z "$CC"; then
5762           if test -n "$ac_tool_prefix"; then
5763     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5764 set dummy ${ac_tool_prefix}cc; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_CC+:} false; then :
5768   $as_echo_n "(cached) " >&6
5769 else
5770   if test -n "$CC"; then
5771   ac_cv_prog_CC="$CC" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5775 do
5776   IFS=$as_save_IFS
5777   test -z "$as_dir" && as_dir=.
5778     for ac_exec_ext in '' $ac_executable_extensions; do
5779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780     ac_cv_prog_CC="${ac_tool_prefix}cc"
5781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782     break 2
5783   fi
5784 done
5785   done
5786 IFS=$as_save_IFS
5787
5788 fi
5789 fi
5790 CC=$ac_cv_prog_CC
5791 if test -n "$CC"; then
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5793 $as_echo "$CC" >&6; }
5794 else
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5797 fi
5798
5799
5800   fi
5801 fi
5802 if test -z "$CC"; then
5803   # Extract the first word of "cc", so it can be a program name with args.
5804 set dummy cc; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_CC+:} false; then :
5808   $as_echo_n "(cached) " >&6
5809 else
5810   if test -n "$CC"; then
5811   ac_cv_prog_CC="$CC" # Let the user override the test.
5812 else
5813   ac_prog_rejected=no
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 for as_dir in $PATH
5816 do
5817   IFS=$as_save_IFS
5818   test -z "$as_dir" && as_dir=.
5819     for ac_exec_ext in '' $ac_executable_extensions; do
5820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5822        ac_prog_rejected=yes
5823        continue
5824      fi
5825     ac_cv_prog_CC="cc"
5826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827     break 2
5828   fi
5829 done
5830   done
5831 IFS=$as_save_IFS
5832
5833 if test $ac_prog_rejected = yes; then
5834   # We found a bogon in the path, so make sure we never use it.
5835   set dummy $ac_cv_prog_CC
5836   shift
5837   if test $# != 0; then
5838     # We chose a different compiler from the bogus one.
5839     # However, it has the same basename, so the bogon will be chosen
5840     # first if we set CC to just the basename; use the full file name.
5841     shift
5842     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5843   fi
5844 fi
5845 fi
5846 fi
5847 CC=$ac_cv_prog_CC
5848 if test -n "$CC"; then
5849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5850 $as_echo "$CC" >&6; }
5851 else
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5854 fi
5855
5856
5857 fi
5858 if test -z "$CC"; then
5859   if test -n "$ac_tool_prefix"; then
5860   for ac_prog in cl.exe
5861   do
5862     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_CC+:} false; then :
5867   $as_echo_n "(cached) " >&6
5868 else
5869   if test -n "$CC"; then
5870   ac_cv_prog_CC="$CC" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5874 do
5875   IFS=$as_save_IFS
5876   test -z "$as_dir" && as_dir=.
5877     for ac_exec_ext in '' $ac_executable_extensions; do
5878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881     break 2
5882   fi
5883 done
5884   done
5885 IFS=$as_save_IFS
5886
5887 fi
5888 fi
5889 CC=$ac_cv_prog_CC
5890 if test -n "$CC"; then
5891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5892 $as_echo "$CC" >&6; }
5893 else
5894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5896 fi
5897
5898
5899     test -n "$CC" && break
5900   done
5901 fi
5902 if test -z "$CC"; then
5903   ac_ct_CC=$CC
5904   for ac_prog in cl.exe
5905 do
5906   # Extract the first word of "$ac_prog", so it can be a program name with args.
5907 set dummy $ac_prog; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5911   $as_echo_n "(cached) " >&6
5912 else
5913   if test -n "$ac_ct_CC"; then
5914   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5918 do
5919   IFS=$as_save_IFS
5920   test -z "$as_dir" && as_dir=.
5921     for ac_exec_ext in '' $ac_executable_extensions; do
5922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5923     ac_cv_prog_ac_ct_CC="$ac_prog"
5924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925     break 2
5926   fi
5927 done
5928   done
5929 IFS=$as_save_IFS
5930
5931 fi
5932 fi
5933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5934 if test -n "$ac_ct_CC"; then
5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5936 $as_echo "$ac_ct_CC" >&6; }
5937 else
5938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5940 fi
5941
5942
5943   test -n "$ac_ct_CC" && break
5944 done
5945
5946   if test "x$ac_ct_CC" = x; then
5947     CC=""
5948   else
5949     case $cross_compiling:$ac_tool_warned in
5950 yes:)
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5953 ac_tool_warned=yes ;;
5954 esac
5955     CC=$ac_ct_CC
5956   fi
5957 fi
5958
5959 fi
5960
5961
5962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5964 as_fn_error $? "no acceptable C compiler found in \$PATH
5965 See \`config.log' for more details" "$LINENO" 5; }
5966
5967 # Provide some information about the compiler.
5968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5969 set X $ac_compile
5970 ac_compiler=$2
5971 for ac_option in --version -v -V -qversion; do
5972   { { ac_try="$ac_compiler $ac_option >&5"
5973 case "(($ac_try" in
5974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5975   *) ac_try_echo=$ac_try;;
5976 esac
5977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5978 $as_echo "$ac_try_echo"; } >&5
5979   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5980   ac_status=$?
5981   if test -s conftest.err; then
5982     sed '10a\
5983 ... rest of stderr output deleted ...
5984          10q' conftest.err >conftest.er1
5985     cat conftest.er1 >&5
5986   fi
5987   rm -f conftest.er1 conftest.err
5988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5989   test $ac_status = 0; }
5990 done
5991
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5993 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5994 if ${ac_cv_c_compiler_gnu+:} false; then :
5995   $as_echo_n "(cached) " >&6
5996 else
5997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h.  */
5999
6000 int
6001 main ()
6002 {
6003 #ifndef __GNUC__
6004        choke me
6005 #endif
6006
6007   ;
6008   return 0;
6009 }
6010 _ACEOF
6011 if ac_fn_c_try_compile "$LINENO"; then :
6012   ac_compiler_gnu=yes
6013 else
6014   ac_compiler_gnu=no
6015 fi
6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6018
6019 fi
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6021 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6022 if test $ac_compiler_gnu = yes; then
6023   GCC=yes
6024 else
6025   GCC=
6026 fi
6027 ac_test_CFLAGS=${CFLAGS+set}
6028 ac_save_CFLAGS=$CFLAGS
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6030 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6031 if ${ac_cv_prog_cc_g+:} false; then :
6032   $as_echo_n "(cached) " >&6
6033 else
6034   ac_save_c_werror_flag=$ac_c_werror_flag
6035    ac_c_werror_flag=yes
6036    ac_cv_prog_cc_g=no
6037    CFLAGS="-g"
6038    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h.  */
6040
6041 int
6042 main ()
6043 {
6044
6045   ;
6046   return 0;
6047 }
6048 _ACEOF
6049 if ac_fn_c_try_compile "$LINENO"; then :
6050   ac_cv_prog_cc_g=yes
6051 else
6052   CFLAGS=""
6053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h.  */
6055
6056 int
6057 main ()
6058 {
6059
6060   ;
6061   return 0;
6062 }
6063 _ACEOF
6064 if ac_fn_c_try_compile "$LINENO"; then :
6065
6066 else
6067   ac_c_werror_flag=$ac_save_c_werror_flag
6068          CFLAGS="-g"
6069          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h.  */
6071
6072 int
6073 main ()
6074 {
6075
6076   ;
6077   return 0;
6078 }
6079 _ACEOF
6080 if ac_fn_c_try_compile "$LINENO"; then :
6081   ac_cv_prog_cc_g=yes
6082 fi
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 fi
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6086 fi
6087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6088    ac_c_werror_flag=$ac_save_c_werror_flag
6089 fi
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6091 $as_echo "$ac_cv_prog_cc_g" >&6; }
6092 if test "$ac_test_CFLAGS" = set; then
6093   CFLAGS=$ac_save_CFLAGS
6094 elif test $ac_cv_prog_cc_g = yes; then
6095   if test "$GCC" = yes; then
6096     CFLAGS="-g -O2"
6097   else
6098     CFLAGS="-g"
6099   fi
6100 else
6101   if test "$GCC" = yes; then
6102     CFLAGS="-O2"
6103   else
6104     CFLAGS=
6105   fi
6106 fi
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6108 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6109 if ${ac_cv_prog_cc_c89+:} false; then :
6110   $as_echo_n "(cached) " >&6
6111 else
6112   ac_cv_prog_cc_c89=no
6113 ac_save_CC=$CC
6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h.  */
6116 #include <stdarg.h>
6117 #include <stdio.h>
6118 #include <sys/types.h>
6119 #include <sys/stat.h>
6120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6121 struct buf { int x; };
6122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6123 static char *e (p, i)
6124      char **p;
6125      int i;
6126 {
6127   return p[i];
6128 }
6129 static char *f (char * (*g) (char **, int), char **p, ...)
6130 {
6131   char *s;
6132   va_list v;
6133   va_start (v,p);
6134   s = g (p, va_arg (v,int));
6135   va_end (v);
6136   return s;
6137 }
6138
6139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6140    function prototypes and stuff, but not '\xHH' hex character constants.
6141    These don't provoke an error unfortunately, instead are silently treated
6142    as 'x'.  The following induces an error, until -std is added to get
6143    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6144    array size at least.  It's necessary to write '\x00'==0 to get something
6145    that's true only with -std.  */
6146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6147
6148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6149    inside strings and character constants.  */
6150 #define FOO(x) 'x'
6151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6152
6153 int test (int i, double x);
6154 struct s1 {int (*f) (int a);};
6155 struct s2 {int (*f) (double a);};
6156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6157 int argc;
6158 char **argv;
6159 int
6160 main ()
6161 {
6162 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6163   ;
6164   return 0;
6165 }
6166 _ACEOF
6167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6168         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6169 do
6170   CC="$ac_save_CC $ac_arg"
6171   if ac_fn_c_try_compile "$LINENO"; then :
6172   ac_cv_prog_cc_c89=$ac_arg
6173 fi
6174 rm -f core conftest.err conftest.$ac_objext
6175   test "x$ac_cv_prog_cc_c89" != "xno" && break
6176 done
6177 rm -f conftest.$ac_ext
6178 CC=$ac_save_CC
6179
6180 fi
6181 # AC_CACHE_VAL
6182 case "x$ac_cv_prog_cc_c89" in
6183   x)
6184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6185 $as_echo "none needed" >&6; } ;;
6186   xno)
6187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6188 $as_echo "unsupported" >&6; } ;;
6189   *)
6190     CC="$CC $ac_cv_prog_cc_c89"
6191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6193 esac
6194 if test "x$ac_cv_prog_cc_c89" != xno; then :
6195
6196 fi
6197
6198 ac_ext=c
6199 ac_cpp='$CPP $CPPFLAGS'
6200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6203
6204    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
6205 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
6206 if ${ac_cv_prog_cc_c99+:} false; then :
6207   $as_echo_n "(cached) " >&6
6208 else
6209   ac_cv_prog_cc_c99=no
6210 ac_save_CC=$CC
6211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h.  */
6213 #include <stdarg.h>
6214 #include <stdbool.h>
6215 #include <stdlib.h>
6216 #include <wchar.h>
6217 #include <stdio.h>
6218
6219 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
6220 #define debug(...) fprintf (stderr, __VA_ARGS__)
6221 #define showlist(...) puts (#__VA_ARGS__)
6222 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
6223 static void
6224 test_varargs_macros (void)
6225 {
6226   int x = 1234;
6227   int y = 5678;
6228   debug ("Flag");
6229   debug ("X = %d\n", x);
6230   showlist (The first, second, and third items.);
6231   report (x>y, "x is %d but y is %d", x, y);
6232 }
6233
6234 // Check long long types.
6235 #define BIG64 18446744073709551615ull
6236 #define BIG32 4294967295ul
6237 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
6238 #if !BIG_OK
6239   your preprocessor is broken;
6240 #endif
6241 #if BIG_OK
6242 #else
6243   your preprocessor is broken;
6244 #endif
6245 static long long int bignum = -9223372036854775807LL;
6246 static unsigned long long int ubignum = BIG64;
6247
6248 struct incomplete_array
6249 {
6250   int datasize;
6251   double data[];
6252 };
6253
6254 struct named_init {
6255   int number;
6256   const wchar_t *name;
6257   double average;
6258 };
6259
6260 typedef const char *ccp;
6261
6262 static inline int
6263 test_restrict (ccp restrict text)
6264 {
6265   // See if C++-style comments work.
6266   // Iterate through items via the restricted pointer.
6267   // Also check for declarations in for loops.
6268   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
6269     continue;
6270   return 0;
6271 }
6272
6273 // Check varargs and va_copy.
6274 static void
6275 test_varargs (const char *format, ...)
6276 {
6277   va_list args;
6278   va_start (args, format);
6279   va_list args_copy;
6280   va_copy (args_copy, args);
6281
6282   const char *str;
6283   int number;
6284   float fnumber;
6285
6286   while (*format)
6287     {
6288       switch (*format++)
6289         {
6290         case 's': // string
6291           str = va_arg (args_copy, const char *);
6292           break;
6293         case 'd': // int
6294           number = va_arg (args_copy, int);
6295           break;
6296         case 'f': // float
6297           fnumber = va_arg (args_copy, double);
6298           break;
6299         default:
6300           break;
6301         }
6302     }
6303   va_end (args_copy);
6304   va_end (args);
6305 }
6306
6307 int
6308 main ()
6309 {
6310
6311   // Check bool.
6312   _Bool success = false;
6313
6314   // Check restrict.
6315   if (test_restrict ("String literal") == 0)
6316     success = true;
6317   char *restrict newvar = "Another string";
6318
6319   // Check varargs.
6320   test_varargs ("s, d' f .", "string", 65, 34.234);
6321   test_varargs_macros ();
6322
6323   // Check flexible array members.
6324   struct incomplete_array *ia =
6325     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
6326   ia->datasize = 10;
6327   for (int i = 0; i < ia->datasize; ++i)
6328     ia->data[i] = i * 1.234;
6329
6330   // Check named initializers.
6331   struct named_init ni = {
6332     .number = 34,
6333     .name = L"Test wide string",
6334     .average = 543.34343,
6335   };
6336
6337   ni.number = 58;
6338
6339   int dynamic_array[ni.number];
6340   dynamic_array[ni.number - 1] = 543;
6341
6342   // work around unused variable warnings
6343   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
6344           || dynamic_array[ni.number - 1] != 543);
6345
6346   ;
6347   return 0;
6348 }
6349 _ACEOF
6350 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
6351 do
6352   CC="$ac_save_CC $ac_arg"
6353   if ac_fn_c_try_compile "$LINENO"; then :
6354   ac_cv_prog_cc_c99=$ac_arg
6355 fi
6356 rm -f core conftest.err conftest.$ac_objext
6357   test "x$ac_cv_prog_cc_c99" != "xno" && break
6358 done
6359 rm -f conftest.$ac_ext
6360 CC=$ac_save_CC
6361
6362 fi
6363 # AC_CACHE_VAL
6364 case "x$ac_cv_prog_cc_c99" in
6365   x)
6366     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6367 $as_echo "none needed" >&6; } ;;
6368   xno)
6369     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6370 $as_echo "unsupported" >&6; } ;;
6371   *)
6372     CC="$CC $ac_cv_prog_cc_c99"
6373     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6374 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
6375 esac
6376 if test "x$ac_cv_prog_cc_c99" != xno; then :
6377
6378 fi
6379
6380
6381 if test "x$CC" != xcc; then
6382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6383 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6384 else
6385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6386 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6387 fi
6388 set dummy $CC; ac_cc=`$as_echo "$2" |
6389                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6390 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6391   $as_echo_n "(cached) " >&6
6392 else
6393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h.  */
6395
6396 int
6397 main ()
6398 {
6399
6400   ;
6401   return 0;
6402 }
6403 _ACEOF
6404 # Make sure it works both with $CC and with simple cc.
6405 # We do the test twice because some compilers refuse to overwrite an
6406 # existing .o file with -o, though they will create one.
6407 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6408 rm -f conftest2.*
6409 if { { case "(($ac_try" in
6410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6411   *) ac_try_echo=$ac_try;;
6412 esac
6413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6414 $as_echo "$ac_try_echo"; } >&5
6415   (eval "$ac_try") 2>&5
6416   ac_status=$?
6417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418   test $ac_status = 0; } &&
6419    test -f conftest2.$ac_objext && { { case "(($ac_try" in
6420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421   *) ac_try_echo=$ac_try;;
6422 esac
6423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6424 $as_echo "$ac_try_echo"; } >&5
6425   (eval "$ac_try") 2>&5
6426   ac_status=$?
6427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428   test $ac_status = 0; };
6429 then
6430   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6431   if test "x$CC" != xcc; then
6432     # Test first that cc exists at all.
6433     if { ac_try='cc -c conftest.$ac_ext >&5'
6434   { { case "(($ac_try" in
6435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436   *) ac_try_echo=$ac_try;;
6437 esac
6438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6439 $as_echo "$ac_try_echo"; } >&5
6440   (eval "$ac_try") 2>&5
6441   ac_status=$?
6442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6443   test $ac_status = 0; }; }; then
6444       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6445       rm -f conftest2.*
6446       if { { case "(($ac_try" in
6447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6448   *) ac_try_echo=$ac_try;;
6449 esac
6450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6451 $as_echo "$ac_try_echo"; } >&5
6452   (eval "$ac_try") 2>&5
6453   ac_status=$?
6454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6455   test $ac_status = 0; } &&
6456          test -f conftest2.$ac_objext && { { case "(($ac_try" in
6457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6458   *) ac_try_echo=$ac_try;;
6459 esac
6460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6461 $as_echo "$ac_try_echo"; } >&5
6462   (eval "$ac_try") 2>&5
6463   ac_status=$?
6464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465   test $ac_status = 0; };
6466       then
6467         # cc works too.
6468         :
6469       else
6470         # cc exists but doesn't like -o.
6471         eval ac_cv_prog_cc_${ac_cc}_c_o=no
6472       fi
6473     fi
6474   fi
6475 else
6476   eval ac_cv_prog_cc_${ac_cc}_c_o=no
6477 fi
6478 rm -f core conftest*
6479
6480 fi
6481 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6483 $as_echo "yes" >&6; }
6484 else
6485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6487
6488 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6489
6490 fi
6491
6492 # FIXME: we rely on the cache variable name because
6493 # there is no other way.
6494 set dummy $CC
6495 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6496 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6497 if test "$am_t" != yes; then
6498    # Losing compiler, so override with the script.
6499    # FIXME: It is wrong to rewrite CC.
6500    # But if we don't then we get into trouble of one sort or another.
6501    # A longer-term fix would be to have automake use am__CC in this case,
6502    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6503    CC="$am_aux_dir/compile $CC"
6504 fi
6505
6506
6507 if test $ac_cv_c_compiler_gnu = yes; then
6508     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6509 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
6510 if ${ac_cv_prog_gcc_traditional+:} false; then :
6511   $as_echo_n "(cached) " >&6
6512 else
6513     ac_pattern="Autoconf.*'x'"
6514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h.  */
6516 #include <sgtty.h>
6517 Autoconf TIOCGETP
6518 _ACEOF
6519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6520   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6521   ac_cv_prog_gcc_traditional=yes
6522 else
6523   ac_cv_prog_gcc_traditional=no
6524 fi
6525 rm -f conftest*
6526
6527
6528   if test $ac_cv_prog_gcc_traditional = no; then
6529     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h.  */
6531 #include <termio.h>
6532 Autoconf TCGETA
6533 _ACEOF
6534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6535   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6536   ac_cv_prog_gcc_traditional=yes
6537 fi
6538 rm -f conftest*
6539
6540   fi
6541 fi
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
6543 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
6544   if test $ac_cv_prog_gcc_traditional = yes; then
6545     CC="$CC -traditional"
6546   fi
6547 fi
6548
6549
6550 if test -n "$ac_tool_prefix"; then
6551   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
6552 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_OBJCOPY+:} false; then :
6556   $as_echo_n "(cached) " >&6
6557 else
6558   if test -n "$OBJCOPY"; then
6559   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6563 do
6564   IFS=$as_save_IFS
6565   test -z "$as_dir" && as_dir=.
6566     for ac_exec_ext in '' $ac_executable_extensions; do
6567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
6569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570     break 2
6571   fi
6572 done
6573   done
6574 IFS=$as_save_IFS
6575
6576 fi
6577 fi
6578 OBJCOPY=$ac_cv_prog_OBJCOPY
6579 if test -n "$OBJCOPY"; then
6580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
6581 $as_echo "$OBJCOPY" >&6; }
6582 else
6583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6585 fi
6586
6587
6588 fi
6589 if test -z "$ac_cv_prog_OBJCOPY"; then
6590   ac_ct_OBJCOPY=$OBJCOPY
6591   # Extract the first word of "objcopy", so it can be a program name with args.
6592 set dummy objcopy; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
6596   $as_echo_n "(cached) " >&6
6597 else
6598   if test -n "$ac_ct_OBJCOPY"; then
6599   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
6600 else
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 for as_dir in $PATH
6603 do
6604   IFS=$as_save_IFS
6605   test -z "$as_dir" && as_dir=.
6606     for ac_exec_ext in '' $ac_executable_extensions; do
6607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6608     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
6609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610     break 2
6611   fi
6612 done
6613   done
6614 IFS=$as_save_IFS
6615
6616 fi
6617 fi
6618 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
6619 if test -n "$ac_ct_OBJCOPY"; then
6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
6621 $as_echo "$ac_ct_OBJCOPY" >&6; }
6622 else
6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6625 fi
6626
6627   if test "x$ac_ct_OBJCOPY" = x; then
6628     OBJCOPY=""
6629   else
6630     case $cross_compiling:$ac_tool_warned in
6631 yes:)
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6634 ac_tool_warned=yes ;;
6635 esac
6636     OBJCOPY=$ac_ct_OBJCOPY
6637   fi
6638 else
6639   OBJCOPY="$ac_cv_prog_OBJCOPY"
6640 fi
6641
6642 if test -n "$ac_tool_prefix"; then
6643   # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args.
6644 set dummy ${ac_tool_prefix}strings; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_STRINGS+:} false; then :
6648   $as_echo_n "(cached) " >&6
6649 else
6650   if test -n "$STRINGS"; then
6651   ac_cv_prog_STRINGS="$STRINGS" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6655 do
6656   IFS=$as_save_IFS
6657   test -z "$as_dir" && as_dir=.
6658     for ac_exec_ext in '' $ac_executable_extensions; do
6659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660     ac_cv_prog_STRINGS="${ac_tool_prefix}strings"
6661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662     break 2
6663   fi
6664 done
6665   done
6666 IFS=$as_save_IFS
6667
6668 fi
6669 fi
6670 STRINGS=$ac_cv_prog_STRINGS
6671 if test -n "$STRINGS"; then
6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5
6673 $as_echo "$STRINGS" >&6; }
6674 else
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6677 fi
6678
6679
6680 fi
6681 if test -z "$ac_cv_prog_STRINGS"; then
6682   ac_ct_STRINGS=$STRINGS
6683   # Extract the first word of "strings", so it can be a program name with args.
6684 set dummy strings; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if ${ac_cv_prog_ac_ct_STRINGS+:} false; then :
6688   $as_echo_n "(cached) " >&6
6689 else
6690   if test -n "$ac_ct_STRINGS"; then
6691   ac_cv_prog_ac_ct_STRINGS="$ac_ct_STRINGS" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6695 do
6696   IFS=$as_save_IFS
6697   test -z "$as_dir" && as_dir=.
6698     for ac_exec_ext in '' $ac_executable_extensions; do
6699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700     ac_cv_prog_ac_ct_STRINGS="strings"
6701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702     break 2
6703   fi
6704 done
6705   done
6706 IFS=$as_save_IFS
6707
6708 fi
6709 fi
6710 ac_ct_STRINGS=$ac_cv_prog_ac_ct_STRINGS
6711 if test -n "$ac_ct_STRINGS"; then
6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5
6713 $as_echo "$ac_ct_STRINGS" >&6; }
6714 else
6715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6717 fi
6718
6719   if test "x$ac_ct_STRINGS" = x; then
6720     STRINGS=""
6721   else
6722     case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728     STRINGS=$ac_ct_STRINGS
6729   fi
6730 else
6731   STRINGS="$ac_cv_prog_STRINGS"
6732 fi
6733
6734 if test -n "$ac_tool_prefix"; then
6735   # Extract the first word of "${ac_tool_prefix}gperf", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}gperf; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_GPERF+:} false; then :
6740   $as_echo_n "(cached) " >&6
6741 else
6742   if test -n "$GPERF"; then
6743   ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6747 do
6748   IFS=$as_save_IFS
6749   test -z "$as_dir" && as_dir=.
6750     for ac_exec_ext in '' $ac_executable_extensions; do
6751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6752     ac_cv_prog_GPERF="${ac_tool_prefix}gperf"
6753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754     break 2
6755   fi
6756 done
6757   done
6758 IFS=$as_save_IFS
6759
6760 fi
6761 fi
6762 GPERF=$ac_cv_prog_GPERF
6763 if test -n "$GPERF"; then
6764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
6765 $as_echo "$GPERF" >&6; }
6766 else
6767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6769 fi
6770
6771
6772 fi
6773 if test -z "$ac_cv_prog_GPERF"; then
6774   ac_ct_GPERF=$GPERF
6775   # Extract the first word of "gperf", so it can be a program name with args.
6776 set dummy gperf; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_ac_ct_GPERF+:} false; then :
6780   $as_echo_n "(cached) " >&6
6781 else
6782   if test -n "$ac_ct_GPERF"; then
6783   ac_cv_prog_ac_ct_GPERF="$ac_ct_GPERF" # Let the user override the test.
6784 else
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 for as_dir in $PATH
6787 do
6788   IFS=$as_save_IFS
6789   test -z "$as_dir" && as_dir=.
6790     for ac_exec_ext in '' $ac_executable_extensions; do
6791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6792     ac_cv_prog_ac_ct_GPERF="gperf"
6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794     break 2
6795   fi
6796 done
6797   done
6798 IFS=$as_save_IFS
6799
6800 fi
6801 fi
6802 ac_ct_GPERF=$ac_cv_prog_ac_ct_GPERF
6803 if test -n "$ac_ct_GPERF"; then
6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GPERF" >&5
6805 $as_echo "$ac_ct_GPERF" >&6; }
6806 else
6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6809 fi
6810
6811   if test "x$ac_ct_GPERF" = x; then
6812     GPERF=""
6813   else
6814     case $cross_compiling:$ac_tool_warned in
6815 yes:)
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned=yes ;;
6819 esac
6820     GPERF=$ac_ct_GPERF
6821   fi
6822 else
6823   GPERF="$ac_cv_prog_GPERF"
6824 fi
6825
6826 if test -z "$GPERF" ; then
6827         as_fn_error $? "*** gperf not found" "$LINENO" 5
6828 fi
6829
6830
6831   for flag in  \
6832         -pipe \
6833         -Wall \
6834         -W \
6835         -Wextra \
6836         -Wno-inline \
6837         -Wvla \
6838         -Wundef \
6839         -Wformat=2 \
6840         -Wlogical-op \
6841         -Wsign-compare \
6842         -Wformat-security \
6843         -Wmissing-include-dirs \
6844         -Wformat-nonliteral \
6845         -Wold-style-definition \
6846         -Wpointer-arith \
6847         -Winit-self \
6848         -Wdeclaration-after-statement \
6849         -Wfloat-equal \
6850         -Wmissing-prototypes \
6851         -Wstrict-prototypes \
6852         -Wredundant-decls \
6853         -Wmissing-declarations \
6854         -Wmissing-noreturn \
6855         -Wshadow \
6856         -Wendif-labels \
6857         -Wcast-align \
6858         -Wstrict-aliasing=2 \
6859         -Wwrite-strings \
6860         -Wno-long-long \
6861         -Wno-overlength-strings \
6862         -Wno-unused-parameter \
6863         -Wno-missing-field-initializers \
6864         -Wno-unused-result \
6865         -Werror=overflow \
6866         -Wp,-D_FORTIFY_SOURCE=2 \
6867         -ffast-math \
6868         -fno-common \
6869         -fdiagnostics-show-option \
6870         -fno-strict-aliasing \
6871         -fvisibility=hidden \
6872         -ffunction-sections \
6873         -fdata-sections \
6874         -Wl,--as-needed \
6875         -Wl,--gc-sections; do
6876
6877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
6878 $as_echo_n "checking if $CC supports $flag flag... " >&6; }
6879 if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
6880   $as_echo_n "(cached) " >&6
6881 else
6882
6883   if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
6884   $as_echo_n "(cached) " >&6
6885 else
6886   ac_save_CFLAGS="$CFLAGS"
6887      CFLAGS="$CFLAGS $flag"
6888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h.  */
6890 int a;
6891 _ACEOF
6892 if ac_fn_c_try_compile "$LINENO"; then :
6893   eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
6894 else
6895   eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
6896 fi
6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6898      CFLAGS="$ac_save_CFLAGS"
6899
6900 fi
6901
6902
6903   if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
6904
6905 fi
6906
6907 fi
6908 eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
6909                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6910 $as_echo "$ac_res" >&6; }
6911
6912   if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
6913   CFLAGS="$CFLAGS $flag"; DEBUG_CFLAGS="$DEBUG_CFLAGS $flag";
6914 fi
6915
6916   done
6917
6918
6919
6920 case `pwd` in
6921   *\ * | *\     *)
6922     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6923 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6924 esac
6925
6926
6927
6928 macro_version='2.4.2'
6929 macro_revision='1.3337'
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943 ltmain="$ac_aux_dir/ltmain.sh"
6944
6945 # Backslashify metacharacters that are still active within
6946 # double-quoted strings.
6947 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6948
6949 # Same as above, but do not quote variable references.
6950 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6951
6952 # Sed substitution to delay expansion of an escaped shell variable in a
6953 # double_quote_subst'ed string.
6954 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6955
6956 # Sed substitution to delay expansion of an escaped single quote.
6957 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6958
6959 # Sed substitution to avoid accidental globbing in evaled expressions
6960 no_glob_subst='s/\*/\\\*/g'
6961
6962 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6963 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6964 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6965
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6967 $as_echo_n "checking how to print strings... " >&6; }
6968 # Test print first, because it will be a builtin if present.
6969 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6970    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6971   ECHO='print -r --'
6972 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6973   ECHO='printf %s\n'
6974 else
6975   # Use this function as a fallback that always works.
6976   func_fallback_echo ()
6977   {
6978     eval 'cat <<_LTECHO_EOF
6979 $1
6980 _LTECHO_EOF'
6981   }
6982   ECHO='func_fallback_echo'
6983 fi
6984
6985 # func_echo_all arg...
6986 # Invoke $ECHO with all args, space-separated.
6987 func_echo_all ()
6988 {
6989     $ECHO ""
6990 }
6991
6992 case "$ECHO" in
6993   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6994 $as_echo "printf" >&6; } ;;
6995   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6996 $as_echo "print -r" >&6; } ;;
6997   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6998 $as_echo "cat" >&6; } ;;
6999 esac
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7015 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7016 if ${ac_cv_path_SED+:} false; then :
7017   $as_echo_n "(cached) " >&6
7018 else
7019             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7020      for ac_i in 1 2 3 4 5 6 7; do
7021        ac_script="$ac_script$as_nl$ac_script"
7022      done
7023      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7024      { ac_script=; unset ac_script;}
7025      if test -z "$SED"; then
7026   ac_path_SED_found=false
7027   # Loop through the user's path and test for each of PROGNAME-LIST
7028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH
7030 do
7031   IFS=$as_save_IFS
7032   test -z "$as_dir" && as_dir=.
7033     for ac_prog in sed gsed; do
7034     for ac_exec_ext in '' $ac_executable_extensions; do
7035       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7036       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7037 # Check for GNU ac_path_SED and select it if it is found.
7038   # Check for GNU $ac_path_SED
7039 case `"$ac_path_SED" --version 2>&1` in
7040 *GNU*)
7041   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7042 *)
7043   ac_count=0
7044   $as_echo_n 0123456789 >"conftest.in"
7045   while :
7046   do
7047     cat "conftest.in" "conftest.in" >"conftest.tmp"
7048     mv "conftest.tmp" "conftest.in"
7049     cp "conftest.in" "conftest.nl"
7050     $as_echo '' >> "conftest.nl"
7051     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7052     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7053     as_fn_arith $ac_count + 1 && ac_count=$as_val
7054     if test $ac_count -gt ${ac_path_SED_max-0}; then
7055       # Best one so far, save it but keep looking for a better one
7056       ac_cv_path_SED="$ac_path_SED"
7057       ac_path_SED_max=$ac_count
7058     fi
7059     # 10*(2^10) chars as input seems more than enough
7060     test $ac_count -gt 10 && break
7061   done
7062   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7063 esac
7064
7065       $ac_path_SED_found && break 3
7066     done
7067   done
7068   done
7069 IFS=$as_save_IFS
7070   if test -z "$ac_cv_path_SED"; then
7071     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7072   fi
7073 else
7074   ac_cv_path_SED=$SED
7075 fi
7076
7077 fi
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7079 $as_echo "$ac_cv_path_SED" >&6; }
7080  SED="$ac_cv_path_SED"
7081   rm -f conftest.sed
7082
7083 test -z "$SED" && SED=sed
7084 Xsed="$SED -e 1s/^X//"
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7097 $as_echo_n "checking for fgrep... " >&6; }
7098 if ${ac_cv_path_FGREP+:} false; then :
7099   $as_echo_n "(cached) " >&6
7100 else
7101   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7102    then ac_cv_path_FGREP="$GREP -F"
7103    else
7104      if test -z "$FGREP"; then
7105   ac_path_FGREP_found=false
7106   # Loop through the user's path and test for each of PROGNAME-LIST
7107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7109 do
7110   IFS=$as_save_IFS
7111   test -z "$as_dir" && as_dir=.
7112     for ac_prog in fgrep; do
7113     for ac_exec_ext in '' $ac_executable_extensions; do
7114       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7115       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7116 # Check for GNU ac_path_FGREP and select it if it is found.
7117   # Check for GNU $ac_path_FGREP
7118 case `"$ac_path_FGREP" --version 2>&1` in
7119 *GNU*)
7120   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7121 *)
7122   ac_count=0
7123   $as_echo_n 0123456789 >"conftest.in"
7124   while :
7125   do
7126     cat "conftest.in" "conftest.in" >"conftest.tmp"
7127     mv "conftest.tmp" "conftest.in"
7128     cp "conftest.in" "conftest.nl"
7129     $as_echo 'FGREP' >> "conftest.nl"
7130     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7131     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7132     as_fn_arith $ac_count + 1 && ac_count=$as_val
7133     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7134       # Best one so far, save it but keep looking for a better one
7135       ac_cv_path_FGREP="$ac_path_FGREP"
7136       ac_path_FGREP_max=$ac_count
7137     fi
7138     # 10*(2^10) chars as input seems more than enough
7139     test $ac_count -gt 10 && break
7140   done
7141   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7142 esac
7143
7144       $ac_path_FGREP_found && break 3
7145     done
7146   done
7147   done
7148 IFS=$as_save_IFS
7149   if test -z "$ac_cv_path_FGREP"; then
7150     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7151   fi
7152 else
7153   ac_cv_path_FGREP=$FGREP
7154 fi
7155
7156    fi
7157 fi
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7159 $as_echo "$ac_cv_path_FGREP" >&6; }
7160  FGREP="$ac_cv_path_FGREP"
7161
7162
7163 test -z "$GREP" && GREP=grep
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183 # Check whether --with-gnu-ld was given.
7184 if test "${with_gnu_ld+set}" = set; then :
7185   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7186 else
7187   with_gnu_ld=no
7188 fi
7189
7190 ac_prog=ld
7191 if test "$GCC" = yes; then
7192   # Check if gcc -print-prog-name=ld gives a path.
7193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7194 $as_echo_n "checking for ld used by $CC... " >&6; }
7195   case $host in
7196   *-*-mingw*)
7197     # gcc leaves a trailing carriage return which upsets mingw
7198     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7199   *)
7200     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7201   esac
7202   case $ac_prog in
7203     # Accept absolute paths.
7204     [\\/]* | ?:[\\/]*)
7205       re_direlt='/[^/][^/]*/\.\./'
7206       # Canonicalize the pathname of ld
7207       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7208       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7209         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7210       done
7211       test -z "$LD" && LD="$ac_prog"
7212       ;;
7213   "")
7214     # If it fails, then pretend we aren't using GCC.
7215     ac_prog=ld
7216     ;;
7217   *)
7218     # If it is relative, then search for the first ld in PATH.
7219     with_gnu_ld=unknown
7220     ;;
7221   esac
7222 elif test "$with_gnu_ld" = yes; then
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7224 $as_echo_n "checking for GNU ld... " >&6; }
7225 else
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7227 $as_echo_n "checking for non-GNU ld... " >&6; }
7228 fi
7229 if ${lt_cv_path_LD+:} false; then :
7230   $as_echo_n "(cached) " >&6
7231 else
7232   if test -z "$LD"; then
7233   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7234   for ac_dir in $PATH; do
7235     IFS="$lt_save_ifs"
7236     test -z "$ac_dir" && ac_dir=.
7237     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7238       lt_cv_path_LD="$ac_dir/$ac_prog"
7239       # Check to see if the program is GNU ld.  I'd rather use --version,
7240       # but apparently some variants of GNU ld only accept -v.
7241       # Break only if it was the GNU/non-GNU ld that we prefer.
7242       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7243       *GNU* | *'with BFD'*)
7244         test "$with_gnu_ld" != no && break
7245         ;;
7246       *)
7247         test "$with_gnu_ld" != yes && break
7248         ;;
7249       esac
7250     fi
7251   done
7252   IFS="$lt_save_ifs"
7253 else
7254   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7255 fi
7256 fi
7257
7258 LD="$lt_cv_path_LD"
7259 if test -n "$LD"; then
7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7261 $as_echo "$LD" >&6; }
7262 else
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7265 fi
7266 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7268 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7269 if ${lt_cv_prog_gnu_ld+:} false; then :
7270   $as_echo_n "(cached) " >&6
7271 else
7272   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7273 case `$LD -v 2>&1 </dev/null` in
7274 *GNU* | *'with BFD'*)
7275   lt_cv_prog_gnu_ld=yes
7276   ;;
7277 *)
7278   lt_cv_prog_gnu_ld=no
7279   ;;
7280 esac
7281 fi
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7283 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7284 with_gnu_ld=$lt_cv_prog_gnu_ld
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7295 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7296 if ${lt_cv_path_NM+:} false; then :
7297   $as_echo_n "(cached) " >&6
7298 else
7299   if test -n "$NM"; then
7300   # Let the user override the test.
7301   lt_cv_path_NM="$NM"
7302 else
7303   lt_nm_to_check="${ac_tool_prefix}nm"
7304   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7305     lt_nm_to_check="$lt_nm_to_check nm"
7306   fi
7307   for lt_tmp_nm in $lt_nm_to_check; do
7308     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7309     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7310       IFS="$lt_save_ifs"
7311       test -z "$ac_dir" && ac_dir=.
7312       tmp_nm="$ac_dir/$lt_tmp_nm"
7313       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7314         # Check to see if the nm accepts a BSD-compat flag.
7315         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7316         #   nm: unknown option "B" ignored
7317         # Tru64's nm complains that /dev/null is an invalid object file
7318         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7319         */dev/null* | *'Invalid file or object type'*)
7320           lt_cv_path_NM="$tmp_nm -B"
7321           break
7322           ;;
7323         *)
7324           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7325           */dev/null*)
7326             lt_cv_path_NM="$tmp_nm -p"
7327             break
7328             ;;
7329           *)
7330             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7331             continue # so that we can try to find one that supports BSD flags
7332             ;;
7333           esac
7334           ;;
7335         esac
7336       fi
7337     done
7338     IFS="$lt_save_ifs"
7339   done
7340   : ${lt_cv_path_NM=no}
7341 fi
7342 fi
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7344 $as_echo "$lt_cv_path_NM" >&6; }
7345 if test "$lt_cv_path_NM" != "no"; then
7346   NM="$lt_cv_path_NM"
7347 else
7348   # Didn't find any BSD compatible name lister, look for dumpbin.
7349   if test -n "$DUMPBIN"; then :
7350     # Let the user override the test.
7351   else
7352     if test -n "$ac_tool_prefix"; then
7353   for ac_prog in dumpbin "link -dump"
7354   do
7355     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_DUMPBIN+:} false; then :
7360   $as_echo_n "(cached) " >&6
7361 else
7362   if test -n "$DUMPBIN"; then
7363   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7367 do
7368   IFS=$as_save_IFS
7369   test -z "$as_dir" && as_dir=.
7370     for ac_exec_ext in '' $ac_executable_extensions; do
7371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374     break 2
7375   fi
7376 done
7377   done
7378 IFS=$as_save_IFS
7379
7380 fi
7381 fi
7382 DUMPBIN=$ac_cv_prog_DUMPBIN
7383 if test -n "$DUMPBIN"; then
7384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7385 $as_echo "$DUMPBIN" >&6; }
7386 else
7387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7389 fi
7390
7391
7392     test -n "$DUMPBIN" && break
7393   done
7394 fi
7395 if test -z "$DUMPBIN"; then
7396   ac_ct_DUMPBIN=$DUMPBIN
7397   for ac_prog in dumpbin "link -dump"
7398 do
7399   # Extract the first word of "$ac_prog", so it can be a program name with args.
7400 set dummy $ac_prog; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7404   $as_echo_n "(cached) " >&6
7405 else
7406   if test -n "$ac_ct_DUMPBIN"; then
7407   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7411 do
7412   IFS=$as_save_IFS
7413   test -z "$as_dir" && as_dir=.
7414     for ac_exec_ext in '' $ac_executable_extensions; do
7415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7416     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418     break 2
7419   fi
7420 done
7421   done
7422 IFS=$as_save_IFS
7423
7424 fi
7425 fi
7426 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7427 if test -n "$ac_ct_DUMPBIN"; then
7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7429 $as_echo "$ac_ct_DUMPBIN" >&6; }
7430 else
7431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7433 fi
7434
7435
7436   test -n "$ac_ct_DUMPBIN" && break
7437 done
7438
7439   if test "x$ac_ct_DUMPBIN" = x; then
7440     DUMPBIN=":"
7441   else
7442     case $cross_compiling:$ac_tool_warned in
7443 yes:)
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7446 ac_tool_warned=yes ;;
7447 esac
7448     DUMPBIN=$ac_ct_DUMPBIN
7449   fi
7450 fi
7451
7452     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7453     *COFF*)
7454       DUMPBIN="$DUMPBIN -symbols"
7455       ;;
7456     *)
7457       DUMPBIN=:
7458       ;;
7459     esac
7460   fi
7461
7462   if test "$DUMPBIN" != ":"; then
7463     NM="$DUMPBIN"
7464   fi
7465 fi
7466 test -z "$NM" && NM=nm
7467
7468
7469
7470
7471
7472
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7474 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7475 if ${lt_cv_nm_interface+:} false; then :
7476   $as_echo_n "(cached) " >&6
7477 else
7478   lt_cv_nm_interface="BSD nm"
7479   echo "int some_variable = 0;" > conftest.$ac_ext
7480   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7481   (eval "$ac_compile" 2>conftest.err)
7482   cat conftest.err >&5
7483   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7484   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7485   cat conftest.err >&5
7486   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7487   cat conftest.out >&5
7488   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7489     lt_cv_nm_interface="MS dumpbin"
7490   fi
7491   rm -f conftest*
7492 fi
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7494 $as_echo "$lt_cv_nm_interface" >&6; }
7495
7496 # find the maximum length of command line arguments
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7498 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7499 if ${lt_cv_sys_max_cmd_len+:} false; then :
7500   $as_echo_n "(cached) " >&6
7501 else
7502     i=0
7503   teststring="ABCD"
7504
7505   case $build_os in
7506   msdosdjgpp*)
7507     # On DJGPP, this test can blow up pretty badly due to problems in libc
7508     # (any single argument exceeding 2000 bytes causes a buffer overrun
7509     # during glob expansion).  Even if it were fixed, the result of this
7510     # check would be larger than it should be.
7511     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7512     ;;
7513
7514   gnu*)
7515     # Under GNU Hurd, this test is not required because there is
7516     # no limit to the length of command line arguments.
7517     # Libtool will interpret -1 as no limit whatsoever
7518     lt_cv_sys_max_cmd_len=-1;
7519     ;;
7520
7521   cygwin* | mingw* | cegcc*)
7522     # On Win9x/ME, this test blows up -- it succeeds, but takes
7523     # about 5 minutes as the teststring grows exponentially.
7524     # Worse, since 9x/ME are not pre-emptively multitasking,
7525     # you end up with a "frozen" computer, even though with patience
7526     # the test eventually succeeds (with a max line length of 256k).
7527     # Instead, let's just punt: use the minimum linelength reported by
7528     # all of the supported platforms: 8192 (on NT/2K/XP).
7529     lt_cv_sys_max_cmd_len=8192;
7530     ;;
7531
7532   mint*)
7533     # On MiNT this can take a long time and run out of memory.
7534     lt_cv_sys_max_cmd_len=8192;
7535     ;;
7536
7537   amigaos*)
7538     # On AmigaOS with pdksh, this test takes hours, literally.
7539     # So we just punt and use a minimum line length of 8192.
7540     lt_cv_sys_max_cmd_len=8192;
7541     ;;
7542
7543   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7544     # This has been around since 386BSD, at least.  Likely further.
7545     if test -x /sbin/sysctl; then
7546       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7547     elif test -x /usr/sbin/sysctl; then
7548       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7549     else
7550       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7551     fi
7552     # And add a safety zone
7553     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7554     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7555     ;;
7556
7557   interix*)
7558     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7559     lt_cv_sys_max_cmd_len=196608
7560     ;;
7561
7562   os2*)
7563     # The test takes a long time on OS/2.
7564     lt_cv_sys_max_cmd_len=8192
7565     ;;
7566
7567   osf*)
7568     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7569     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7570     # nice to cause kernel panics so lets avoid the loop below.
7571     # First set a reasonable default.
7572     lt_cv_sys_max_cmd_len=16384
7573     #
7574     if test -x /sbin/sysconfig; then
7575       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7576         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7577       esac
7578     fi
7579     ;;
7580   sco3.2v5*)
7581     lt_cv_sys_max_cmd_len=102400
7582     ;;
7583   sysv5* | sco5v6* | sysv4.2uw2*)
7584     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7585     if test -n "$kargmax"; then
7586       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7587     else
7588       lt_cv_sys_max_cmd_len=32768
7589     fi
7590     ;;
7591   *)
7592     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7593     if test -n "$lt_cv_sys_max_cmd_len"; then
7594       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7595       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7596     else
7597       # Make teststring a little bigger before we do anything with it.
7598       # a 1K string should be a reasonable start.
7599       for i in 1 2 3 4 5 6 7 8 ; do
7600         teststring=$teststring$teststring
7601       done
7602       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7603       # If test is not a shell built-in, we'll probably end up computing a
7604       # maximum length that is only half of the actual maximum length, but
7605       # we can't tell.
7606       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7607                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7608               test $i != 17 # 1/2 MB should be enough
7609       do
7610         i=`expr $i + 1`
7611         teststring=$teststring$teststring
7612       done
7613       # Only check the string length outside the loop.
7614       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7615       teststring=
7616       # Add a significant safety factor because C++ compilers can tack on
7617       # massive amounts of additional arguments before passing them to the
7618       # linker.  It appears as though 1/2 is a usable value.
7619       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7620     fi
7621     ;;
7622   esac
7623
7624 fi
7625
7626 if test -n $lt_cv_sys_max_cmd_len ; then
7627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7628 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7629 else
7630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7631 $as_echo "none" >&6; }
7632 fi
7633 max_cmd_len=$lt_cv_sys_max_cmd_len
7634
7635
7636
7637
7638
7639
7640 : ${CP="cp -f"}
7641 : ${MV="mv -f"}
7642 : ${RM="rm -f"}
7643
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7645 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7646 # Try some XSI features
7647 xsi_shell=no
7648 ( _lt_dummy="a/b/c"
7649   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7650       = c,a/b,b/c, \
7651     && eval 'test $(( 1 + 1 )) -eq 2 \
7652     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7653   && xsi_shell=yes
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7655 $as_echo "$xsi_shell" >&6; }
7656
7657
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7659 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7660 lt_shell_append=no
7661 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7662     >/dev/null 2>&1 \
7663   && lt_shell_append=yes
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7665 $as_echo "$lt_shell_append" >&6; }
7666
7667
7668 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7669   lt_unset=unset
7670 else
7671   lt_unset=false
7672 fi
7673
7674
7675
7676
7677
7678 # test EBCDIC or ASCII
7679 case `echo X|tr X '\101'` in
7680  A) # ASCII based system
7681     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7682   lt_SP2NL='tr \040 \012'
7683   lt_NL2SP='tr \015\012 \040\040'
7684   ;;
7685  *) # EBCDIC based system
7686   lt_SP2NL='tr \100 \n'
7687   lt_NL2SP='tr \r\n \100\100'
7688   ;;
7689 esac
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7700 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7701 if ${lt_cv_to_host_file_cmd+:} false; then :
7702   $as_echo_n "(cached) " >&6
7703 else
7704   case $host in
7705   *-*-mingw* )
7706     case $build in
7707       *-*-mingw* ) # actually msys
7708         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7709         ;;
7710       *-*-cygwin* )
7711         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7712         ;;
7713       * ) # otherwise, assume *nix
7714         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7715         ;;
7716     esac
7717     ;;
7718   *-*-cygwin* )
7719     case $build in
7720       *-*-mingw* ) # actually msys
7721         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7722         ;;
7723       *-*-cygwin* )
7724         lt_cv_to_host_file_cmd=func_convert_file_noop
7725         ;;
7726       * ) # otherwise, assume *nix
7727         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7728         ;;
7729     esac
7730     ;;
7731   * ) # unhandled hosts (and "normal" native builds)
7732     lt_cv_to_host_file_cmd=func_convert_file_noop
7733     ;;
7734 esac
7735
7736 fi
7737
7738 to_host_file_cmd=$lt_cv_to_host_file_cmd
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7740 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7741
7742
7743
7744
7745
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7747 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7748 if ${lt_cv_to_tool_file_cmd+:} false; then :
7749   $as_echo_n "(cached) " >&6
7750 else
7751   #assume ordinary cross tools, or native build.
7752 lt_cv_to_tool_file_cmd=func_convert_file_noop
7753 case $host in
7754   *-*-mingw* )
7755     case $build in
7756       *-*-mingw* ) # actually msys
7757         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7758         ;;
7759     esac
7760     ;;
7761 esac
7762
7763 fi
7764
7765 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7767 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7768
7769
7770
7771
7772
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7774 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7775 if ${lt_cv_ld_reload_flag+:} false; then :
7776   $as_echo_n "(cached) " >&6
7777 else
7778   lt_cv_ld_reload_flag='-r'
7779 fi
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7781 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7782 reload_flag=$lt_cv_ld_reload_flag
7783 case $reload_flag in
7784 "" | " "*) ;;
7785 *) reload_flag=" $reload_flag" ;;
7786 esac
7787 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7788 case $host_os in
7789   cygwin* | mingw* | pw32* | cegcc*)
7790     if test "$GCC" != yes; then
7791       reload_cmds=false
7792     fi
7793     ;;
7794   darwin*)
7795     if test "$GCC" = yes; then
7796       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7797     else
7798       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7799     fi
7800     ;;
7801 esac
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811 if test -n "$ac_tool_prefix"; then
7812   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7813 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_OBJDUMP+:} false; then :
7817   $as_echo_n "(cached) " >&6
7818 else
7819   if test -n "$OBJDUMP"; then
7820   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7824 do
7825   IFS=$as_save_IFS
7826   test -z "$as_dir" && as_dir=.
7827     for ac_exec_ext in '' $ac_executable_extensions; do
7828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831     break 2
7832   fi
7833 done
7834   done
7835 IFS=$as_save_IFS
7836
7837 fi
7838 fi
7839 OBJDUMP=$ac_cv_prog_OBJDUMP
7840 if test -n "$OBJDUMP"; then
7841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7842 $as_echo "$OBJDUMP" >&6; }
7843 else
7844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7846 fi
7847
7848
7849 fi
7850 if test -z "$ac_cv_prog_OBJDUMP"; then
7851   ac_ct_OBJDUMP=$OBJDUMP
7852   # Extract the first word of "objdump", so it can be a program name with args.
7853 set dummy objdump; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7857   $as_echo_n "(cached) " >&6
7858 else
7859   if test -n "$ac_ct_OBJDUMP"; then
7860   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7861 else
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 for as_dir in $PATH
7864 do
7865   IFS=$as_save_IFS
7866   test -z "$as_dir" && as_dir=.
7867     for ac_exec_ext in '' $ac_executable_extensions; do
7868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871     break 2
7872   fi
7873 done
7874   done
7875 IFS=$as_save_IFS
7876
7877 fi
7878 fi
7879 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7880 if test -n "$ac_ct_OBJDUMP"; then
7881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7882 $as_echo "$ac_ct_OBJDUMP" >&6; }
7883 else
7884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7886 fi
7887
7888   if test "x$ac_ct_OBJDUMP" = x; then
7889     OBJDUMP="false"
7890   else
7891     case $cross_compiling:$ac_tool_warned in
7892 yes:)
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned=yes ;;
7896 esac
7897     OBJDUMP=$ac_ct_OBJDUMP
7898   fi
7899 else
7900   OBJDUMP="$ac_cv_prog_OBJDUMP"
7901 fi
7902
7903 test -z "$OBJDUMP" && OBJDUMP=objdump
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7914 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7915 if ${lt_cv_deplibs_check_method+:} false; then :
7916   $as_echo_n "(cached) " >&6
7917 else
7918   lt_cv_file_magic_cmd='$MAGIC_CMD'
7919 lt_cv_file_magic_test_file=
7920 lt_cv_deplibs_check_method='unknown'
7921 # Need to set the preceding variable on all platforms that support
7922 # interlibrary dependencies.
7923 # 'none' -- dependencies not supported.
7924 # `unknown' -- same as none, but documents that we really don't know.
7925 # 'pass_all' -- all dependencies passed with no checks.
7926 # 'test_compile' -- check by making test program.
7927 # 'file_magic [[regex]]' -- check by looking for files in library path
7928 # which responds to the $file_magic_cmd with a given extended regex.
7929 # If you have `file' or equivalent on your system and you're not sure
7930 # whether `pass_all' will *always* work, you probably want this one.
7931
7932 case $host_os in
7933 aix[4-9]*)
7934   lt_cv_deplibs_check_method=pass_all
7935   ;;
7936
7937 beos*)
7938   lt_cv_deplibs_check_method=pass_all
7939   ;;
7940
7941 bsdi[45]*)
7942   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7943   lt_cv_file_magic_cmd='/usr/bin/file -L'
7944   lt_cv_file_magic_test_file=/shlib/libc.so
7945   ;;
7946
7947 cygwin*)
7948   # func_win32_libid is a shell function defined in ltmain.sh
7949   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7950   lt_cv_file_magic_cmd='func_win32_libid'
7951   ;;
7952
7953 mingw* | pw32*)
7954   # Base MSYS/MinGW do not provide the 'file' command needed by
7955   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7956   # unless we find 'file', for example because we are cross-compiling.
7957   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7958   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7959     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7960     lt_cv_file_magic_cmd='func_win32_libid'
7961   else
7962     # Keep this pattern in sync with the one in func_win32_libid.
7963     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7964     lt_cv_file_magic_cmd='$OBJDUMP -f'
7965   fi
7966   ;;
7967
7968 cegcc*)
7969   # use the weaker test based on 'objdump'. See mingw*.
7970   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7971   lt_cv_file_magic_cmd='$OBJDUMP -f'
7972   ;;
7973
7974 darwin* | rhapsody*)
7975   lt_cv_deplibs_check_method=pass_all
7976   ;;
7977
7978 freebsd* | dragonfly*)
7979   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7980     case $host_cpu in
7981     i*86 )
7982       # Not sure whether the presence of OpenBSD here was a mistake.
7983       # Let's accept both of them until this is cleared up.
7984       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7985       lt_cv_file_magic_cmd=/usr/bin/file
7986       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7987       ;;
7988     esac
7989   else
7990     lt_cv_deplibs_check_method=pass_all
7991   fi
7992   ;;
7993
7994 gnu*)
7995   lt_cv_deplibs_check_method=pass_all
7996   ;;
7997
7998 haiku*)
7999   lt_cv_deplibs_check_method=pass_all
8000   ;;
8001
8002 hpux10.20* | hpux11*)
8003   lt_cv_file_magic_cmd=/usr/bin/file
8004   case $host_cpu in
8005   ia64*)
8006     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8007     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8008     ;;
8009   hppa*64*)
8010     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8011     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8012     ;;
8013   *)
8014     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8015     lt_cv_file_magic_test_file=/usr/lib/libc.sl
8016     ;;
8017   esac
8018   ;;
8019
8020 interix[3-9]*)
8021   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8022   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8023   ;;
8024
8025 irix5* | irix6* | nonstopux*)
8026   case $LD in
8027   *-32|*"-32 ") libmagic=32-bit;;
8028   *-n32|*"-n32 ") libmagic=N32;;
8029   *-64|*"-64 ") libmagic=64-bit;;
8030   *) libmagic=never-match;;
8031   esac
8032   lt_cv_deplibs_check_method=pass_all
8033   ;;
8034
8035 # This must be glibc/ELF.
8036 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8037   lt_cv_deplibs_check_method=pass_all
8038   ;;
8039
8040 netbsd*)
8041   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8042     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8043   else
8044     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8045   fi
8046   ;;
8047
8048 newos6*)
8049   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8050   lt_cv_file_magic_cmd=/usr/bin/file
8051   lt_cv_file_magic_test_file=/usr/lib/libnls.so
8052   ;;
8053
8054 *nto* | *qnx*)
8055   lt_cv_deplibs_check_method=pass_all
8056   ;;
8057
8058 openbsd*)
8059   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8060     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8061   else
8062     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8063   fi
8064   ;;
8065
8066 osf3* | osf4* | osf5*)
8067   lt_cv_deplibs_check_method=pass_all
8068   ;;
8069
8070 rdos*)
8071   lt_cv_deplibs_check_method=pass_all
8072   ;;
8073
8074 solaris*)
8075   lt_cv_deplibs_check_method=pass_all
8076   ;;
8077
8078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8079   lt_cv_deplibs_check_method=pass_all
8080   ;;
8081
8082 sysv4 | sysv4.3*)
8083   case $host_vendor in
8084   motorola)
8085     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
8086     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8087     ;;
8088   ncr)
8089     lt_cv_deplibs_check_method=pass_all
8090     ;;
8091   sequent)
8092     lt_cv_file_magic_cmd='/bin/file'
8093     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8094     ;;
8095   sni)
8096     lt_cv_file_magic_cmd='/bin/file'
8097     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8098     lt_cv_file_magic_test_file=/lib/libc.so
8099     ;;
8100   siemens)
8101     lt_cv_deplibs_check_method=pass_all
8102     ;;
8103   pc)
8104     lt_cv_deplibs_check_method=pass_all
8105     ;;
8106   esac
8107   ;;
8108
8109 tpf*)
8110   lt_cv_deplibs_check_method=pass_all
8111   ;;
8112 esac
8113
8114 fi
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8116 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8117
8118 file_magic_glob=
8119 want_nocaseglob=no
8120 if test "$build" = "$host"; then
8121   case $host_os in
8122   mingw* | pw32*)
8123     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8124       want_nocaseglob=yes
8125     else
8126       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8127     fi
8128     ;;
8129   esac
8130 fi
8131
8132 file_magic_cmd=$lt_cv_file_magic_cmd
8133 deplibs_check_method=$lt_cv_deplibs_check_method
8134 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157 if test -n "$ac_tool_prefix"; then
8158   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8159 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8161 $as_echo_n "checking for $ac_word... " >&6; }
8162 if ${ac_cv_prog_DLLTOOL+:} false; then :
8163   $as_echo_n "(cached) " >&6
8164 else
8165   if test -n "$DLLTOOL"; then
8166   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8167 else
8168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8169 for as_dir in $PATH
8170 do
8171   IFS=$as_save_IFS
8172   test -z "$as_dir" && as_dir=.
8173     for ac_exec_ext in '' $ac_executable_extensions; do
8174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8175     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8177     break 2
8178   fi
8179 done
8180   done
8181 IFS=$as_save_IFS
8182
8183 fi
8184 fi
8185 DLLTOOL=$ac_cv_prog_DLLTOOL
8186 if test -n "$DLLTOOL"; then
8187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8188 $as_echo "$DLLTOOL" >&6; }
8189 else
8190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8192 fi
8193
8194
8195 fi
8196 if test -z "$ac_cv_prog_DLLTOOL"; then
8197   ac_ct_DLLTOOL=$DLLTOOL
8198   # Extract the first word of "dlltool", so it can be a program name with args.
8199 set dummy dlltool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8203   $as_echo_n "(cached) " >&6
8204 else
8205   if test -n "$ac_ct_DLLTOOL"; then
8206   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8210 do
8211   IFS=$as_save_IFS
8212   test -z "$as_dir" && as_dir=.
8213     for ac_exec_ext in '' $ac_executable_extensions; do
8214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8215     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217     break 2
8218   fi
8219 done
8220   done
8221 IFS=$as_save_IFS
8222
8223 fi
8224 fi
8225 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8226 if test -n "$ac_ct_DLLTOOL"; then
8227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8228 $as_echo "$ac_ct_DLLTOOL" >&6; }
8229 else
8230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8232 fi
8233
8234   if test "x$ac_ct_DLLTOOL" = x; then
8235     DLLTOOL="false"
8236   else
8237     case $cross_compiling:$ac_tool_warned in
8238 yes:)
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8241 ac_tool_warned=yes ;;
8242 esac
8243     DLLTOOL=$ac_ct_DLLTOOL
8244   fi
8245 else
8246   DLLTOOL="$ac_cv_prog_DLLTOOL"
8247 fi
8248
8249 test -z "$DLLTOOL" && DLLTOOL=dlltool
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8261 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8262 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8263   $as_echo_n "(cached) " >&6
8264 else
8265   lt_cv_sharedlib_from_linklib_cmd='unknown'
8266
8267 case $host_os in
8268 cygwin* | mingw* | pw32* | cegcc*)
8269   # two different shell functions defined in ltmain.sh
8270   # decide which to use based on capabilities of $DLLTOOL
8271   case `$DLLTOOL --help 2>&1` in
8272   *--identify-strict*)
8273     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8274     ;;
8275   *)
8276     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8277     ;;
8278   esac
8279   ;;
8280 *)
8281   # fallback: assume linklib IS sharedlib
8282   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8283   ;;
8284 esac
8285
8286 fi
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8288 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8289 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8290 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8291
8292
8293
8294
8295
8296
8297
8298 if test -n "$ac_tool_prefix"; then
8299   for ac_prog in ar
8300   do
8301     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304 $as_echo_n "checking for $ac_word... " >&6; }
8305 if ${ac_cv_prog_AR+:} false; then :
8306   $as_echo_n "(cached) " >&6
8307 else
8308   if test -n "$AR"; then
8309   ac_cv_prog_AR="$AR" # Let the user override the test.
8310 else
8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 for as_dir in $PATH
8313 do
8314   IFS=$as_save_IFS
8315   test -z "$as_dir" && as_dir=.
8316     for ac_exec_ext in '' $ac_executable_extensions; do
8317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8318     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320     break 2
8321   fi
8322 done
8323   done
8324 IFS=$as_save_IFS
8325
8326 fi
8327 fi
8328 AR=$ac_cv_prog_AR
8329 if test -n "$AR"; then
8330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8331 $as_echo "$AR" >&6; }
8332 else
8333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334 $as_echo "no" >&6; }
8335 fi
8336
8337
8338     test -n "$AR" && break
8339   done
8340 fi
8341 if test -z "$AR"; then
8342   ac_ct_AR=$AR
8343   for ac_prog in ar
8344 do
8345   # Extract the first word of "$ac_prog", so it can be a program name with args.
8346 set dummy $ac_prog; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8350   $as_echo_n "(cached) " >&6
8351 else
8352   if test -n "$ac_ct_AR"; then
8353   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8357 do
8358   IFS=$as_save_IFS
8359   test -z "$as_dir" && as_dir=.
8360     for ac_exec_ext in '' $ac_executable_extensions; do
8361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8362     ac_cv_prog_ac_ct_AR="$ac_prog"
8363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364     break 2
8365   fi
8366 done
8367   done
8368 IFS=$as_save_IFS
8369
8370 fi
8371 fi
8372 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8373 if test -n "$ac_ct_AR"; then
8374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8375 $as_echo "$ac_ct_AR" >&6; }
8376 else
8377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8379 fi
8380
8381
8382   test -n "$ac_ct_AR" && break
8383 done
8384
8385   if test "x$ac_ct_AR" = x; then
8386     AR="false"
8387   else
8388     case $cross_compiling:$ac_tool_warned in
8389 yes:)
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8392 ac_tool_warned=yes ;;
8393 esac
8394     AR=$ac_ct_AR
8395   fi
8396 fi
8397
8398 : ${AR=ar}
8399 : ${AR_FLAGS=cru}
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8412 $as_echo_n "checking for archiver @FILE support... " >&6; }
8413 if ${lt_cv_ar_at_file+:} false; then :
8414   $as_echo_n "(cached) " >&6
8415 else
8416   lt_cv_ar_at_file=no
8417    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h.  */
8419
8420 int
8421 main ()
8422 {
8423
8424   ;
8425   return 0;
8426 }
8427 _ACEOF
8428 if ac_fn_c_try_compile "$LINENO"; then :
8429   echo conftest.$ac_objext > conftest.lst
8430       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8431       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8432   (eval $lt_ar_try) 2>&5
8433   ac_status=$?
8434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8435   test $ac_status = 0; }
8436       if test "$ac_status" -eq 0; then
8437         # Ensure the archiver fails upon bogus file names.
8438         rm -f conftest.$ac_objext libconftest.a
8439         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8440   (eval $lt_ar_try) 2>&5
8441   ac_status=$?
8442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8443   test $ac_status = 0; }
8444         if test "$ac_status" -ne 0; then
8445           lt_cv_ar_at_file=@
8446         fi
8447       fi
8448       rm -f conftest.* libconftest.a
8449
8450 fi
8451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8452
8453 fi
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8455 $as_echo "$lt_cv_ar_at_file" >&6; }
8456
8457 if test "x$lt_cv_ar_at_file" = xno; then
8458   archiver_list_spec=
8459 else
8460   archiver_list_spec=$lt_cv_ar_at_file
8461 fi
8462
8463
8464
8465
8466
8467
8468
8469 if test -n "$ac_tool_prefix"; then
8470   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8471 set dummy ${ac_tool_prefix}strip; ac_word=$2
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8473 $as_echo_n "checking for $ac_word... " >&6; }
8474 if ${ac_cv_prog_STRIP+:} false; then :
8475   $as_echo_n "(cached) " >&6
8476 else
8477   if test -n "$STRIP"; then
8478   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8479 else
8480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8481 for as_dir in $PATH
8482 do
8483   IFS=$as_save_IFS
8484   test -z "$as_dir" && as_dir=.
8485     for ac_exec_ext in '' $ac_executable_extensions; do
8486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8487     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8489     break 2
8490   fi
8491 done
8492   done
8493 IFS=$as_save_IFS
8494
8495 fi
8496 fi
8497 STRIP=$ac_cv_prog_STRIP
8498 if test -n "$STRIP"; then
8499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8500 $as_echo "$STRIP" >&6; }
8501 else
8502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8503 $as_echo "no" >&6; }
8504 fi
8505
8506
8507 fi
8508 if test -z "$ac_cv_prog_STRIP"; then
8509   ac_ct_STRIP=$STRIP
8510   # Extract the first word of "strip", so it can be a program name with args.
8511 set dummy strip; ac_word=$2
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8513 $as_echo_n "checking for $ac_word... " >&6; }
8514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8515   $as_echo_n "(cached) " >&6
8516 else
8517   if test -n "$ac_ct_STRIP"; then
8518   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8519 else
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 for as_dir in $PATH
8522 do
8523   IFS=$as_save_IFS
8524   test -z "$as_dir" && as_dir=.
8525     for ac_exec_ext in '' $ac_executable_extensions; do
8526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8527     ac_cv_prog_ac_ct_STRIP="strip"
8528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8529     break 2
8530   fi
8531 done
8532   done
8533 IFS=$as_save_IFS
8534
8535 fi
8536 fi
8537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8538 if test -n "$ac_ct_STRIP"; then
8539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8540 $as_echo "$ac_ct_STRIP" >&6; }
8541 else
8542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8544 fi
8545
8546   if test "x$ac_ct_STRIP" = x; then
8547     STRIP=":"
8548   else
8549     case $cross_compiling:$ac_tool_warned in
8550 yes:)
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8553 ac_tool_warned=yes ;;
8554 esac
8555     STRIP=$ac_ct_STRIP
8556   fi
8557 else
8558   STRIP="$ac_cv_prog_STRIP"
8559 fi
8560
8561 test -z "$STRIP" && STRIP=:
8562
8563
8564
8565
8566
8567
8568 if test -n "$ac_tool_prefix"; then
8569   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8570 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 $as_echo_n "checking for $ac_word... " >&6; }
8573 if ${ac_cv_prog_RANLIB+:} false; then :
8574   $as_echo_n "(cached) " >&6
8575 else
8576   if test -n "$RANLIB"; then
8577   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8578 else
8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8580 for as_dir in $PATH
8581 do
8582   IFS=$as_save_IFS
8583   test -z "$as_dir" && as_dir=.
8584     for ac_exec_ext in '' $ac_executable_extensions; do
8585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8588     break 2
8589   fi
8590 done
8591   done
8592 IFS=$as_save_IFS
8593
8594 fi
8595 fi
8596 RANLIB=$ac_cv_prog_RANLIB
8597 if test -n "$RANLIB"; then
8598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8599 $as_echo "$RANLIB" >&6; }
8600 else
8601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8603 fi
8604
8605
8606 fi
8607 if test -z "$ac_cv_prog_RANLIB"; then
8608   ac_ct_RANLIB=$RANLIB
8609   # Extract the first word of "ranlib", so it can be a program name with args.
8610 set dummy ranlib; ac_word=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   if test -n "$ac_ct_RANLIB"; then
8617   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8618 else
8619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620 for as_dir in $PATH
8621 do
8622   IFS=$as_save_IFS
8623   test -z "$as_dir" && as_dir=.
8624     for ac_exec_ext in '' $ac_executable_extensions; do
8625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8626     ac_cv_prog_ac_ct_RANLIB="ranlib"
8627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8628     break 2
8629   fi
8630 done
8631   done
8632 IFS=$as_save_IFS
8633
8634 fi
8635 fi
8636 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8637 if test -n "$ac_ct_RANLIB"; then
8638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8639 $as_echo "$ac_ct_RANLIB" >&6; }
8640 else
8641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8642 $as_echo "no" >&6; }
8643 fi
8644
8645   if test "x$ac_ct_RANLIB" = x; then
8646     RANLIB=":"
8647   else
8648     case $cross_compiling:$ac_tool_warned in
8649 yes:)
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8652 ac_tool_warned=yes ;;
8653 esac
8654     RANLIB=$ac_ct_RANLIB
8655   fi
8656 else
8657   RANLIB="$ac_cv_prog_RANLIB"
8658 fi
8659
8660 test -z "$RANLIB" && RANLIB=:
8661
8662
8663
8664
8665
8666
8667 # Determine commands to create old-style static archives.
8668 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8669 old_postinstall_cmds='chmod 644 $oldlib'
8670 old_postuninstall_cmds=
8671
8672 if test -n "$RANLIB"; then
8673   case $host_os in
8674   openbsd*)
8675     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8676     ;;
8677   *)
8678     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8679     ;;
8680   esac
8681   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8682 fi
8683
8684 case $host_os in
8685   darwin*)
8686     lock_old_archive_extraction=yes ;;
8687   *)
8688     lock_old_archive_extraction=no ;;
8689 esac
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729 # If no C compiler was specified, use CC.
8730 LTCC=${LTCC-"$CC"}
8731
8732 # If no C compiler flags were specified, use CFLAGS.
8733 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8734
8735 # Allow CC to be a program name with arguments.
8736 compiler=$CC
8737
8738
8739 # Check for command to grab the raw symbol name followed by C symbol from nm.
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8741 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8742 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8743   $as_echo_n "(cached) " >&6
8744 else
8745
8746 # These are sane defaults that work on at least a few old systems.
8747 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8748
8749 # Character class describing NM global symbol codes.
8750 symcode='[BCDEGRST]'
8751
8752 # Regexp to match symbols that can be accessed directly from C.
8753 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8754
8755 # Define system-specific variables.
8756 case $host_os in
8757 aix*)
8758   symcode='[BCDT]'
8759   ;;
8760 cygwin* | mingw* | pw32* | cegcc*)
8761   symcode='[ABCDGISTW]'
8762   ;;
8763 hpux*)
8764   if test "$host_cpu" = ia64; then
8765     symcode='[ABCDEGRST]'
8766   fi
8767   ;;
8768 irix* | nonstopux*)
8769   symcode='[BCDEGRST]'
8770   ;;
8771 osf*)
8772   symcode='[BCDEGQRST]'
8773   ;;
8774 solaris*)
8775   symcode='[BDRT]'
8776   ;;
8777 sco3.2v5*)
8778   symcode='[DT]'
8779   ;;
8780 sysv4.2uw2*)
8781   symcode='[DT]'
8782   ;;
8783 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8784   symcode='[ABDT]'
8785   ;;
8786 sysv4)
8787   symcode='[DFNSTU]'
8788   ;;
8789 esac
8790
8791 # If we're using GNU nm, then use its standard symbol codes.
8792 case `$NM -V 2>&1` in
8793 *GNU* | *'with BFD'*)
8794   symcode='[ABCDGIRSTW]' ;;
8795 esac
8796
8797 # Transform an extracted symbol line into a proper C declaration.
8798 # Some systems (esp. on ia64) link data and code symbols differently,
8799 # so use this general approach.
8800 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8801
8802 # Transform an extracted symbol line into symbol name and symbol address
8803 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8804 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
8805
8806 # Handle CRLF in mingw tool chain
8807 opt_cr=
8808 case $build_os in
8809 mingw*)
8810   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8811   ;;
8812 esac
8813
8814 # Try without a prefix underscore, then with it.
8815 for ac_symprfx in "" "_"; do
8816
8817   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8818   symxfrm="\\1 $ac_symprfx\\2 \\2"
8819
8820   # Write the raw and C identifiers.
8821   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8822     # Fake it for dumpbin and say T for any non-static function
8823     # and D for any global variable.
8824     # Also find C++ and __fastcall symbols from MSVC++,
8825     # which start with @ or ?.
8826     lt_cv_sys_global_symbol_pipe="$AWK '"\
8827 "     {last_section=section; section=\$ 3};"\
8828 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8829 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8830 "     \$ 0!~/External *\|/{next};"\
8831 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8832 "     {if(hide[section]) next};"\
8833 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8834 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8835 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8836 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8837 "     ' prfx=^$ac_symprfx"
8838   else
8839     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8840   fi
8841   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8842
8843   # Check to see that the pipe works correctly.
8844   pipe_works=no
8845
8846   rm -f conftest*
8847   cat > conftest.$ac_ext <<_LT_EOF
8848 #ifdef __cplusplus
8849 extern "C" {
8850 #endif
8851 char nm_test_var;
8852 void nm_test_func(void);
8853 void nm_test_func(void){}
8854 #ifdef __cplusplus
8855 }
8856 #endif
8857 int main(){nm_test_var='a';nm_test_func();return(0);}
8858 _LT_EOF
8859
8860   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8861   (eval $ac_compile) 2>&5
8862   ac_status=$?
8863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8864   test $ac_status = 0; }; then
8865     # Now try to grab the symbols.
8866     nlist=conftest.nm
8867     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8868   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8869   ac_status=$?
8870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8871   test $ac_status = 0; } && test -s "$nlist"; then
8872       # Try sorting and uniquifying the output.
8873       if sort "$nlist" | uniq > "$nlist"T; then
8874         mv -f "$nlist"T "$nlist"
8875       else
8876         rm -f "$nlist"T
8877       fi
8878
8879       # Make sure that we snagged all the symbols we need.
8880       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8881         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8882           cat <<_LT_EOF > conftest.$ac_ext
8883 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8884 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8885 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8886    relocations are performed -- see ld's documentation on pseudo-relocs.  */
8887 # define LT_DLSYM_CONST
8888 #elif defined(__osf__)
8889 /* This system does not cope well with relocations in const data.  */
8890 # define LT_DLSYM_CONST
8891 #else
8892 # define LT_DLSYM_CONST const
8893 #endif
8894
8895 #ifdef __cplusplus
8896 extern "C" {
8897 #endif
8898
8899 _LT_EOF
8900           # Now generate the symbol file.
8901           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8902
8903           cat <<_LT_EOF >> conftest.$ac_ext
8904
8905 /* The mapping between symbol names and symbols.  */
8906 LT_DLSYM_CONST struct {
8907   const char *name;
8908   void       *address;
8909 }
8910 lt__PROGRAM__LTX_preloaded_symbols[] =
8911 {
8912   { "@PROGRAM@", (void *) 0 },
8913 _LT_EOF
8914           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8915           cat <<\_LT_EOF >> conftest.$ac_ext
8916   {0, (void *) 0}
8917 };
8918
8919 /* This works around a problem in FreeBSD linker */
8920 #ifdef FREEBSD_WORKAROUND
8921 static const void *lt_preloaded_setup() {
8922   return lt__PROGRAM__LTX_preloaded_symbols;
8923 }
8924 #endif
8925
8926 #ifdef __cplusplus
8927 }
8928 #endif
8929 _LT_EOF
8930           # Now try linking the two files.
8931           mv conftest.$ac_objext conftstm.$ac_objext
8932           lt_globsym_save_LIBS=$LIBS
8933           lt_globsym_save_CFLAGS=$CFLAGS
8934           LIBS="conftstm.$ac_objext"
8935           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8936           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8937   (eval $ac_link) 2>&5
8938   ac_status=$?
8939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8940   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8941             pipe_works=yes
8942           fi
8943           LIBS=$lt_globsym_save_LIBS
8944           CFLAGS=$lt_globsym_save_CFLAGS
8945         else
8946           echo "cannot find nm_test_func in $nlist" >&5
8947         fi
8948       else
8949         echo "cannot find nm_test_var in $nlist" >&5
8950       fi
8951     else
8952       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8953     fi
8954   else
8955     echo "$progname: failed program was:" >&5
8956     cat conftest.$ac_ext >&5
8957   fi
8958   rm -rf conftest* conftst*
8959
8960   # Do not use the global_symbol_pipe unless it works.
8961   if test "$pipe_works" = yes; then
8962     break
8963   else
8964     lt_cv_sys_global_symbol_pipe=
8965   fi
8966 done
8967
8968 fi
8969
8970 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8971   lt_cv_sys_global_symbol_to_cdecl=
8972 fi
8973 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8975 $as_echo "failed" >&6; }
8976 else
8977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8978 $as_echo "ok" >&6; }
8979 fi
8980
8981 # Response file support.
8982 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8983   nm_file_list_spec='@'
8984 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8985   nm_file_list_spec='@'
8986 fi
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9015 $as_echo_n "checking for sysroot... " >&6; }
9016
9017 # Check whether --with-sysroot was given.
9018 if test "${with_sysroot+set}" = set; then :
9019   withval=$with_sysroot;
9020 else
9021   with_sysroot=no
9022 fi
9023
9024
9025 lt_sysroot=
9026 case ${with_sysroot} in #(
9027  yes)
9028    if test "$GCC" = yes; then
9029      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9030    fi
9031    ;; #(
9032  /*)
9033    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9034    ;; #(
9035  no|'')
9036    ;; #(
9037  *)
9038    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9039 $as_echo "${with_sysroot}" >&6; }
9040    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9041    ;;
9042 esac
9043
9044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9045 $as_echo "${lt_sysroot:-no}" >&6; }
9046
9047
9048
9049
9050
9051 # Check whether --enable-libtool-lock was given.
9052 if test "${enable_libtool_lock+set}" = set; then :
9053   enableval=$enable_libtool_lock;
9054 fi
9055
9056 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9057
9058 # Some flags need to be propagated to the compiler or linker for good
9059 # libtool support.
9060 case $host in
9061 ia64-*-hpux*)
9062   # Find out which ABI we are using.
9063   echo 'int i;' > conftest.$ac_ext
9064   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9065   (eval $ac_compile) 2>&5
9066   ac_status=$?
9067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9068   test $ac_status = 0; }; then
9069     case `/usr/bin/file conftest.$ac_objext` in
9070       *ELF-32*)
9071         HPUX_IA64_MODE="32"
9072         ;;
9073       *ELF-64*)
9074         HPUX_IA64_MODE="64"
9075         ;;
9076     esac
9077   fi
9078   rm -rf conftest*
9079   ;;
9080 *-*-irix6*)
9081   # Find out which ABI we are using.
9082   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9083   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9084   (eval $ac_compile) 2>&5
9085   ac_status=$?
9086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9087   test $ac_status = 0; }; then
9088     if test "$lt_cv_prog_gnu_ld" = yes; then
9089       case `/usr/bin/file conftest.$ac_objext` in
9090         *32-bit*)
9091           LD="${LD-ld} -melf32bsmip"
9092           ;;
9093         *N32*)
9094           LD="${LD-ld} -melf32bmipn32"
9095           ;;
9096         *64-bit*)
9097           LD="${LD-ld} -melf64bmip"
9098         ;;
9099       esac
9100     else
9101       case `/usr/bin/file conftest.$ac_objext` in
9102         *32-bit*)
9103           LD="${LD-ld} -32"
9104           ;;
9105         *N32*)
9106           LD="${LD-ld} -n32"
9107           ;;
9108         *64-bit*)
9109           LD="${LD-ld} -64"
9110           ;;
9111       esac
9112     fi
9113   fi
9114   rm -rf conftest*
9115   ;;
9116
9117 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9118 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9119   # Find out which ABI we are using.
9120   echo 'int i;' > conftest.$ac_ext
9121   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9122   (eval $ac_compile) 2>&5
9123   ac_status=$?
9124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9125   test $ac_status = 0; }; then
9126     case `/usr/bin/file conftest.o` in
9127       *32-bit*)
9128         case $host in
9129           x86_64-*kfreebsd*-gnu)
9130             LD="${LD-ld} -m elf_i386_fbsd"
9131             ;;
9132           x86_64-*linux*)
9133             LD="${LD-ld} -m elf_i386"
9134             ;;
9135           ppc64-*linux*|powerpc64-*linux*)
9136             LD="${LD-ld} -m elf32ppclinux"
9137             ;;
9138           s390x-*linux*)
9139             LD="${LD-ld} -m elf_s390"
9140             ;;
9141           sparc64-*linux*)
9142             LD="${LD-ld} -m elf32_sparc"
9143             ;;
9144         esac
9145         ;;
9146       *64-bit*)
9147         case $host in
9148           x86_64-*kfreebsd*-gnu)
9149             LD="${LD-ld} -m elf_x86_64_fbsd"
9150             ;;
9151           x86_64-*linux*)
9152             LD="${LD-ld} -m elf_x86_64"
9153             ;;
9154           ppc*-*linux*|powerpc*-*linux*)
9155             LD="${LD-ld} -m elf64ppc"
9156             ;;
9157           s390*-*linux*|s390*-*tpf*)
9158             LD="${LD-ld} -m elf64_s390"
9159             ;;
9160           sparc*-*linux*)
9161             LD="${LD-ld} -m elf64_sparc"
9162             ;;
9163         esac
9164         ;;
9165     esac
9166   fi
9167   rm -rf conftest*
9168   ;;
9169
9170 *-*-sco3.2v5*)
9171   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9172   SAVE_CFLAGS="$CFLAGS"
9173   CFLAGS="$CFLAGS -belf"
9174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9175 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9176 if ${lt_cv_cc_needs_belf+:} false; then :
9177   $as_echo_n "(cached) " >&6
9178 else
9179   ac_ext=c
9180 ac_cpp='$CPP $CPPFLAGS'
9181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9184
9185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h.  */
9187
9188 int
9189 main ()
9190 {
9191
9192   ;
9193   return 0;
9194 }
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197   lt_cv_cc_needs_belf=yes
9198 else
9199   lt_cv_cc_needs_belf=no
9200 fi
9201 rm -f core conftest.err conftest.$ac_objext \
9202     conftest$ac_exeext conftest.$ac_ext
9203      ac_ext=c
9204 ac_cpp='$CPP $CPPFLAGS'
9205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9208
9209 fi
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9211 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9212   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9213     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9214     CFLAGS="$SAVE_CFLAGS"
9215   fi
9216   ;;
9217 *-*solaris*)
9218   # Find out which ABI we are using.
9219   echo 'int i;' > conftest.$ac_ext
9220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9221   (eval $ac_compile) 2>&5
9222   ac_status=$?
9223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9224   test $ac_status = 0; }; then
9225     case `/usr/bin/file conftest.o` in
9226     *64-bit*)
9227       case $lt_cv_prog_gnu_ld in
9228       yes*)
9229         case $host in
9230         i?86-*-solaris*)
9231           LD="${LD-ld} -m elf_x86_64"
9232           ;;
9233         sparc*-*-solaris*)
9234           LD="${LD-ld} -m elf64_sparc"
9235           ;;
9236         esac
9237         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9238         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9239           LD="${LD-ld}_sol2"
9240         fi
9241         ;;
9242       *)
9243         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9244           LD="${LD-ld} -64"
9245         fi
9246         ;;
9247       esac
9248       ;;
9249     esac
9250   fi
9251   rm -rf conftest*
9252   ;;
9253 esac
9254
9255 need_locks="$enable_libtool_lock"
9256
9257 if test -n "$ac_tool_prefix"; then
9258   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9259 set dummy ${ac_tool_prefix}mt; ac_word=$2
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 $as_echo_n "checking for $ac_word... " >&6; }
9262 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9263   $as_echo_n "(cached) " >&6
9264 else
9265   if test -n "$MANIFEST_TOOL"; then
9266   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9267 else
9268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9269 for as_dir in $PATH
9270 do
9271   IFS=$as_save_IFS
9272   test -z "$as_dir" && as_dir=.
9273     for ac_exec_ext in '' $ac_executable_extensions; do
9274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9275     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9277     break 2
9278   fi
9279 done
9280   done
9281 IFS=$as_save_IFS
9282
9283 fi
9284 fi
9285 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9286 if test -n "$MANIFEST_TOOL"; then
9287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9288 $as_echo "$MANIFEST_TOOL" >&6; }
9289 else
9290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9291 $as_echo "no" >&6; }
9292 fi
9293
9294
9295 fi
9296 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9297   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9298   # Extract the first word of "mt", so it can be a program name with args.
9299 set dummy mt; ac_word=$2
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 $as_echo_n "checking for $ac_word... " >&6; }
9302 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9303   $as_echo_n "(cached) " >&6
9304 else
9305   if test -n "$ac_ct_MANIFEST_TOOL"; then
9306   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9307 else
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9309 for as_dir in $PATH
9310 do
9311   IFS=$as_save_IFS
9312   test -z "$as_dir" && as_dir=.
9313     for ac_exec_ext in '' $ac_executable_extensions; do
9314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9315     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9317     break 2
9318   fi
9319 done
9320   done
9321 IFS=$as_save_IFS
9322
9323 fi
9324 fi
9325 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9326 if test -n "$ac_ct_MANIFEST_TOOL"; then
9327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9328 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9329 else
9330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9331 $as_echo "no" >&6; }
9332 fi
9333
9334   if test "x$ac_ct_MANIFEST_TOOL" = x; then
9335     MANIFEST_TOOL=":"
9336   else
9337     case $cross_compiling:$ac_tool_warned in
9338 yes:)
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9341 ac_tool_warned=yes ;;
9342 esac
9343     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9344   fi
9345 else
9346   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9347 fi
9348
9349 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9351 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9352 if ${lt_cv_path_mainfest_tool+:} false; then :
9353   $as_echo_n "(cached) " >&6
9354 else
9355   lt_cv_path_mainfest_tool=no
9356   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9357   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9358   cat conftest.err >&5
9359   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9360     lt_cv_path_mainfest_tool=yes
9361   fi
9362   rm -f conftest*
9363 fi
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9365 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9366 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9367   MANIFEST_TOOL=:
9368 fi
9369
9370
9371
9372
9373
9374
9375   case $host_os in
9376     rhapsody* | darwin*)
9377     if test -n "$ac_tool_prefix"; then
9378   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9379 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381 $as_echo_n "checking for $ac_word... " >&6; }
9382 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9383   $as_echo_n "(cached) " >&6
9384 else
9385   if test -n "$DSYMUTIL"; then
9386   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9387 else
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9389 for as_dir in $PATH
9390 do
9391   IFS=$as_save_IFS
9392   test -z "$as_dir" && as_dir=.
9393     for ac_exec_ext in '' $ac_executable_extensions; do
9394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9395     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9397     break 2
9398   fi
9399 done
9400   done
9401 IFS=$as_save_IFS
9402
9403 fi
9404 fi
9405 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9406 if test -n "$DSYMUTIL"; then
9407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9408 $as_echo "$DSYMUTIL" >&6; }
9409 else
9410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9412 fi
9413
9414
9415 fi
9416 if test -z "$ac_cv_prog_DSYMUTIL"; then
9417   ac_ct_DSYMUTIL=$DSYMUTIL
9418   # Extract the first word of "dsymutil", so it can be a program name with args.
9419 set dummy dsymutil; ac_word=$2
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421 $as_echo_n "checking for $ac_word... " >&6; }
9422 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9423   $as_echo_n "(cached) " >&6
9424 else
9425   if test -n "$ac_ct_DSYMUTIL"; then
9426   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9427 else
9428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9429 for as_dir in $PATH
9430 do
9431   IFS=$as_save_IFS
9432   test -z "$as_dir" && as_dir=.
9433     for ac_exec_ext in '' $ac_executable_extensions; do
9434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9435     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9437     break 2
9438   fi
9439 done
9440   done
9441 IFS=$as_save_IFS
9442
9443 fi
9444 fi
9445 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9446 if test -n "$ac_ct_DSYMUTIL"; then
9447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9448 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9449 else
9450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9451 $as_echo "no" >&6; }
9452 fi
9453
9454   if test "x$ac_ct_DSYMUTIL" = x; then
9455     DSYMUTIL=":"
9456   else
9457     case $cross_compiling:$ac_tool_warned in
9458 yes:)
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9461 ac_tool_warned=yes ;;
9462 esac
9463     DSYMUTIL=$ac_ct_DSYMUTIL
9464   fi
9465 else
9466   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9467 fi
9468
9469     if test -n "$ac_tool_prefix"; then
9470   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9471 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473 $as_echo_n "checking for $ac_word... " >&6; }
9474 if ${ac_cv_prog_NMEDIT+:} false; then :
9475   $as_echo_n "(cached) " >&6
9476 else
9477   if test -n "$NMEDIT"; then
9478   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9479 else
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 for as_dir in $PATH
9482 do
9483   IFS=$as_save_IFS
9484   test -z "$as_dir" && as_dir=.
9485     for ac_exec_ext in '' $ac_executable_extensions; do
9486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9489     break 2
9490   fi
9491 done
9492   done
9493 IFS=$as_save_IFS
9494
9495 fi
9496 fi
9497 NMEDIT=$ac_cv_prog_NMEDIT
9498 if test -n "$NMEDIT"; then
9499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9500 $as_echo "$NMEDIT" >&6; }
9501 else
9502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9504 fi
9505
9506
9507 fi
9508 if test -z "$ac_cv_prog_NMEDIT"; then
9509   ac_ct_NMEDIT=$NMEDIT
9510   # Extract the first word of "nmedit", so it can be a program name with args.
9511 set dummy nmedit; ac_word=$2
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 $as_echo_n "checking for $ac_word... " >&6; }
9514 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9515   $as_echo_n "(cached) " >&6
9516 else
9517   if test -n "$ac_ct_NMEDIT"; then
9518   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9519 else
9520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9521 for as_dir in $PATH
9522 do
9523   IFS=$as_save_IFS
9524   test -z "$as_dir" && as_dir=.
9525     for ac_exec_ext in '' $ac_executable_extensions; do
9526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9527     ac_cv_prog_ac_ct_NMEDIT="nmedit"
9528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9529     break 2
9530   fi
9531 done
9532   done
9533 IFS=$as_save_IFS
9534
9535 fi
9536 fi
9537 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9538 if test -n "$ac_ct_NMEDIT"; then
9539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9540 $as_echo "$ac_ct_NMEDIT" >&6; }
9541 else
9542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543 $as_echo "no" >&6; }
9544 fi
9545
9546   if test "x$ac_ct_NMEDIT" = x; then
9547     NMEDIT=":"
9548   else
9549     case $cross_compiling:$ac_tool_warned in
9550 yes:)
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9553 ac_tool_warned=yes ;;
9554 esac
9555     NMEDIT=$ac_ct_NMEDIT
9556   fi
9557 else
9558   NMEDIT="$ac_cv_prog_NMEDIT"
9559 fi
9560
9561     if test -n "$ac_tool_prefix"; then
9562   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9563 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_prog_LIPO+:} false; then :
9567   $as_echo_n "(cached) " >&6
9568 else
9569   if test -n "$LIPO"; then
9570   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9571 else
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573 for as_dir in $PATH
9574 do
9575   IFS=$as_save_IFS
9576   test -z "$as_dir" && as_dir=.
9577     for ac_exec_ext in '' $ac_executable_extensions; do
9578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9579     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9581     break 2
9582   fi
9583 done
9584   done
9585 IFS=$as_save_IFS
9586
9587 fi
9588 fi
9589 LIPO=$ac_cv_prog_LIPO
9590 if test -n "$LIPO"; then
9591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9592 $as_echo "$LIPO" >&6; }
9593 else
9594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9596 fi
9597
9598
9599 fi
9600 if test -z "$ac_cv_prog_LIPO"; then
9601   ac_ct_LIPO=$LIPO
9602   # Extract the first word of "lipo", so it can be a program name with args.
9603 set dummy lipo; ac_word=$2
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605 $as_echo_n "checking for $ac_word... " >&6; }
9606 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9607   $as_echo_n "(cached) " >&6
9608 else
9609   if test -n "$ac_ct_LIPO"; then
9610   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9611 else
9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9613 for as_dir in $PATH
9614 do
9615   IFS=$as_save_IFS
9616   test -z "$as_dir" && as_dir=.
9617     for ac_exec_ext in '' $ac_executable_extensions; do
9618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9619     ac_cv_prog_ac_ct_LIPO="lipo"
9620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9621     break 2
9622   fi
9623 done
9624   done
9625 IFS=$as_save_IFS
9626
9627 fi
9628 fi
9629 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9630 if test -n "$ac_ct_LIPO"; then
9631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9632 $as_echo "$ac_ct_LIPO" >&6; }
9633 else
9634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 $as_echo "no" >&6; }
9636 fi
9637
9638   if test "x$ac_ct_LIPO" = x; then
9639     LIPO=":"
9640   else
9641     case $cross_compiling:$ac_tool_warned in
9642 yes:)
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9645 ac_tool_warned=yes ;;
9646 esac
9647     LIPO=$ac_ct_LIPO
9648   fi
9649 else
9650   LIPO="$ac_cv_prog_LIPO"
9651 fi
9652
9653     if test -n "$ac_tool_prefix"; then
9654   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9655 set dummy ${ac_tool_prefix}otool; ac_word=$2
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9657 $as_echo_n "checking for $ac_word... " >&6; }
9658 if ${ac_cv_prog_OTOOL+:} false; then :
9659   $as_echo_n "(cached) " >&6
9660 else
9661   if test -n "$OTOOL"; then
9662   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9663 else
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9665 for as_dir in $PATH
9666 do
9667   IFS=$as_save_IFS
9668   test -z "$as_dir" && as_dir=.
9669     for ac_exec_ext in '' $ac_executable_extensions; do
9670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9671     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9673     break 2
9674   fi
9675 done
9676   done
9677 IFS=$as_save_IFS
9678
9679 fi
9680 fi
9681 OTOOL=$ac_cv_prog_OTOOL
9682 if test -n "$OTOOL"; then
9683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9684 $as_echo "$OTOOL" >&6; }
9685 else
9686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9687 $as_echo "no" >&6; }
9688 fi
9689
9690
9691 fi
9692 if test -z "$ac_cv_prog_OTOOL"; then
9693   ac_ct_OTOOL=$OTOOL
9694   # Extract the first word of "otool", so it can be a program name with args.
9695 set dummy otool; ac_word=$2
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9697 $as_echo_n "checking for $ac_word... " >&6; }
9698 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9699   $as_echo_n "(cached) " >&6
9700 else
9701   if test -n "$ac_ct_OTOOL"; then
9702   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9703 else
9704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9705 for as_dir in $PATH
9706 do
9707   IFS=$as_save_IFS
9708   test -z "$as_dir" && as_dir=.
9709     for ac_exec_ext in '' $ac_executable_extensions; do
9710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9711     ac_cv_prog_ac_ct_OTOOL="otool"
9712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9713     break 2
9714   fi
9715 done
9716   done
9717 IFS=$as_save_IFS
9718
9719 fi
9720 fi
9721 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9722 if test -n "$ac_ct_OTOOL"; then
9723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9724 $as_echo "$ac_ct_OTOOL" >&6; }
9725 else
9726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9727 $as_echo "no" >&6; }
9728 fi
9729
9730   if test "x$ac_ct_OTOOL" = x; then
9731     OTOOL=":"
9732   else
9733     case $cross_compiling:$ac_tool_warned in
9734 yes:)
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9737 ac_tool_warned=yes ;;
9738 esac
9739     OTOOL=$ac_ct_OTOOL
9740   fi
9741 else
9742   OTOOL="$ac_cv_prog_OTOOL"
9743 fi
9744
9745     if test -n "$ac_tool_prefix"; then
9746   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9747 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9749 $as_echo_n "checking for $ac_word... " >&6; }
9750 if ${ac_cv_prog_OTOOL64+:} false; then :
9751   $as_echo_n "(cached) " >&6
9752 else
9753   if test -n "$OTOOL64"; then
9754   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9755 else
9756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9757 for as_dir in $PATH
9758 do
9759   IFS=$as_save_IFS
9760   test -z "$as_dir" && as_dir=.
9761     for ac_exec_ext in '' $ac_executable_extensions; do
9762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9763     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9765     break 2
9766   fi
9767 done
9768   done
9769 IFS=$as_save_IFS
9770
9771 fi
9772 fi
9773 OTOOL64=$ac_cv_prog_OTOOL64
9774 if test -n "$OTOOL64"; then
9775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9776 $as_echo "$OTOOL64" >&6; }
9777 else
9778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 $as_echo "no" >&6; }
9780 fi
9781
9782
9783 fi
9784 if test -z "$ac_cv_prog_OTOOL64"; then
9785   ac_ct_OTOOL64=$OTOOL64
9786   # Extract the first word of "otool64", so it can be a program name with args.
9787 set dummy otool64; ac_word=$2
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9789 $as_echo_n "checking for $ac_word... " >&6; }
9790 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9791   $as_echo_n "(cached) " >&6
9792 else
9793   if test -n "$ac_ct_OTOOL64"; then
9794   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9795 else
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9797 for as_dir in $PATH
9798 do
9799   IFS=$as_save_IFS
9800   test -z "$as_dir" && as_dir=.
9801     for ac_exec_ext in '' $ac_executable_extensions; do
9802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9803     ac_cv_prog_ac_ct_OTOOL64="otool64"
9804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9805     break 2
9806   fi
9807 done
9808   done
9809 IFS=$as_save_IFS
9810
9811 fi
9812 fi
9813 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9814 if test -n "$ac_ct_OTOOL64"; then
9815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9816 $as_echo "$ac_ct_OTOOL64" >&6; }
9817 else
9818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9819 $as_echo "no" >&6; }
9820 fi
9821
9822   if test "x$ac_ct_OTOOL64" = x; then
9823     OTOOL64=":"
9824   else
9825     case $cross_compiling:$ac_tool_warned in
9826 yes:)
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9829 ac_tool_warned=yes ;;
9830 esac
9831     OTOOL64=$ac_ct_OTOOL64
9832   fi
9833 else
9834   OTOOL64="$ac_cv_prog_OTOOL64"
9835 fi
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9864 $as_echo_n "checking for -single_module linker flag... " >&6; }
9865 if ${lt_cv_apple_cc_single_mod+:} false; then :
9866   $as_echo_n "(cached) " >&6
9867 else
9868   lt_cv_apple_cc_single_mod=no
9869       if test -z "${LT_MULTI_MODULE}"; then
9870         # By default we will add the -single_module flag. You can override
9871         # by either setting the environment variable LT_MULTI_MODULE
9872         # non-empty at configure time, or by adding -multi_module to the
9873         # link flags.
9874         rm -rf libconftest.dylib*
9875         echo "int foo(void){return 1;}" > conftest.c
9876         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9877 -dynamiclib -Wl,-single_module conftest.c" >&5
9878         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9879           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9880         _lt_result=$?
9881         # If there is a non-empty error log, and "single_module"
9882         # appears in it, assume the flag caused a linker warning
9883         if test -s conftest.err && $GREP single_module conftest.err; then
9884           cat conftest.err >&5
9885         # Otherwise, if the output was created with a 0 exit code from
9886         # the compiler, it worked.
9887         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9888           lt_cv_apple_cc_single_mod=yes
9889         else
9890           cat conftest.err >&5
9891         fi
9892         rm -rf libconftest.dylib*
9893         rm -f conftest.*
9894       fi
9895 fi
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9897 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9898
9899     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9900 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9901 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9902   $as_echo_n "(cached) " >&6
9903 else
9904   lt_cv_ld_exported_symbols_list=no
9905       save_LDFLAGS=$LDFLAGS
9906       echo "_main" > conftest.sym
9907       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h.  */
9910
9911 int
9912 main ()
9913 {
9914
9915   ;
9916   return 0;
9917 }
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9920   lt_cv_ld_exported_symbols_list=yes
9921 else
9922   lt_cv_ld_exported_symbols_list=no
9923 fi
9924 rm -f core conftest.err conftest.$ac_objext \
9925     conftest$ac_exeext conftest.$ac_ext
9926         LDFLAGS="$save_LDFLAGS"
9927
9928 fi
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9930 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9931
9932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9933 $as_echo_n "checking for -force_load linker flag... " >&6; }
9934 if ${lt_cv_ld_force_load+:} false; then :
9935   $as_echo_n "(cached) " >&6
9936 else
9937   lt_cv_ld_force_load=no
9938       cat > conftest.c << _LT_EOF
9939 int forced_loaded() { return 2;}
9940 _LT_EOF
9941       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9942       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9943       echo "$AR cru libconftest.a conftest.o" >&5
9944       $AR cru libconftest.a conftest.o 2>&5
9945       echo "$RANLIB libconftest.a" >&5
9946       $RANLIB libconftest.a 2>&5
9947       cat > conftest.c << _LT_EOF
9948 int main() { return 0;}
9949 _LT_EOF
9950       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9951       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9952       _lt_result=$?
9953       if test -s conftest.err && $GREP force_load conftest.err; then
9954         cat conftest.err >&5
9955       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9956         lt_cv_ld_force_load=yes
9957       else
9958         cat conftest.err >&5
9959       fi
9960         rm -f conftest.err libconftest.a conftest conftest.c
9961         rm -rf conftest.dSYM
9962
9963 fi
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9965 $as_echo "$lt_cv_ld_force_load" >&6; }
9966     case $host_os in
9967     rhapsody* | darwin1.[012])
9968       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9969     darwin1.*)
9970       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9971     darwin*) # darwin 5.x on
9972       # if running on 10.5 or later, the deployment target defaults
9973       # to the OS version, if on x86, and 10.4, the deployment
9974       # target defaults to 10.4. Don't you love it?
9975       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9976         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9977           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9978         10.[012]*)
9979           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9980         10.*)
9981           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9982       esac
9983     ;;
9984   esac
9985     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9986       _lt_dar_single_mod='$single_module'
9987     fi
9988     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9989       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9990     else
9991       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9992     fi
9993     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9994       _lt_dsymutil='~$DSYMUTIL $lib || :'
9995     else
9996       _lt_dsymutil=
9997     fi
9998     ;;
9999   esac
10000
10001 for ac_header in dlfcn.h
10002 do :
10003   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10004 "
10005 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10006   cat >>confdefs.h <<_ACEOF
10007 #define HAVE_DLFCN_H 1
10008 _ACEOF
10009
10010 fi
10011
10012 done
10013
10014
10015
10016
10017
10018 # Set options
10019
10020
10021
10022         enable_dlopen=no
10023
10024
10025   enable_win32_dll=no
10026
10027
10028             # Check whether --enable-shared was given.
10029 if test "${enable_shared+set}" = set; then :
10030   enableval=$enable_shared; p=${PACKAGE-default}
10031     case $enableval in
10032     yes) enable_shared=yes ;;
10033     no) enable_shared=no ;;
10034     *)
10035       enable_shared=no
10036       # Look at the argument we got.  We use all the common list separators.
10037       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10038       for pkg in $enableval; do
10039         IFS="$lt_save_ifs"
10040         if test "X$pkg" = "X$p"; then
10041           enable_shared=yes
10042         fi
10043       done
10044       IFS="$lt_save_ifs"
10045       ;;
10046     esac
10047 else
10048   enable_shared=yes
10049 fi
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059   # Check whether --enable-static was given.
10060 if test "${enable_static+set}" = set; then :
10061   enableval=$enable_static; p=${PACKAGE-default}
10062     case $enableval in
10063     yes) enable_static=yes ;;
10064     no) enable_static=no ;;
10065     *)
10066      enable_static=no
10067       # Look at the argument we got.  We use all the common list separators.
10068       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10069       for pkg in $enableval; do
10070         IFS="$lt_save_ifs"
10071         if test "X$pkg" = "X$p"; then
10072           enable_static=yes
10073         fi
10074       done
10075       IFS="$lt_save_ifs"
10076       ;;
10077     esac
10078 else
10079   enable_static=yes
10080 fi
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091 # Check whether --with-pic was given.
10092 if test "${with_pic+set}" = set; then :
10093   withval=$with_pic; lt_p=${PACKAGE-default}
10094     case $withval in
10095     yes|no) pic_mode=$withval ;;
10096     *)
10097       pic_mode=default
10098       # Look at the argument we got.  We use all the common list separators.
10099       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10100       for lt_pkg in $withval; do
10101         IFS="$lt_save_ifs"
10102         if test "X$lt_pkg" = "X$lt_p"; then
10103           pic_mode=yes
10104         fi
10105       done
10106       IFS="$lt_save_ifs"
10107       ;;
10108     esac
10109 else
10110   pic_mode=default
10111 fi
10112
10113
10114 test -z "$pic_mode" && pic_mode=default
10115
10116
10117
10118
10119
10120
10121
10122   # Check whether --enable-fast-install was given.
10123 if test "${enable_fast_install+set}" = set; then :
10124   enableval=$enable_fast_install; p=${PACKAGE-default}
10125     case $enableval in
10126     yes) enable_fast_install=yes ;;
10127     no) enable_fast_install=no ;;
10128     *)
10129       enable_fast_install=no
10130       # Look at the argument we got.  We use all the common list separators.
10131       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10132       for pkg in $enableval; do
10133         IFS="$lt_save_ifs"
10134         if test "X$pkg" = "X$p"; then
10135           enable_fast_install=yes
10136         fi
10137       done
10138       IFS="$lt_save_ifs"
10139       ;;
10140     esac
10141 else
10142   enable_fast_install=yes
10143 fi
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155 # This can be used to rebuild libtool when needed
10156 LIBTOOL_DEPS="$ltmain"
10157
10158 # Always use our own libtool.
10159 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190 test -z "$LN_S" && LN_S="ln -s"
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205 if test -n "${ZSH_VERSION+set}" ; then
10206    setopt NO_GLOB_SUBST
10207 fi
10208
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10210 $as_echo_n "checking for objdir... " >&6; }
10211 if ${lt_cv_objdir+:} false; then :
10212   $as_echo_n "(cached) " >&6
10213 else
10214   rm -f .libs 2>/dev/null
10215 mkdir .libs 2>/dev/null
10216 if test -d .libs; then
10217   lt_cv_objdir=.libs
10218 else
10219   # MS-DOS does not allow filenames that begin with a dot.
10220   lt_cv_objdir=_libs
10221 fi
10222 rmdir .libs 2>/dev/null
10223 fi
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10225 $as_echo "$lt_cv_objdir" >&6; }
10226 objdir=$lt_cv_objdir
10227
10228
10229
10230
10231
10232 cat >>confdefs.h <<_ACEOF
10233 #define LT_OBJDIR "$lt_cv_objdir/"
10234 _ACEOF
10235
10236
10237
10238
10239 case $host_os in
10240 aix3*)
10241   # AIX sometimes has problems with the GCC collect2 program.  For some
10242   # reason, if we set the COLLECT_NAMES environment variable, the problems
10243   # vanish in a puff of smoke.
10244   if test "X${COLLECT_NAMES+set}" != Xset; then
10245     COLLECT_NAMES=
10246     export COLLECT_NAMES
10247   fi
10248   ;;
10249 esac
10250
10251 # Global variables:
10252 ofile=libtool
10253 can_build_shared=yes
10254
10255 # All known linkers require a `.a' archive for static linking (except MSVC,
10256 # which needs '.lib').
10257 libext=a
10258
10259 with_gnu_ld="$lt_cv_prog_gnu_ld"
10260
10261 old_CC="$CC"
10262 old_CFLAGS="$CFLAGS"
10263
10264 # Set sane defaults for various variables
10265 test -z "$CC" && CC=cc
10266 test -z "$LTCC" && LTCC=$CC
10267 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10268 test -z "$LD" && LD=ld
10269 test -z "$ac_objext" && ac_objext=o
10270
10271 for cc_temp in $compiler""; do
10272   case $cc_temp in
10273     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10274     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10275     \-*) ;;
10276     *) break;;
10277   esac
10278 done
10279 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10280
10281
10282 # Only perform the check for file, if the check method requires it
10283 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10284 case $deplibs_check_method in
10285 file_magic*)
10286   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10288 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10289 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10290   $as_echo_n "(cached) " >&6
10291 else
10292   case $MAGIC_CMD in
10293 [\\/*] |  ?:[\\/]*)
10294   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10295   ;;
10296 *)
10297   lt_save_MAGIC_CMD="$MAGIC_CMD"
10298   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10299   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10300   for ac_dir in $ac_dummy; do
10301     IFS="$lt_save_ifs"
10302     test -z "$ac_dir" && ac_dir=.
10303     if test -f $ac_dir/${ac_tool_prefix}file; then
10304       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10305       if test -n "$file_magic_test_file"; then
10306         case $deplibs_check_method in
10307         "file_magic "*)
10308           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10309           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10310           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10311             $EGREP "$file_magic_regex" > /dev/null; then
10312             :
10313           else
10314             cat <<_LT_EOF 1>&2
10315
10316 *** Warning: the command libtool uses to detect shared libraries,
10317 *** $file_magic_cmd, produces output that libtool cannot recognize.
10318 *** The result is that libtool may fail to recognize shared libraries
10319 *** as such.  This will affect the creation of libtool libraries that
10320 *** depend on shared libraries, but programs linked with such libtool
10321 *** libraries will work regardless of this problem.  Nevertheless, you
10322 *** may want to report the problem to your system manager and/or to
10323 *** bug-libtool@gnu.org
10324
10325 _LT_EOF
10326           fi ;;
10327         esac
10328       fi
10329       break
10330     fi
10331   done
10332   IFS="$lt_save_ifs"
10333   MAGIC_CMD="$lt_save_MAGIC_CMD"
10334   ;;
10335 esac
10336 fi
10337
10338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10339 if test -n "$MAGIC_CMD"; then
10340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10341 $as_echo "$MAGIC_CMD" >&6; }
10342 else
10343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10344 $as_echo "no" >&6; }
10345 fi
10346
10347
10348
10349
10350
10351 if test -z "$lt_cv_path_MAGIC_CMD"; then
10352   if test -n "$ac_tool_prefix"; then
10353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10354 $as_echo_n "checking for file... " >&6; }
10355 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10356   $as_echo_n "(cached) " >&6
10357 else
10358   case $MAGIC_CMD in
10359 [\\/*] |  ?:[\\/]*)
10360   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10361   ;;
10362 *)
10363   lt_save_MAGIC_CMD="$MAGIC_CMD"
10364   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10365   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10366   for ac_dir in $ac_dummy; do
10367     IFS="$lt_save_ifs"
10368     test -z "$ac_dir" && ac_dir=.
10369     if test -f $ac_dir/file; then
10370       lt_cv_path_MAGIC_CMD="$ac_dir/file"
10371       if test -n "$file_magic_test_file"; then
10372         case $deplibs_check_method in
10373         "file_magic "*)
10374           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10375           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10376           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10377             $EGREP "$file_magic_regex" > /dev/null; then
10378             :
10379           else
10380             cat <<_LT_EOF 1>&2
10381
10382 *** Warning: the command libtool uses to detect shared libraries,
10383 *** $file_magic_cmd, produces output that libtool cannot recognize.
10384 *** The result is that libtool may fail to recognize shared libraries
10385 *** as such.  This will affect the creation of libtool libraries that
10386 *** depend on shared libraries, but programs linked with such libtool
10387 *** libraries will work regardless of this problem.  Nevertheless, you
10388 *** may want to report the problem to your system manager and/or to
10389 *** bug-libtool@gnu.org
10390
10391 _LT_EOF
10392           fi ;;
10393         esac
10394       fi
10395       break
10396     fi
10397   done
10398   IFS="$lt_save_ifs"
10399   MAGIC_CMD="$lt_save_MAGIC_CMD"
10400   ;;
10401 esac
10402 fi
10403
10404 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10405 if test -n "$MAGIC_CMD"; then
10406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10407 $as_echo "$MAGIC_CMD" >&6; }
10408 else
10409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10411 fi
10412
10413
10414   else
10415     MAGIC_CMD=:
10416   fi
10417 fi
10418
10419   fi
10420   ;;
10421 esac
10422
10423 # Use C for the default configuration in the libtool script
10424
10425 lt_save_CC="$CC"
10426 ac_ext=c
10427 ac_cpp='$CPP $CPPFLAGS'
10428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10431
10432
10433 # Source file extension for C test sources.
10434 ac_ext=c
10435
10436 # Object file extension for compiled C test sources.
10437 objext=o
10438 objext=$objext
10439
10440 # Code to be used in simple compile tests
10441 lt_simple_compile_test_code="int some_variable = 0;"
10442
10443 # Code to be used in simple link tests
10444 lt_simple_link_test_code='int main(){return(0);}'
10445
10446
10447
10448
10449
10450
10451
10452 # If no C compiler was specified, use CC.
10453 LTCC=${LTCC-"$CC"}
10454
10455 # If no C compiler flags were specified, use CFLAGS.
10456 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10457
10458 # Allow CC to be a program name with arguments.
10459 compiler=$CC
10460
10461 # Save the default compiler, since it gets overwritten when the other
10462 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10463 compiler_DEFAULT=$CC
10464
10465 # save warnings/boilerplate of simple test code
10466 ac_outfile=conftest.$ac_objext
10467 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10468 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10469 _lt_compiler_boilerplate=`cat conftest.err`
10470 $RM conftest*
10471
10472 ac_outfile=conftest.$ac_objext
10473 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10474 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10475 _lt_linker_boilerplate=`cat conftest.err`
10476 $RM -r conftest*
10477
10478
10479 ## CAVEAT EMPTOR:
10480 ## There is no encapsulation within the following macros, do not change
10481 ## the running order or otherwise move them around unless you know exactly
10482 ## what you are doing...
10483 if test -n "$compiler"; then
10484
10485 lt_prog_compiler_no_builtin_flag=
10486
10487 if test "$GCC" = yes; then
10488   case $cc_basename in
10489   nvcc*)
10490     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10491   *)
10492     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10493   esac
10494
10495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10496 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10497 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10498   $as_echo_n "(cached) " >&6
10499 else
10500   lt_cv_prog_compiler_rtti_exceptions=no
10501    ac_outfile=conftest.$ac_objext
10502    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10503    lt_compiler_flag="-fno-rtti -fno-exceptions"
10504    # Insert the option either (1) after the last *FLAGS variable, or
10505    # (2) before a word containing "conftest.", or (3) at the end.
10506    # Note that $ac_compile itself does not contain backslashes and begins
10507    # with a dollar sign (not a hyphen), so the echo should work correctly.
10508    # The option is referenced via a variable to avoid confusing sed.
10509    lt_compile=`echo "$ac_compile" | $SED \
10510    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10511    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10512    -e 's:$: $lt_compiler_flag:'`
10513    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10514    (eval "$lt_compile" 2>conftest.err)
10515    ac_status=$?
10516    cat conftest.err >&5
10517    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518    if (exit $ac_status) && test -s "$ac_outfile"; then
10519      # The compiler can only warn and ignore the option if not recognized
10520      # So say no if there are warnings other than the usual output.
10521      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10522      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10523      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10524        lt_cv_prog_compiler_rtti_exceptions=yes
10525      fi
10526    fi
10527    $RM conftest*
10528
10529 fi
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10531 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10532
10533 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10534     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10535 else
10536     :
10537 fi
10538
10539 fi
10540
10541
10542
10543
10544
10545
10546   lt_prog_compiler_wl=
10547 lt_prog_compiler_pic=
10548 lt_prog_compiler_static=
10549
10550
10551   if test "$GCC" = yes; then
10552     lt_prog_compiler_wl='-Wl,'
10553     lt_prog_compiler_static='-static'
10554
10555     case $host_os in
10556       aix*)
10557       # All AIX code is PIC.
10558       if test "$host_cpu" = ia64; then
10559         # AIX 5 now supports IA64 processor
10560         lt_prog_compiler_static='-Bstatic'
10561       fi
10562       ;;
10563
10564     amigaos*)
10565       case $host_cpu in
10566       powerpc)
10567             # see comment about AmigaOS4 .so support
10568             lt_prog_compiler_pic='-fPIC'
10569         ;;
10570       m68k)
10571             # FIXME: we need at least 68020 code to build shared libraries, but
10572             # adding the `-m68020' flag to GCC prevents building anything better,
10573             # like `-m68040'.
10574             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10575         ;;
10576       esac
10577       ;;
10578
10579     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10580       # PIC is the default for these OSes.
10581       ;;
10582
10583     mingw* | cygwin* | pw32* | os2* | cegcc*)
10584       # This hack is so that the source file can tell whether it is being
10585       # built for inclusion in a dll (and should export symbols for example).
10586       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10587       # (--disable-auto-import) libraries
10588       lt_prog_compiler_pic='-DDLL_EXPORT'
10589       ;;
10590
10591     darwin* | rhapsody*)
10592       # PIC is the default on this platform
10593       # Common symbols not allowed in MH_DYLIB files
10594       lt_prog_compiler_pic='-fno-common'
10595       ;;
10596
10597     haiku*)
10598       # PIC is the default for Haiku.
10599       # The "-static" flag exists, but is broken.
10600       lt_prog_compiler_static=
10601       ;;
10602
10603     hpux*)
10604       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10605       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10606       # sets the default TLS model and affects inlining.
10607       case $host_cpu in
10608       hppa*64*)
10609         # +Z the default
10610         ;;
10611       *)
10612         lt_prog_compiler_pic='-fPIC'
10613         ;;
10614       esac
10615       ;;
10616
10617     interix[3-9]*)
10618       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10619       # Instead, we relocate shared libraries at runtime.
10620       ;;
10621
10622     msdosdjgpp*)
10623       # Just because we use GCC doesn't mean we suddenly get shared libraries
10624       # on systems that don't support them.
10625       lt_prog_compiler_can_build_shared=no
10626       enable_shared=no
10627       ;;
10628
10629     *nto* | *qnx*)
10630       # QNX uses GNU C++, but need to define -shared option too, otherwise
10631       # it will coredump.
10632       lt_prog_compiler_pic='-fPIC -shared'
10633       ;;
10634
10635     sysv4*MP*)
10636       if test -d /usr/nec; then
10637         lt_prog_compiler_pic=-Kconform_pic
10638       fi
10639       ;;
10640
10641     *)
10642       lt_prog_compiler_pic='-fPIC'
10643       ;;
10644     esac
10645
10646     case $cc_basename in
10647     nvcc*) # Cuda Compiler Driver 2.2
10648       lt_prog_compiler_wl='-Xlinker '
10649       if test -n "$lt_prog_compiler_pic"; then
10650         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10651       fi
10652       ;;
10653     esac
10654   else
10655     # PORTME Check for flag to pass linker flags through the system compiler.
10656     case $host_os in
10657     aix*)
10658       lt_prog_compiler_wl='-Wl,'
10659       if test "$host_cpu" = ia64; then
10660         # AIX 5 now supports IA64 processor
10661         lt_prog_compiler_static='-Bstatic'
10662       else
10663         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10664       fi
10665       ;;
10666
10667     mingw* | cygwin* | pw32* | os2* | cegcc*)
10668       # This hack is so that the source file can tell whether it is being
10669       # built for inclusion in a dll (and should export symbols for example).
10670       lt_prog_compiler_pic='-DDLL_EXPORT'
10671       ;;
10672
10673     hpux9* | hpux10* | hpux11*)
10674       lt_prog_compiler_wl='-Wl,'
10675       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10676       # not for PA HP-UX.
10677       case $host_cpu in
10678       hppa*64*|ia64*)
10679         # +Z the default
10680         ;;
10681       *)
10682         lt_prog_compiler_pic='+Z'
10683         ;;
10684       esac
10685       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10686       lt_prog_compiler_static='${wl}-a ${wl}archive'
10687       ;;
10688
10689     irix5* | irix6* | nonstopux*)
10690       lt_prog_compiler_wl='-Wl,'
10691       # PIC (with -KPIC) is the default.
10692       lt_prog_compiler_static='-non_shared'
10693       ;;
10694
10695     linux* | k*bsd*-gnu | kopensolaris*-gnu)
10696       case $cc_basename in
10697       # old Intel for x86_64 which still supported -KPIC.
10698       ecc*)
10699         lt_prog_compiler_wl='-Wl,'
10700         lt_prog_compiler_pic='-KPIC'
10701         lt_prog_compiler_static='-static'
10702         ;;
10703       # icc used to be incompatible with GCC.
10704       # ICC 10 doesn't accept -KPIC any more.
10705       icc* | ifort*)
10706         lt_prog_compiler_wl='-Wl,'
10707         lt_prog_compiler_pic='-fPIC'
10708         lt_prog_compiler_static='-static'
10709         ;;
10710       # Lahey Fortran 8.1.
10711       lf95*)
10712         lt_prog_compiler_wl='-Wl,'
10713         lt_prog_compiler_pic='--shared'
10714         lt_prog_compiler_static='--static'
10715         ;;
10716       nagfor*)
10717         # NAG Fortran compiler
10718         lt_prog_compiler_wl='-Wl,-Wl,,'
10719         lt_prog_compiler_pic='-PIC'
10720         lt_prog_compiler_static='-Bstatic'
10721         ;;
10722       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10723         # Portland Group compilers (*not* the Pentium gcc compiler,
10724         # which looks to be a dead project)
10725         lt_prog_compiler_wl='-Wl,'
10726         lt_prog_compiler_pic='-fpic'
10727         lt_prog_compiler_static='-Bstatic'
10728         ;;
10729       ccc*)
10730         lt_prog_compiler_wl='-Wl,'
10731         # All Alpha code is PIC.
10732         lt_prog_compiler_static='-non_shared'
10733         ;;
10734       xl* | bgxl* | bgf* | mpixl*)
10735         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10736         lt_prog_compiler_wl='-Wl,'
10737         lt_prog_compiler_pic='-qpic'
10738         lt_prog_compiler_static='-qstaticlink'
10739         ;;
10740       *)
10741         case `$CC -V 2>&1 | sed 5q` in
10742         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10743           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10744           lt_prog_compiler_pic='-KPIC'
10745           lt_prog_compiler_static='-Bstatic'
10746           lt_prog_compiler_wl=''
10747           ;;
10748         *Sun\ F* | *Sun*Fortran*)
10749           lt_prog_compiler_pic='-KPIC'
10750           lt_prog_compiler_static='-Bstatic'
10751           lt_prog_compiler_wl='-Qoption ld '
10752           ;;
10753         *Sun\ C*)
10754           # Sun C 5.9
10755           lt_prog_compiler_pic='-KPIC'
10756           lt_prog_compiler_static='-Bstatic'
10757           lt_prog_compiler_wl='-Wl,'
10758           ;;
10759         *Intel*\ [CF]*Compiler*)
10760           lt_prog_compiler_wl='-Wl,'
10761           lt_prog_compiler_pic='-fPIC'
10762           lt_prog_compiler_static='-static'
10763           ;;
10764         *Portland\ Group*)
10765           lt_prog_compiler_wl='-Wl,'
10766           lt_prog_compiler_pic='-fpic'
10767           lt_prog_compiler_static='-Bstatic'
10768           ;;
10769         esac
10770         ;;
10771       esac
10772       ;;
10773
10774     newsos6)
10775       lt_prog_compiler_pic='-KPIC'
10776       lt_prog_compiler_static='-Bstatic'
10777       ;;
10778
10779     *nto* | *qnx*)
10780       # QNX uses GNU C++, but need to define -shared option too, otherwise
10781       # it will coredump.
10782       lt_prog_compiler_pic='-fPIC -shared'
10783       ;;
10784
10785     osf3* | osf4* | osf5*)
10786       lt_prog_compiler_wl='-Wl,'
10787       # All OSF/1 code is PIC.
10788       lt_prog_compiler_static='-non_shared'
10789       ;;
10790
10791     rdos*)
10792       lt_prog_compiler_static='-non_shared'
10793       ;;
10794
10795     solaris*)
10796       lt_prog_compiler_pic='-KPIC'
10797       lt_prog_compiler_static='-Bstatic'
10798       case $cc_basename in
10799       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10800         lt_prog_compiler_wl='-Qoption ld ';;
10801       *)
10802         lt_prog_compiler_wl='-Wl,';;
10803       esac
10804       ;;
10805
10806     sunos4*)
10807       lt_prog_compiler_wl='-Qoption ld '
10808       lt_prog_compiler_pic='-PIC'
10809       lt_prog_compiler_static='-Bstatic'
10810       ;;
10811
10812     sysv4 | sysv4.2uw2* | sysv4.3*)
10813       lt_prog_compiler_wl='-Wl,'
10814       lt_prog_compiler_pic='-KPIC'
10815       lt_prog_compiler_static='-Bstatic'
10816       ;;
10817
10818     sysv4*MP*)
10819       if test -d /usr/nec ;then
10820         lt_prog_compiler_pic='-Kconform_pic'
10821         lt_prog_compiler_static='-Bstatic'
10822       fi
10823       ;;
10824
10825     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10826       lt_prog_compiler_wl='-Wl,'
10827       lt_prog_compiler_pic='-KPIC'
10828       lt_prog_compiler_static='-Bstatic'
10829       ;;
10830
10831     unicos*)
10832       lt_prog_compiler_wl='-Wl,'
10833       lt_prog_compiler_can_build_shared=no
10834       ;;
10835
10836     uts4*)
10837       lt_prog_compiler_pic='-pic'
10838       lt_prog_compiler_static='-Bstatic'
10839       ;;
10840
10841     *)
10842       lt_prog_compiler_can_build_shared=no
10843       ;;
10844     esac
10845   fi
10846
10847 case $host_os in
10848   # For platforms which do not support PIC, -DPIC is meaningless:
10849   *djgpp*)
10850     lt_prog_compiler_pic=
10851     ;;
10852   *)
10853     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10854     ;;
10855 esac
10856
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10858 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10859 if ${lt_cv_prog_compiler_pic+:} false; then :
10860   $as_echo_n "(cached) " >&6
10861 else
10862   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10863 fi
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10865 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10866 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10867
10868 #
10869 # Check to make sure the PIC flag actually works.
10870 #
10871 if test -n "$lt_prog_compiler_pic"; then
10872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10873 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10874 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10875   $as_echo_n "(cached) " >&6
10876 else
10877   lt_cv_prog_compiler_pic_works=no
10878    ac_outfile=conftest.$ac_objext
10879    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10880    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10881    # Insert the option either (1) after the last *FLAGS variable, or
10882    # (2) before a word containing "conftest.", or (3) at the end.
10883    # Note that $ac_compile itself does not contain backslashes and begins
10884    # with a dollar sign (not a hyphen), so the echo should work correctly.
10885    # The option is referenced via a variable to avoid confusing sed.
10886    lt_compile=`echo "$ac_compile" | $SED \
10887    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10888    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10889    -e 's:$: $lt_compiler_flag:'`
10890    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10891    (eval "$lt_compile" 2>conftest.err)
10892    ac_status=$?
10893    cat conftest.err >&5
10894    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895    if (exit $ac_status) && test -s "$ac_outfile"; then
10896      # The compiler can only warn and ignore the option if not recognized
10897      # So say no if there are warnings other than the usual output.
10898      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10899      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10900      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10901        lt_cv_prog_compiler_pic_works=yes
10902      fi
10903    fi
10904    $RM conftest*
10905
10906 fi
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10908 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10909
10910 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10911     case $lt_prog_compiler_pic in
10912      "" | " "*) ;;
10913      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10914      esac
10915 else
10916     lt_prog_compiler_pic=
10917      lt_prog_compiler_can_build_shared=no
10918 fi
10919
10920 fi
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932 #
10933 # Check to make sure the static flag actually works.
10934 #
10935 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10937 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10938 if ${lt_cv_prog_compiler_static_works+:} false; then :
10939   $as_echo_n "(cached) " >&6
10940 else
10941   lt_cv_prog_compiler_static_works=no
10942    save_LDFLAGS="$LDFLAGS"
10943    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10944    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10945    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10946      # The linker can only warn and ignore the option if not recognized
10947      # So say no if there are warnings
10948      if test -s conftest.err; then
10949        # Append any errors to the config.log.
10950        cat conftest.err 1>&5
10951        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10952        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10953        if diff conftest.exp conftest.er2 >/dev/null; then
10954          lt_cv_prog_compiler_static_works=yes
10955        fi
10956      else
10957        lt_cv_prog_compiler_static_works=yes
10958      fi
10959    fi
10960    $RM -r conftest*
10961    LDFLAGS="$save_LDFLAGS"
10962
10963 fi
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10965 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10966
10967 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10968     :
10969 else
10970     lt_prog_compiler_static=
10971 fi
10972
10973
10974
10975
10976
10977
10978
10979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10980 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10981 if ${lt_cv_prog_compiler_c_o+:} false; then :
10982   $as_echo_n "(cached) " >&6
10983 else
10984   lt_cv_prog_compiler_c_o=no
10985    $RM -r conftest 2>/dev/null
10986    mkdir conftest
10987    cd conftest
10988    mkdir out
10989    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10990
10991    lt_compiler_flag="-o out/conftest2.$ac_objext"
10992    # Insert the option either (1) after the last *FLAGS variable, or
10993    # (2) before a word containing "conftest.", or (3) at the end.
10994    # Note that $ac_compile itself does not contain backslashes and begins
10995    # with a dollar sign (not a hyphen), so the echo should work correctly.
10996    lt_compile=`echo "$ac_compile" | $SED \
10997    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10998    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10999    -e 's:$: $lt_compiler_flag:'`
11000    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11001    (eval "$lt_compile" 2>out/conftest.err)
11002    ac_status=$?
11003    cat out/conftest.err >&5
11004    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11006    then
11007      # The compiler can only warn and ignore the option if not recognized
11008      # So say no if there are warnings
11009      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11010      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11011      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11012        lt_cv_prog_compiler_c_o=yes
11013      fi
11014    fi
11015    chmod u+w . 2>&5
11016    $RM conftest*
11017    # SGI C++ compiler will create directory out/ii_files/ for
11018    # template instantiation
11019    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11020    $RM out/* && rmdir out
11021    cd ..
11022    $RM -r conftest
11023    $RM conftest*
11024
11025 fi
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11027 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11028
11029
11030
11031
11032
11033
11034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11035 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11036 if ${lt_cv_prog_compiler_c_o+:} false; then :
11037   $as_echo_n "(cached) " >&6
11038 else
11039   lt_cv_prog_compiler_c_o=no
11040    $RM -r conftest 2>/dev/null
11041    mkdir conftest
11042    cd conftest
11043    mkdir out
11044    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11045
11046    lt_compiler_flag="-o out/conftest2.$ac_objext"
11047    # Insert the option either (1) after the last *FLAGS variable, or
11048    # (2) before a word containing "conftest.", or (3) at the end.
11049    # Note that $ac_compile itself does not contain backslashes and begins
11050    # with a dollar sign (not a hyphen), so the echo should work correctly.
11051    lt_compile=`echo "$ac_compile" | $SED \
11052    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11053    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11054    -e 's:$: $lt_compiler_flag:'`
11055    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11056    (eval "$lt_compile" 2>out/conftest.err)
11057    ac_status=$?
11058    cat out/conftest.err >&5
11059    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11061    then
11062      # The compiler can only warn and ignore the option if not recognized
11063      # So say no if there are warnings
11064      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11065      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11066      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11067        lt_cv_prog_compiler_c_o=yes
11068      fi
11069    fi
11070    chmod u+w . 2>&5
11071    $RM conftest*
11072    # SGI C++ compiler will create directory out/ii_files/ for
11073    # template instantiation
11074    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11075    $RM out/* && rmdir out
11076    cd ..
11077    $RM -r conftest
11078    $RM conftest*
11079
11080 fi
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11082 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11083
11084
11085
11086
11087 hard_links="nottested"
11088 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11089   # do not overwrite the value of need_locks provided by the user
11090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11091 $as_echo_n "checking if we can lock with hard links... " >&6; }
11092   hard_links=yes
11093   $RM conftest*
11094   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11095   touch conftest.a
11096   ln conftest.a conftest.b 2>&5 || hard_links=no
11097   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11099 $as_echo "$hard_links" >&6; }
11100   if test "$hard_links" = no; then
11101     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11102 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11103     need_locks=warn
11104   fi
11105 else
11106   need_locks=no
11107 fi
11108
11109
11110
11111
11112
11113
11114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11115 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11116
11117   runpath_var=
11118   allow_undefined_flag=
11119   always_export_symbols=no
11120   archive_cmds=
11121   archive_expsym_cmds=
11122   compiler_needs_object=no
11123   enable_shared_with_static_runtimes=no
11124   export_dynamic_flag_spec=
11125   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11126   hardcode_automatic=no
11127   hardcode_direct=no
11128   hardcode_direct_absolute=no
11129   hardcode_libdir_flag_spec=
11130   hardcode_libdir_separator=
11131   hardcode_minus_L=no
11132   hardcode_shlibpath_var=unsupported
11133   inherit_rpath=no
11134   link_all_deplibs=unknown
11135   module_cmds=
11136   module_expsym_cmds=
11137   old_archive_from_new_cmds=
11138   old_archive_from_expsyms_cmds=
11139   thread_safe_flag_spec=
11140   whole_archive_flag_spec=
11141   # include_expsyms should be a list of space-separated symbols to be *always*
11142   # included in the symbol list
11143   include_expsyms=
11144   # exclude_expsyms can be an extended regexp of symbols to exclude
11145   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11146   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11147   # as well as any symbol that contains `d'.
11148   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11149   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11150   # platforms (ab)use it in PIC code, but their linkers get confused if
11151   # the symbol is explicitly referenced.  Since portable code cannot
11152   # rely on this symbol name, it's probably fine to never include it in
11153   # preloaded symbol tables.
11154   # Exclude shared library initialization/finalization symbols.
11155   extract_expsyms_cmds=
11156
11157   case $host_os in
11158   cygwin* | mingw* | pw32* | cegcc*)
11159     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11160     # When not using gcc, we currently assume that we are using
11161     # Microsoft Visual C++.
11162     if test "$GCC" != yes; then
11163       with_gnu_ld=no
11164     fi
11165     ;;
11166   interix*)
11167     # we just hope/assume this is gcc and not c89 (= MSVC++)
11168     with_gnu_ld=yes
11169     ;;
11170   openbsd*)
11171     with_gnu_ld=no
11172     ;;
11173   esac
11174
11175   ld_shlibs=yes
11176
11177   # On some targets, GNU ld is compatible enough with the native linker
11178   # that we're better off using the native interface for both.
11179   lt_use_gnu_ld_interface=no
11180   if test "$with_gnu_ld" = yes; then
11181     case $host_os in
11182       aix*)
11183         # The AIX port of GNU ld has always aspired to compatibility
11184         # with the native linker.  However, as the warning in the GNU ld
11185         # block says, versions before 2.19.5* couldn't really create working
11186         # shared libraries, regardless of the interface used.
11187         case `$LD -v 2>&1` in
11188           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11189           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11190           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11191           *)
11192             lt_use_gnu_ld_interface=yes
11193             ;;
11194         esac
11195         ;;
11196       *)
11197         lt_use_gnu_ld_interface=yes
11198         ;;
11199     esac
11200   fi
11201
11202   if test "$lt_use_gnu_ld_interface" = yes; then
11203     # If archive_cmds runs LD, not CC, wlarc should be empty
11204     wlarc='${wl}'
11205
11206     # Set some defaults for GNU ld with shared library support. These
11207     # are reset later if shared libraries are not supported. Putting them
11208     # here allows them to be overridden if necessary.
11209     runpath_var=LD_RUN_PATH
11210     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11211     export_dynamic_flag_spec='${wl}--export-dynamic'
11212     # ancient GNU ld didn't support --whole-archive et. al.
11213     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11214       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11215     else
11216       whole_archive_flag_spec=
11217     fi
11218     supports_anon_versioning=no
11219     case `$LD -v 2>&1` in
11220       *GNU\ gold*) supports_anon_versioning=yes ;;
11221       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11222       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11223       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11224       *\ 2.11.*) ;; # other 2.11 versions
11225       *) supports_anon_versioning=yes ;;
11226     esac
11227
11228     # See if GNU ld supports shared libraries.
11229     case $host_os in
11230     aix[3-9]*)
11231       # On AIX/PPC, the GNU linker is very broken
11232       if test "$host_cpu" != ia64; then
11233         ld_shlibs=no
11234         cat <<_LT_EOF 1>&2
11235
11236 *** Warning: the GNU linker, at least up to release 2.19, is reported
11237 *** to be unable to reliably create shared libraries on AIX.
11238 *** Therefore, libtool is disabling shared libraries support.  If you
11239 *** really care for shared libraries, you may want to install binutils
11240 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11241 *** You will then need to restart the configuration process.
11242
11243 _LT_EOF
11244       fi
11245       ;;
11246
11247     amigaos*)
11248       case $host_cpu in
11249       powerpc)
11250             # see comment about AmigaOS4 .so support
11251             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11252             archive_expsym_cmds=''
11253         ;;
11254       m68k)
11255             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11256             hardcode_libdir_flag_spec='-L$libdir'
11257             hardcode_minus_L=yes
11258         ;;
11259       esac
11260       ;;
11261
11262     beos*)
11263       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11264         allow_undefined_flag=unsupported
11265         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11266         # support --undefined.  This deserves some investigation.  FIXME
11267         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11268       else
11269         ld_shlibs=no
11270       fi
11271       ;;
11272
11273     cygwin* | mingw* | pw32* | cegcc*)
11274       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11275       # as there is no search path for DLLs.
11276       hardcode_libdir_flag_spec='-L$libdir'
11277       export_dynamic_flag_spec='${wl}--export-all-symbols'
11278       allow_undefined_flag=unsupported
11279       always_export_symbols=no
11280       enable_shared_with_static_runtimes=yes
11281       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
11282       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11283
11284       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11285         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11286         # If the export-symbols file already is a .def file (1st line
11287         # is EXPORTS), use it as is; otherwise, prepend...
11288         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11289           cp $export_symbols $output_objdir/$soname.def;
11290         else
11291           echo EXPORTS > $output_objdir/$soname.def;
11292           cat $export_symbols >> $output_objdir/$soname.def;
11293         fi~
11294         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11295       else
11296         ld_shlibs=no
11297       fi
11298       ;;
11299
11300     haiku*)
11301       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11302       link_all_deplibs=yes
11303       ;;
11304
11305     interix[3-9]*)
11306       hardcode_direct=no
11307       hardcode_shlibpath_var=no
11308       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11309       export_dynamic_flag_spec='${wl}-E'
11310       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11311       # Instead, shared libraries are loaded at an image base (0x10000000 by
11312       # default) and relocated if they conflict, which is a slow very memory
11313       # consuming and fragmenting process.  To avoid this, we pick a random,
11314       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11315       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11316       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11317       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11318       ;;
11319
11320     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11321       tmp_diet=no
11322       if test "$host_os" = linux-dietlibc; then
11323         case $cc_basename in
11324           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11325         esac
11326       fi
11327       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11328          && test "$tmp_diet" = no
11329       then
11330         tmp_addflag=' $pic_flag'
11331         tmp_sharedflag='-shared'
11332         case $cc_basename,$host_cpu in
11333         pgcc*)                          # Portland Group C compiler
11334           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11335           tmp_addflag=' $pic_flag'
11336           ;;
11337         pgf77* | pgf90* | pgf95* | pgfortran*)
11338                                         # Portland Group f77 and f90 compilers
11339           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11340           tmp_addflag=' $pic_flag -Mnomain' ;;
11341         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11342           tmp_addflag=' -i_dynamic' ;;
11343         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11344           tmp_addflag=' -i_dynamic -nofor_main' ;;
11345         ifc* | ifort*)                  # Intel Fortran compiler
11346           tmp_addflag=' -nofor_main' ;;
11347         lf95*)                          # Lahey Fortran 8.1
11348           whole_archive_flag_spec=
11349           tmp_sharedflag='--shared' ;;
11350         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11351           tmp_sharedflag='-qmkshrobj'
11352           tmp_addflag= ;;
11353         nvcc*)  # Cuda Compiler Driver 2.2
11354           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11355           compiler_needs_object=yes
11356           ;;
11357         esac
11358         case `$CC -V 2>&1 | sed 5q` in
11359         *Sun\ C*)                       # Sun C 5.9
11360           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11361           compiler_needs_object=yes
11362           tmp_sharedflag='-G' ;;
11363         *Sun\ F*)                       # Sun Fortran 8.3
11364           tmp_sharedflag='-G' ;;
11365         esac
11366         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11367
11368         if test "x$supports_anon_versioning" = xyes; then
11369           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11370             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11371             echo "local: *; };" >> $output_objdir/$libname.ver~
11372             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11373         fi
11374
11375         case $cc_basename in
11376         xlf* | bgf* | bgxlf* | mpixlf*)
11377           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11378           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11379           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11380           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11381           if test "x$supports_anon_versioning" = xyes; then
11382             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11383               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11384               echo "local: *; };" >> $output_objdir/$libname.ver~
11385               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11386           fi
11387           ;;
11388         esac
11389       else
11390         ld_shlibs=no
11391       fi
11392       ;;
11393
11394     netbsd*)
11395       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11396         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11397         wlarc=
11398       else
11399         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11400         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11401       fi
11402       ;;
11403
11404     solaris*)
11405       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11406         ld_shlibs=no
11407         cat <<_LT_EOF 1>&2
11408
11409 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11410 *** create shared libraries on Solaris systems.  Therefore, libtool
11411 *** is disabling shared libraries support.  We urge you to upgrade GNU
11412 *** binutils to release 2.9.1 or newer.  Another option is to modify
11413 *** your PATH or compiler configuration so that the native linker is
11414 *** used, and then restart.
11415
11416 _LT_EOF
11417       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11418         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11419         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11420       else
11421         ld_shlibs=no
11422       fi
11423       ;;
11424
11425     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11426       case `$LD -v 2>&1` in
11427         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11428         ld_shlibs=no
11429         cat <<_LT_EOF 1>&2
11430
11431 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11432 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11433 *** is disabling shared libraries support.  We urge you to upgrade GNU
11434 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11435 *** your PATH or compiler configuration so that the native linker is
11436 *** used, and then restart.
11437
11438 _LT_EOF
11439         ;;
11440         *)
11441           # For security reasons, it is highly recommended that you always
11442           # use absolute paths for naming shared libraries, and exclude the
11443           # DT_RUNPATH tag from executables and libraries.  But doing so
11444           # requires that you compile everything twice, which is a pain.
11445           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11446             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11447             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11448             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11449           else
11450             ld_shlibs=no
11451           fi
11452         ;;
11453       esac
11454       ;;
11455
11456     sunos4*)
11457       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11458       wlarc=
11459       hardcode_direct=yes
11460       hardcode_shlibpath_var=no
11461       ;;
11462
11463     *)
11464       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11465         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11466         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11467       else
11468         ld_shlibs=no
11469       fi
11470       ;;
11471     esac
11472
11473     if test "$ld_shlibs" = no; then
11474       runpath_var=
11475       hardcode_libdir_flag_spec=
11476       export_dynamic_flag_spec=
11477       whole_archive_flag_spec=
11478     fi
11479   else
11480     # PORTME fill in a description of your system's linker (not GNU ld)
11481     case $host_os in
11482     aix3*)
11483       allow_undefined_flag=unsupported
11484       always_export_symbols=yes
11485       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11486       # Note: this linker hardcodes the directories in LIBPATH if there
11487       # are no directories specified by -L.
11488       hardcode_minus_L=yes
11489       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11490         # Neither direct hardcoding nor static linking is supported with a
11491         # broken collect2.
11492         hardcode_direct=unsupported
11493       fi
11494       ;;
11495
11496     aix[4-9]*)
11497       if test "$host_cpu" = ia64; then
11498         # On IA64, the linker does run time linking by default, so we don't
11499         # have to do anything special.
11500         aix_use_runtimelinking=no
11501         exp_sym_flag='-Bexport'
11502         no_entry_flag=""
11503       else
11504         # If we're using GNU nm, then we don't want the "-C" option.
11505         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11506         # Also, AIX nm treats weak defined symbols like other global
11507         # defined symbols, whereas GNU nm marks them as "W".
11508         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11509           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11510         else
11511           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11512         fi
11513         aix_use_runtimelinking=no
11514
11515         # Test if we are trying to use run time linking or normal
11516         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11517         # need to do runtime linking.
11518         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11519           for ld_flag in $LDFLAGS; do
11520           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11521             aix_use_runtimelinking=yes
11522             break
11523           fi
11524           done
11525           ;;
11526         esac
11527
11528         exp_sym_flag='-bexport'
11529         no_entry_flag='-bnoentry'
11530       fi
11531
11532       # When large executables or shared objects are built, AIX ld can
11533       # have problems creating the table of contents.  If linking a library
11534       # or program results in "error TOC overflow" add -mminimal-toc to
11535       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11536       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11537
11538       archive_cmds=''
11539       hardcode_direct=yes
11540       hardcode_direct_absolute=yes
11541       hardcode_libdir_separator=':'
11542       link_all_deplibs=yes
11543       file_list_spec='${wl}-f,'
11544
11545       if test "$GCC" = yes; then
11546         case $host_os in aix4.[012]|aix4.[012].*)
11547         # We only want to do this on AIX 4.2 and lower, the check
11548         # below for broken collect2 doesn't work under 4.3+
11549           collect2name=`${CC} -print-prog-name=collect2`
11550           if test -f "$collect2name" &&
11551            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11552           then
11553           # We have reworked collect2
11554           :
11555           else
11556           # We have old collect2
11557           hardcode_direct=unsupported
11558           # It fails to find uninstalled libraries when the uninstalled
11559           # path is not listed in the libpath.  Setting hardcode_minus_L
11560           # to unsupported forces relinking
11561           hardcode_minus_L=yes
11562           hardcode_libdir_flag_spec='-L$libdir'
11563           hardcode_libdir_separator=
11564           fi
11565           ;;
11566         esac
11567         shared_flag='-shared'
11568         if test "$aix_use_runtimelinking" = yes; then
11569           shared_flag="$shared_flag "'${wl}-G'
11570         fi
11571       else
11572         # not using gcc
11573         if test "$host_cpu" = ia64; then
11574         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11575         # chokes on -Wl,-G. The following line is correct:
11576           shared_flag='-G'
11577         else
11578           if test "$aix_use_runtimelinking" = yes; then
11579             shared_flag='${wl}-G'
11580           else
11581             shared_flag='${wl}-bM:SRE'
11582           fi
11583         fi
11584       fi
11585
11586       export_dynamic_flag_spec='${wl}-bexpall'
11587       # It seems that -bexpall does not export symbols beginning with
11588       # underscore (_), so it is better to generate a list of symbols to export.
11589       always_export_symbols=yes
11590       if test "$aix_use_runtimelinking" = yes; then
11591         # Warning - without using the other runtime loading flags (-brtl),
11592         # -berok will link without error, but may produce a broken library.
11593         allow_undefined_flag='-berok'
11594         # Determine the default libpath from the value encoded in an
11595         # empty executable.
11596         if test "${lt_cv_aix_libpath+set}" = set; then
11597   aix_libpath=$lt_cv_aix_libpath
11598 else
11599   if ${lt_cv_aix_libpath_+:} false; then :
11600   $as_echo_n "(cached) " >&6
11601 else
11602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h.  */
11604
11605 int
11606 main ()
11607 {
11608
11609   ;
11610   return 0;
11611 }
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"; then :
11614
11615   lt_aix_libpath_sed='
11616       /Import File Strings/,/^$/ {
11617           /^0/ {
11618               s/^0  *\([^ ]*\) *$/\1/
11619               p
11620           }
11621       }'
11622   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11623   # Check for a 64-bit object if we didn't find anything.
11624   if test -z "$lt_cv_aix_libpath_"; then
11625     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11626   fi
11627 fi
11628 rm -f core conftest.err conftest.$ac_objext \
11629     conftest$ac_exeext conftest.$ac_ext
11630   if test -z "$lt_cv_aix_libpath_"; then
11631     lt_cv_aix_libpath_="/usr/lib:/lib"
11632   fi
11633
11634 fi
11635
11636   aix_libpath=$lt_cv_aix_libpath_
11637 fi
11638
11639         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11640         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11641       else
11642         if test "$host_cpu" = ia64; then
11643           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11644           allow_undefined_flag="-z nodefs"
11645           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11646         else
11647          # Determine the default libpath from the value encoded in an
11648          # empty executable.
11649          if test "${lt_cv_aix_libpath+set}" = set; then
11650   aix_libpath=$lt_cv_aix_libpath
11651 else
11652   if ${lt_cv_aix_libpath_+:} false; then :
11653   $as_echo_n "(cached) " >&6
11654 else
11655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h.  */
11657
11658 int
11659 main ()
11660 {
11661
11662   ;
11663   return 0;
11664 }
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667
11668   lt_aix_libpath_sed='
11669       /Import File Strings/,/^$/ {
11670           /^0/ {
11671               s/^0  *\([^ ]*\) *$/\1/
11672               p
11673           }
11674       }'
11675   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11676   # Check for a 64-bit object if we didn't find anything.
11677   if test -z "$lt_cv_aix_libpath_"; then
11678     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11679   fi
11680 fi
11681 rm -f core conftest.err conftest.$ac_objext \
11682     conftest$ac_exeext conftest.$ac_ext
11683   if test -z "$lt_cv_aix_libpath_"; then
11684     lt_cv_aix_libpath_="/usr/lib:/lib"
11685   fi
11686
11687 fi
11688
11689   aix_libpath=$lt_cv_aix_libpath_
11690 fi
11691
11692          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11693           # Warning - without using the other run time loading flags,
11694           # -berok will link without error, but may produce a broken library.
11695           no_undefined_flag=' ${wl}-bernotok'
11696           allow_undefined_flag=' ${wl}-berok'
11697           if test "$with_gnu_ld" = yes; then
11698             # We only use this code for GNU lds that support --whole-archive.
11699             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11700           else
11701             # Exported symbols can be pulled into shared objects from archives
11702             whole_archive_flag_spec='$convenience'
11703           fi
11704           archive_cmds_need_lc=yes
11705           # This is similar to how AIX traditionally builds its shared libraries.
11706           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11707         fi
11708       fi
11709       ;;
11710
11711     amigaos*)
11712       case $host_cpu in
11713       powerpc)
11714             # see comment about AmigaOS4 .so support
11715             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11716             archive_expsym_cmds=''
11717         ;;
11718       m68k)
11719             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11720             hardcode_libdir_flag_spec='-L$libdir'
11721             hardcode_minus_L=yes
11722         ;;
11723       esac
11724       ;;
11725
11726     bsdi[45]*)
11727       export_dynamic_flag_spec=-rdynamic
11728       ;;
11729
11730     cygwin* | mingw* | pw32* | cegcc*)
11731       # When not using gcc, we currently assume that we are using
11732       # Microsoft Visual C++.
11733       # hardcode_libdir_flag_spec is actually meaningless, as there is
11734       # no search path for DLLs.
11735       case $cc_basename in
11736       cl*)
11737         # Native MSVC
11738         hardcode_libdir_flag_spec=' '
11739         allow_undefined_flag=unsupported
11740         always_export_symbols=yes
11741         file_list_spec='@'
11742         # Tell ltmain to make .lib files, not .a files.
11743         libext=lib
11744         # Tell ltmain to make .dll files, not .so files.
11745         shrext_cmds=".dll"
11746         # FIXME: Setting linknames here is a bad hack.
11747         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11748         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11749             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11750           else
11751             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11752           fi~
11753           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11754           linknames='
11755         # The linker will not automatically build a static lib if we build a DLL.
11756         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11757         enable_shared_with_static_runtimes=yes
11758         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11759         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11760         # Don't use ranlib
11761         old_postinstall_cmds='chmod 644 $oldlib'
11762         postlink_cmds='lt_outputfile="@OUTPUT@"~
11763           lt_tool_outputfile="@TOOL_OUTPUT@"~
11764           case $lt_outputfile in
11765             *.exe|*.EXE) ;;
11766             *)
11767               lt_outputfile="$lt_outputfile.exe"
11768               lt_tool_outputfile="$lt_tool_outputfile.exe"
11769               ;;
11770           esac~
11771           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11772             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11773             $RM "$lt_outputfile.manifest";
11774           fi'
11775         ;;
11776       *)
11777         # Assume MSVC wrapper
11778         hardcode_libdir_flag_spec=' '
11779         allow_undefined_flag=unsupported
11780         # Tell ltmain to make .lib files, not .a files.
11781         libext=lib
11782         # Tell ltmain to make .dll files, not .so files.
11783         shrext_cmds=".dll"
11784         # FIXME: Setting linknames here is a bad hack.
11785         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11786         # The linker will automatically build a .lib file if we build a DLL.
11787         old_archive_from_new_cmds='true'
11788         # FIXME: Should let the user specify the lib program.
11789         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11790         enable_shared_with_static_runtimes=yes
11791         ;;
11792       esac
11793       ;;
11794
11795     darwin* | rhapsody*)
11796
11797
11798   archive_cmds_need_lc=no
11799   hardcode_direct=no
11800   hardcode_automatic=yes
11801   hardcode_shlibpath_var=unsupported
11802   if test "$lt_cv_ld_force_load" = "yes"; then
11803     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11804
11805   else
11806     whole_archive_flag_spec=''
11807   fi
11808   link_all_deplibs=yes
11809   allow_undefined_flag="$_lt_dar_allow_undefined"
11810   case $cc_basename in
11811      ifort*) _lt_dar_can_shared=yes ;;
11812      *) _lt_dar_can_shared=$GCC ;;
11813   esac
11814   if test "$_lt_dar_can_shared" = "yes"; then
11815     output_verbose_link_cmd=func_echo_all
11816     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11817     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11818     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11819     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11820
11821   else
11822   ld_shlibs=no
11823   fi
11824
11825       ;;
11826
11827     dgux*)
11828       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11829       hardcode_libdir_flag_spec='-L$libdir'
11830       hardcode_shlibpath_var=no
11831       ;;
11832
11833     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11834     # support.  Future versions do this automatically, but an explicit c++rt0.o
11835     # does not break anything, and helps significantly (at the cost of a little
11836     # extra space).
11837     freebsd2.2*)
11838       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11839       hardcode_libdir_flag_spec='-R$libdir'
11840       hardcode_direct=yes
11841       hardcode_shlibpath_var=no
11842       ;;
11843
11844     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11845     freebsd2.*)
11846       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11847       hardcode_direct=yes
11848       hardcode_minus_L=yes
11849       hardcode_shlibpath_var=no
11850       ;;
11851
11852     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11853     freebsd* | dragonfly*)
11854       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11855       hardcode_libdir_flag_spec='-R$libdir'
11856       hardcode_direct=yes
11857       hardcode_shlibpath_var=no
11858       ;;
11859
11860     hpux9*)
11861       if test "$GCC" = yes; then
11862         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11863       else
11864         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11865       fi
11866       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11867       hardcode_libdir_separator=:
11868       hardcode_direct=yes
11869
11870       # hardcode_minus_L: Not really in the search PATH,
11871       # but as the default location of the library.
11872       hardcode_minus_L=yes
11873       export_dynamic_flag_spec='${wl}-E'
11874       ;;
11875
11876     hpux10*)
11877       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11878         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11879       else
11880         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11881       fi
11882       if test "$with_gnu_ld" = no; then
11883         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11884         hardcode_libdir_separator=:
11885         hardcode_direct=yes
11886         hardcode_direct_absolute=yes
11887         export_dynamic_flag_spec='${wl}-E'
11888         # hardcode_minus_L: Not really in the search PATH,
11889         # but as the default location of the library.
11890         hardcode_minus_L=yes
11891       fi
11892       ;;
11893
11894     hpux11*)
11895       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11896         case $host_cpu in
11897         hppa*64*)
11898           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11899           ;;
11900         ia64*)
11901           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11902           ;;
11903         *)
11904           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11905           ;;
11906         esac
11907       else
11908         case $host_cpu in
11909         hppa*64*)
11910           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11911           ;;
11912         ia64*)
11913           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11914           ;;
11915         *)
11916
11917           # Older versions of the 11.00 compiler do not understand -b yet
11918           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11919           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11920 $as_echo_n "checking if $CC understands -b... " >&6; }
11921 if ${lt_cv_prog_compiler__b+:} false; then :
11922   $as_echo_n "(cached) " >&6
11923 else
11924   lt_cv_prog_compiler__b=no
11925    save_LDFLAGS="$LDFLAGS"
11926    LDFLAGS="$LDFLAGS -b"
11927    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11928    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11929      # The linker can only warn and ignore the option if not recognized
11930      # So say no if there are warnings
11931      if test -s conftest.err; then
11932        # Append any errors to the config.log.
11933        cat conftest.err 1>&5
11934        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11935        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11936        if diff conftest.exp conftest.er2 >/dev/null; then
11937          lt_cv_prog_compiler__b=yes
11938        fi
11939      else
11940        lt_cv_prog_compiler__b=yes
11941      fi
11942    fi
11943    $RM -r conftest*
11944    LDFLAGS="$save_LDFLAGS"
11945
11946 fi
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11948 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11949
11950 if test x"$lt_cv_prog_compiler__b" = xyes; then
11951     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11952 else
11953     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11954 fi
11955
11956           ;;
11957         esac
11958       fi
11959       if test "$with_gnu_ld" = no; then
11960         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11961         hardcode_libdir_separator=:
11962
11963         case $host_cpu in
11964         hppa*64*|ia64*)
11965           hardcode_direct=no
11966           hardcode_shlibpath_var=no
11967           ;;
11968         *)
11969           hardcode_direct=yes
11970           hardcode_direct_absolute=yes
11971           export_dynamic_flag_spec='${wl}-E'
11972
11973           # hardcode_minus_L: Not really in the search PATH,
11974           # but as the default location of the library.
11975           hardcode_minus_L=yes
11976           ;;
11977         esac
11978       fi
11979       ;;
11980
11981     irix5* | irix6* | nonstopux*)
11982       if test "$GCC" = yes; then
11983         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11984         # Try to use the -exported_symbol ld option, if it does not
11985         # work, assume that -exports_file does not work either and
11986         # implicitly export all symbols.
11987         # This should be the same for all languages, so no per-tag cache variable.
11988         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11989 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11990 if ${lt_cv_irix_exported_symbol+:} false; then :
11991   $as_echo_n "(cached) " >&6
11992 else
11993   save_LDFLAGS="$LDFLAGS"
11994            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11995            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h.  */
11997 int foo (void) { return 0; }
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000   lt_cv_irix_exported_symbol=yes
12001 else
12002   lt_cv_irix_exported_symbol=no
12003 fi
12004 rm -f core conftest.err conftest.$ac_objext \
12005     conftest$ac_exeext conftest.$ac_ext
12006            LDFLAGS="$save_LDFLAGS"
12007 fi
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12009 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12010         if test "$lt_cv_irix_exported_symbol" = yes; then
12011           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12012         fi
12013       else
12014         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12015         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12016       fi
12017       archive_cmds_need_lc='no'
12018       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12019       hardcode_libdir_separator=:
12020       inherit_rpath=yes
12021       link_all_deplibs=yes
12022       ;;
12023
12024     netbsd*)
12025       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12026         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12027       else
12028         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12029       fi
12030       hardcode_libdir_flag_spec='-R$libdir'
12031       hardcode_direct=yes
12032       hardcode_shlibpath_var=no
12033       ;;
12034
12035     newsos6)
12036       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12037       hardcode_direct=yes
12038       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12039       hardcode_libdir_separator=:
12040       hardcode_shlibpath_var=no
12041       ;;
12042
12043     *nto* | *qnx*)
12044       ;;
12045
12046     openbsd*)
12047       if test -f /usr/libexec/ld.so; then
12048         hardcode_direct=yes
12049         hardcode_shlibpath_var=no
12050         hardcode_direct_absolute=yes
12051         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12052           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12053           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12054           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12055           export_dynamic_flag_spec='${wl}-E'
12056         else
12057           case $host_os in
12058            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12059              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12060              hardcode_libdir_flag_spec='-R$libdir'
12061              ;;
12062            *)
12063              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12064              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12065              ;;
12066           esac
12067         fi
12068       else
12069         ld_shlibs=no
12070       fi
12071       ;;
12072
12073     os2*)
12074       hardcode_libdir_flag_spec='-L$libdir'
12075       hardcode_minus_L=yes
12076       allow_undefined_flag=unsupported
12077       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12078       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12079       ;;
12080
12081     osf3*)
12082       if test "$GCC" = yes; then
12083         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12084         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12085       else
12086         allow_undefined_flag=' -expect_unresolved \*'
12087         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12088       fi
12089       archive_cmds_need_lc='no'
12090       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12091       hardcode_libdir_separator=:
12092       ;;
12093
12094     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12095       if test "$GCC" = yes; then
12096         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12097         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12098         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12099       else
12100         allow_undefined_flag=' -expect_unresolved \*'
12101         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12102         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12103         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12104
12105         # Both c and cxx compiler support -rpath directly
12106         hardcode_libdir_flag_spec='-rpath $libdir'
12107       fi
12108       archive_cmds_need_lc='no'
12109       hardcode_libdir_separator=:
12110       ;;
12111
12112     solaris*)
12113       no_undefined_flag=' -z defs'
12114       if test "$GCC" = yes; then
12115         wlarc='${wl}'
12116         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12117         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12118           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12119       else
12120         case `$CC -V 2>&1` in
12121         *"Compilers 5.0"*)
12122           wlarc=''
12123           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12124           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12125           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12126           ;;
12127         *)
12128           wlarc='${wl}'
12129           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12130           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12131           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12132           ;;
12133         esac
12134       fi
12135       hardcode_libdir_flag_spec='-R$libdir'
12136       hardcode_shlibpath_var=no
12137       case $host_os in
12138       solaris2.[0-5] | solaris2.[0-5].*) ;;
12139       *)
12140         # The compiler driver will combine and reorder linker options,
12141         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12142         # but is careful enough not to reorder.
12143         # Supported since Solaris 2.6 (maybe 2.5.1?)
12144         if test "$GCC" = yes; then
12145           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12146         else
12147           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12148         fi
12149         ;;
12150       esac
12151       link_all_deplibs=yes
12152       ;;
12153
12154     sunos4*)
12155       if test "x$host_vendor" = xsequent; then
12156         # Use $CC to link under sequent, because it throws in some extra .o
12157         # files that make .init and .fini sections work.
12158         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12159       else
12160         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12161       fi
12162       hardcode_libdir_flag_spec='-L$libdir'
12163       hardcode_direct=yes
12164       hardcode_minus_L=yes
12165       hardcode_shlibpath_var=no
12166       ;;
12167
12168     sysv4)
12169       case $host_vendor in
12170         sni)
12171           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12172           hardcode_direct=yes # is this really true???
12173         ;;
12174         siemens)
12175           ## LD is ld it makes a PLAMLIB
12176           ## CC just makes a GrossModule.
12177           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12178           reload_cmds='$CC -r -o $output$reload_objs'
12179           hardcode_direct=no
12180         ;;
12181         motorola)
12182           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12183           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12184         ;;
12185       esac
12186       runpath_var='LD_RUN_PATH'
12187       hardcode_shlibpath_var=no
12188       ;;
12189
12190     sysv4.3*)
12191       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12192       hardcode_shlibpath_var=no
12193       export_dynamic_flag_spec='-Bexport'
12194       ;;
12195
12196     sysv4*MP*)
12197       if test -d /usr/nec; then
12198         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12199         hardcode_shlibpath_var=no
12200         runpath_var=LD_RUN_PATH
12201         hardcode_runpath_var=yes
12202         ld_shlibs=yes
12203       fi
12204       ;;
12205
12206     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12207       no_undefined_flag='${wl}-z,text'
12208       archive_cmds_need_lc=no
12209       hardcode_shlibpath_var=no
12210       runpath_var='LD_RUN_PATH'
12211
12212       if test "$GCC" = yes; then
12213         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12214         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12215       else
12216         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12217         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12218       fi
12219       ;;
12220
12221     sysv5* | sco3.2v5* | sco5v6*)
12222       # Note: We can NOT use -z defs as we might desire, because we do not
12223       # link with -lc, and that would cause any symbols used from libc to
12224       # always be unresolved, which means just about no library would
12225       # ever link correctly.  If we're not using GNU ld we use -z text
12226       # though, which does catch some bad symbols but isn't as heavy-handed
12227       # as -z defs.
12228       no_undefined_flag='${wl}-z,text'
12229       allow_undefined_flag='${wl}-z,nodefs'
12230       archive_cmds_need_lc=no
12231       hardcode_shlibpath_var=no
12232       hardcode_libdir_flag_spec='${wl}-R,$libdir'
12233       hardcode_libdir_separator=':'
12234       link_all_deplibs=yes
12235       export_dynamic_flag_spec='${wl}-Bexport'
12236       runpath_var='LD_RUN_PATH'
12237
12238       if test "$GCC" = yes; then
12239         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12240         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12241       else
12242         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12243         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12244       fi
12245       ;;
12246
12247     uts4*)
12248       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12249       hardcode_libdir_flag_spec='-L$libdir'
12250       hardcode_shlibpath_var=no
12251       ;;
12252
12253     *)
12254       ld_shlibs=no
12255       ;;
12256     esac
12257
12258     if test x$host_vendor = xsni; then
12259       case $host in
12260       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12261         export_dynamic_flag_spec='${wl}-Blargedynsym'
12262         ;;
12263       esac
12264     fi
12265   fi
12266
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12268 $as_echo "$ld_shlibs" >&6; }
12269 test "$ld_shlibs" = no && can_build_shared=no
12270
12271 with_gnu_ld=$with_gnu_ld
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287 #
12288 # Do we need to explicitly link libc?
12289 #
12290 case "x$archive_cmds_need_lc" in
12291 x|xyes)
12292   # Assume -lc should be added
12293   archive_cmds_need_lc=yes
12294
12295   if test "$enable_shared" = yes && test "$GCC" = yes; then
12296     case $archive_cmds in
12297     *'~'*)
12298       # FIXME: we may have to deal with multi-command sequences.
12299       ;;
12300     '$CC '*)
12301       # Test whether the compiler implicitly links with -lc since on some
12302       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12303       # to ld, don't add -lc before -lgcc.
12304       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12305 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12306 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12307   $as_echo_n "(cached) " >&6
12308 else
12309   $RM conftest*
12310         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12311
12312         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12313   (eval $ac_compile) 2>&5
12314   ac_status=$?
12315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12316   test $ac_status = 0; } 2>conftest.err; then
12317           soname=conftest
12318           lib=conftest
12319           libobjs=conftest.$ac_objext
12320           deplibs=
12321           wl=$lt_prog_compiler_wl
12322           pic_flag=$lt_prog_compiler_pic
12323           compiler_flags=-v
12324           linker_flags=-v
12325           verstring=
12326           output_objdir=.
12327           libname=conftest
12328           lt_save_allow_undefined_flag=$allow_undefined_flag
12329           allow_undefined_flag=
12330           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12331   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12332   ac_status=$?
12333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12334   test $ac_status = 0; }
12335           then
12336             lt_cv_archive_cmds_need_lc=no
12337           else
12338             lt_cv_archive_cmds_need_lc=yes
12339           fi
12340           allow_undefined_flag=$lt_save_allow_undefined_flag
12341         else
12342           cat conftest.err 1>&5
12343         fi
12344         $RM conftest*
12345
12346 fi
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12348 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12349       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12350       ;;
12351     esac
12352   fi
12353   ;;
12354 esac
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12508 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12509
12510 if test "$GCC" = yes; then
12511   case $host_os in
12512     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12513     *) lt_awk_arg="/^libraries:/" ;;
12514   esac
12515   case $host_os in
12516     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12517     *) lt_sed_strip_eq="s,=/,/,g" ;;
12518   esac
12519   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12520   case $lt_search_path_spec in
12521   *\;*)
12522     # if the path contains ";" then we assume it to be the separator
12523     # otherwise default to the standard path separator (i.e. ":") - it is
12524     # assumed that no part of a normal pathname contains ";" but that should
12525     # okay in the real world where ";" in dirpaths is itself problematic.
12526     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12527     ;;
12528   *)
12529     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12530     ;;
12531   esac
12532   # Ok, now we have the path, separated by spaces, we can step through it
12533   # and add multilib dir if necessary.
12534   lt_tmp_lt_search_path_spec=
12535   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12536   for lt_sys_path in $lt_search_path_spec; do
12537     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12538       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12539     else
12540       test -d "$lt_sys_path" && \
12541         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12542     fi
12543   done
12544   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12545 BEGIN {RS=" "; FS="/|\n";} {
12546   lt_foo="";
12547   lt_count=0;
12548   for (lt_i = NF; lt_i > 0; lt_i--) {
12549     if ($lt_i != "" && $lt_i != ".") {
12550       if ($lt_i == "..") {
12551         lt_count++;
12552       } else {
12553         if (lt_count == 0) {
12554           lt_foo="/" $lt_i lt_foo;
12555         } else {
12556           lt_count--;
12557         }
12558       }
12559     }
12560   }
12561   if (lt_foo != "") { lt_freq[lt_foo]++; }
12562   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12563 }'`
12564   # AWK program above erroneously prepends '/' to C:/dos/paths
12565   # for these hosts.
12566   case $host_os in
12567     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12568       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12569   esac
12570   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12571 else
12572   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12573 fi
12574 library_names_spec=
12575 libname_spec='lib$name'
12576 soname_spec=
12577 shrext_cmds=".so"
12578 postinstall_cmds=
12579 postuninstall_cmds=
12580 finish_cmds=
12581 finish_eval=
12582 shlibpath_var=
12583 shlibpath_overrides_runpath=unknown
12584 version_type=none
12585 dynamic_linker="$host_os ld.so"
12586 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12587 need_lib_prefix=unknown
12588 hardcode_into_libs=no
12589
12590 # when you set need_version to no, make sure it does not cause -set_version
12591 # flags to be left without arguments
12592 need_version=unknown
12593
12594 case $host_os in
12595 aix3*)
12596   version_type=linux # correct to gnu/linux during the next big refactor
12597   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12598   shlibpath_var=LIBPATH
12599
12600   # AIX 3 has no versioning support, so we append a major version to the name.
12601   soname_spec='${libname}${release}${shared_ext}$major'
12602   ;;
12603
12604 aix[4-9]*)
12605   version_type=linux # correct to gnu/linux during the next big refactor
12606   need_lib_prefix=no
12607   need_version=no
12608   hardcode_into_libs=yes
12609   if test "$host_cpu" = ia64; then
12610     # AIX 5 supports IA64
12611     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12612     shlibpath_var=LD_LIBRARY_PATH
12613   else
12614     # With GCC up to 2.95.x, collect2 would create an import file
12615     # for dependence libraries.  The import file would start with
12616     # the line `#! .'.  This would cause the generated library to
12617     # depend on `.', always an invalid library.  This was fixed in
12618     # development snapshots of GCC prior to 3.0.
12619     case $host_os in
12620       aix4 | aix4.[01] | aix4.[01].*)
12621       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12622            echo ' yes '
12623            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12624         :
12625       else
12626         can_build_shared=no
12627       fi
12628       ;;
12629     esac
12630     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12631     # soname into executable. Probably we can add versioning support to
12632     # collect2, so additional links can be useful in future.
12633     if test "$aix_use_runtimelinking" = yes; then
12634       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12635       # instead of lib<name>.a to let people know that these are not
12636       # typical AIX shared libraries.
12637       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12638     else
12639       # We preserve .a as extension for shared libraries through AIX4.2
12640       # and later when we are not doing run time linking.
12641       library_names_spec='${libname}${release}.a $libname.a'
12642       soname_spec='${libname}${release}${shared_ext}$major'
12643     fi
12644     shlibpath_var=LIBPATH
12645   fi
12646   ;;
12647
12648 amigaos*)
12649   case $host_cpu in
12650   powerpc)
12651     # Since July 2007 AmigaOS4 officially supports .so libraries.
12652     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12653     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654     ;;
12655   m68k)
12656     library_names_spec='$libname.ixlibrary $libname.a'
12657     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12658     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12659     ;;
12660   esac
12661   ;;
12662
12663 beos*)
12664   library_names_spec='${libname}${shared_ext}'
12665   dynamic_linker="$host_os ld.so"
12666   shlibpath_var=LIBRARY_PATH
12667   ;;
12668
12669 bsdi[45]*)
12670   version_type=linux # correct to gnu/linux during the next big refactor
12671   need_version=no
12672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12673   soname_spec='${libname}${release}${shared_ext}$major'
12674   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12675   shlibpath_var=LD_LIBRARY_PATH
12676   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12677   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12678   # the default ld.so.conf also contains /usr/contrib/lib and
12679   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12680   # libtool to hard-code these into programs
12681   ;;
12682
12683 cygwin* | mingw* | pw32* | cegcc*)
12684   version_type=windows
12685   shrext_cmds=".dll"
12686   need_version=no
12687   need_lib_prefix=no
12688
12689   case $GCC,$cc_basename in
12690   yes,*)
12691     # gcc
12692     library_names_spec='$libname.dll.a'
12693     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12694     postinstall_cmds='base_file=`basename \${file}`~
12695       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12696       dldir=$destdir/`dirname \$dlpath`~
12697       test -d \$dldir || mkdir -p \$dldir~
12698       $install_prog $dir/$dlname \$dldir/$dlname~
12699       chmod a+x \$dldir/$dlname~
12700       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12701         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12702       fi'
12703     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12704       dlpath=$dir/\$dldll~
12705        $RM \$dlpath'
12706     shlibpath_overrides_runpath=yes
12707
12708     case $host_os in
12709     cygwin*)
12710       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12711       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12712
12713       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12714       ;;
12715     mingw* | cegcc*)
12716       # MinGW DLLs use traditional 'lib' prefix
12717       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12718       ;;
12719     pw32*)
12720       # pw32 DLLs use 'pw' prefix rather than 'lib'
12721       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12722       ;;
12723     esac
12724     dynamic_linker='Win32 ld.exe'
12725     ;;
12726
12727   *,cl*)
12728     # Native MSVC
12729     libname_spec='$name'
12730     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12731     library_names_spec='${libname}.dll.lib'
12732
12733     case $build_os in
12734     mingw*)
12735       sys_lib_search_path_spec=
12736       lt_save_ifs=$IFS
12737       IFS=';'
12738       for lt_path in $LIB
12739       do
12740         IFS=$lt_save_ifs
12741         # Let DOS variable expansion print the short 8.3 style file name.
12742         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12743         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12744       done
12745       IFS=$lt_save_ifs
12746       # Convert to MSYS style.
12747       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12748       ;;
12749     cygwin*)
12750       # Convert to unix form, then to dos form, then back to unix form
12751       # but this time dos style (no spaces!) so that the unix form looks
12752       # like /cygdrive/c/PROGRA~1:/cygdr...
12753       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12754       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12755       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12756       ;;
12757     *)
12758       sys_lib_search_path_spec="$LIB"
12759       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12760         # It is most probably a Windows format PATH.
12761         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12762       else
12763         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12764       fi
12765       # FIXME: find the short name or the path components, as spaces are
12766       # common. (e.g. "Program Files" -> "PROGRA~1")
12767       ;;
12768     esac
12769
12770     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12771     postinstall_cmds='base_file=`basename \${file}`~
12772       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12773       dldir=$destdir/`dirname \$dlpath`~
12774       test -d \$dldir || mkdir -p \$dldir~
12775       $install_prog $dir/$dlname \$dldir/$dlname'
12776     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12777       dlpath=$dir/\$dldll~
12778        $RM \$dlpath'
12779     shlibpath_overrides_runpath=yes
12780     dynamic_linker='Win32 link.exe'
12781     ;;
12782
12783   *)
12784     # Assume MSVC wrapper
12785     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12786     dynamic_linker='Win32 ld.exe'
12787     ;;
12788   esac
12789   # FIXME: first we should search . and the directory the executable is in
12790   shlibpath_var=PATH
12791   ;;
12792
12793 darwin* | rhapsody*)
12794   dynamic_linker="$host_os dyld"
12795   version_type=darwin
12796   need_lib_prefix=no
12797   need_version=no
12798   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12799   soname_spec='${libname}${release}${major}$shared_ext'
12800   shlibpath_overrides_runpath=yes
12801   shlibpath_var=DYLD_LIBRARY_PATH
12802   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12803
12804   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12805   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12806   ;;
12807
12808 dgux*)
12809   version_type=linux # correct to gnu/linux during the next big refactor
12810   need_lib_prefix=no
12811   need_version=no
12812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12813   soname_spec='${libname}${release}${shared_ext}$major'
12814   shlibpath_var=LD_LIBRARY_PATH
12815   ;;
12816
12817 freebsd* | dragonfly*)
12818   # DragonFly does not have aout.  When/if they implement a new
12819   # versioning mechanism, adjust this.
12820   if test -x /usr/bin/objformat; then
12821     objformat=`/usr/bin/objformat`
12822   else
12823     case $host_os in
12824     freebsd[23].*) objformat=aout ;;
12825     *) objformat=elf ;;
12826     esac
12827   fi
12828   version_type=freebsd-$objformat
12829   case $version_type in
12830     freebsd-elf*)
12831       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12832       need_version=no
12833       need_lib_prefix=no
12834       ;;
12835     freebsd-*)
12836       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12837       need_version=yes
12838       ;;
12839   esac
12840   shlibpath_var=LD_LIBRARY_PATH
12841   case $host_os in
12842   freebsd2.*)
12843     shlibpath_overrides_runpath=yes
12844     ;;
12845   freebsd3.[01]* | freebsdelf3.[01]*)
12846     shlibpath_overrides_runpath=yes
12847     hardcode_into_libs=yes
12848     ;;
12849   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12850   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12851     shlibpath_overrides_runpath=no
12852     hardcode_into_libs=yes
12853     ;;
12854   *) # from 4.6 on, and DragonFly
12855     shlibpath_overrides_runpath=yes
12856     hardcode_into_libs=yes
12857     ;;
12858   esac
12859   ;;
12860
12861 gnu*)
12862   version_type=linux # correct to gnu/linux during the next big refactor
12863   need_lib_prefix=no
12864   need_version=no
12865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12866   soname_spec='${libname}${release}${shared_ext}$major'
12867   shlibpath_var=LD_LIBRARY_PATH
12868   shlibpath_overrides_runpath=no
12869   hardcode_into_libs=yes
12870   ;;
12871
12872 haiku*)
12873   version_type=linux # correct to gnu/linux during the next big refactor
12874   need_lib_prefix=no
12875   need_version=no
12876   dynamic_linker="$host_os runtime_loader"
12877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12878   soname_spec='${libname}${release}${shared_ext}$major'
12879   shlibpath_var=LIBRARY_PATH
12880   shlibpath_overrides_runpath=yes
12881   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12882   hardcode_into_libs=yes
12883   ;;
12884
12885 hpux9* | hpux10* | hpux11*)
12886   # Give a soname corresponding to the major version so that dld.sl refuses to
12887   # link against other versions.
12888   version_type=sunos
12889   need_lib_prefix=no
12890   need_version=no
12891   case $host_cpu in
12892   ia64*)
12893     shrext_cmds='.so'
12894     hardcode_into_libs=yes
12895     dynamic_linker="$host_os dld.so"
12896     shlibpath_var=LD_LIBRARY_PATH
12897     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12899     soname_spec='${libname}${release}${shared_ext}$major'
12900     if test "X$HPUX_IA64_MODE" = X32; then
12901       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12902     else
12903       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12904     fi
12905     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12906     ;;
12907   hppa*64*)
12908     shrext_cmds='.sl'
12909     hardcode_into_libs=yes
12910     dynamic_linker="$host_os dld.sl"
12911     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12912     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12913     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12914     soname_spec='${libname}${release}${shared_ext}$major'
12915     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12916     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12917     ;;
12918   *)
12919     shrext_cmds='.sl'
12920     dynamic_linker="$host_os dld.sl"
12921     shlibpath_var=SHLIB_PATH
12922     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12923     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12924     soname_spec='${libname}${release}${shared_ext}$major'
12925     ;;
12926   esac
12927   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12928   postinstall_cmds='chmod 555 $lib'
12929   # or fails outright, so override atomically:
12930   install_override_mode=555
12931   ;;
12932
12933 interix[3-9]*)
12934   version_type=linux # correct to gnu/linux during the next big refactor
12935   need_lib_prefix=no
12936   need_version=no
12937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12938   soname_spec='${libname}${release}${shared_ext}$major'
12939   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12940   shlibpath_var=LD_LIBRARY_PATH
12941   shlibpath_overrides_runpath=no
12942   hardcode_into_libs=yes
12943   ;;
12944
12945 irix5* | irix6* | nonstopux*)
12946   case $host_os in
12947     nonstopux*) version_type=nonstopux ;;
12948     *)
12949         if test "$lt_cv_prog_gnu_ld" = yes; then
12950                 version_type=linux # correct to gnu/linux during the next big refactor
12951         else
12952                 version_type=irix
12953         fi ;;
12954   esac
12955   need_lib_prefix=no
12956   need_version=no
12957   soname_spec='${libname}${release}${shared_ext}$major'
12958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12959   case $host_os in
12960   irix5* | nonstopux*)
12961     libsuff= shlibsuff=
12962     ;;
12963   *)
12964     case $LD in # libtool.m4 will add one of these switches to LD
12965     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12966       libsuff= shlibsuff= libmagic=32-bit;;
12967     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12968       libsuff=32 shlibsuff=N32 libmagic=N32;;
12969     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12970       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12971     *) libsuff= shlibsuff= libmagic=never-match;;
12972     esac
12973     ;;
12974   esac
12975   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12976   shlibpath_overrides_runpath=no
12977   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12978   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12979   hardcode_into_libs=yes
12980   ;;
12981
12982 # No shared lib support for Linux oldld, aout, or coff.
12983 linux*oldld* | linux*aout* | linux*coff*)
12984   dynamic_linker=no
12985   ;;
12986
12987 # This must be glibc/ELF.
12988 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12989   version_type=linux # correct to gnu/linux during the next big refactor
12990   need_lib_prefix=no
12991   need_version=no
12992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12993   soname_spec='${libname}${release}${shared_ext}$major'
12994   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12995   shlibpath_var=LD_LIBRARY_PATH
12996   shlibpath_overrides_runpath=no
12997
12998   # Some binutils ld are patched to set DT_RUNPATH
12999   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13000   $as_echo_n "(cached) " >&6
13001 else
13002   lt_cv_shlibpath_overrides_runpath=no
13003     save_LDFLAGS=$LDFLAGS
13004     save_libdir=$libdir
13005     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13006          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13007     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h.  */
13009
13010 int
13011 main ()
13012 {
13013
13014   ;
13015   return 0;
13016 }
13017 _ACEOF
13018 if ac_fn_c_try_link "$LINENO"; then :
13019   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13020   lt_cv_shlibpath_overrides_runpath=yes
13021 fi
13022 fi
13023 rm -f core conftest.err conftest.$ac_objext \
13024     conftest$ac_exeext conftest.$ac_ext
13025     LDFLAGS=$save_LDFLAGS
13026     libdir=$save_libdir
13027
13028 fi
13029
13030   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13031
13032   # This implies no fast_install, which is unacceptable.
13033   # Some rework will be needed to allow for fast_install
13034   # before this can be enabled.
13035   hardcode_into_libs=yes
13036
13037   # Add ABI-specific directories to the system library path.
13038   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13039
13040   # Append ld.so.conf contents to the search path
13041   if test -f /etc/ld.so.conf; then
13042     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13043     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13044
13045   fi
13046
13047   # We used to test for /lib/ld.so.1 and disable shared libraries on
13048   # powerpc, because MkLinux only supported shared libraries with the
13049   # GNU dynamic linker.  Since this was broken with cross compilers,
13050   # most powerpc-linux boxes support dynamic linking these days and
13051   # people can always --disable-shared, the test was removed, and we
13052   # assume the GNU/Linux dynamic linker is in use.
13053   dynamic_linker='GNU/Linux ld.so'
13054   ;;
13055
13056 netbsd*)
13057   version_type=sunos
13058   need_lib_prefix=no
13059   need_version=no
13060   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13061     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13062     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13063     dynamic_linker='NetBSD (a.out) ld.so'
13064   else
13065     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13066     soname_spec='${libname}${release}${shared_ext}$major'
13067     dynamic_linker='NetBSD ld.elf_so'
13068   fi
13069   shlibpath_var=LD_LIBRARY_PATH
13070   shlibpath_overrides_runpath=yes
13071   hardcode_into_libs=yes
13072   ;;
13073
13074 newsos6)
13075   version_type=linux # correct to gnu/linux during the next big refactor
13076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13077   shlibpath_var=LD_LIBRARY_PATH
13078   shlibpath_overrides_runpath=yes
13079   ;;
13080
13081 *nto* | *qnx*)
13082   version_type=qnx
13083   need_lib_prefix=no
13084   need_version=no
13085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086   soname_spec='${libname}${release}${shared_ext}$major'
13087   shlibpath_var=LD_LIBRARY_PATH
13088   shlibpath_overrides_runpath=no
13089   hardcode_into_libs=yes
13090   dynamic_linker='ldqnx.so'
13091   ;;
13092
13093 openbsd*)
13094   version_type=sunos
13095   sys_lib_dlsearch_path_spec="/usr/lib"
13096   need_lib_prefix=no
13097   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13098   case $host_os in
13099     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13100     *)                          need_version=no  ;;
13101   esac
13102   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13103   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13104   shlibpath_var=LD_LIBRARY_PATH
13105   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13106     case $host_os in
13107       openbsd2.[89] | openbsd2.[89].*)
13108         shlibpath_overrides_runpath=no
13109         ;;
13110       *)
13111         shlibpath_overrides_runpath=yes
13112         ;;
13113       esac
13114   else
13115     shlibpath_overrides_runpath=yes
13116   fi
13117   ;;
13118
13119 os2*)
13120   libname_spec='$name'
13121   shrext_cmds=".dll"
13122   need_lib_prefix=no
13123   library_names_spec='$libname${shared_ext} $libname.a'
13124   dynamic_linker='OS/2 ld.exe'
13125   shlibpath_var=LIBPATH
13126   ;;
13127
13128 osf3* | osf4* | osf5*)
13129   version_type=osf
13130   need_lib_prefix=no
13131   need_version=no
13132   soname_spec='${libname}${release}${shared_ext}$major'
13133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13134   shlibpath_var=LD_LIBRARY_PATH
13135   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13136   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13137   ;;
13138
13139 rdos*)
13140   dynamic_linker=no
13141   ;;
13142
13143 solaris*)
13144   version_type=linux # correct to gnu/linux during the next big refactor
13145   need_lib_prefix=no
13146   need_version=no
13147   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148   soname_spec='${libname}${release}${shared_ext}$major'
13149   shlibpath_var=LD_LIBRARY_PATH
13150   shlibpath_overrides_runpath=yes
13151   hardcode_into_libs=yes
13152   # ldd complains unless libraries are executable
13153   postinstall_cmds='chmod +x $lib'
13154   ;;
13155
13156 sunos4*)
13157   version_type=sunos
13158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13159   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13160   shlibpath_var=LD_LIBRARY_PATH
13161   shlibpath_overrides_runpath=yes
13162   if test "$with_gnu_ld" = yes; then
13163     need_lib_prefix=no
13164   fi
13165   need_version=yes
13166   ;;
13167
13168 sysv4 | sysv4.3*)
13169   version_type=linux # correct to gnu/linux during the next big refactor
13170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13171   soname_spec='${libname}${release}${shared_ext}$major'
13172   shlibpath_var=LD_LIBRARY_PATH
13173   case $host_vendor in
13174     sni)
13175       shlibpath_overrides_runpath=no
13176       need_lib_prefix=no
13177       runpath_var=LD_RUN_PATH
13178       ;;
13179     siemens)
13180       need_lib_prefix=no
13181       ;;
13182     motorola)
13183       need_lib_prefix=no
13184       need_version=no
13185       shlibpath_overrides_runpath=no
13186       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13187       ;;
13188   esac
13189   ;;
13190
13191 sysv4*MP*)
13192   if test -d /usr/nec ;then
13193     version_type=linux # correct to gnu/linux during the next big refactor
13194     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13195     soname_spec='$libname${shared_ext}.$major'
13196     shlibpath_var=LD_LIBRARY_PATH
13197   fi
13198   ;;
13199
13200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13201   version_type=freebsd-elf
13202   need_lib_prefix=no
13203   need_version=no
13204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13205   soname_spec='${libname}${release}${shared_ext}$major'
13206   shlibpath_var=LD_LIBRARY_PATH
13207   shlibpath_overrides_runpath=yes
13208   hardcode_into_libs=yes
13209   if test "$with_gnu_ld" = yes; then
13210     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13211   else
13212     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13213     case $host_os in
13214       sco3.2v5*)
13215         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13216         ;;
13217     esac
13218   fi
13219   sys_lib_dlsearch_path_spec='/usr/lib'
13220   ;;
13221
13222 tpf*)
13223   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13224   version_type=linux # correct to gnu/linux during the next big refactor
13225   need_lib_prefix=no
13226   need_version=no
13227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13228   shlibpath_var=LD_LIBRARY_PATH
13229   shlibpath_overrides_runpath=no
13230   hardcode_into_libs=yes
13231   ;;
13232
13233 uts4*)
13234   version_type=linux # correct to gnu/linux during the next big refactor
13235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236   soname_spec='${libname}${release}${shared_ext}$major'
13237   shlibpath_var=LD_LIBRARY_PATH
13238   ;;
13239
13240 *)
13241   dynamic_linker=no
13242   ;;
13243 esac
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13245 $as_echo "$dynamic_linker" >&6; }
13246 test "$dynamic_linker" = no && can_build_shared=no
13247
13248 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13249 if test "$GCC" = yes; then
13250   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13251 fi
13252
13253 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13254   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13255 fi
13256 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13257   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13258 fi
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13352 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13353 hardcode_action=
13354 if test -n "$hardcode_libdir_flag_spec" ||
13355    test -n "$runpath_var" ||
13356    test "X$hardcode_automatic" = "Xyes" ; then
13357
13358   # We can hardcode non-existent directories.
13359   if test "$hardcode_direct" != no &&
13360      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13361      # have to relink, otherwise we might link with an installed library
13362      # when we should be linking with a yet-to-be-installed one
13363      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13364      test "$hardcode_minus_L" != no; then
13365     # Linking always hardcodes the temporary library directory.
13366     hardcode_action=relink
13367   else
13368     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13369     hardcode_action=immediate
13370   fi
13371 else
13372   # We cannot hardcode anything, or else we can only hardcode existing
13373   # directories.
13374   hardcode_action=unsupported
13375 fi
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13377 $as_echo "$hardcode_action" >&6; }
13378
13379 if test "$hardcode_action" = relink ||
13380    test "$inherit_rpath" = yes; then
13381   # Fast installation is not supported
13382   enable_fast_install=no
13383 elif test "$shlibpath_overrides_runpath" = yes ||
13384      test "$enable_shared" = no; then
13385   # Fast installation is not necessary
13386   enable_fast_install=needless
13387 fi
13388
13389
13390
13391
13392
13393
13394   if test "x$enable_dlopen" != xyes; then
13395   enable_dlopen=unknown
13396   enable_dlopen_self=unknown
13397   enable_dlopen_self_static=unknown
13398 else
13399   lt_cv_dlopen=no
13400   lt_cv_dlopen_libs=
13401
13402   case $host_os in
13403   beos*)
13404     lt_cv_dlopen="load_add_on"
13405     lt_cv_dlopen_libs=
13406     lt_cv_dlopen_self=yes
13407     ;;
13408
13409   mingw* | pw32* | cegcc*)
13410     lt_cv_dlopen="LoadLibrary"
13411     lt_cv_dlopen_libs=
13412     ;;
13413
13414   cygwin*)
13415     lt_cv_dlopen="dlopen"
13416     lt_cv_dlopen_libs=
13417     ;;
13418
13419   darwin*)
13420   # if libdl is installed we need to link against it
13421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13422 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13423 if ${ac_cv_lib_dl_dlopen+:} false; then :
13424   $as_echo_n "(cached) " >&6
13425 else
13426   ac_check_lib_save_LIBS=$LIBS
13427 LIBS="-ldl  $LIBS"
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h.  */
13430
13431 /* Override any GCC internal prototype to avoid an error.
13432    Use char because int might match the return type of a GCC
13433    builtin and then its argument prototype would still apply.  */
13434 #ifdef __cplusplus
13435 extern "C"
13436 #endif
13437 char dlopen ();
13438 int
13439 main ()
13440 {
13441 return dlopen ();
13442   ;
13443   return 0;
13444 }
13445 _ACEOF
13446 if ac_fn_c_try_link "$LINENO"; then :
13447   ac_cv_lib_dl_dlopen=yes
13448 else
13449   ac_cv_lib_dl_dlopen=no
13450 fi
13451 rm -f core conftest.err conftest.$ac_objext \
13452     conftest$ac_exeext conftest.$ac_ext
13453 LIBS=$ac_check_lib_save_LIBS
13454 fi
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13456 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13457 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13458   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13459 else
13460
13461     lt_cv_dlopen="dyld"
13462     lt_cv_dlopen_libs=
13463     lt_cv_dlopen_self=yes
13464
13465 fi
13466
13467     ;;
13468
13469   *)
13470     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13471 if test "x$ac_cv_func_shl_load" = xyes; then :
13472   lt_cv_dlopen="shl_load"
13473 else
13474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13475 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13476 if ${ac_cv_lib_dld_shl_load+:} false; then :
13477   $as_echo_n "(cached) " >&6
13478 else
13479   ac_check_lib_save_LIBS=$LIBS
13480 LIBS="-ldld  $LIBS"
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h.  */
13483
13484 /* Override any GCC internal prototype to avoid an error.
13485    Use char because int might match the return type of a GCC
13486    builtin and then its argument prototype would still apply.  */
13487 #ifdef __cplusplus
13488 extern "C"
13489 #endif
13490 char shl_load ();
13491 int
13492 main ()
13493 {
13494 return shl_load ();
13495   ;
13496   return 0;
13497 }
13498 _ACEOF
13499 if ac_fn_c_try_link "$LINENO"; then :
13500   ac_cv_lib_dld_shl_load=yes
13501 else
13502   ac_cv_lib_dld_shl_load=no
13503 fi
13504 rm -f core conftest.err conftest.$ac_objext \
13505     conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_lib_save_LIBS
13507 fi
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13509 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13510 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13511   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13512 else
13513   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13514 if test "x$ac_cv_func_dlopen" = xyes; then :
13515   lt_cv_dlopen="dlopen"
13516 else
13517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13518 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13519 if ${ac_cv_lib_dl_dlopen+:} false; then :
13520   $as_echo_n "(cached) " >&6
13521 else
13522   ac_check_lib_save_LIBS=$LIBS
13523 LIBS="-ldl  $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h.  */
13526
13527 /* Override any GCC internal prototype to avoid an error.
13528    Use char because int might match the return type of a GCC
13529    builtin and then its argument prototype would still apply.  */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 char dlopen ();
13534 int
13535 main ()
13536 {
13537 return dlopen ();
13538   ;
13539   return 0;
13540 }
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543   ac_cv_lib_dl_dlopen=yes
13544 else
13545   ac_cv_lib_dl_dlopen=no
13546 fi
13547 rm -f core conftest.err conftest.$ac_objext \
13548     conftest$ac_exeext conftest.$ac_ext
13549 LIBS=$ac_check_lib_save_LIBS
13550 fi
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13552 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13553 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13554   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13555 else
13556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13557 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13558 if ${ac_cv_lib_svld_dlopen+:} false; then :
13559   $as_echo_n "(cached) " >&6
13560 else
13561   ac_check_lib_save_LIBS=$LIBS
13562 LIBS="-lsvld  $LIBS"
13563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h.  */
13565
13566 /* Override any GCC internal prototype to avoid an error.
13567    Use char because int might match the return type of a GCC
13568    builtin and then its argument prototype would still apply.  */
13569 #ifdef __cplusplus
13570 extern "C"
13571 #endif
13572 char dlopen ();
13573 int
13574 main ()
13575 {
13576 return dlopen ();
13577   ;
13578   return 0;
13579 }
13580 _ACEOF
13581 if ac_fn_c_try_link "$LINENO"; then :
13582   ac_cv_lib_svld_dlopen=yes
13583 else
13584   ac_cv_lib_svld_dlopen=no
13585 fi
13586 rm -f core conftest.err conftest.$ac_objext \
13587     conftest$ac_exeext conftest.$ac_ext
13588 LIBS=$ac_check_lib_save_LIBS
13589 fi
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13591 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13592 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13593   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13594 else
13595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13596 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13597 if ${ac_cv_lib_dld_dld_link+:} false; then :
13598   $as_echo_n "(cached) " >&6
13599 else
13600   ac_check_lib_save_LIBS=$LIBS
13601 LIBS="-ldld  $LIBS"
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h.  */
13604
13605 /* Override any GCC internal prototype to avoid an error.
13606    Use char because int might match the return type of a GCC
13607    builtin and then its argument prototype would still apply.  */
13608 #ifdef __cplusplus
13609 extern "C"
13610 #endif
13611 char dld_link ();
13612 int
13613 main ()
13614 {
13615 return dld_link ();
13616   ;
13617   return 0;
13618 }
13619 _ACEOF
13620 if ac_fn_c_try_link "$LINENO"; then :
13621   ac_cv_lib_dld_dld_link=yes
13622 else
13623   ac_cv_lib_dld_dld_link=no
13624 fi
13625 rm -f core conftest.err conftest.$ac_objext \
13626     conftest$ac_exeext conftest.$ac_ext
13627 LIBS=$ac_check_lib_save_LIBS
13628 fi
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13630 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13631 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13632   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13633 fi
13634
13635
13636 fi
13637
13638
13639 fi
13640
13641
13642 fi
13643
13644
13645 fi
13646
13647
13648 fi
13649
13650     ;;
13651   esac
13652
13653   if test "x$lt_cv_dlopen" != xno; then
13654     enable_dlopen=yes
13655   else
13656     enable_dlopen=no
13657   fi
13658
13659   case $lt_cv_dlopen in
13660   dlopen)
13661     save_CPPFLAGS="$CPPFLAGS"
13662     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13663
13664     save_LDFLAGS="$LDFLAGS"
13665     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13666
13667     save_LIBS="$LIBS"
13668     LIBS="$lt_cv_dlopen_libs $LIBS"
13669
13670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13671 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13672 if ${lt_cv_dlopen_self+:} false; then :
13673   $as_echo_n "(cached) " >&6
13674 else
13675           if test "$cross_compiling" = yes; then :
13676   lt_cv_dlopen_self=cross
13677 else
13678   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13679   lt_status=$lt_dlunknown
13680   cat > conftest.$ac_ext <<_LT_EOF
13681 #line $LINENO "configure"
13682 #include "confdefs.h"
13683
13684 #if HAVE_DLFCN_H
13685 #include <dlfcn.h>
13686 #endif
13687
13688 #include <stdio.h>
13689
13690 #ifdef RTLD_GLOBAL
13691 #  define LT_DLGLOBAL           RTLD_GLOBAL
13692 #else
13693 #  ifdef DL_GLOBAL
13694 #    define LT_DLGLOBAL         DL_GLOBAL
13695 #  else
13696 #    define LT_DLGLOBAL         0
13697 #  endif
13698 #endif
13699
13700 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13701    find out it does not work in some platform. */
13702 #ifndef LT_DLLAZY_OR_NOW
13703 #  ifdef RTLD_LAZY
13704 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13705 #  else
13706 #    ifdef DL_LAZY
13707 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13708 #    else
13709 #      ifdef RTLD_NOW
13710 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13711 #      else
13712 #        ifdef DL_NOW
13713 #          define LT_DLLAZY_OR_NOW      DL_NOW
13714 #        else
13715 #          define LT_DLLAZY_OR_NOW      0
13716 #        endif
13717 #      endif
13718 #    endif
13719 #  endif
13720 #endif
13721
13722 /* When -fvisbility=hidden is used, assume the code has been annotated
13723    correspondingly for the symbols needed.  */
13724 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13725 int fnord () __attribute__((visibility("default")));
13726 #endif
13727
13728 int fnord () { return 42; }
13729 int main ()
13730 {
13731   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13732   int status = $lt_dlunknown;
13733
13734   if (self)
13735     {
13736       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13737       else
13738         {
13739           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13740           else puts (dlerror ());
13741         }
13742       /* dlclose (self); */
13743     }
13744   else
13745     puts (dlerror ());
13746
13747   return status;
13748 }
13749 _LT_EOF
13750   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13751   (eval $ac_link) 2>&5
13752   ac_status=$?
13753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13755     (./conftest; exit; ) >&5 2>/dev/null
13756     lt_status=$?
13757     case x$lt_status in
13758       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13759       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13760       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13761     esac
13762   else :
13763     # compilation failed
13764     lt_cv_dlopen_self=no
13765   fi
13766 fi
13767 rm -fr conftest*
13768
13769
13770 fi
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13772 $as_echo "$lt_cv_dlopen_self" >&6; }
13773
13774     if test "x$lt_cv_dlopen_self" = xyes; then
13775       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13776       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13777 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13778 if ${lt_cv_dlopen_self_static+:} false; then :
13779   $as_echo_n "(cached) " >&6
13780 else
13781           if test "$cross_compiling" = yes; then :
13782   lt_cv_dlopen_self_static=cross
13783 else
13784   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13785   lt_status=$lt_dlunknown
13786   cat > conftest.$ac_ext <<_LT_EOF
13787 #line $LINENO "configure"
13788 #include "confdefs.h"
13789
13790 #if HAVE_DLFCN_H
13791 #include <dlfcn.h>
13792 #endif
13793
13794 #include <stdio.h>
13795
13796 #ifdef RTLD_GLOBAL
13797 #  define LT_DLGLOBAL           RTLD_GLOBAL
13798 #else
13799 #  ifdef DL_GLOBAL
13800 #    define LT_DLGLOBAL         DL_GLOBAL
13801 #  else
13802 #    define LT_DLGLOBAL         0
13803 #  endif
13804 #endif
13805
13806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13807    find out it does not work in some platform. */
13808 #ifndef LT_DLLAZY_OR_NOW
13809 #  ifdef RTLD_LAZY
13810 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13811 #  else
13812 #    ifdef DL_LAZY
13813 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13814 #    else
13815 #      ifdef RTLD_NOW
13816 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13817 #      else
13818 #        ifdef DL_NOW
13819 #          define LT_DLLAZY_OR_NOW      DL_NOW
13820 #        else
13821 #          define LT_DLLAZY_OR_NOW      0
13822 #        endif
13823 #      endif
13824 #    endif
13825 #  endif
13826 #endif
13827
13828 /* When -fvisbility=hidden is used, assume the code has been annotated
13829    correspondingly for the symbols needed.  */
13830 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13831 int fnord () __attribute__((visibility("default")));
13832 #endif
13833
13834 int fnord () { return 42; }
13835 int main ()
13836 {
13837   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13838   int status = $lt_dlunknown;
13839
13840   if (self)
13841     {
13842       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13843       else
13844         {
13845           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13846           else puts (dlerror ());
13847         }
13848       /* dlclose (self); */
13849     }
13850   else
13851     puts (dlerror ());
13852
13853   return status;
13854 }
13855 _LT_EOF
13856   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13857   (eval $ac_link) 2>&5
13858   ac_status=$?
13859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13861     (./conftest; exit; ) >&5 2>/dev/null
13862     lt_status=$?
13863     case x$lt_status in
13864       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13865       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13866       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13867     esac
13868   else :
13869     # compilation failed
13870     lt_cv_dlopen_self_static=no
13871   fi
13872 fi
13873 rm -fr conftest*
13874
13875
13876 fi
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13878 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13879     fi
13880
13881     CPPFLAGS="$save_CPPFLAGS"
13882     LDFLAGS="$save_LDFLAGS"
13883     LIBS="$save_LIBS"
13884     ;;
13885   esac
13886
13887   case $lt_cv_dlopen_self in
13888   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13889   *) enable_dlopen_self=unknown ;;
13890   esac
13891
13892   case $lt_cv_dlopen_self_static in
13893   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13894   *) enable_dlopen_self_static=unknown ;;
13895   esac
13896 fi
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914 striplib=
13915 old_striplib=
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13917 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13918 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13919   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13920   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13922 $as_echo "yes" >&6; }
13923 else
13924 # FIXME - insert some real tests, host_os isn't really good enough
13925   case $host_os in
13926   darwin*)
13927     if test -n "$STRIP" ; then
13928       striplib="$STRIP -x"
13929       old_striplib="$STRIP -S"
13930       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13931 $as_echo "yes" >&6; }
13932     else
13933       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13934 $as_echo "no" >&6; }
13935     fi
13936     ;;
13937   *)
13938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13939 $as_echo "no" >&6; }
13940     ;;
13941   esac
13942 fi
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955   # Report which library types will actually be built
13956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13957 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13959 $as_echo "$can_build_shared" >&6; }
13960
13961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13962 $as_echo_n "checking whether to build shared libraries... " >&6; }
13963   test "$can_build_shared" = "no" && enable_shared=no
13964
13965   # On AIX, shared libraries and static libraries use the same namespace, and
13966   # are all built from PIC.
13967   case $host_os in
13968   aix3*)
13969     test "$enable_shared" = yes && enable_static=no
13970     if test -n "$RANLIB"; then
13971       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13972       postinstall_cmds='$RANLIB $lib'
13973     fi
13974     ;;
13975
13976   aix[4-9]*)
13977     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13978       test "$enable_shared" = yes && enable_static=no
13979     fi
13980     ;;
13981   esac
13982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13983 $as_echo "$enable_shared" >&6; }
13984
13985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13986 $as_echo_n "checking whether to build static libraries... " >&6; }
13987   # Make sure either enable_shared or enable_static is yes.
13988   test "$enable_shared" = yes || enable_static=yes
13989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13990 $as_echo "$enable_static" >&6; }
13991
13992
13993
13994
13995 fi
13996 ac_ext=c
13997 ac_cpp='$CPP $CPPFLAGS'
13998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14001
14002 CC="$lt_save_CC"
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018         ac_config_commands="$ac_config_commands libtool"
14019
14020
14021
14022
14023 # Only expand once:
14024
14025
14026
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14028 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14029 if ${ac_cv_search_clock_gettime+:} false; then :
14030   $as_echo_n "(cached) " >&6
14031 else
14032   ac_func_search_save_LIBS=$LIBS
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h.  */
14035
14036 /* Override any GCC internal prototype to avoid an error.
14037    Use char because int might match the return type of a GCC
14038    builtin and then its argument prototype would still apply.  */
14039 #ifdef __cplusplus
14040 extern "C"
14041 #endif
14042 char clock_gettime ();
14043 int
14044 main ()
14045 {
14046 return clock_gettime ();
14047   ;
14048   return 0;
14049 }
14050 _ACEOF
14051 for ac_lib in '' rt; do
14052   if test -z "$ac_lib"; then
14053     ac_res="none required"
14054   else
14055     ac_res=-l$ac_lib
14056     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14057   fi
14058   if ac_fn_c_try_link "$LINENO"; then :
14059   ac_cv_search_clock_gettime=$ac_res
14060 fi
14061 rm -f core conftest.err conftest.$ac_objext \
14062     conftest$ac_exeext
14063   if ${ac_cv_search_clock_gettime+:} false; then :
14064   break
14065 fi
14066 done
14067 if ${ac_cv_search_clock_gettime+:} false; then :
14068
14069 else
14070   ac_cv_search_clock_gettime=no
14071 fi
14072 rm conftest.$ac_ext
14073 LIBS=$ac_func_search_save_LIBS
14074 fi
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14076 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14077 ac_res=$ac_cv_search_clock_gettime
14078 if test "$ac_res" != no; then :
14079   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14080
14081 else
14082   as_fn_error $? "*** POSIX RT library not found" "$LINENO" 5
14083 fi
14084
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
14086 $as_echo_n "checking for library containing dlsym... " >&6; }
14087 if ${ac_cv_search_dlsym+:} false; then :
14088   $as_echo_n "(cached) " >&6
14089 else
14090   ac_func_search_save_LIBS=$LIBS
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h.  */
14093
14094 /* Override any GCC internal prototype to avoid an error.
14095    Use char because int might match the return type of a GCC
14096    builtin and then its argument prototype would still apply.  */
14097 #ifdef __cplusplus
14098 extern "C"
14099 #endif
14100 char dlsym ();
14101 int
14102 main ()
14103 {
14104 return dlsym ();
14105   ;
14106   return 0;
14107 }
14108 _ACEOF
14109 for ac_lib in '' dl; do
14110   if test -z "$ac_lib"; then
14111     ac_res="none required"
14112   else
14113     ac_res=-l$ac_lib
14114     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14115   fi
14116   if ac_fn_c_try_link "$LINENO"; then :
14117   ac_cv_search_dlsym=$ac_res
14118 fi
14119 rm -f core conftest.err conftest.$ac_objext \
14120     conftest$ac_exeext
14121   if ${ac_cv_search_dlsym+:} false; then :
14122   break
14123 fi
14124 done
14125 if ${ac_cv_search_dlsym+:} false; then :
14126
14127 else
14128   ac_cv_search_dlsym=no
14129 fi
14130 rm conftest.$ac_ext
14131 LIBS=$ac_func_search_save_LIBS
14132 fi
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
14134 $as_echo "$ac_cv_search_dlsym" >&6; }
14135 ac_res=$ac_cv_search_dlsym
14136 if test "$ac_res" != no; then :
14137   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14138
14139 else
14140   as_fn_error $? "*** Dynamic linking loader library not found" "$LINENO" 5
14141 fi
14142
14143
14144 save_LIBS="$LIBS"
14145 LIBS=
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cap_init" >&5
14147 $as_echo_n "checking for library containing cap_init... " >&6; }
14148 if ${ac_cv_search_cap_init+:} false; then :
14149   $as_echo_n "(cached) " >&6
14150 else
14151   ac_func_search_save_LIBS=$LIBS
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h.  */
14154
14155 /* Override any GCC internal prototype to avoid an error.
14156    Use char because int might match the return type of a GCC
14157    builtin and then its argument prototype would still apply.  */
14158 #ifdef __cplusplus
14159 extern "C"
14160 #endif
14161 char cap_init ();
14162 int
14163 main ()
14164 {
14165 return cap_init ();
14166   ;
14167   return 0;
14168 }
14169 _ACEOF
14170 for ac_lib in '' cap; do
14171   if test -z "$ac_lib"; then
14172     ac_res="none required"
14173   else
14174     ac_res=-l$ac_lib
14175     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14176   fi
14177   if ac_fn_c_try_link "$LINENO"; then :
14178   ac_cv_search_cap_init=$ac_res
14179 fi
14180 rm -f core conftest.err conftest.$ac_objext \
14181     conftest$ac_exeext
14182   if ${ac_cv_search_cap_init+:} false; then :
14183   break
14184 fi
14185 done
14186 if ${ac_cv_search_cap_init+:} false; then :
14187
14188 else
14189   ac_cv_search_cap_init=no
14190 fi
14191 rm conftest.$ac_ext
14192 LIBS=$ac_func_search_save_LIBS
14193 fi
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cap_init" >&5
14195 $as_echo "$ac_cv_search_cap_init" >&6; }
14196 ac_res=$ac_cv_search_cap_init
14197 if test "$ac_res" != no; then :
14198   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14199
14200 else
14201   as_fn_error $? "*** POSIX caps library not found" "$LINENO" 5
14202 fi
14203
14204 for ac_header in sys/capability.h
14205 do :
14206   ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
14207 if test "x$ac_cv_header_sys_capability_h" = xyes; then :
14208   cat >>confdefs.h <<_ACEOF
14209 #define HAVE_SYS_CAPABILITY_H 1
14210 _ACEOF
14211
14212 else
14213   as_fn_error $? "*** POSIX caps headers not found" "$LINENO" 5
14214 fi
14215
14216 done
14217
14218 CAP_LIBS="$LIBS"
14219 LIBS="$save_LIBS"
14220
14221
14222 # This makes sure pkg.m4 is available.
14223
14224
14225
14226
14227
14228
14229
14230
14231 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14232         if test -n "$ac_tool_prefix"; then
14233   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14234 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14236 $as_echo_n "checking for $ac_word... " >&6; }
14237 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14238   $as_echo_n "(cached) " >&6
14239 else
14240   case $PKG_CONFIG in
14241   [\\/]* | ?:[\\/]*)
14242   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14243   ;;
14244   *)
14245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14246 for as_dir in $PATH
14247 do
14248   IFS=$as_save_IFS
14249   test -z "$as_dir" && as_dir=.
14250     for ac_exec_ext in '' $ac_executable_extensions; do
14251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14252     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14254     break 2
14255   fi
14256 done
14257   done
14258 IFS=$as_save_IFS
14259
14260   ;;
14261 esac
14262 fi
14263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14264 if test -n "$PKG_CONFIG"; then
14265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14266 $as_echo "$PKG_CONFIG" >&6; }
14267 else
14268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14269 $as_echo "no" >&6; }
14270 fi
14271
14272
14273 fi
14274 if test -z "$ac_cv_path_PKG_CONFIG"; then
14275   ac_pt_PKG_CONFIG=$PKG_CONFIG
14276   # Extract the first word of "pkg-config", so it can be a program name with args.
14277 set dummy pkg-config; ac_word=$2
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14279 $as_echo_n "checking for $ac_word... " >&6; }
14280 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14281   $as_echo_n "(cached) " >&6
14282 else
14283   case $ac_pt_PKG_CONFIG in
14284   [\\/]* | ?:[\\/]*)
14285   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14286   ;;
14287   *)
14288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14289 for as_dir in $PATH
14290 do
14291   IFS=$as_save_IFS
14292   test -z "$as_dir" && as_dir=.
14293     for ac_exec_ext in '' $ac_executable_extensions; do
14294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14295     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14297     break 2
14298   fi
14299 done
14300   done
14301 IFS=$as_save_IFS
14302
14303   ;;
14304 esac
14305 fi
14306 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14307 if test -n "$ac_pt_PKG_CONFIG"; then
14308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14309 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14310 else
14311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14312 $as_echo "no" >&6; }
14313 fi
14314
14315   if test "x$ac_pt_PKG_CONFIG" = x; then
14316     PKG_CONFIG=""
14317   else
14318     case $cross_compiling:$ac_tool_warned in
14319 yes:)
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14322 ac_tool_warned=yes ;;
14323 esac
14324     PKG_CONFIG=$ac_pt_PKG_CONFIG
14325   fi
14326 else
14327   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14328 fi
14329
14330 fi
14331 if test -n "$PKG_CONFIG"; then
14332         _pkg_min_version=0.9.0
14333         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14334 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14335         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14336                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14338         else
14339                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14340 $as_echo "no" >&6; }
14341                 PKG_CONFIG=""
14342         fi
14343 fi
14344
14345 pkg_failed=no
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
14347 $as_echo_n "checking for UDEV... " >&6; }
14348
14349 if test -n "$UDEV_CFLAGS"; then
14350     pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
14351  elif test -n "$PKG_CONFIG"; then
14352     if test -n "$PKG_CONFIG" && \
14353     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libudev >= 172 \""; } >&5
14354   ($PKG_CONFIG --exists --print-errors " libudev >= 172 ") 2>&5
14355   ac_status=$?
14356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14357   test $ac_status = 0; }; then
14358   pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags " libudev >= 172 " 2>/dev/null`
14359 else
14360   pkg_failed=yes
14361 fi
14362  else
14363     pkg_failed=untried
14364 fi
14365 if test -n "$UDEV_LIBS"; then
14366     pkg_cv_UDEV_LIBS="$UDEV_LIBS"
14367  elif test -n "$PKG_CONFIG"; then
14368     if test -n "$PKG_CONFIG" && \
14369     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libudev >= 172 \""; } >&5
14370   ($PKG_CONFIG --exists --print-errors " libudev >= 172 ") 2>&5
14371   ac_status=$?
14372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14373   test $ac_status = 0; }; then
14374   pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs " libudev >= 172 " 2>/dev/null`
14375 else
14376   pkg_failed=yes
14377 fi
14378  else
14379     pkg_failed=untried
14380 fi
14381
14382
14383
14384 if test $pkg_failed = yes; then
14385         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14386 $as_echo "no" >&6; }
14387
14388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14389         _pkg_short_errors_supported=yes
14390 else
14391         _pkg_short_errors_supported=no
14392 fi
14393         if test $_pkg_short_errors_supported = yes; then
14394                 UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libudev >= 172 " 2>&1`
14395         else
14396                 UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors " libudev >= 172 " 2>&1`
14397         fi
14398         # Put the nasty error message in config.log where it belongs
14399         echo "$UDEV_PKG_ERRORS" >&5
14400
14401         as_fn_error $? "Package requirements ( libudev >= 172 ) were not met:
14402
14403 $UDEV_PKG_ERRORS
14404
14405 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14406 installed software in a non-standard prefix.
14407
14408 Alternatively, you may set the environment variables UDEV_CFLAGS
14409 and UDEV_LIBS to avoid the need to call pkg-config.
14410 See the pkg-config man page for more details." "$LINENO" 5
14411
14412 elif test $pkg_failed = untried; then
14413         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14414 $as_echo "no" >&6; }
14415         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14417 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14418 is in your PATH or set the PKG_CONFIG environment variable to the full
14419 path to pkg-config.
14420
14421 Alternatively, you may set the environment variables UDEV_CFLAGS
14422 and UDEV_LIBS to avoid the need to call pkg-config.
14423 See the pkg-config man page for more details.
14424
14425 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14426 See \`config.log' for more details" "$LINENO" 5; }
14427
14428 else
14429         UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
14430         UDEV_LIBS=$pkg_cv_UDEV_LIBS
14431         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14432 $as_echo "yes" >&6; }
14433
14434 fi
14435
14436 pkg_failed=no
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
14438 $as_echo_n "checking for DBUS... " >&6; }
14439
14440 if test -n "$DBUS_CFLAGS"; then
14441     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
14442  elif test -n "$PKG_CONFIG"; then
14443     if test -n "$PKG_CONFIG" && \
14444     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 1.3.2 \""; } >&5
14445   ($PKG_CONFIG --exists --print-errors " dbus-1 >= 1.3.2 ") 2>&5
14446   ac_status=$?
14447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14448   test $ac_status = 0; }; then
14449   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags " dbus-1 >= 1.3.2 " 2>/dev/null`
14450 else
14451   pkg_failed=yes
14452 fi
14453  else
14454     pkg_failed=untried
14455 fi
14456 if test -n "$DBUS_LIBS"; then
14457     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
14458  elif test -n "$PKG_CONFIG"; then
14459     if test -n "$PKG_CONFIG" && \
14460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 1.3.2 \""; } >&5
14461   ($PKG_CONFIG --exists --print-errors " dbus-1 >= 1.3.2 ") 2>&5
14462   ac_status=$?
14463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14464   test $ac_status = 0; }; then
14465   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs " dbus-1 >= 1.3.2 " 2>/dev/null`
14466 else
14467   pkg_failed=yes
14468 fi
14469  else
14470     pkg_failed=untried
14471 fi
14472
14473
14474
14475 if test $pkg_failed = yes; then
14476         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14477 $as_echo "no" >&6; }
14478
14479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14480         _pkg_short_errors_supported=yes
14481 else
14482         _pkg_short_errors_supported=no
14483 fi
14484         if test $_pkg_short_errors_supported = yes; then
14485                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " dbus-1 >= 1.3.2 " 2>&1`
14486         else
14487                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors " dbus-1 >= 1.3.2 " 2>&1`
14488         fi
14489         # Put the nasty error message in config.log where it belongs
14490         echo "$DBUS_PKG_ERRORS" >&5
14491
14492         as_fn_error $? "Package requirements ( dbus-1 >= 1.3.2 ) were not met:
14493
14494 $DBUS_PKG_ERRORS
14495
14496 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14497 installed software in a non-standard prefix.
14498
14499 Alternatively, you may set the environment variables DBUS_CFLAGS
14500 and DBUS_LIBS to avoid the need to call pkg-config.
14501 See the pkg-config man page for more details." "$LINENO" 5
14502
14503 elif test $pkg_failed = untried; then
14504         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14505 $as_echo "no" >&6; }
14506         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14508 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14509 is in your PATH or set the PKG_CONFIG environment variable to the full
14510 path to pkg-config.
14511
14512 Alternatively, you may set the environment variables DBUS_CFLAGS
14513 and DBUS_LIBS to avoid the need to call pkg-config.
14514 See the pkg-config man page for more details.
14515
14516 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14517 See \`config.log' for more details" "$LINENO" 5; }
14518
14519 else
14520         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
14521         DBUS_LIBS=$pkg_cv_DBUS_LIBS
14522         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14523 $as_echo "yes" >&6; }
14524
14525 fi
14526
14527 pkg_failed=no
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KMOD" >&5
14529 $as_echo_n "checking for KMOD... " >&6; }
14530
14531 if test -n "$KMOD_CFLAGS"; then
14532     pkg_cv_KMOD_CFLAGS="$KMOD_CFLAGS"
14533  elif test -n "$PKG_CONFIG"; then
14534     if test -n "$PKG_CONFIG" && \
14535     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 5 \""; } >&5
14536   ($PKG_CONFIG --exists --print-errors " libkmod >= 5 ") 2>&5
14537   ac_status=$?
14538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14539   test $ac_status = 0; }; then
14540   pkg_cv_KMOD_CFLAGS=`$PKG_CONFIG --cflags " libkmod >= 5 " 2>/dev/null`
14541 else
14542   pkg_failed=yes
14543 fi
14544  else
14545     pkg_failed=untried
14546 fi
14547 if test -n "$KMOD_LIBS"; then
14548     pkg_cv_KMOD_LIBS="$KMOD_LIBS"
14549  elif test -n "$PKG_CONFIG"; then
14550     if test -n "$PKG_CONFIG" && \
14551     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 5 \""; } >&5
14552   ($PKG_CONFIG --exists --print-errors " libkmod >= 5 ") 2>&5
14553   ac_status=$?
14554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14555   test $ac_status = 0; }; then
14556   pkg_cv_KMOD_LIBS=`$PKG_CONFIG --libs " libkmod >= 5 " 2>/dev/null`
14557 else
14558   pkg_failed=yes
14559 fi
14560  else
14561     pkg_failed=untried
14562 fi
14563
14564
14565
14566 if test $pkg_failed = yes; then
14567         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14568 $as_echo "no" >&6; }
14569
14570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14571         _pkg_short_errors_supported=yes
14572 else
14573         _pkg_short_errors_supported=no
14574 fi
14575         if test $_pkg_short_errors_supported = yes; then
14576                 KMOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libkmod >= 5 " 2>&1`
14577         else
14578                 KMOD_PKG_ERRORS=`$PKG_CONFIG --print-errors " libkmod >= 5 " 2>&1`
14579         fi
14580         # Put the nasty error message in config.log where it belongs
14581         echo "$KMOD_PKG_ERRORS" >&5
14582
14583         as_fn_error $? "Package requirements ( libkmod >= 5 ) were not met:
14584
14585 $KMOD_PKG_ERRORS
14586
14587 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14588 installed software in a non-standard prefix.
14589
14590 Alternatively, you may set the environment variables KMOD_CFLAGS
14591 and KMOD_LIBS to avoid the need to call pkg-config.
14592 See the pkg-config man page for more details." "$LINENO" 5
14593
14594 elif test $pkg_failed = untried; then
14595         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14596 $as_echo "no" >&6; }
14597         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14599 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14600 is in your PATH or set the PKG_CONFIG environment variable to the full
14601 path to pkg-config.
14602
14603 Alternatively, you may set the environment variables KMOD_CFLAGS
14604 and KMOD_LIBS to avoid the need to call pkg-config.
14605 See the pkg-config man page for more details.
14606
14607 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14608 See \`config.log' for more details" "$LINENO" 5; }
14609
14610 else
14611         KMOD_CFLAGS=$pkg_cv_KMOD_CFLAGS
14612         KMOD_LIBS=$pkg_cv_KMOD_LIBS
14613         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14614 $as_echo "yes" >&6; }
14615
14616 fi
14617
14618 have_selinux=no
14619 # Check whether --enable-selinux was given.
14620 if test "${enable_selinux+set}" = set; then :
14621   enableval=$enable_selinux;
14622 fi
14623
14624 if test "x$enable_selinux" != "xno"; then
14625
14626 pkg_failed=no
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
14628 $as_echo_n "checking for SELINUX... " >&6; }
14629
14630 if test -n "$SELINUX_CFLAGS"; then
14631     pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
14632  elif test -n "$PKG_CONFIG"; then
14633     if test -n "$PKG_CONFIG" && \
14634     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libselinux \""; } >&5
14635   ($PKG_CONFIG --exists --print-errors " libselinux ") 2>&5
14636   ac_status=$?
14637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14638   test $ac_status = 0; }; then
14639   pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags " libselinux " 2>/dev/null`
14640 else
14641   pkg_failed=yes
14642 fi
14643  else
14644     pkg_failed=untried
14645 fi
14646 if test -n "$SELINUX_LIBS"; then
14647     pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
14648  elif test -n "$PKG_CONFIG"; then
14649     if test -n "$PKG_CONFIG" && \
14650     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libselinux \""; } >&5
14651   ($PKG_CONFIG --exists --print-errors " libselinux ") 2>&5
14652   ac_status=$?
14653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14654   test $ac_status = 0; }; then
14655   pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs " libselinux " 2>/dev/null`
14656 else
14657   pkg_failed=yes
14658 fi
14659  else
14660     pkg_failed=untried
14661 fi
14662
14663
14664
14665 if test $pkg_failed = yes; then
14666         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14667 $as_echo "no" >&6; }
14668
14669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14670         _pkg_short_errors_supported=yes
14671 else
14672         _pkg_short_errors_supported=no
14673 fi
14674         if test $_pkg_short_errors_supported = yes; then
14675                 SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libselinux " 2>&1`
14676         else
14677                 SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors " libselinux " 2>&1`
14678         fi
14679         # Put the nasty error message in config.log where it belongs
14680         echo "$SELINUX_PKG_ERRORS" >&5
14681
14682         have_selinux=no
14683 elif test $pkg_failed = untried; then
14684         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14685 $as_echo "no" >&6; }
14686         have_selinux=no
14687 else
14688         SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
14689         SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
14690         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14691 $as_echo "yes" >&6; }
14692
14693 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
14694  have_selinux=yes
14695 fi
14696         if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
14697                 as_fn_error $? "*** SELinux support requested but libraries not found" "$LINENO" 5
14698         fi
14699 fi
14700  if test "$have_selinux" = "yes"; then
14701   HAVE_SELINUX_TRUE=
14702   HAVE_SELINUX_FALSE='#'
14703 else
14704   HAVE_SELINUX_TRUE='#'
14705   HAVE_SELINUX_FALSE=
14706 fi
14707
14708
14709 have_xz=no
14710 # Check whether --enable-xz was given.
14711 if test "${enable_xz+set}" = set; then :
14712   enableval=$enable_xz;
14713 fi
14714
14715 if test "x$enable_xz" != "xno"; then
14716
14717 pkg_failed=no
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XZ" >&5
14719 $as_echo_n "checking for XZ... " >&6; }
14720
14721 if test -n "$XZ_CFLAGS"; then
14722     pkg_cv_XZ_CFLAGS="$XZ_CFLAGS"
14723  elif test -n "$PKG_CONFIG"; then
14724     if test -n "$PKG_CONFIG" && \
14725     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
14726   ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
14727   ac_status=$?
14728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14729   test $ac_status = 0; }; then
14730   pkg_cv_XZ_CFLAGS=`$PKG_CONFIG --cflags " liblzma " 2>/dev/null`
14731 else
14732   pkg_failed=yes
14733 fi
14734  else
14735     pkg_failed=untried
14736 fi
14737 if test -n "$XZ_LIBS"; then
14738     pkg_cv_XZ_LIBS="$XZ_LIBS"
14739  elif test -n "$PKG_CONFIG"; then
14740     if test -n "$PKG_CONFIG" && \
14741     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
14742   ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
14743   ac_status=$?
14744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14745   test $ac_status = 0; }; then
14746   pkg_cv_XZ_LIBS=`$PKG_CONFIG --libs " liblzma " 2>/dev/null`
14747 else
14748   pkg_failed=yes
14749 fi
14750  else
14751     pkg_failed=untried
14752 fi
14753
14754
14755
14756 if test $pkg_failed = yes; then
14757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14758 $as_echo "no" >&6; }
14759
14760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14761         _pkg_short_errors_supported=yes
14762 else
14763         _pkg_short_errors_supported=no
14764 fi
14765         if test $_pkg_short_errors_supported = yes; then
14766                 XZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " liblzma " 2>&1`
14767         else
14768                 XZ_PKG_ERRORS=`$PKG_CONFIG --print-errors " liblzma " 2>&1`
14769         fi
14770         # Put the nasty error message in config.log where it belongs
14771         echo "$XZ_PKG_ERRORS" >&5
14772
14773         have_xz=no
14774 elif test $pkg_failed = untried; then
14775         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14776 $as_echo "no" >&6; }
14777         have_xz=no
14778 else
14779         XZ_CFLAGS=$pkg_cv_XZ_CFLAGS
14780         XZ_LIBS=$pkg_cv_XZ_LIBS
14781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14782 $as_echo "yes" >&6; }
14783
14784 $as_echo "#define HAVE_XZ 1" >>confdefs.h
14785  have_xz=yes
14786 fi
14787         if test "x$have_xz" = xno -a "x$enable_xz" = xyes; then
14788                 as_fn_error $? "*** Xz support requested but libraries not found" "$LINENO" 5
14789         fi
14790 fi
14791  if test "$have_xz" = "yes"; then
14792   HAVE_XZ_TRUE=
14793   HAVE_XZ_FALSE='#'
14794 else
14795   HAVE_XZ_TRUE='#'
14796   HAVE_XZ_FALSE=
14797 fi
14798
14799
14800 # Check whether --enable-tcpwrap was given.
14801 if test "${enable_tcpwrap+set}" = set; then :
14802   enableval=$enable_tcpwrap; case "${enableval}" in
14803                         yes) have_tcpwrap=yes ;;
14804                         no) have_tcpwrap=no ;;
14805                         *) as_fn_error $? "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;;
14806                 esac
14807 else
14808   have_tcpwrap=auto
14809 fi
14810
14811
14812 if test "x${have_tcpwrap}" != xno ; then
14813
14814 LIBWRAP_LIBS=
14815 saved_LIBS="$LIBS"
14816 LIBS="$LIBS -lwrap"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcpwrap library and headers" >&5
14818 $as_echo_n "checking for tcpwrap library and headers... " >&6; }
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h.  */
14821 #include <tcpd.h>
14822 #include <syslog.h>
14823 int allow_severity = LOG_INFO;
14824 int deny_severity = LOG_WARNING;
14825 int
14826 main ()
14827 {
14828 struct request_info *req;
14829 return hosts_access (req);
14830   ;
14831   return 0;
14832 }
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835
14836 $as_echo "#define HAVE_LIBWRAP /**/" >>confdefs.h
14837
14838 LIBWRAP_LIBS="-lwrap"
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14840 $as_echo "yes" >&6; }
14841 else
14842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14843 $as_echo "no" >&6; }
14844 fi
14845 rm -f core conftest.err conftest.$ac_objext \
14846     conftest$ac_exeext conftest.$ac_ext
14847 LIBS="$saved_LIBS"
14848
14849         if test "x${LIBWRAP_LIBS}" = x ; then
14850                 if test "x$have_tcpwrap" = xyes ; then
14851                         as_fn_error $? "*** TCP wrappers support not found." "$LINENO" 5
14852                 fi
14853                 have_tcpwrap=no
14854         else
14855                 have_tcpwrap=yes
14856         fi
14857 else
14858         LIBWRAP_LIBS=
14859 fi
14860
14861
14862 # Check whether --enable-pam was given.
14863 if test "${enable_pam+set}" = set; then :
14864   enableval=$enable_pam; case "${enableval}" in
14865                         yes) have_pam=yes ;;
14866                         no) have_pam=no ;;
14867                         *) as_fn_error $? "bad value ${enableval} for --disable-pam" "$LINENO" 5 ;;
14868                 esac
14869 else
14870   have_pam=auto
14871 fi
14872
14873
14874 if test "x${have_pam}" != xno ; then
14875         for ac_header in security/pam_modules.h security/pam_modutil.h security/pam_ext.h
14876 do :
14877   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14878 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14880   cat >>confdefs.h <<_ACEOF
14881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14882 _ACEOF
14883  have_pam=yes
14884 else
14885   if test "x$have_pam" = xyes ; then
14886                         as_fn_error $? "*** PAM headers not found." "$LINENO" 5
14887                 fi
14888 fi
14889
14890 done
14891
14892
14893         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_syslog in -lpam" >&5
14894 $as_echo_n "checking for pam_syslog in -lpam... " >&6; }
14895 if ${ac_cv_lib_pam_pam_syslog+:} false; then :
14896   $as_echo_n "(cached) " >&6
14897 else
14898   ac_check_lib_save_LIBS=$LIBS
14899 LIBS="-lpam  $LIBS"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h.  */
14902
14903 /* Override any GCC internal prototype to avoid an error.
14904    Use char because int might match the return type of a GCC
14905    builtin and then its argument prototype would still apply.  */
14906 #ifdef __cplusplus
14907 extern "C"
14908 #endif
14909 char pam_syslog ();
14910 int
14911 main ()
14912 {
14913 return pam_syslog ();
14914   ;
14915   return 0;
14916 }
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919   ac_cv_lib_pam_pam_syslog=yes
14920 else
14921   ac_cv_lib_pam_pam_syslog=no
14922 fi
14923 rm -f core conftest.err conftest.$ac_objext \
14924     conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14926 fi
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_syslog" >&5
14928 $as_echo "$ac_cv_lib_pam_pam_syslog" >&6; }
14929 if test "x$ac_cv_lib_pam_pam_syslog" = xyes; then :
14930   have_pam=yes
14931 else
14932   if test "x$have_pam" = xyes ; then
14933                         as_fn_error $? "*** libpam not found." "$LINENO" 5
14934                 fi
14935 fi
14936
14937
14938         if test "x$have_pam" = xyes ; then
14939                 PAM_LIBS="-lpam -lpam_misc"
14940
14941 $as_echo "#define HAVE_PAM 1" >>confdefs.h
14942
14943         else
14944                 have_pam=no
14945         fi
14946 else
14947         PAM_LIBS=
14948 fi
14949
14950  if test "x$have_pam" != xno; then
14951   HAVE_PAM_TRUE=
14952   HAVE_PAM_FALSE='#'
14953 else
14954   HAVE_PAM_TRUE='#'
14955   HAVE_PAM_FALSE=
14956 fi
14957
14958
14959 # Check whether --enable-acl was given.
14960 if test "${enable_acl+set}" = set; then :
14961   enableval=$enable_acl; case "${enableval}" in
14962                         yes) have_acl=yes ;;
14963                         no) have_acl=no ;;
14964                         *) as_fn_error $? "bad value ${enableval} for --disable-acl" "$LINENO" 5 ;;
14965                 esac
14966 else
14967   have_acl=auto
14968 fi
14969
14970
14971 if test "x${have_acl}" != xno ; then
14972         for ac_header in sys/acl.h acl/libacl.h
14973 do :
14974   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14975 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14976 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14977   cat >>confdefs.h <<_ACEOF
14978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14979 _ACEOF
14980  have_acl=yes
14981 else
14982   if test "x$have_acl" = xyes ; then
14983                         as_fn_error $? "*** ACL headers not found." "$LINENO" 5
14984                 fi
14985 fi
14986
14987 done
14988
14989
14990         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
14991 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
14992 if ${ac_cv_lib_acl_acl_get_file+:} false; then :
14993   $as_echo_n "(cached) " >&6
14994 else
14995   ac_check_lib_save_LIBS=$LIBS
14996 LIBS="-lacl  $LIBS"
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h.  */
14999
15000 /* Override any GCC internal prototype to avoid an error.
15001    Use char because int might match the return type of a GCC
15002    builtin and then its argument prototype would still apply.  */
15003 #ifdef __cplusplus
15004 extern "C"
15005 #endif
15006 char acl_get_file ();
15007 int
15008 main ()
15009 {
15010 return acl_get_file ();
15011   ;
15012   return 0;
15013 }
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016   ac_cv_lib_acl_acl_get_file=yes
15017 else
15018   ac_cv_lib_acl_acl_get_file=no
15019 fi
15020 rm -f core conftest.err conftest.$ac_objext \
15021     conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_lib_save_LIBS
15023 fi
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
15025 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
15026 if test "x$ac_cv_lib_acl_acl_get_file" = xyes; then :
15027   have_acl=yes
15028 else
15029   if test "x$have_acl" = xyes ; then
15030                         as_fn_error $? "*** libacl not found." "$LINENO" 5
15031                 fi
15032 fi
15033
15034
15035         if test "x$have_acl" = xyes ; then
15036                 ACL_LIBS="-lacl"
15037
15038 $as_echo "#define HAVE_ACL 1" >>confdefs.h
15039
15040         else
15041                 have_acl=no
15042         fi
15043 else
15044         ACL_LIBS=
15045 fi
15046
15047  if test "x$have_acl" != xno; then
15048   HAVE_ACL_TRUE=
15049   HAVE_ACL_FALSE='#'
15050 else
15051   HAVE_ACL_TRUE='#'
15052   HAVE_ACL_FALSE=
15053 fi
15054
15055
15056 # Check whether --enable-audit was given.
15057 if test "${enable_audit+set}" = set; then :
15058   enableval=$enable_audit; case "${enableval}" in
15059                         yes) have_audit=yes ;;
15060                         no) have_audit=no ;;
15061                         *) as_fn_error $? "bad value ${enableval} for --disable-audit" "$LINENO" 5 ;;
15062                 esac
15063 else
15064   have_audit=auto
15065 fi
15066
15067
15068 if test "x${have_audit}" != xno ; then
15069         for ac_header in libaudit.h
15070 do :
15071   ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
15072 if test "x$ac_cv_header_libaudit_h" = xyes; then :
15073   cat >>confdefs.h <<_ACEOF
15074 #define HAVE_LIBAUDIT_H 1
15075 _ACEOF
15076  have_audit=yes
15077 else
15078   if test "x$have_audit" = xyes ; then
15079                         as_fn_error $? "*** AUDIT headers not found." "$LINENO" 5
15080                 fi
15081 fi
15082
15083 done
15084
15085
15086         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
15087 $as_echo_n "checking for audit_open in -laudit... " >&6; }
15088 if ${ac_cv_lib_audit_audit_open+:} false; then :
15089   $as_echo_n "(cached) " >&6
15090 else
15091   ac_check_lib_save_LIBS=$LIBS
15092 LIBS="-laudit  $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h.  */
15095
15096 /* Override any GCC internal prototype to avoid an error.
15097    Use char because int might match the return type of a GCC
15098    builtin and then its argument prototype would still apply.  */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 char audit_open ();
15103 int
15104 main ()
15105 {
15106 return audit_open ();
15107   ;
15108   return 0;
15109 }
15110 _ACEOF
15111 if ac_fn_c_try_link "$LINENO"; then :
15112   ac_cv_lib_audit_audit_open=yes
15113 else
15114   ac_cv_lib_audit_audit_open=no
15115 fi
15116 rm -f core conftest.err conftest.$ac_objext \
15117     conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_lib_save_LIBS
15119 fi
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
15121 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
15122 if test "x$ac_cv_lib_audit_audit_open" = xyes; then :
15123   have_audit=yes
15124 else
15125   if test "x$have_audit" = xyes ; then
15126                         as_fn_error $? "*** libaudit not found." "$LINENO" 5
15127                 fi
15128 fi
15129
15130
15131         if test "x$have_audit" = xyes ; then
15132                 AUDIT_LIBS="-laudit"
15133
15134 $as_echo "#define HAVE_AUDIT 1" >>confdefs.h
15135
15136         else
15137                 have_audit=no
15138         fi
15139 else
15140         AUDIT_LIBS=
15141 fi
15142
15143
15144 have_libcryptsetup=no
15145 # Check whether --enable-libcryptsetup was given.
15146 if test "${enable_libcryptsetup+set}" = set; then :
15147   enableval=$enable_libcryptsetup;
15148 fi
15149
15150 if test "x$enable_libcryptsetup" != "xno"; then
15151
15152 pkg_failed=no
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTSETUP" >&5
15154 $as_echo_n "checking for LIBCRYPTSETUP... " >&6; }
15155
15156 if test -n "$LIBCRYPTSETUP_CFLAGS"; then
15157     pkg_cv_LIBCRYPTSETUP_CFLAGS="$LIBCRYPTSETUP_CFLAGS"
15158  elif test -n "$PKG_CONFIG"; then
15159     if test -n "$PKG_CONFIG" && \
15160     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup \""; } >&5
15161   ($PKG_CONFIG --exists --print-errors " libcryptsetup ") 2>&5
15162   ac_status=$?
15163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15164   test $ac_status = 0; }; then
15165   pkg_cv_LIBCRYPTSETUP_CFLAGS=`$PKG_CONFIG --cflags " libcryptsetup " 2>/dev/null`
15166 else
15167   pkg_failed=yes
15168 fi
15169  else
15170     pkg_failed=untried
15171 fi
15172 if test -n "$LIBCRYPTSETUP_LIBS"; then
15173     pkg_cv_LIBCRYPTSETUP_LIBS="$LIBCRYPTSETUP_LIBS"
15174  elif test -n "$PKG_CONFIG"; then
15175     if test -n "$PKG_CONFIG" && \
15176     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup \""; } >&5
15177   ($PKG_CONFIG --exists --print-errors " libcryptsetup ") 2>&5
15178   ac_status=$?
15179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15180   test $ac_status = 0; }; then
15181   pkg_cv_LIBCRYPTSETUP_LIBS=`$PKG_CONFIG --libs " libcryptsetup " 2>/dev/null`
15182 else
15183   pkg_failed=yes
15184 fi
15185  else
15186     pkg_failed=untried
15187 fi
15188
15189
15190
15191 if test $pkg_failed = yes; then
15192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15193 $as_echo "no" >&6; }
15194
15195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15196         _pkg_short_errors_supported=yes
15197 else
15198         _pkg_short_errors_supported=no
15199 fi
15200         if test $_pkg_short_errors_supported = yes; then
15201                 LIBCRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libcryptsetup " 2>&1`
15202         else
15203                 LIBCRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --print-errors " libcryptsetup " 2>&1`
15204         fi
15205         # Put the nasty error message in config.log where it belongs
15206         echo "$LIBCRYPTSETUP_PKG_ERRORS" >&5
15207
15208         have_libcryptsetup=no
15209 elif test $pkg_failed = untried; then
15210         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15211 $as_echo "no" >&6; }
15212         have_libcryptsetup=no
15213 else
15214         LIBCRYPTSETUP_CFLAGS=$pkg_cv_LIBCRYPTSETUP_CFLAGS
15215         LIBCRYPTSETUP_LIBS=$pkg_cv_LIBCRYPTSETUP_LIBS
15216         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15217 $as_echo "yes" >&6; }
15218
15219 $as_echo "#define HAVE_LIBCRYPTSETUP 1" >>confdefs.h
15220  have_libcryptsetup=yes
15221 fi
15222         if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
15223                 as_fn_error $? "*** libcryptsetup support requested but libraries not found" "$LINENO" 5
15224         fi
15225 fi
15226  if test "$have_libcryptsetup" = "yes"; then
15227   HAVE_LIBCRYPTSETUP_TRUE=
15228   HAVE_LIBCRYPTSETUP_FALSE='#'
15229 else
15230   HAVE_LIBCRYPTSETUP_TRUE='#'
15231   HAVE_LIBCRYPTSETUP_FALSE=
15232 fi
15233
15234
15235 have_binfmt=no
15236 # Check whether --enable-binfmt was given.
15237 if test "${enable_binfmt+set}" = set; then :
15238   enableval=$enable_binfmt;
15239 fi
15240
15241 if test "x$enable_binfmt" != "xno"; then
15242         have_binfmt=yes
15243 fi
15244  if test "$have_binfmt" = "yes"; then
15245   ENABLE_BINFMT_TRUE=
15246   ENABLE_BINFMT_FALSE='#'
15247 else
15248   ENABLE_BINFMT_TRUE='#'
15249   ENABLE_BINFMT_FALSE=
15250 fi
15251
15252
15253 have_vconsole=no
15254 # Check whether --enable-vconsole was given.
15255 if test "${enable_vconsole+set}" = set; then :
15256   enableval=$enable_vconsole;
15257 fi
15258
15259 if test "x$enable_vconsole" != "xno"; then
15260         have_vconsole=yes
15261 fi
15262  if test "$have_vconsole" = "yes"; then
15263   ENABLE_VCONSOLE_TRUE=
15264   ENABLE_VCONSOLE_FALSE='#'
15265 else
15266   ENABLE_VCONSOLE_TRUE='#'
15267   ENABLE_VCONSOLE_FALSE=
15268 fi
15269
15270
15271 have_readahead=no
15272 # Check whether --enable-readahead was given.
15273 if test "${enable_readahead+set}" = set; then :
15274   enableval=$enable_readahead;
15275 fi
15276
15277 if test "x$enable_readahead" != "xno"; then
15278         have_readahead=yes
15279 fi
15280  if test "$have_readahead" = "yes"; then
15281   ENABLE_READAHEAD_TRUE=
15282   ENABLE_READAHEAD_FALSE='#'
15283 else
15284   ENABLE_READAHEAD_TRUE='#'
15285   ENABLE_READAHEAD_FALSE=
15286 fi
15287
15288
15289 have_quotacheck=no
15290 # Check whether --enable-quotacheck was given.
15291 if test "${enable_quotacheck+set}" = set; then :
15292   enableval=$enable_quotacheck;
15293 fi
15294
15295 if test "x$enable_quotacheck" != "xno"; then
15296         have_quotacheck=yes
15297 fi
15298  if test "$have_quotacheck" = "yes"; then
15299   ENABLE_QUOTACHECK_TRUE=
15300   ENABLE_QUOTACHECK_FALSE='#'
15301 else
15302   ENABLE_QUOTACHECK_TRUE='#'
15303   ENABLE_QUOTACHECK_FALSE=
15304 fi
15305
15306
15307 have_randomseed=no
15308 # Check whether --enable-randomseed was given.
15309 if test "${enable_randomseed+set}" = set; then :
15310   enableval=$enable_randomseed;
15311 fi
15312
15313 if test "x$enable_randomseed" != "xno"; then
15314         have_randomseed=yes
15315 fi
15316  if test "$have_randomseed" = "yes"; then
15317   ENABLE_RANDOMSEED_TRUE=
15318   ENABLE_RANDOMSEED_FALSE='#'
15319 else
15320   ENABLE_RANDOMSEED_TRUE='#'
15321   ENABLE_RANDOMSEED_FALSE=
15322 fi
15323
15324
15325 have_logind=no
15326 # Check whether --enable-logind was given.
15327 if test "${enable_logind+set}" = set; then :
15328   enableval=$enable_logind;
15329 fi
15330
15331 if test "x$enable_logind" != "xno"; then
15332         have_logind=yes
15333 fi
15334  if test "$have_logind" = "yes"; then
15335   ENABLE_LOGIND_TRUE=
15336   ENABLE_LOGIND_FALSE='#'
15337 else
15338   ENABLE_LOGIND_TRUE='#'
15339   ENABLE_LOGIND_FALSE=
15340 fi
15341
15342
15343 have_hostnamed=no
15344 # Check whether --enable-hostnamed was given.
15345 if test "${enable_hostnamed+set}" = set; then :
15346   enableval=$enable_hostnamed;
15347 fi
15348
15349 if test "x$enable_hostnamed" != "xno"; then
15350         have_hostnamed=yes
15351 fi
15352  if test "$have_hostnamed" = "yes"; then
15353   ENABLE_HOSTNAMED_TRUE=
15354   ENABLE_HOSTNAMED_FALSE='#'
15355 else
15356   ENABLE_HOSTNAMED_TRUE='#'
15357   ENABLE_HOSTNAMED_FALSE=
15358 fi
15359
15360
15361 have_timedated=no
15362 # Check whether --enable-timedated was given.
15363 if test "${enable_timedated+set}" = set; then :
15364   enableval=$enable_timedated;
15365 fi
15366
15367 if test "x$enable_timedated" != "xno"; then
15368         have_timedated=yes
15369 fi
15370  if test "$have_timedated" = "yes"; then
15371   ENABLE_TIMEDATED_TRUE=
15372   ENABLE_TIMEDATED_FALSE='#'
15373 else
15374   ENABLE_TIMEDATED_TRUE='#'
15375   ENABLE_TIMEDATED_FALSE=
15376 fi
15377
15378
15379 have_localed=no
15380 # Check whether --enable-localed was given.
15381 if test "${enable_localed+set}" = set; then :
15382   enableval=$enable_localed;
15383 fi
15384
15385 if test "x$enable_localed" != "xno"; then
15386         have_localed=yes
15387 fi
15388  if test "$have_localed" = "yes"; then
15389   ENABLE_LOCALED_TRUE=
15390   ENABLE_LOCALED_FALSE='#'
15391 else
15392   ENABLE_LOCALED_TRUE='#'
15393   ENABLE_LOCALED_FALSE=
15394 fi
15395
15396
15397 have_coredump=no
15398 # Check whether --enable-coredump was given.
15399 if test "${enable_coredump+set}" = set; then :
15400   enableval=$enable_coredump;
15401 fi
15402
15403 if test "x$enable_coredump" != "xno"; then
15404         have_coredump=yes
15405 fi
15406  if test "$have_coredump" = "yes"; then
15407   ENABLE_COREDUMP_TRUE=
15408   ENABLE_COREDUMP_FALSE='#'
15409 else
15410   ENABLE_COREDUMP_TRUE='#'
15411   ENABLE_COREDUMP_FALSE=
15412 fi
15413
15414
15415 have_manpages=no
15416 # Check whether --enable-manpages was given.
15417 if test "${enable_manpages+set}" = set; then :
15418   enableval=$enable_manpages;
15419 fi
15420
15421 if test "x$enable_manpages" != "xno"; then
15422         have_manpages=yes
15423 fi
15424  if test "$have_manpages" = "yes"; then
15425   ENABLE_MANPAGES_TRUE=
15426   ENABLE_MANPAGES_FALSE='#'
15427 else
15428   ENABLE_MANPAGES_TRUE='#'
15429   ENABLE_MANPAGES_FALSE=
15430 fi
15431
15432
15433 have_gtk=no
15434 # Check whether --enable-gtk was given.
15435 if test "${enable_gtk+set}" = set; then :
15436   enableval=$enable_gtk;
15437 fi
15438
15439 if test "x$enable_gtk" != "xno"; then
15440
15441 pkg_failed=no
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15443 $as_echo_n "checking for GTK... " >&6; }
15444
15445 if test -n "$GTK_CFLAGS"; then
15446     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15447  elif test -n "$PKG_CONFIG"; then
15448     if test -n "$PKG_CONFIG" && \
15449     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0\""; } >&5
15450   ($PKG_CONFIG --exists --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0") 2>&5
15451   ac_status=$?
15452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15453   test $ac_status = 0; }; then
15454   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>/dev/null`
15455 else
15456   pkg_failed=yes
15457 fi
15458  else
15459     pkg_failed=untried
15460 fi
15461 if test -n "$GTK_LIBS"; then
15462     pkg_cv_GTK_LIBS="$GTK_LIBS"
15463  elif test -n "$PKG_CONFIG"; then
15464     if test -n "$PKG_CONFIG" && \
15465     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0\""; } >&5
15466   ($PKG_CONFIG --exists --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0") 2>&5
15467   ac_status=$?
15468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15469   test $ac_status = 0; }; then
15470   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>/dev/null`
15471 else
15472   pkg_failed=yes
15473 fi
15474  else
15475     pkg_failed=untried
15476 fi
15477
15478
15479
15480 if test $pkg_failed = yes; then
15481         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15482 $as_echo "no" >&6; }
15483
15484 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15485         _pkg_short_errors_supported=yes
15486 else
15487         _pkg_short_errors_supported=no
15488 fi
15489         if test $_pkg_short_errors_supported = yes; then
15490                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>&1`
15491         else
15492                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>&1`
15493         fi
15494         # Put the nasty error message in config.log where it belongs
15495         echo "$GTK_PKG_ERRORS" >&5
15496
15497         have_gtk=no
15498 elif test $pkg_failed = untried; then
15499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15500 $as_echo "no" >&6; }
15501         have_gtk=no
15502 else
15503         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15504         GTK_LIBS=$pkg_cv_GTK_LIBS
15505         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15506 $as_echo "yes" >&6; }
15507
15508 $as_echo "#define HAVE_GTK 1" >>confdefs.h
15509  have_gtk=yes
15510 fi
15511         if test "x$have_gtk" = xno -a "x$enable_gtk" = xyes; then
15512                 as_fn_error $? "*** gtk support requested but libraries not found" "$LINENO" 5
15513         fi
15514 fi
15515  if test "$have_gtk" = "yes"; then
15516   HAVE_GTK_TRUE=
15517   HAVE_GTK_FALSE='#'
15518 else
15519   HAVE_GTK_TRUE='#'
15520   HAVE_GTK_FALSE=
15521 fi
15522
15523
15524 if test "$have_gtk" = "yes"; then
15525
15526 pkg_failed=no
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
15528 $as_echo_n "checking for LIBNOTIFY... " >&6; }
15529
15530 if test -n "$LIBNOTIFY_CFLAGS"; then
15531     pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
15532  elif test -n "$PKG_CONFIG"; then
15533     if test -n "$PKG_CONFIG" && \
15534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libnotify \""; } >&5
15535   ($PKG_CONFIG --exists --print-errors " libnotify ") 2>&5
15536   ac_status=$?
15537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538   test $ac_status = 0; }; then
15539   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags " libnotify " 2>/dev/null`
15540 else
15541   pkg_failed=yes
15542 fi
15543  else
15544     pkg_failed=untried
15545 fi
15546 if test -n "$LIBNOTIFY_LIBS"; then
15547     pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
15548  elif test -n "$PKG_CONFIG"; then
15549     if test -n "$PKG_CONFIG" && \
15550     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libnotify \""; } >&5
15551   ($PKG_CONFIG --exists --print-errors " libnotify ") 2>&5
15552   ac_status=$?
15553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554   test $ac_status = 0; }; then
15555   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs " libnotify " 2>/dev/null`
15556 else
15557   pkg_failed=yes
15558 fi
15559  else
15560     pkg_failed=untried
15561 fi
15562
15563
15564
15565 if test $pkg_failed = yes; then
15566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15567 $as_echo "no" >&6; }
15568
15569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15570         _pkg_short_errors_supported=yes
15571 else
15572         _pkg_short_errors_supported=no
15573 fi
15574         if test $_pkg_short_errors_supported = yes; then
15575                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libnotify " 2>&1`
15576         else
15577                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors " libnotify " 2>&1`
15578         fi
15579         # Put the nasty error message in config.log where it belongs
15580         echo "$LIBNOTIFY_PKG_ERRORS" >&5
15581
15582         as_fn_error $? "Package requirements ( libnotify ) were not met:
15583
15584 $LIBNOTIFY_PKG_ERRORS
15585
15586 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15587 installed software in a non-standard prefix.
15588
15589 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15590 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15591 See the pkg-config man page for more details." "$LINENO" 5
15592
15593 elif test $pkg_failed = untried; then
15594         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15595 $as_echo "no" >&6; }
15596         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15598 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15599 is in your PATH or set the PKG_CONFIG environment variable to the full
15600 path to pkg-config.
15601
15602 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15603 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15604 See the pkg-config man page for more details.
15605
15606 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15607 See \`config.log' for more details" "$LINENO" 5; }
15608
15609 else
15610         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
15611         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
15612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15613 $as_echo "yes" >&6; }
15614
15615 fi
15616 fi
15617
15618 # Extract the first word of "valac", so it can be a program name with args.
15619 set dummy valac; ac_word=$2
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15621 $as_echo_n "checking for $ac_word... " >&6; }
15622 if ${ac_cv_path_VALAC+:} false; then :
15623   $as_echo_n "(cached) " >&6
15624 else
15625   case $VALAC in
15626   [\\/]* | ?:[\\/]*)
15627   ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
15628   ;;
15629   *)
15630   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15631 for as_dir in $PATH
15632 do
15633   IFS=$as_save_IFS
15634   test -z "$as_dir" && as_dir=.
15635     for ac_exec_ext in '' $ac_executable_extensions; do
15636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15637     ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
15638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15639     break 2
15640   fi
15641 done
15642   done
15643 IFS=$as_save_IFS
15644
15645   ;;
15646 esac
15647 fi
15648 VALAC=$ac_cv_path_VALAC
15649 if test -n "$VALAC"; then
15650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
15651 $as_echo "$VALAC" >&6; }
15652 else
15653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15654 $as_echo "no" >&6; }
15655 fi
15656
15657
15658  if test -z "$VALAC"; then :
15659   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
15660 $as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
15661 else
15662   if test -n "0.10"; then :
15663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.10" >&5
15664 $as_echo_n "checking $VALAC is at least version 0.10... " >&6; }
15665        am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
15666        as_arg_v1=0.10
15667 as_arg_v2="$am__vala_version"
15668 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
15669 case $? in #(
15670   1) :
15671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15672 $as_echo "yes" >&6; } ;; #(
15673   0) :
15674     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15675 $as_echo "yes" >&6; } ;; #(
15676   2) :
15677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15678 $as_echo "no" >&6; }
15679           as_fn_error $? "Vala 0.10 not found." "$LINENO" 5 ;; #(
15680   *) :
15681      ;;
15682 esac
15683 fi
15684 fi
15685
15686
15687  if test x"$VALAC" != x; then
15688   HAVE_VALAC_TRUE=
15689   HAVE_VALAC_FALSE='#'
15690 else
15691   HAVE_VALAC_TRUE='#'
15692   HAVE_VALAC_FALSE=
15693 fi
15694
15695
15696 # Extract the first word of "xsltproc", so it can be a program name with args.
15697 set dummy xsltproc; ac_word=$2
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15699 $as_echo_n "checking for $ac_word... " >&6; }
15700 if ${ac_cv_path_XSLTPROC+:} false; then :
15701   $as_echo_n "(cached) " >&6
15702 else
15703   case $XSLTPROC in
15704   [\\/]* | ?:[\\/]*)
15705   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15706   ;;
15707   *)
15708   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15709 for as_dir in $PATH
15710 do
15711   IFS=$as_save_IFS
15712   test -z "$as_dir" && as_dir=.
15713     for ac_exec_ext in '' $ac_executable_extensions; do
15714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15715     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15717     break 2
15718   fi
15719 done
15720   done
15721 IFS=$as_save_IFS
15722
15723   ;;
15724 esac
15725 fi
15726 XSLTPROC=$ac_cv_path_XSLTPROC
15727 if test -n "$XSLTPROC"; then
15728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15729 $as_echo "$XSLTPROC" >&6; }
15730 else
15731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15732 $as_echo "no" >&6; }
15733 fi
15734
15735
15736  if test x"$XSLTPROC" != x; then
15737   HAVE_XSLTPROC_TRUE=
15738   HAVE_XSLTPROC_FALSE='#'
15739 else
15740   HAVE_XSLTPROC_TRUE='#'
15741   HAVE_XSLTPROC_FALSE=
15742 fi
15743
15744
15745 # Extract the first word of "m4", so it can be a program name with args.
15746 set dummy m4; ac_word=$2
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15748 $as_echo_n "checking for $ac_word... " >&6; }
15749 if ${ac_cv_path_M4+:} false; then :
15750   $as_echo_n "(cached) " >&6
15751 else
15752   case $M4 in
15753   [\\/]* | ?:[\\/]*)
15754   ac_cv_path_M4="$M4" # Let the user override the test with a path.
15755   ;;
15756   *)
15757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH
15759 do
15760   IFS=$as_save_IFS
15761   test -z "$as_dir" && as_dir=.
15762     for ac_exec_ext in '' $ac_executable_extensions; do
15763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15764     ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
15765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15766     break 2
15767   fi
15768 done
15769   done
15770 IFS=$as_save_IFS
15771
15772   ;;
15773 esac
15774 fi
15775 M4=$ac_cv_path_M4
15776 if test -n "$M4"; then
15777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
15778 $as_echo "$M4" >&6; }
15779 else
15780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15781 $as_echo "no" >&6; }
15782 fi
15783
15784
15785
15786
15787 # Check whether --with-distro was given.
15788 if test "${with_distro+set}" = set; then :
15789   withval=$with_distro;
15790 fi
15791
15792 if test "z$with_distro" = "z"; then
15793         if test "$cross_compiling" = yes; then
15794                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&5
15795 $as_echo "$as_me: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&2;}
15796         else
15797                 with_distro=$($GREP '^ID=' /etc/os-release | $SED 's/ID=//');
15798         fi
15799         if test "z$with_distro" = "z"; then
15800                 with_distro=other
15801         fi
15802 fi
15803 with_distro=`echo ${with_distro} | tr '[:upper:]' '[:lower:]' `
15804
15805 cat >>confdefs.h <<_ACEOF
15806 #define DISTRIBUTION "${with_distro}"
15807 _ACEOF
15808
15809
15810 # Location of the init scripts as mandated by LSB
15811 SYSTEM_SYSVINIT_PATH=/etc/init.d
15812 SYSTEM_SYSVRCND_PATH=/etc/rc.d
15813
15814 M4_DEFINES=
15815 have_plymouth=no
15816
15817 case $with_distro in
15818         fedora)
15819                 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15820
15821 $as_echo "#define TARGET_FEDORA /**/" >>confdefs.h
15822
15823                 M4_DEFINES=-DTARGET_FEDORA=1
15824                 have_plymouth=yes
15825                 ;;
15826         opensuse|suse)
15827                 SYSTEM_SYSVRCND_PATH=/etc/init.d
15828
15829 $as_echo "#define TARGET_SUSE /**/" >>confdefs.h
15830
15831                 M4_DEFINES=-DTARGET_SUSE=1
15832                 have_plymouth=yes
15833                 ;;
15834         debian)
15835                 SYSTEM_SYSVRCND_PATH=/etc
15836
15837 $as_echo "#define TARGET_DEBIAN /**/" >>confdefs.h
15838
15839                 M4_DEFINES=-DTARGET_DEBIAN=1
15840                 ;;
15841         ubuntu)
15842                 SYSTEM_SYSVRCND_PATH=/etc
15843
15844 $as_echo "#define TARGET_UBUNTU /**/" >>confdefs.h
15845
15846                 M4_DEFINES=-DTARGET_UBUNTU=1
15847                 ;;
15848         arch)
15849                 SYSTEM_SYSVINIT_PATH=/etc/rc.d
15850                 SYSTEM_SYSVRCND_PATH=/etc
15851
15852 $as_echo "#define TARGET_ARCH /**/" >>confdefs.h
15853
15854                 M4_DEFINES=-DTARGET_ARCH=1
15855                 ;;
15856         gentoo)
15857                 SYSTEM_SYSVINIT_PATH=
15858                 SYSTEM_SYSVRCND_PATH=
15859
15860 $as_echo "#define TARGET_GENTOO /**/" >>confdefs.h
15861
15862                 M4_DEFINES=-DTARGET_GENTOO=1
15863                 ;;
15864         slackware)
15865                 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15866
15867 $as_echo "#define TARGET_SLACKWARE /**/" >>confdefs.h
15868
15869                 M4_DEFINES=-DTARGET_SLACKWARE=1
15870                 ;;
15871         frugalware)
15872                 SYSTEM_SYSVINIT_PATH=/etc/rc.d
15873
15874 $as_echo "#define TARGET_FRUGALWARE /**/" >>confdefs.h
15875
15876                 M4_DEFINES=-DTARGET_FRUGALWARE=1
15877                 have_plymouth=yes
15878                 ;;
15879         altlinux)
15880                 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15881
15882 $as_echo "#define TARGET_ALTLINUX /**/" >>confdefs.h
15883
15884                 M4_DEFINES=-DTARGET_ALTLINUX=1
15885                 have_plymouth=yes
15886                 ;;
15887         mandriva)
15888                 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15889
15890 $as_echo "#define TARGET_MANDRIVA /**/" >>confdefs.h
15891
15892                 M4_DEFINES=-DTARGET_MANDRIVA=1
15893                 have_plymouth=yes
15894                 ;;
15895         meego)
15896                 SYSTEM_SYSVINIT_PATH=
15897                 SYSTEM_SYSVRCND_PATH=
15898
15899 $as_echo "#define TARGET_MEEGO /**/" >>confdefs.h
15900
15901                 M4_DEFINES=-DTARGET_MEEGO=1
15902                 ;;
15903         angstrom)
15904                 SYSTEM_SYSVRCND_PATH=/etc
15905
15906 $as_echo "#define TARGET_ANGSTROM /**/" >>confdefs.h
15907
15908                 M4_DEFINES=-DTARGET_ANGSTROM=1
15909                 ;;
15910         mageia)
15911                 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15912
15913 $as_echo "#define TARGET_MAGEIA /**/" >>confdefs.h
15914
15915                 M4_DISTRO_FLAG=-DTARGET_MAGEIA=1
15916                 have_plymouth=yes
15917                 ;;
15918         other)
15919                 ;;
15920         *)
15921                 as_fn_error $? "Your distribution (${with_distro}) is not yet supported, SysV init scripts could not be found! (patches welcome); you can specify --with-distro=other to skip this check" "$LINENO" 5
15922                 ;;
15923 esac
15924
15925
15926 # Check whether --with-sysvinit-path was given.
15927 if test "${with_sysvinit_path+set}" = set; then :
15928   withval=$with_sysvinit_path; SYSTEM_SYSVINIT_PATH="$withval"
15929 fi
15930
15931
15932
15933 # Check whether --with-sysvrcd-path was given.
15934 if test "${with_sysvrcd_path+set}" = set; then :
15935   withval=$with_sysvrcd_path; SYSTEM_SYSVRCND_PATH="$withval"
15936 fi
15937
15938
15939
15940
15941
15942
15943 if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
15944
15945 $as_echo "#define HAVE_SYSV_COMPAT /**/" >>confdefs.h
15946
15947         SYSTEM_SYSV_COMPAT="yes"
15948         M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT"
15949 elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
15950         as_fn_error $? "*** You need both --with-sysvinit-path=PATH and --with-sysvrcd-path=PATH to enable SysV compatibility support, or both empty to disable it." "$LINENO" 5
15951 else
15952         SYSTEM_SYSV_COMPAT="no"
15953 fi
15954
15955
15956 # Check whether --with-tty-gid was given.
15957 if test "${with_tty_gid+set}" = set; then :
15958   withval=$with_tty_gid;
15959 cat >>confdefs.h <<_ACEOF
15960 #define TTY_GID $withval
15961 _ACEOF
15962
15963 fi
15964
15965
15966 # Check whether --enable-plymouth was given.
15967 if test "${enable_plymouth+set}" = set; then :
15968   enableval=$enable_plymouth;
15969 fi
15970
15971 if test -n "$enable_plymouth"; then
15972         have_plymouth="$enable_plymouth"
15973 fi
15974
15975  if test x"$with_distro" = xfedora; then
15976   TARGET_FEDORA_TRUE=
15977   TARGET_FEDORA_FALSE='#'
15978 else
15979   TARGET_FEDORA_TRUE='#'
15980   TARGET_FEDORA_FALSE=
15981 fi
15982
15983  if test x"$with_distro" = xsuse; then
15984   TARGET_SUSE_TRUE=
15985   TARGET_SUSE_FALSE='#'
15986 else
15987   TARGET_SUSE_TRUE='#'
15988   TARGET_SUSE_FALSE=
15989 fi
15990
15991  if test x"$with_distro" = xdebian; then
15992   TARGET_DEBIAN_TRUE=
15993   TARGET_DEBIAN_FALSE='#'
15994 else
15995   TARGET_DEBIAN_TRUE='#'
15996   TARGET_DEBIAN_FALSE=
15997 fi
15998
15999  if test x"$with_distro" = xubuntu; then
16000   TARGET_UBUNTU_TRUE=
16001   TARGET_UBUNTU_FALSE='#'
16002 else
16003   TARGET_UBUNTU_TRUE='#'
16004   TARGET_UBUNTU_FALSE=
16005 fi
16006
16007  if test x"$with_distro" = xdebian -o x"$with_distro" = xubuntu; then
16008   TARGET_DEBIAN_OR_UBUNTU_TRUE=
16009   TARGET_DEBIAN_OR_UBUNTU_FALSE='#'
16010 else
16011   TARGET_DEBIAN_OR_UBUNTU_TRUE='#'
16012   TARGET_DEBIAN_OR_UBUNTU_FALSE=
16013 fi
16014
16015  if test x"$with_distro" = xarch; then
16016   TARGET_ARCH_TRUE=
16017   TARGET_ARCH_FALSE='#'
16018 else
16019   TARGET_ARCH_TRUE='#'
16020   TARGET_ARCH_FALSE=
16021 fi
16022
16023  if test x"$with_distro" = xgentoo; then
16024   TARGET_GENTOO_TRUE=
16025   TARGET_GENTOO_FALSE='#'
16026 else
16027   TARGET_GENTOO_TRUE='#'
16028   TARGET_GENTOO_FALSE=
16029 fi
16030
16031  if test x"$with_distro" = xslackware; then
16032   TARGET_SLACKWARE_TRUE=
16033   TARGET_SLACKWARE_FALSE='#'
16034 else
16035   TARGET_SLACKWARE_TRUE='#'
16036   TARGET_SLACKWARE_FALSE=
16037 fi
16038
16039  if test x"$with_distro" = xfrugalware; then
16040   TARGET_FRUGALWARE_TRUE=
16041   TARGET_FRUGALWARE_FALSE='#'
16042 else
16043   TARGET_FRUGALWARE_TRUE='#'
16044   TARGET_FRUGALWARE_FALSE=
16045 fi
16046
16047  if test x"$with_distro" = xaltlinux; then
16048   TARGET_ALTLINUX_TRUE=
16049   TARGET_ALTLINUX_FALSE='#'
16050 else
16051   TARGET_ALTLINUX_TRUE='#'
16052   TARGET_ALTLINUX_FALSE=
16053 fi
16054
16055  if test x"$with_distro" = xmandriva; then
16056   TARGET_MANDRIVA_TRUE=
16057   TARGET_MANDRIVA_FALSE='#'
16058 else
16059   TARGET_MANDRIVA_TRUE='#'
16060   TARGET_MANDRIVA_FALSE=
16061 fi
16062
16063  if test x"$with_distro" = xmeego; then
16064   TARGET_MEEGO_TRUE=
16065   TARGET_MEEGO_FALSE='#'
16066 else
16067   TARGET_MEEGO_TRUE='#'
16068   TARGET_MEEGO_FALSE=
16069 fi
16070
16071  if test x"$with_distro" = xangstrom; then
16072   TARGET_ANGSTROM_TRUE=
16073   TARGET_ANGSTROM_FALSE='#'
16074 else
16075   TARGET_ANGSTROM_TRUE='#'
16076   TARGET_ANGSTROM_FALSE=
16077 fi
16078
16079  if test x"$with_distro" = xmageia; then
16080   TARGET_MAGEIA_TRUE=
16081   TARGET_MAGEIA_FALSE='#'
16082 else
16083   TARGET_MAGEIA_TRUE='#'
16084   TARGET_MAGEIA_FALSE=
16085 fi
16086
16087
16088  if test "$have_plymouth" = "yes"; then
16089   HAVE_PLYMOUTH_TRUE=
16090   HAVE_PLYMOUTH_FALSE='#'
16091 else
16092   HAVE_PLYMOUTH_TRUE='#'
16093   HAVE_PLYMOUTH_FALSE=
16094 fi
16095
16096  if test "$SYSTEM_SYSV_COMPAT" = "yes"; then
16097   HAVE_SYSV_COMPAT_TRUE=
16098   HAVE_SYSV_COMPAT_FALSE='#'
16099 else
16100   HAVE_SYSV_COMPAT_TRUE='#'
16101   HAVE_SYSV_COMPAT_FALSE=
16102 fi
16103
16104
16105
16106 # Check whether --with-dbuspolicydir was given.
16107 if test "${with_dbuspolicydir+set}" = set; then :
16108   withval=$with_dbuspolicydir;
16109 else
16110   with_dbuspolicydir=`pkg-config --variable=sysconfdir dbus-1`/dbus-1/system.d
16111 fi
16112
16113
16114
16115 # Check whether --with-dbussessionservicedir was given.
16116 if test "${with_dbussessionservicedir+set}" = set; then :
16117   withval=$with_dbussessionservicedir;
16118 else
16119   with_dbussessionservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`
16120 fi
16121
16122
16123
16124 # Check whether --with-dbussystemservicedir was given.
16125 if test "${with_dbussystemservicedir+set}" = set; then :
16126   withval=$with_dbussystemservicedir;
16127 else
16128   with_dbussystemservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../system-services
16129 fi
16130
16131
16132
16133 # Check whether --with-dbusinterfacedir was given.
16134 if test "${with_dbusinterfacedir+set}" = set; then :
16135   withval=$with_dbusinterfacedir;
16136 else
16137   with_dbusinterfacedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../interfaces
16138 fi
16139
16140
16141
16142 # Check whether --with-udevrulesdir was given.
16143 if test "${with_udevrulesdir+set}" = set; then :
16144   withval=$with_udevrulesdir;
16145 else
16146   with_udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d
16147 fi
16148
16149
16150
16151 # Check whether --with-rootprefix was given.
16152 if test "${with_rootprefix+set}" = set; then :
16153   withval=$with_rootprefix;
16154 else
16155   with_rootprefix=${ac_default_prefix}
16156 fi
16157
16158
16159
16160 # Check whether --with-rootlibdir was given.
16161 if test "${with_rootlibdir+set}" = set; then :
16162   withval=$with_rootlibdir;
16163 else
16164   with_rootlibdir=${libdir}
16165 fi
16166
16167
16168
16169 # Check whether --with-pamlibdir was given.
16170 if test "${with_pamlibdir+set}" = set; then :
16171   withval=$with_pamlibdir;
16172 else
16173   with_pamlibdir=${with_rootlibdir}/security
16174 fi
16175
16176
16177 # Check whether --enable-split-usr was given.
16178 if test "${enable_split_usr+set}" = set; then :
16179   enableval=$enable_split_usr;
16180 else
16181   if test "x${ac_default_prefix}" != "x${with_rootprefix}"; then :
16182
16183                 enable_split_usr=yes
16184
16185 else
16186
16187                 enable_split_usr=no
16188
16189 fi
16190 fi
16191
16192
16193 if test "x${enable_split_usr}" = "xyes"; then :
16194
16195
16196 $as_echo "#define HAVE_SPLIT_USR 1" >>confdefs.h
16197
16198
16199 fi
16200
16201 dbuspolicydir=$with_dbuspolicydir
16202
16203 dbussessionservicedir=$with_dbussessionservicedir
16204
16205 dbussystemservicedir=$with_dbussystemservicedir
16206
16207 dbusinterfacedir=$with_dbusinterfacedir
16208
16209 udevrulesdir=$with_udevrulesdir
16210
16211 pamlibdir=$with_pamlibdir
16212
16213 rootprefix=$with_rootprefix
16214
16215 rootlibdir=$with_rootlibdir
16216
16217
16218 ac_config_files="$ac_config_files Makefile po/Makefile.in"
16219
16220 cat >confcache <<\_ACEOF
16221 # This file is a shell script that caches the results of configure
16222 # tests run on this system so they can be shared between configure
16223 # scripts and configure runs, see configure's option --config-cache.
16224 # It is not useful on other systems.  If it contains results you don't
16225 # want to keep, you may remove or edit it.
16226 #
16227 # config.status only pays attention to the cache file if you give it
16228 # the --recheck option to rerun configure.
16229 #
16230 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16231 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16232 # following values.
16233
16234 _ACEOF
16235
16236 # The following way of writing the cache mishandles newlines in values,
16237 # but we know of no workaround that is simple, portable, and efficient.
16238 # So, we kill variables containing newlines.
16239 # Ultrix sh set writes to stderr and can't be redirected directly,
16240 # and sets the high bit in the cache file unless we assign to the vars.
16241 (
16242   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16243     eval ac_val=\$$ac_var
16244     case $ac_val in #(
16245     *${as_nl}*)
16246       case $ac_var in #(
16247       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16248 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16249       esac
16250       case $ac_var in #(
16251       _ | IFS | as_nl) ;; #(
16252       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16253       *) { eval $ac_var=; unset $ac_var;} ;;
16254       esac ;;
16255     esac
16256   done
16257
16258   (set) 2>&1 |
16259     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16260     *${as_nl}ac_space=\ *)
16261       # `set' does not quote correctly, so add quotes: double-quote
16262       # substitution turns \\\\ into \\, and sed turns \\ into \.
16263       sed -n \
16264         "s/'/'\\\\''/g;
16265           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16266       ;; #(
16267     *)
16268       # `set' quotes correctly as required by POSIX, so do not add quotes.
16269       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16270       ;;
16271     esac |
16272     sort
16273 ) |
16274   sed '
16275      /^ac_cv_env_/b end
16276      t clear
16277      :clear
16278      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16279      t end
16280      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16281      :end' >>confcache
16282 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16283   if test -w "$cache_file"; then
16284     if test "x$cache_file" != "x/dev/null"; then
16285       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16286 $as_echo "$as_me: updating cache $cache_file" >&6;}
16287       if test ! -f "$cache_file" || test -h "$cache_file"; then
16288         cat confcache >"$cache_file"
16289       else
16290         case $cache_file in #(
16291         */* | ?:*)
16292           mv -f confcache "$cache_file"$$ &&
16293           mv -f "$cache_file"$$ "$cache_file" ;; #(
16294         *)
16295           mv -f confcache "$cache_file" ;;
16296         esac
16297       fi
16298     fi
16299   else
16300     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16301 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16302   fi
16303 fi
16304 rm -f confcache
16305
16306 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16307 # Let make expand exec_prefix.
16308 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16309
16310 DEFS=-DHAVE_CONFIG_H
16311
16312 ac_libobjs=
16313 ac_ltlibobjs=
16314 U=
16315 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16316   # 1. Remove the extension, and $U if already installed.
16317   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16318   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16319   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16320   #    will be set to the directory where LIBOBJS objects are built.
16321   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16322   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16323 done
16324 LIBOBJS=$ac_libobjs
16325
16326 LTLIBOBJS=$ac_ltlibobjs
16327
16328
16329 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16330   as_fn_error $? "conditional \"AMDEP\" was never defined.
16331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16332 fi
16333 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16334   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16336 fi
16337  if test -n "$EXEEXT"; then
16338   am__EXEEXT_TRUE=
16339   am__EXEEXT_FALSE='#'
16340 else
16341   am__EXEEXT_TRUE='#'
16342   am__EXEEXT_FALSE=
16343 fi
16344
16345
16346   ac_config_commands="$ac_config_commands po/stamp-it"
16347
16348
16349 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
16350   as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined.
16351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16352 fi
16353 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
16354   as_fn_error $? "conditional \"HAVE_XZ\" was never defined.
16355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16356 fi
16357 if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
16358   as_fn_error $? "conditional \"HAVE_PAM\" was never defined.
16359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16360 fi
16361 if test -z "${HAVE_ACL_TRUE}" && test -z "${HAVE_ACL_FALSE}"; then
16362   as_fn_error $? "conditional \"HAVE_ACL\" was never defined.
16363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16364 fi
16365 if test -z "${HAVE_LIBCRYPTSETUP_TRUE}" && test -z "${HAVE_LIBCRYPTSETUP_FALSE}"; then
16366   as_fn_error $? "conditional \"HAVE_LIBCRYPTSETUP\" was never defined.
16367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16368 fi
16369 if test -z "${ENABLE_BINFMT_TRUE}" && test -z "${ENABLE_BINFMT_FALSE}"; then
16370   as_fn_error $? "conditional \"ENABLE_BINFMT\" was never defined.
16371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16372 fi
16373 if test -z "${ENABLE_VCONSOLE_TRUE}" && test -z "${ENABLE_VCONSOLE_FALSE}"; then
16374   as_fn_error $? "conditional \"ENABLE_VCONSOLE\" was never defined.
16375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16376 fi
16377 if test -z "${ENABLE_READAHEAD_TRUE}" && test -z "${ENABLE_READAHEAD_FALSE}"; then
16378   as_fn_error $? "conditional \"ENABLE_READAHEAD\" was never defined.
16379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16380 fi
16381 if test -z "${ENABLE_QUOTACHECK_TRUE}" && test -z "${ENABLE_QUOTACHECK_FALSE}"; then
16382   as_fn_error $? "conditional \"ENABLE_QUOTACHECK\" was never defined.
16383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16384 fi
16385 if test -z "${ENABLE_RANDOMSEED_TRUE}" && test -z "${ENABLE_RANDOMSEED_FALSE}"; then
16386   as_fn_error $? "conditional \"ENABLE_RANDOMSEED\" was never defined.
16387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16388 fi
16389 if test -z "${ENABLE_LOGIND_TRUE}" && test -z "${ENABLE_LOGIND_FALSE}"; then
16390   as_fn_error $? "conditional \"ENABLE_LOGIND\" was never defined.
16391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16392 fi
16393 if test -z "${ENABLE_HOSTNAMED_TRUE}" && test -z "${ENABLE_HOSTNAMED_FALSE}"; then
16394   as_fn_error $? "conditional \"ENABLE_HOSTNAMED\" was never defined.
16395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16396 fi
16397 if test -z "${ENABLE_TIMEDATED_TRUE}" && test -z "${ENABLE_TIMEDATED_FALSE}"; then
16398   as_fn_error $? "conditional \"ENABLE_TIMEDATED\" was never defined.
16399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16400 fi
16401 if test -z "${ENABLE_LOCALED_TRUE}" && test -z "${ENABLE_LOCALED_FALSE}"; then
16402   as_fn_error $? "conditional \"ENABLE_LOCALED\" was never defined.
16403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16404 fi
16405 if test -z "${ENABLE_COREDUMP_TRUE}" && test -z "${ENABLE_COREDUMP_FALSE}"; then
16406   as_fn_error $? "conditional \"ENABLE_COREDUMP\" was never defined.
16407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16408 fi
16409 if test -z "${ENABLE_MANPAGES_TRUE}" && test -z "${ENABLE_MANPAGES_FALSE}"; then
16410   as_fn_error $? "conditional \"ENABLE_MANPAGES\" was never defined.
16411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16412 fi
16413 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
16414   as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
16415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16416 fi
16417 if test -z "${HAVE_VALAC_TRUE}" && test -z "${HAVE_VALAC_FALSE}"; then
16418   as_fn_error $? "conditional \"HAVE_VALAC\" was never defined.
16419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16420 fi
16421 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
16422   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
16423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16424 fi
16425 if test -z "${TARGET_FEDORA_TRUE}" && test -z "${TARGET_FEDORA_FALSE}"; then
16426   as_fn_error $? "conditional \"TARGET_FEDORA\" was never defined.
16427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16428 fi
16429 if test -z "${TARGET_SUSE_TRUE}" && test -z "${TARGET_SUSE_FALSE}"; then
16430   as_fn_error $? "conditional \"TARGET_SUSE\" was never defined.
16431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16432 fi
16433 if test -z "${TARGET_DEBIAN_TRUE}" && test -z "${TARGET_DEBIAN_FALSE}"; then
16434   as_fn_error $? "conditional \"TARGET_DEBIAN\" was never defined.
16435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16436 fi
16437 if test -z "${TARGET_UBUNTU_TRUE}" && test -z "${TARGET_UBUNTU_FALSE}"; then
16438   as_fn_error $? "conditional \"TARGET_UBUNTU\" was never defined.
16439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16440 fi
16441 if test -z "${TARGET_DEBIAN_OR_UBUNTU_TRUE}" && test -z "${TARGET_DEBIAN_OR_UBUNTU_FALSE}"; then
16442   as_fn_error $? "conditional \"TARGET_DEBIAN_OR_UBUNTU\" was never defined.
16443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16444 fi
16445 if test -z "${TARGET_ARCH_TRUE}" && test -z "${TARGET_ARCH_FALSE}"; then
16446   as_fn_error $? "conditional \"TARGET_ARCH\" was never defined.
16447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16448 fi
16449 if test -z "${TARGET_GENTOO_TRUE}" && test -z "${TARGET_GENTOO_FALSE}"; then
16450   as_fn_error $? "conditional \"TARGET_GENTOO\" was never defined.
16451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16452 fi
16453 if test -z "${TARGET_SLACKWARE_TRUE}" && test -z "${TARGET_SLACKWARE_FALSE}"; then
16454   as_fn_error $? "conditional \"TARGET_SLACKWARE\" was never defined.
16455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16456 fi
16457 if test -z "${TARGET_FRUGALWARE_TRUE}" && test -z "${TARGET_FRUGALWARE_FALSE}"; then
16458   as_fn_error $? "conditional \"TARGET_FRUGALWARE\" was never defined.
16459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16460 fi
16461 if test -z "${TARGET_ALTLINUX_TRUE}" && test -z "${TARGET_ALTLINUX_FALSE}"; then
16462   as_fn_error $? "conditional \"TARGET_ALTLINUX\" was never defined.
16463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16464 fi
16465 if test -z "${TARGET_MANDRIVA_TRUE}" && test -z "${TARGET_MANDRIVA_FALSE}"; then
16466   as_fn_error $? "conditional \"TARGET_MANDRIVA\" was never defined.
16467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16468 fi
16469 if test -z "${TARGET_MEEGO_TRUE}" && test -z "${TARGET_MEEGO_FALSE}"; then
16470   as_fn_error $? "conditional \"TARGET_MEEGO\" was never defined.
16471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16472 fi
16473 if test -z "${TARGET_ANGSTROM_TRUE}" && test -z "${TARGET_ANGSTROM_FALSE}"; then
16474   as_fn_error $? "conditional \"TARGET_ANGSTROM\" was never defined.
16475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16476 fi
16477 if test -z "${TARGET_MAGEIA_TRUE}" && test -z "${TARGET_MAGEIA_FALSE}"; then
16478   as_fn_error $? "conditional \"TARGET_MAGEIA\" was never defined.
16479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16480 fi
16481 if test -z "${HAVE_PLYMOUTH_TRUE}" && test -z "${HAVE_PLYMOUTH_FALSE}"; then
16482   as_fn_error $? "conditional \"HAVE_PLYMOUTH\" was never defined.
16483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16484 fi
16485 if test -z "${HAVE_SYSV_COMPAT_TRUE}" && test -z "${HAVE_SYSV_COMPAT_FALSE}"; then
16486   as_fn_error $? "conditional \"HAVE_SYSV_COMPAT\" was never defined.
16487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16488 fi
16489
16490 : "${CONFIG_STATUS=./config.status}"
16491 ac_write_fail=0
16492 ac_clean_files_save=$ac_clean_files
16493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16496 as_write_fail=0
16497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16498 #! $SHELL
16499 # Generated by $as_me.
16500 # Run this file to recreate the current configuration.
16501 # Compiler output produced by configure, useful for debugging
16502 # configure, is in config.log if it exists.
16503
16504 debug=false
16505 ac_cs_recheck=false
16506 ac_cs_silent=false
16507
16508 SHELL=\${CONFIG_SHELL-$SHELL}
16509 export SHELL
16510 _ASEOF
16511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16512 ## -------------------- ##
16513 ## M4sh Initialization. ##
16514 ## -------------------- ##
16515
16516 # Be more Bourne compatible
16517 DUALCASE=1; export DUALCASE # for MKS sh
16518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16519   emulate sh
16520   NULLCMD=:
16521   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16522   # is contrary to our usage.  Disable this feature.
16523   alias -g '${1+"$@"}'='"$@"'
16524   setopt NO_GLOB_SUBST
16525 else
16526   case `(set -o) 2>/dev/null` in #(
16527   *posix*) :
16528     set -o posix ;; #(
16529   *) :
16530      ;;
16531 esac
16532 fi
16533
16534
16535 as_nl='
16536 '
16537 export as_nl
16538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16542 # Prefer a ksh shell builtin over an external printf program on Solaris,
16543 # but without wasting forks for bash or zsh.
16544 if test -z "$BASH_VERSION$ZSH_VERSION" \
16545     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16546   as_echo='print -r --'
16547   as_echo_n='print -rn --'
16548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16549   as_echo='printf %s\n'
16550   as_echo_n='printf %s'
16551 else
16552   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16553     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16554     as_echo_n='/usr/ucb/echo -n'
16555   else
16556     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16557     as_echo_n_body='eval
16558       arg=$1;
16559       case $arg in #(
16560       *"$as_nl"*)
16561         expr "X$arg" : "X\\(.*\\)$as_nl";
16562         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16563       esac;
16564       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16565     '
16566     export as_echo_n_body
16567     as_echo_n='sh -c $as_echo_n_body as_echo'
16568   fi
16569   export as_echo_body
16570   as_echo='sh -c $as_echo_body as_echo'
16571 fi
16572
16573 # The user is always right.
16574 if test "${PATH_SEPARATOR+set}" != set; then
16575   PATH_SEPARATOR=:
16576   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16577     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16578       PATH_SEPARATOR=';'
16579   }
16580 fi
16581
16582
16583 # IFS
16584 # We need space, tab and new line, in precisely that order.  Quoting is
16585 # there to prevent editors from complaining about space-tab.
16586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16587 # splitting by setting IFS to empty value.)
16588 IFS=" ""        $as_nl"
16589
16590 # Find who we are.  Look in the path if we contain no directory separator.
16591 as_myself=
16592 case $0 in #((
16593   *[\\/]* ) as_myself=$0 ;;
16594   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16595 for as_dir in $PATH
16596 do
16597   IFS=$as_save_IFS
16598   test -z "$as_dir" && as_dir=.
16599     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16600   done
16601 IFS=$as_save_IFS
16602
16603      ;;
16604 esac
16605 # We did not find ourselves, most probably we were run as `sh COMMAND'
16606 # in which case we are not to be found in the path.
16607 if test "x$as_myself" = x; then
16608   as_myself=$0
16609 fi
16610 if test ! -f "$as_myself"; then
16611   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16612   exit 1
16613 fi
16614
16615 # Unset variables that we do not need and which cause bugs (e.g. in
16616 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16617 # suppresses any "Segmentation fault" message there.  '((' could
16618 # trigger a bug in pdksh 5.2.14.
16619 for as_var in BASH_ENV ENV MAIL MAILPATH
16620 do eval test x\${$as_var+set} = xset \
16621   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16622 done
16623 PS1='$ '
16624 PS2='> '
16625 PS4='+ '
16626
16627 # NLS nuisances.
16628 LC_ALL=C
16629 export LC_ALL
16630 LANGUAGE=C
16631 export LANGUAGE
16632
16633 # CDPATH.
16634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16635
16636
16637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16638 # ----------------------------------------
16639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16641 # script with STATUS, using 1 if that was 0.
16642 as_fn_error ()
16643 {
16644   as_status=$1; test $as_status -eq 0 && as_status=1
16645   if test "$4"; then
16646     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16647     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16648   fi
16649   $as_echo "$as_me: error: $2" >&2
16650   as_fn_exit $as_status
16651 } # as_fn_error
16652
16653
16654 # as_fn_set_status STATUS
16655 # -----------------------
16656 # Set $? to STATUS, without forking.
16657 as_fn_set_status ()
16658 {
16659   return $1
16660 } # as_fn_set_status
16661
16662 # as_fn_exit STATUS
16663 # -----------------
16664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16665 as_fn_exit ()
16666 {
16667   set +e
16668   as_fn_set_status $1
16669   exit $1
16670 } # as_fn_exit
16671
16672 # as_fn_unset VAR
16673 # ---------------
16674 # Portably unset VAR.
16675 as_fn_unset ()
16676 {
16677   { eval $1=; unset $1;}
16678 }
16679 as_unset=as_fn_unset
16680 # as_fn_append VAR VALUE
16681 # ----------------------
16682 # Append the text in VALUE to the end of the definition contained in VAR. Take
16683 # advantage of any shell optimizations that allow amortized linear growth over
16684 # repeated appends, instead of the typical quadratic growth present in naive
16685 # implementations.
16686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16687   eval 'as_fn_append ()
16688   {
16689     eval $1+=\$2
16690   }'
16691 else
16692   as_fn_append ()
16693   {
16694     eval $1=\$$1\$2
16695   }
16696 fi # as_fn_append
16697
16698 # as_fn_arith ARG...
16699 # ------------------
16700 # Perform arithmetic evaluation on the ARGs, and store the result in the
16701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16702 # must be portable across $(()) and expr.
16703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16704   eval 'as_fn_arith ()
16705   {
16706     as_val=$(( $* ))
16707   }'
16708 else
16709   as_fn_arith ()
16710   {
16711     as_val=`expr "$@" || test $? -eq 1`
16712   }
16713 fi # as_fn_arith
16714
16715
16716 if expr a : '\(a\)' >/dev/null 2>&1 &&
16717    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16718   as_expr=expr
16719 else
16720   as_expr=false
16721 fi
16722
16723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16724   as_basename=basename
16725 else
16726   as_basename=false
16727 fi
16728
16729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16730   as_dirname=dirname
16731 else
16732   as_dirname=false
16733 fi
16734
16735 as_me=`$as_basename -- "$0" ||
16736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16737          X"$0" : 'X\(//\)$' \| \
16738          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16739 $as_echo X/"$0" |
16740     sed '/^.*\/\([^/][^/]*\)\/*$/{
16741             s//\1/
16742             q
16743           }
16744           /^X\/\(\/\/\)$/{
16745             s//\1/
16746             q
16747           }
16748           /^X\/\(\/\).*/{
16749             s//\1/
16750             q
16751           }
16752           s/.*/./; q'`
16753
16754 # Avoid depending upon Character Ranges.
16755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16758 as_cr_digits='0123456789'
16759 as_cr_alnum=$as_cr_Letters$as_cr_digits
16760
16761 ECHO_C= ECHO_N= ECHO_T=
16762 case `echo -n x` in #(((((
16763 -n*)
16764   case `echo 'xy\c'` in
16765   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16766   xy)  ECHO_C='\c';;
16767   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16768        ECHO_T=' ';;
16769   esac;;
16770 *)
16771   ECHO_N='-n';;
16772 esac
16773
16774 rm -f conf$$ conf$$.exe conf$$.file
16775 if test -d conf$$.dir; then
16776   rm -f conf$$.dir/conf$$.file
16777 else
16778   rm -f conf$$.dir
16779   mkdir conf$$.dir 2>/dev/null
16780 fi
16781 if (echo >conf$$.file) 2>/dev/null; then
16782   if ln -s conf$$.file conf$$ 2>/dev/null; then
16783     as_ln_s='ln -s'
16784     # ... but there are two gotchas:
16785     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16786     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16787     # In both cases, we have to default to `cp -p'.
16788     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16789       as_ln_s='cp -p'
16790   elif ln conf$$.file conf$$ 2>/dev/null; then
16791     as_ln_s=ln
16792   else
16793     as_ln_s='cp -p'
16794   fi
16795 else
16796   as_ln_s='cp -p'
16797 fi
16798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16799 rmdir conf$$.dir 2>/dev/null
16800
16801
16802 # as_fn_mkdir_p
16803 # -------------
16804 # Create "$as_dir" as a directory, including parents if necessary.
16805 as_fn_mkdir_p ()
16806 {
16807
16808   case $as_dir in #(
16809   -*) as_dir=./$as_dir;;
16810   esac
16811   test -d "$as_dir" || eval $as_mkdir_p || {
16812     as_dirs=
16813     while :; do
16814       case $as_dir in #(
16815       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16816       *) as_qdir=$as_dir;;
16817       esac
16818       as_dirs="'$as_qdir' $as_dirs"
16819       as_dir=`$as_dirname -- "$as_dir" ||
16820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16821          X"$as_dir" : 'X\(//\)[^/]' \| \
16822          X"$as_dir" : 'X\(//\)$' \| \
16823          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16824 $as_echo X"$as_dir" |
16825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16826             s//\1/
16827             q
16828           }
16829           /^X\(\/\/\)[^/].*/{
16830             s//\1/
16831             q
16832           }
16833           /^X\(\/\/\)$/{
16834             s//\1/
16835             q
16836           }
16837           /^X\(\/\).*/{
16838             s//\1/
16839             q
16840           }
16841           s/.*/./; q'`
16842       test -d "$as_dir" && break
16843     done
16844     test -z "$as_dirs" || eval "mkdir $as_dirs"
16845   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16846
16847
16848 } # as_fn_mkdir_p
16849 if mkdir -p . 2>/dev/null; then
16850   as_mkdir_p='mkdir -p "$as_dir"'
16851 else
16852   test -d ./-p && rmdir ./-p
16853   as_mkdir_p=false
16854 fi
16855
16856 if test -x / >/dev/null 2>&1; then
16857   as_test_x='test -x'
16858 else
16859   if ls -dL / >/dev/null 2>&1; then
16860     as_ls_L_option=L
16861   else
16862     as_ls_L_option=
16863   fi
16864   as_test_x='
16865     eval sh -c '\''
16866       if test -d "$1"; then
16867         test -d "$1/.";
16868       else
16869         case $1 in #(
16870         -*)set "./$1";;
16871         esac;
16872         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16873         ???[sx]*):;;*)false;;esac;fi
16874     '\'' sh
16875   '
16876 fi
16877 as_executable_p=$as_test_x
16878
16879 # Sed expression to map a string onto a valid CPP name.
16880 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16881
16882 # Sed expression to map a string onto a valid variable name.
16883 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16884
16885
16886 exec 6>&1
16887 ## ----------------------------------- ##
16888 ## Main body of $CONFIG_STATUS script. ##
16889 ## ----------------------------------- ##
16890 _ASEOF
16891 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16892
16893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16894 # Save the log message, to keep $0 and so on meaningful, and to
16895 # report actual input values of CONFIG_FILES etc. instead of their
16896 # values after options handling.
16897 ac_log="
16898 This file was extended by systemd $as_me 43, which was
16899 generated by GNU Autoconf 2.68.  Invocation command line was
16900
16901   CONFIG_FILES    = $CONFIG_FILES
16902   CONFIG_HEADERS  = $CONFIG_HEADERS
16903   CONFIG_LINKS    = $CONFIG_LINKS
16904   CONFIG_COMMANDS = $CONFIG_COMMANDS
16905   $ $0 $@
16906
16907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16908 "
16909
16910 _ACEOF
16911
16912 case $ac_config_files in *"
16913 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16914 esac
16915
16916 case $ac_config_headers in *"
16917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16918 esac
16919
16920
16921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16922 # Files that config.status was made for.
16923 config_files="$ac_config_files"
16924 config_headers="$ac_config_headers"
16925 config_commands="$ac_config_commands"
16926
16927 _ACEOF
16928
16929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16930 ac_cs_usage="\
16931 \`$as_me' instantiates files and other configuration actions
16932 from templates according to the current configuration.  Unless the files
16933 and actions are specified as TAGs, all are instantiated by default.
16934
16935 Usage: $0 [OPTION]... [TAG]...
16936
16937   -h, --help       print this help, then exit
16938   -V, --version    print version number and configuration settings, then exit
16939       --config     print configuration, then exit
16940   -q, --quiet, --silent
16941                    do not print progress messages
16942   -d, --debug      don't remove temporary files
16943       --recheck    update $as_me by reconfiguring in the same conditions
16944       --file=FILE[:TEMPLATE]
16945                    instantiate the configuration file FILE
16946       --header=FILE[:TEMPLATE]
16947                    instantiate the configuration header FILE
16948
16949 Configuration files:
16950 $config_files
16951
16952 Configuration headers:
16953 $config_headers
16954
16955 Configuration commands:
16956 $config_commands
16957
16958 Report bugs to <systemd-devel@lists.freedesktop.org>."
16959
16960 _ACEOF
16961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16962 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16963 ac_cs_version="\\
16964 systemd config.status 43
16965 configured by $0, generated by GNU Autoconf 2.68,
16966   with options \\"\$ac_cs_config\\"
16967
16968 Copyright (C) 2010 Free Software Foundation, Inc.
16969 This config.status script is free software; the Free Software Foundation
16970 gives unlimited permission to copy, distribute and modify it."
16971
16972 ac_pwd='$ac_pwd'
16973 srcdir='$srcdir'
16974 INSTALL='$INSTALL'
16975 MKDIR_P='$MKDIR_P'
16976 AWK='$AWK'
16977 test -n "\$AWK" || AWK=awk
16978 _ACEOF
16979
16980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16981 # The default lists apply if the user does not specify any file.
16982 ac_need_defaults=:
16983 while test $# != 0
16984 do
16985   case $1 in
16986   --*=?*)
16987     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16988     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16989     ac_shift=:
16990     ;;
16991   --*=)
16992     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16993     ac_optarg=
16994     ac_shift=:
16995     ;;
16996   *)
16997     ac_option=$1
16998     ac_optarg=$2
16999     ac_shift=shift
17000     ;;
17001   esac
17002
17003   case $ac_option in
17004   # Handling of the options.
17005   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17006     ac_cs_recheck=: ;;
17007   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17008     $as_echo "$ac_cs_version"; exit ;;
17009   --config | --confi | --conf | --con | --co | --c )
17010     $as_echo "$ac_cs_config"; exit ;;
17011   --debug | --debu | --deb | --de | --d | -d )
17012     debug=: ;;
17013   --file | --fil | --fi | --f )
17014     $ac_shift
17015     case $ac_optarg in
17016     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17017     '') as_fn_error $? "missing file argument" ;;
17018     esac
17019     as_fn_append CONFIG_FILES " '$ac_optarg'"
17020     ac_need_defaults=false;;
17021   --header | --heade | --head | --hea )
17022     $ac_shift
17023     case $ac_optarg in
17024     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17025     esac
17026     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17027     ac_need_defaults=false;;
17028   --he | --h)
17029     # Conflict between --help and --header
17030     as_fn_error $? "ambiguous option: \`$1'
17031 Try \`$0 --help' for more information.";;
17032   --help | --hel | -h )
17033     $as_echo "$ac_cs_usage"; exit ;;
17034   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17035   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17036     ac_cs_silent=: ;;
17037
17038   # This is an error.
17039   -*) as_fn_error $? "unrecognized option: \`$1'
17040 Try \`$0 --help' for more information." ;;
17041
17042   *) as_fn_append ac_config_targets " $1"
17043      ac_need_defaults=false ;;
17044
17045   esac
17046   shift
17047 done
17048
17049 ac_configure_extra_args=
17050
17051 if $ac_cs_silent; then
17052   exec 6>/dev/null
17053   ac_configure_extra_args="$ac_configure_extra_args --silent"
17054 fi
17055
17056 _ACEOF
17057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17058 if \$ac_cs_recheck; then
17059   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17060   shift
17061   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17062   CONFIG_SHELL='$SHELL'
17063   export CONFIG_SHELL
17064   exec "\$@"
17065 fi
17066
17067 _ACEOF
17068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17069 exec 5>>config.log
17070 {
17071   echo
17072   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17073 ## Running $as_me. ##
17074 _ASBOX
17075   $as_echo "$ac_log"
17076 } >&5
17077
17078 _ACEOF
17079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17080 #
17081 # INIT-COMMANDS
17082 #
17083 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17084
17085
17086 # The HP-UX ksh and POSIX shell print the target directory to stdout
17087 # if CDPATH is set.
17088 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17089
17090 sed_quote_subst='$sed_quote_subst'
17091 double_quote_subst='$double_quote_subst'
17092 delay_variable_subst='$delay_variable_subst'
17093 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17094 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17095 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17096 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17097 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17098 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17099 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17100 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17101 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17102 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17103 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17104 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17105 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17106 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17107 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17108 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17109 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17110 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17111 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17112 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17113 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17114 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17115 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17116 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17117 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17118 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17119 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17120 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17121 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17122 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17123 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17124 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17125 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17126 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17127 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17128 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17129 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17130 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17131 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17132 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17133 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17134 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17135 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17136 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17137 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17138 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17139 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17140 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17141 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17142 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17143 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17144 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17145 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17146 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17147 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17148 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17149 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17150 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17151 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17152 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17153 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17154 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17155 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17156 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17157 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17158 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17159 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17160 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17161 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17162 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17163 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17164 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17165 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17166 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17167 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17168 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17169 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17170 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17171 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17172 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17173 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17174 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17175 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17176 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17177 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17178 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17179 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17180 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17181 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17182 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17183 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17184 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17185 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17186 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17187 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17188 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17189 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17190 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17191 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17192 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17193 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17194 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17195 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17196 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17197 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17198 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17199 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17200 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17201 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17202 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17203 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17204 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17205 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17206 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17207 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17208 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17209 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17210 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17211 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17212 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17213 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17214 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17215 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17216 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17217 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17218 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17219 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17220 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17221 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17222 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17223
17224 LTCC='$LTCC'
17225 LTCFLAGS='$LTCFLAGS'
17226 compiler='$compiler_DEFAULT'
17227
17228 # A function that is used when there is no print builtin or printf.
17229 func_fallback_echo ()
17230 {
17231   eval 'cat <<_LTECHO_EOF
17232 \$1
17233 _LTECHO_EOF'
17234 }
17235
17236 # Quote evaled strings.
17237 for var in SHELL \
17238 ECHO \
17239 PATH_SEPARATOR \
17240 SED \
17241 GREP \
17242 EGREP \
17243 FGREP \
17244 LD \
17245 NM \
17246 LN_S \
17247 lt_SP2NL \
17248 lt_NL2SP \
17249 reload_flag \
17250 OBJDUMP \
17251 deplibs_check_method \
17252 file_magic_cmd \
17253 file_magic_glob \
17254 want_nocaseglob \
17255 DLLTOOL \
17256 sharedlib_from_linklib_cmd \
17257 AR \
17258 AR_FLAGS \
17259 archiver_list_spec \
17260 STRIP \
17261 RANLIB \
17262 CC \
17263 CFLAGS \
17264 compiler \
17265 lt_cv_sys_global_symbol_pipe \
17266 lt_cv_sys_global_symbol_to_cdecl \
17267 lt_cv_sys_global_symbol_to_c_name_address \
17268 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17269 nm_file_list_spec \
17270 lt_prog_compiler_no_builtin_flag \
17271 lt_prog_compiler_pic \
17272 lt_prog_compiler_wl \
17273 lt_prog_compiler_static \
17274 lt_cv_prog_compiler_c_o \
17275 need_locks \
17276 MANIFEST_TOOL \
17277 DSYMUTIL \
17278 NMEDIT \
17279 LIPO \
17280 OTOOL \
17281 OTOOL64 \
17282 shrext_cmds \
17283 export_dynamic_flag_spec \
17284 whole_archive_flag_spec \
17285 compiler_needs_object \
17286 with_gnu_ld \
17287 allow_undefined_flag \
17288 no_undefined_flag \
17289 hardcode_libdir_flag_spec \
17290 hardcode_libdir_separator \
17291 exclude_expsyms \
17292 include_expsyms \
17293 file_list_spec \
17294 variables_saved_for_relink \
17295 libname_spec \
17296 library_names_spec \
17297 soname_spec \
17298 install_override_mode \
17299 finish_eval \
17300 old_striplib \
17301 striplib; do
17302     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17303     *[\\\\\\\`\\"\\\$]*)
17304       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17305       ;;
17306     *)
17307       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17308       ;;
17309     esac
17310 done
17311
17312 # Double-quote double-evaled strings.
17313 for var in reload_cmds \
17314 old_postinstall_cmds \
17315 old_postuninstall_cmds \
17316 old_archive_cmds \
17317 extract_expsyms_cmds \
17318 old_archive_from_new_cmds \
17319 old_archive_from_expsyms_cmds \
17320 archive_cmds \
17321 archive_expsym_cmds \
17322 module_cmds \
17323 module_expsym_cmds \
17324 export_symbols_cmds \
17325 prelink_cmds \
17326 postlink_cmds \
17327 postinstall_cmds \
17328 postuninstall_cmds \
17329 finish_cmds \
17330 sys_lib_search_path_spec \
17331 sys_lib_dlsearch_path_spec; do
17332     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17333     *[\\\\\\\`\\"\\\$]*)
17334       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17335       ;;
17336     *)
17337       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17338       ;;
17339     esac
17340 done
17341
17342 ac_aux_dir='$ac_aux_dir'
17343 xsi_shell='$xsi_shell'
17344 lt_shell_append='$lt_shell_append'
17345
17346 # See if we are running on zsh, and set the options which allow our
17347 # commands through without removal of \ escapes INIT.
17348 if test -n "\${ZSH_VERSION+set}" ; then
17349    setopt NO_GLOB_SUBST
17350 fi
17351
17352
17353     PACKAGE='$PACKAGE'
17354     VERSION='$VERSION'
17355     TIMESTAMP='$TIMESTAMP'
17356     RM='$RM'
17357     ofile='$ofile'
17358
17359
17360
17361
17362 _ACEOF
17363
17364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17365
17366 # Handling of arguments.
17367 for ac_config_target in $ac_config_targets
17368 do
17369   case $ac_config_target in
17370     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17371     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17372     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17373     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17374     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17375     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17376
17377   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17378   esac
17379 done
17380
17381
17382 # If the user did not use the arguments to specify the items to instantiate,
17383 # then the envvar interface is used.  Set only those that are not.
17384 # We use the long form for the default assignment because of an extremely
17385 # bizarre bug on SunOS 4.1.3.
17386 if $ac_need_defaults; then
17387   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17388   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17389   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17390 fi
17391
17392 # Have a temporary directory for convenience.  Make it in the build tree
17393 # simply because there is no reason against having it here, and in addition,
17394 # creating and moving files from /tmp can sometimes cause problems.
17395 # Hook for its removal unless debugging.
17396 # Note that there is a small window in which the directory will not be cleaned:
17397 # after its creation but before its name has been assigned to `$tmp'.
17398 $debug ||
17399 {
17400   tmp= ac_tmp=
17401   trap 'exit_status=$?
17402   : "${ac_tmp:=$tmp}"
17403   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17404 ' 0
17405   trap 'as_fn_exit 1' 1 2 13 15
17406 }
17407 # Create a (secure) tmp directory for tmp files.
17408
17409 {
17410   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17411   test -d "$tmp"
17412 }  ||
17413 {
17414   tmp=./conf$$-$RANDOM
17415   (umask 077 && mkdir "$tmp")
17416 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17417 ac_tmp=$tmp
17418
17419 # Set up the scripts for CONFIG_FILES section.
17420 # No need to generate them if there are no CONFIG_FILES.
17421 # This happens for instance with `./config.status config.h'.
17422 if test -n "$CONFIG_FILES"; then
17423
17424
17425 ac_cr=`echo X | tr X '\015'`
17426 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17427 # But we know of no other shell where ac_cr would be empty at this
17428 # point, so we can use a bashism as a fallback.
17429 if test "x$ac_cr" = x; then
17430   eval ac_cr=\$\'\\r\'
17431 fi
17432 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17433 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17434   ac_cs_awk_cr='\\r'
17435 else
17436   ac_cs_awk_cr=$ac_cr
17437 fi
17438
17439 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17440 _ACEOF
17441
17442
17443 {
17444   echo "cat >conf$$subs.awk <<_ACEOF" &&
17445   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17446   echo "_ACEOF"
17447 } >conf$$subs.sh ||
17448   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17449 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17450 ac_delim='%!_!# '
17451 for ac_last_try in false false false false false :; do
17452   . ./conf$$subs.sh ||
17453     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17454
17455   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17456   if test $ac_delim_n = $ac_delim_num; then
17457     break
17458   elif $ac_last_try; then
17459     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17460   else
17461     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17462   fi
17463 done
17464 rm -f conf$$subs.sh
17465
17466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17468 _ACEOF
17469 sed -n '
17470 h
17471 s/^/S["/; s/!.*/"]=/
17472 p
17473 g
17474 s/^[^!]*!//
17475 :repl
17476 t repl
17477 s/'"$ac_delim"'$//
17478 t delim
17479 :nl
17480 h
17481 s/\(.\{148\}\)..*/\1/
17482 t more1
17483 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17484 p
17485 n
17486 b repl
17487 :more1
17488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17489 p
17490 g
17491 s/.\{148\}//
17492 t nl
17493 :delim
17494 h
17495 s/\(.\{148\}\)..*/\1/
17496 t more2
17497 s/["\\]/\\&/g; s/^/"/; s/$/"/
17498 p
17499 b
17500 :more2
17501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17502 p
17503 g
17504 s/.\{148\}//
17505 t delim
17506 ' <conf$$subs.awk | sed '
17507 /^[^""]/{
17508   N
17509   s/\n//
17510 }
17511 ' >>$CONFIG_STATUS || ac_write_fail=1
17512 rm -f conf$$subs.awk
17513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17514 _ACAWK
17515 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17516   for (key in S) S_is_set[key] = 1
17517   FS = "\a"
17518
17519 }
17520 {
17521   line = $ 0
17522   nfields = split(line, field, "@")
17523   substed = 0
17524   len = length(field[1])
17525   for (i = 2; i < nfields; i++) {
17526     key = field[i]
17527     keylen = length(key)
17528     if (S_is_set[key]) {
17529       value = S[key]
17530       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17531       len += length(value) + length(field[++i])
17532       substed = 1
17533     } else
17534       len += 1 + keylen
17535   }
17536
17537   print line
17538 }
17539
17540 _ACAWK
17541 _ACEOF
17542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17543 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17544   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17545 else
17546   cat
17547 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17548   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17549 _ACEOF
17550
17551 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17552 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17553 # trailing colons and then remove the whole line if VPATH becomes empty
17554 # (actually we leave an empty line to preserve line numbers).
17555 if test "x$srcdir" = x.; then
17556   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17557 h
17558 s///
17559 s/^/:/
17560 s/[      ]*$/:/
17561 s/:\$(srcdir):/:/g
17562 s/:\${srcdir}:/:/g
17563 s/:@srcdir@:/:/g
17564 s/^:*//
17565 s/:*$//
17566 x
17567 s/\(=[   ]*\).*/\1/
17568 G
17569 s/\n//
17570 s/^[^=]*=[       ]*$//
17571 }'
17572 fi
17573
17574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17575 fi # test -n "$CONFIG_FILES"
17576
17577 # Set up the scripts for CONFIG_HEADERS section.
17578 # No need to generate them if there are no CONFIG_HEADERS.
17579 # This happens for instance with `./config.status Makefile'.
17580 if test -n "$CONFIG_HEADERS"; then
17581 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17582 BEGIN {
17583 _ACEOF
17584
17585 # Transform confdefs.h into an awk script `defines.awk', embedded as
17586 # here-document in config.status, that substitutes the proper values into
17587 # config.h.in to produce config.h.
17588
17589 # Create a delimiter string that does not exist in confdefs.h, to ease
17590 # handling of long lines.
17591 ac_delim='%!_!# '
17592 for ac_last_try in false false :; do
17593   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17594   if test -z "$ac_tt"; then
17595     break
17596   elif $ac_last_try; then
17597     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17598   else
17599     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17600   fi
17601 done
17602
17603 # For the awk script, D is an array of macro values keyed by name,
17604 # likewise P contains macro parameters if any.  Preserve backslash
17605 # newline sequences.
17606
17607 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17608 sed -n '
17609 s/.\{148\}/&'"$ac_delim"'/g
17610 t rset
17611 :rset
17612 s/^[     ]*#[    ]*define[       ][      ]*/ /
17613 t def
17614 d
17615 :def
17616 s/\\$//
17617 t bsnl
17618 s/["\\]/\\&/g
17619 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17620 D["\1"]=" \3"/p
17621 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17622 d
17623 :bsnl
17624 s/["\\]/\\&/g
17625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17626 D["\1"]=" \3\\\\\\n"\\/p
17627 t cont
17628 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17629 t cont
17630 d
17631 :cont
17632 n
17633 s/.\{148\}/&'"$ac_delim"'/g
17634 t clear
17635 :clear
17636 s/\\$//
17637 t bsnlc
17638 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17639 d
17640 :bsnlc
17641 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17642 b cont
17643 ' <confdefs.h | sed '
17644 s/'"$ac_delim"'/"\\\
17645 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17646
17647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17648   for (key in D) D_is_set[key] = 1
17649   FS = "\a"
17650 }
17651 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17652   line = \$ 0
17653   split(line, arg, " ")
17654   if (arg[1] == "#") {
17655     defundef = arg[2]
17656     mac1 = arg[3]
17657   } else {
17658     defundef = substr(arg[1], 2)
17659     mac1 = arg[2]
17660   }
17661   split(mac1, mac2, "(") #)
17662   macro = mac2[1]
17663   prefix = substr(line, 1, index(line, defundef) - 1)
17664   if (D_is_set[macro]) {
17665     # Preserve the white space surrounding the "#".
17666     print prefix "define", macro P[macro] D[macro]
17667     next
17668   } else {
17669     # Replace #undef with comments.  This is necessary, for example,
17670     # in the case of _POSIX_SOURCE, which is predefined and required
17671     # on some systems where configure will not decide to define it.
17672     if (defundef == "undef") {
17673       print "/*", prefix defundef, macro, "*/"
17674       next
17675     }
17676   }
17677 }
17678 { print }
17679 _ACAWK
17680 _ACEOF
17681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17682   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17683 fi # test -n "$CONFIG_HEADERS"
17684
17685
17686 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17687 shift
17688 for ac_tag
17689 do
17690   case $ac_tag in
17691   :[FHLC]) ac_mode=$ac_tag; continue;;
17692   esac
17693   case $ac_mode$ac_tag in
17694   :[FHL]*:*);;
17695   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17696   :[FH]-) ac_tag=-:-;;
17697   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17698   esac
17699   ac_save_IFS=$IFS
17700   IFS=:
17701   set x $ac_tag
17702   IFS=$ac_save_IFS
17703   shift
17704   ac_file=$1
17705   shift
17706
17707   case $ac_mode in
17708   :L) ac_source=$1;;
17709   :[FH])
17710     ac_file_inputs=
17711     for ac_f
17712     do
17713       case $ac_f in
17714       -) ac_f="$ac_tmp/stdin";;
17715       *) # Look for the file first in the build tree, then in the source tree
17716          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17717          # because $ac_f cannot contain `:'.
17718          test -f "$ac_f" ||
17719            case $ac_f in
17720            [\\/$]*) false;;
17721            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17722            esac ||
17723            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17724       esac
17725       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17726       as_fn_append ac_file_inputs " '$ac_f'"
17727     done
17728
17729     # Let's still pretend it is `configure' which instantiates (i.e., don't
17730     # use $as_me), people would be surprised to read:
17731     #    /* config.h.  Generated by config.status.  */
17732     configure_input='Generated from '`
17733           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17734         `' by configure.'
17735     if test x"$ac_file" != x-; then
17736       configure_input="$ac_file.  $configure_input"
17737       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17738 $as_echo "$as_me: creating $ac_file" >&6;}
17739     fi
17740     # Neutralize special characters interpreted by sed in replacement strings.
17741     case $configure_input in #(
17742     *\&* | *\|* | *\\* )
17743        ac_sed_conf_input=`$as_echo "$configure_input" |
17744        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17745     *) ac_sed_conf_input=$configure_input;;
17746     esac
17747
17748     case $ac_tag in
17749     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17750       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17751     esac
17752     ;;
17753   esac
17754
17755   ac_dir=`$as_dirname -- "$ac_file" ||
17756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17757          X"$ac_file" : 'X\(//\)[^/]' \| \
17758          X"$ac_file" : 'X\(//\)$' \| \
17759          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17760 $as_echo X"$ac_file" |
17761     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17762             s//\1/
17763             q
17764           }
17765           /^X\(\/\/\)[^/].*/{
17766             s//\1/
17767             q
17768           }
17769           /^X\(\/\/\)$/{
17770             s//\1/
17771             q
17772           }
17773           /^X\(\/\).*/{
17774             s//\1/
17775             q
17776           }
17777           s/.*/./; q'`
17778   as_dir="$ac_dir"; as_fn_mkdir_p
17779   ac_builddir=.
17780
17781 case "$ac_dir" in
17782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17783 *)
17784   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17785   # A ".." for each directory in $ac_dir_suffix.
17786   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17787   case $ac_top_builddir_sub in
17788   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17789   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17790   esac ;;
17791 esac
17792 ac_abs_top_builddir=$ac_pwd
17793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17794 # for backward compatibility:
17795 ac_top_builddir=$ac_top_build_prefix
17796
17797 case $srcdir in
17798   .)  # We are building in place.
17799     ac_srcdir=.
17800     ac_top_srcdir=$ac_top_builddir_sub
17801     ac_abs_top_srcdir=$ac_pwd ;;
17802   [\\/]* | ?:[\\/]* )  # Absolute name.
17803     ac_srcdir=$srcdir$ac_dir_suffix;
17804     ac_top_srcdir=$srcdir
17805     ac_abs_top_srcdir=$srcdir ;;
17806   *) # Relative name.
17807     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17808     ac_top_srcdir=$ac_top_build_prefix$srcdir
17809     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17810 esac
17811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17812
17813
17814   case $ac_mode in
17815   :F)
17816   #
17817   # CONFIG_FILE
17818   #
17819
17820   case $INSTALL in
17821   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17822   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17823   esac
17824   ac_MKDIR_P=$MKDIR_P
17825   case $MKDIR_P in
17826   [\\/$]* | ?:[\\/]* ) ;;
17827   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17828   esac
17829 _ACEOF
17830
17831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17832 # If the template does not know about datarootdir, expand it.
17833 # FIXME: This hack should be removed a few years after 2.60.
17834 ac_datarootdir_hack=; ac_datarootdir_seen=
17835 ac_sed_dataroot='
17836 /datarootdir/ {
17837   p
17838   q
17839 }
17840 /@datadir@/p
17841 /@docdir@/p
17842 /@infodir@/p
17843 /@localedir@/p
17844 /@mandir@/p'
17845 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17846 *datarootdir*) ac_datarootdir_seen=yes;;
17847 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17848   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17849 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17850 _ACEOF
17851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17852   ac_datarootdir_hack='
17853   s&@datadir@&$datadir&g
17854   s&@docdir@&$docdir&g
17855   s&@infodir@&$infodir&g
17856   s&@localedir@&$localedir&g
17857   s&@mandir@&$mandir&g
17858   s&\\\${datarootdir}&$datarootdir&g' ;;
17859 esac
17860 _ACEOF
17861
17862 # Neutralize VPATH when `$srcdir' = `.'.
17863 # Shell code in configure.ac might set extrasub.
17864 # FIXME: do we really want to maintain this feature?
17865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17866 ac_sed_extra="$ac_vpsub
17867 $extrasub
17868 _ACEOF
17869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17870 :t
17871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17872 s|@configure_input@|$ac_sed_conf_input|;t t
17873 s&@top_builddir@&$ac_top_builddir_sub&;t t
17874 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17875 s&@srcdir@&$ac_srcdir&;t t
17876 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17877 s&@top_srcdir@&$ac_top_srcdir&;t t
17878 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17879 s&@builddir@&$ac_builddir&;t t
17880 s&@abs_builddir@&$ac_abs_builddir&;t t
17881 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17882 s&@INSTALL@&$ac_INSTALL&;t t
17883 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17884 $ac_datarootdir_hack
17885 "
17886 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17887   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17888
17889 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17890   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17891   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17892       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17893   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17894 which seems to be undefined.  Please make sure it is defined" >&5
17895 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17896 which seems to be undefined.  Please make sure it is defined" >&2;}
17897
17898   rm -f "$ac_tmp/stdin"
17899   case $ac_file in
17900   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17901   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17902   esac \
17903   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17904  ;;
17905   :H)
17906   #
17907   # CONFIG_HEADER
17908   #
17909   if test x"$ac_file" != x-; then
17910     {
17911       $as_echo "/* $configure_input  */" \
17912       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17913     } >"$ac_tmp/config.h" \
17914       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17915     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17916       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17917 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17918     else
17919       rm -f "$ac_file"
17920       mv "$ac_tmp/config.h" "$ac_file" \
17921         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17922     fi
17923   else
17924     $as_echo "/* $configure_input  */" \
17925       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17926       || as_fn_error $? "could not create -" "$LINENO" 5
17927   fi
17928 # Compute "$ac_file"'s index in $config_headers.
17929 _am_arg="$ac_file"
17930 _am_stamp_count=1
17931 for _am_header in $config_headers :; do
17932   case $_am_header in
17933     $_am_arg | $_am_arg:* )
17934       break ;;
17935     * )
17936       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17937   esac
17938 done
17939 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17940 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17941          X"$_am_arg" : 'X\(//\)[^/]' \| \
17942          X"$_am_arg" : 'X\(//\)$' \| \
17943          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17944 $as_echo X"$_am_arg" |
17945     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17946             s//\1/
17947             q
17948           }
17949           /^X\(\/\/\)[^/].*/{
17950             s//\1/
17951             q
17952           }
17953           /^X\(\/\/\)$/{
17954             s//\1/
17955             q
17956           }
17957           /^X\(\/\).*/{
17958             s//\1/
17959             q
17960           }
17961           s/.*/./; q'`/stamp-h$_am_stamp_count
17962  ;;
17963
17964   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17965 $as_echo "$as_me: executing $ac_file commands" >&6;}
17966  ;;
17967   esac
17968
17969
17970   case $ac_file$ac_mode in
17971     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17972   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17973   # are listed without --file.  Let's play safe and only enable the eval
17974   # if we detect the quoting.
17975   case $CONFIG_FILES in
17976   *\'*) eval set x "$CONFIG_FILES" ;;
17977   *)   set x $CONFIG_FILES ;;
17978   esac
17979   shift
17980   for mf
17981   do
17982     # Strip MF so we end up with the name of the file.
17983     mf=`echo "$mf" | sed -e 's/:.*$//'`
17984     # Check whether this is an Automake generated Makefile or not.
17985     # We used to match only the files named `Makefile.in', but
17986     # some people rename them; so instead we look at the file content.
17987     # Grep'ing the first line is not enough: some people post-process
17988     # each Makefile.in and add a new line on top of each file to say so.
17989     # Grep'ing the whole file is not good either: AIX grep has a line
17990     # limit of 2048, but all sed's we know have understand at least 4000.
17991     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17992       dirpart=`$as_dirname -- "$mf" ||
17993 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17994          X"$mf" : 'X\(//\)[^/]' \| \
17995          X"$mf" : 'X\(//\)$' \| \
17996          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17997 $as_echo X"$mf" |
17998     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17999             s//\1/
18000             q
18001           }
18002           /^X\(\/\/\)[^/].*/{
18003             s//\1/
18004             q
18005           }
18006           /^X\(\/\/\)$/{
18007             s//\1/
18008             q
18009           }
18010           /^X\(\/\).*/{
18011             s//\1/
18012             q
18013           }
18014           s/.*/./; q'`
18015     else
18016       continue
18017     fi
18018     # Extract the definition of DEPDIR, am__include, and am__quote
18019     # from the Makefile without running `make'.
18020     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18021     test -z "$DEPDIR" && continue
18022     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18023     test -z "am__include" && continue
18024     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18025     # When using ansi2knr, U may be empty or an underscore; expand it
18026     U=`sed -n 's/^U = //p' < "$mf"`
18027     # Find all dependency output files, they are included files with
18028     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18029     # simplest approach to changing $(DEPDIR) to its actual value in the
18030     # expansion.
18031     for file in `sed -n "
18032       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18033          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18034       # Make sure the directory exists.
18035       test -f "$dirpart/$file" && continue
18036       fdir=`$as_dirname -- "$file" ||
18037 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18038          X"$file" : 'X\(//\)[^/]' \| \
18039          X"$file" : 'X\(//\)$' \| \
18040          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18041 $as_echo X"$file" |
18042     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18043             s//\1/
18044             q
18045           }
18046           /^X\(\/\/\)[^/].*/{
18047             s//\1/
18048             q
18049           }
18050           /^X\(\/\/\)$/{
18051             s//\1/
18052             q
18053           }
18054           /^X\(\/\).*/{
18055             s//\1/
18056             q
18057           }
18058           s/.*/./; q'`
18059       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18060       # echo "creating $dirpart/$file"
18061       echo '# dummy' > "$dirpart/$file"
18062     done
18063   done
18064 }
18065  ;;
18066     "libtool":C)
18067
18068     # See if we are running on zsh, and set the options which allow our
18069     # commands through without removal of \ escapes.
18070     if test -n "${ZSH_VERSION+set}" ; then
18071       setopt NO_GLOB_SUBST
18072     fi
18073
18074     cfgfile="${ofile}T"
18075     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18076     $RM "$cfgfile"
18077
18078     cat <<_LT_EOF >> "$cfgfile"
18079 #! $SHELL
18080
18081 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18082 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18083 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18084 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18085 #
18086 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18087 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18088 #                 Foundation, Inc.
18089 #   Written by Gordon Matzigkeit, 1996
18090 #
18091 #   This file is part of GNU Libtool.
18092 #
18093 # GNU Libtool is free software; you can redistribute it and/or
18094 # modify it under the terms of the GNU General Public License as
18095 # published by the Free Software Foundation; either version 2 of
18096 # the License, or (at your option) any later version.
18097 #
18098 # As a special exception to the GNU General Public License,
18099 # if you distribute this file as part of a program or library that
18100 # is built using GNU Libtool, you may include this file under the
18101 # same distribution terms that you use for the rest of that program.
18102 #
18103 # GNU Libtool is distributed in the hope that it will be useful,
18104 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18105 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18106 # GNU General Public License for more details.
18107 #
18108 # You should have received a copy of the GNU General Public License
18109 # along with GNU Libtool; see the file COPYING.  If not, a copy
18110 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18111 # obtained by writing to the Free Software Foundation, Inc.,
18112 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18113
18114
18115 # The names of the tagged configurations supported by this script.
18116 available_tags=""
18117
18118 # ### BEGIN LIBTOOL CONFIG
18119
18120 # Which release of libtool.m4 was used?
18121 macro_version=$macro_version
18122 macro_revision=$macro_revision
18123
18124 # Whether or not to build shared libraries.
18125 build_libtool_libs=$enable_shared
18126
18127 # Whether or not to build static libraries.
18128 build_old_libs=$enable_static
18129
18130 # What type of objects to build.
18131 pic_mode=$pic_mode
18132
18133 # Whether or not to optimize for fast installation.
18134 fast_install=$enable_fast_install
18135
18136 # Shell to use when invoking shell scripts.
18137 SHELL=$lt_SHELL
18138
18139 # An echo program that protects backslashes.
18140 ECHO=$lt_ECHO
18141
18142 # The PATH separator for the build system.
18143 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18144
18145 # The host system.
18146 host_alias=$host_alias
18147 host=$host
18148 host_os=$host_os
18149
18150 # The build system.
18151 build_alias=$build_alias
18152 build=$build
18153 build_os=$build_os
18154
18155 # A sed program that does not truncate output.
18156 SED=$lt_SED
18157
18158 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18159 Xsed="\$SED -e 1s/^X//"
18160
18161 # A grep program that handles long lines.
18162 GREP=$lt_GREP
18163
18164 # An ERE matcher.
18165 EGREP=$lt_EGREP
18166
18167 # A literal string matcher.
18168 FGREP=$lt_FGREP
18169
18170 # A BSD- or MS-compatible name lister.
18171 NM=$lt_NM
18172
18173 # Whether we need soft or hard links.
18174 LN_S=$lt_LN_S
18175
18176 # What is the maximum length of a command?
18177 max_cmd_len=$max_cmd_len
18178
18179 # Object file suffix (normally "o").
18180 objext=$ac_objext
18181
18182 # Executable file suffix (normally "").
18183 exeext=$exeext
18184
18185 # whether the shell understands "unset".
18186 lt_unset=$lt_unset
18187
18188 # turn spaces into newlines.
18189 SP2NL=$lt_lt_SP2NL
18190
18191 # turn newlines into spaces.
18192 NL2SP=$lt_lt_NL2SP
18193
18194 # convert \$build file names to \$host format.
18195 to_host_file_cmd=$lt_cv_to_host_file_cmd
18196
18197 # convert \$build files to toolchain format.
18198 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18199
18200 # An object symbol dumper.
18201 OBJDUMP=$lt_OBJDUMP
18202
18203 # Method to check whether dependent libraries are shared objects.
18204 deplibs_check_method=$lt_deplibs_check_method
18205
18206 # Command to use when deplibs_check_method = "file_magic".
18207 file_magic_cmd=$lt_file_magic_cmd
18208
18209 # How to find potential files when deplibs_check_method = "file_magic".
18210 file_magic_glob=$lt_file_magic_glob
18211
18212 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18213 want_nocaseglob=$lt_want_nocaseglob
18214
18215 # DLL creation program.
18216 DLLTOOL=$lt_DLLTOOL
18217
18218 # Command to associate shared and link libraries.
18219 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18220
18221 # The archiver.
18222 AR=$lt_AR
18223
18224 # Flags to create an archive.
18225 AR_FLAGS=$lt_AR_FLAGS
18226
18227 # How to feed a file listing to the archiver.
18228 archiver_list_spec=$lt_archiver_list_spec
18229
18230 # A symbol stripping program.
18231 STRIP=$lt_STRIP
18232
18233 # Commands used to install an old-style archive.
18234 RANLIB=$lt_RANLIB
18235 old_postinstall_cmds=$lt_old_postinstall_cmds
18236 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18237
18238 # Whether to use a lock for old archive extraction.
18239 lock_old_archive_extraction=$lock_old_archive_extraction
18240
18241 # A C compiler.
18242 LTCC=$lt_CC
18243
18244 # LTCC compiler flags.
18245 LTCFLAGS=$lt_CFLAGS
18246
18247 # Take the output of nm and produce a listing of raw symbols and C names.
18248 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18249
18250 # Transform the output of nm in a proper C declaration.
18251 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18252
18253 # Transform the output of nm in a C name address pair.
18254 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18255
18256 # Transform the output of nm in a C name address pair when lib prefix is needed.
18257 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18258
18259 # Specify filename containing input files for \$NM.
18260 nm_file_list_spec=$lt_nm_file_list_spec
18261
18262 # The root where to search for dependent libraries,and in which our libraries should be installed.
18263 lt_sysroot=$lt_sysroot
18264
18265 # The name of the directory that contains temporary libtool files.
18266 objdir=$objdir
18267
18268 # Used to examine libraries when file_magic_cmd begins with "file".
18269 MAGIC_CMD=$MAGIC_CMD
18270
18271 # Must we lock files when doing compilation?
18272 need_locks=$lt_need_locks
18273
18274 # Manifest tool.
18275 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18276
18277 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18278 DSYMUTIL=$lt_DSYMUTIL
18279
18280 # Tool to change global to local symbols on Mac OS X.
18281 NMEDIT=$lt_NMEDIT
18282
18283 # Tool to manipulate fat objects and archives on Mac OS X.
18284 LIPO=$lt_LIPO
18285
18286 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18287 OTOOL=$lt_OTOOL
18288
18289 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18290 OTOOL64=$lt_OTOOL64
18291
18292 # Old archive suffix (normally "a").
18293 libext=$libext
18294
18295 # Shared library suffix (normally ".so").
18296 shrext_cmds=$lt_shrext_cmds
18297
18298 # The commands to extract the exported symbol list from a shared archive.
18299 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18300
18301 # Variables whose values should be saved in libtool wrapper scripts and
18302 # restored at link time.
18303 variables_saved_for_relink=$lt_variables_saved_for_relink
18304
18305 # Do we need the "lib" prefix for modules?
18306 need_lib_prefix=$need_lib_prefix
18307
18308 # Do we need a version for libraries?
18309 need_version=$need_version
18310
18311 # Library versioning type.
18312 version_type=$version_type
18313
18314 # Shared library runtime path variable.
18315 runpath_var=$runpath_var
18316
18317 # Shared library path variable.
18318 shlibpath_var=$shlibpath_var
18319
18320 # Is shlibpath searched before the hard-coded library search path?
18321 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18322
18323 # Format of library name prefix.
18324 libname_spec=$lt_libname_spec
18325
18326 # List of archive names.  First name is the real one, the rest are links.
18327 # The last name is the one that the linker finds with -lNAME
18328 library_names_spec=$lt_library_names_spec
18329
18330 # The coded name of the library, if different from the real name.
18331 soname_spec=$lt_soname_spec
18332
18333 # Permission mode override for installation of shared libraries.
18334 install_override_mode=$lt_install_override_mode
18335
18336 # Command to use after installation of a shared archive.
18337 postinstall_cmds=$lt_postinstall_cmds
18338
18339 # Command to use after uninstallation of a shared archive.
18340 postuninstall_cmds=$lt_postuninstall_cmds
18341
18342 # Commands used to finish a libtool library installation in a directory.
18343 finish_cmds=$lt_finish_cmds
18344
18345 # As "finish_cmds", except a single script fragment to be evaled but
18346 # not shown.
18347 finish_eval=$lt_finish_eval
18348
18349 # Whether we should hardcode library paths into libraries.
18350 hardcode_into_libs=$hardcode_into_libs
18351
18352 # Compile-time system search path for libraries.
18353 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18354
18355 # Run-time system search path for libraries.
18356 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18357
18358 # Whether dlopen is supported.
18359 dlopen_support=$enable_dlopen
18360
18361 # Whether dlopen of programs is supported.
18362 dlopen_self=$enable_dlopen_self
18363
18364 # Whether dlopen of statically linked programs is supported.
18365 dlopen_self_static=$enable_dlopen_self_static
18366
18367 # Commands to strip libraries.
18368 old_striplib=$lt_old_striplib
18369 striplib=$lt_striplib
18370
18371
18372 # The linker used to build libraries.
18373 LD=$lt_LD
18374
18375 # How to create reloadable object files.
18376 reload_flag=$lt_reload_flag
18377 reload_cmds=$lt_reload_cmds
18378
18379 # Commands used to build an old-style archive.
18380 old_archive_cmds=$lt_old_archive_cmds
18381
18382 # A language specific compiler.
18383 CC=$lt_compiler
18384
18385 # Is the compiler the GNU compiler?
18386 with_gcc=$GCC
18387
18388 # Compiler flag to turn off builtin functions.
18389 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18390
18391 # Additional compiler flags for building library objects.
18392 pic_flag=$lt_lt_prog_compiler_pic
18393
18394 # How to pass a linker flag through the compiler.
18395 wl=$lt_lt_prog_compiler_wl
18396
18397 # Compiler flag to prevent dynamic linking.
18398 link_static_flag=$lt_lt_prog_compiler_static
18399
18400 # Does compiler simultaneously support -c and -o options?
18401 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18402
18403 # Whether or not to add -lc for building shared libraries.
18404 build_libtool_need_lc=$archive_cmds_need_lc
18405
18406 # Whether or not to disallow shared libs when runtime libs are static.
18407 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18408
18409 # Compiler flag to allow reflexive dlopens.
18410 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18411
18412 # Compiler flag to generate shared objects directly from archives.
18413 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18414
18415 # Whether the compiler copes with passing no objects directly.
18416 compiler_needs_object=$lt_compiler_needs_object
18417
18418 # Create an old-style archive from a shared archive.
18419 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18420
18421 # Create a temporary old-style archive to link instead of a shared archive.
18422 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18423
18424 # Commands used to build a shared archive.
18425 archive_cmds=$lt_archive_cmds
18426 archive_expsym_cmds=$lt_archive_expsym_cmds
18427
18428 # Commands used to build a loadable module if different from building
18429 # a shared archive.
18430 module_cmds=$lt_module_cmds
18431 module_expsym_cmds=$lt_module_expsym_cmds
18432
18433 # Whether we are building with GNU ld or not.
18434 with_gnu_ld=$lt_with_gnu_ld
18435
18436 # Flag that allows shared libraries with undefined symbols to be built.
18437 allow_undefined_flag=$lt_allow_undefined_flag
18438
18439 # Flag that enforces no undefined symbols.
18440 no_undefined_flag=$lt_no_undefined_flag
18441
18442 # Flag to hardcode \$libdir into a binary during linking.
18443 # This must work even if \$libdir does not exist
18444 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18445
18446 # Whether we need a single "-rpath" flag with a separated argument.
18447 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18448
18449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18450 # DIR into the resulting binary.
18451 hardcode_direct=$hardcode_direct
18452
18453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18454 # DIR into the resulting binary and the resulting library dependency is
18455 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18456 # library is relocated.
18457 hardcode_direct_absolute=$hardcode_direct_absolute
18458
18459 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18460 # into the resulting binary.
18461 hardcode_minus_L=$hardcode_minus_L
18462
18463 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18464 # into the resulting binary.
18465 hardcode_shlibpath_var=$hardcode_shlibpath_var
18466
18467 # Set to "yes" if building a shared library automatically hardcodes DIR
18468 # into the library and all subsequent libraries and executables linked
18469 # against it.
18470 hardcode_automatic=$hardcode_automatic
18471
18472 # Set to yes if linker adds runtime paths of dependent libraries
18473 # to runtime path list.
18474 inherit_rpath=$inherit_rpath
18475
18476 # Whether libtool must link a program against all its dependency libraries.
18477 link_all_deplibs=$link_all_deplibs
18478
18479 # Set to "yes" if exported symbols are required.
18480 always_export_symbols=$always_export_symbols
18481
18482 # The commands to list exported symbols.
18483 export_symbols_cmds=$lt_export_symbols_cmds
18484
18485 # Symbols that should not be listed in the preloaded symbols.
18486 exclude_expsyms=$lt_exclude_expsyms
18487
18488 # Symbols that must always be exported.
18489 include_expsyms=$lt_include_expsyms
18490
18491 # Commands necessary for linking programs (against libraries) with templates.
18492 prelink_cmds=$lt_prelink_cmds
18493
18494 # Commands necessary for finishing linking programs.
18495 postlink_cmds=$lt_postlink_cmds
18496
18497 # Specify filename containing input files.
18498 file_list_spec=$lt_file_list_spec
18499
18500 # How to hardcode a shared library path into an executable.
18501 hardcode_action=$hardcode_action
18502
18503 # ### END LIBTOOL CONFIG
18504
18505 _LT_EOF
18506
18507   case $host_os in
18508   aix3*)
18509     cat <<\_LT_EOF >> "$cfgfile"
18510 # AIX sometimes has problems with the GCC collect2 program.  For some
18511 # reason, if we set the COLLECT_NAMES environment variable, the problems
18512 # vanish in a puff of smoke.
18513 if test "X${COLLECT_NAMES+set}" != Xset; then
18514   COLLECT_NAMES=
18515   export COLLECT_NAMES
18516 fi
18517 _LT_EOF
18518     ;;
18519   esac
18520
18521
18522 ltmain="$ac_aux_dir/ltmain.sh"
18523
18524
18525   # We use sed instead of cat because bash on DJGPP gets confused if
18526   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18527   # text mode, it properly converts lines to CR/LF.  This bash problem
18528   # is reportedly fixed, but why not run on old versions too?
18529   sed '$q' "$ltmain" >> "$cfgfile" \
18530      || (rm -f "$cfgfile"; exit 1)
18531
18532   if test x"$xsi_shell" = xyes; then
18533   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18534 func_dirname ()\
18535 {\
18536 \    case ${1} in\
18537 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18538 \      *  ) func_dirname_result="${3}" ;;\
18539 \    esac\
18540 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18541   && mv -f "$cfgfile.tmp" "$cfgfile" \
18542     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18543 test 0 -eq $? || _lt_function_replace_fail=:
18544
18545
18546   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18547 func_basename ()\
18548 {\
18549 \    func_basename_result="${1##*/}"\
18550 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18551   && mv -f "$cfgfile.tmp" "$cfgfile" \
18552     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18553 test 0 -eq $? || _lt_function_replace_fail=:
18554
18555
18556   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18557 func_dirname_and_basename ()\
18558 {\
18559 \    case ${1} in\
18560 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18561 \      *  ) func_dirname_result="${3}" ;;\
18562 \    esac\
18563 \    func_basename_result="${1##*/}"\
18564 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18565   && mv -f "$cfgfile.tmp" "$cfgfile" \
18566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18567 test 0 -eq $? || _lt_function_replace_fail=:
18568
18569
18570   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18571 func_stripname ()\
18572 {\
18573 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18574 \    # positional parameters, so assign one to ordinary parameter first.\
18575 \    func_stripname_result=${3}\
18576 \    func_stripname_result=${func_stripname_result#"${1}"}\
18577 \    func_stripname_result=${func_stripname_result%"${2}"}\
18578 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18579   && mv -f "$cfgfile.tmp" "$cfgfile" \
18580     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18581 test 0 -eq $? || _lt_function_replace_fail=:
18582
18583
18584   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18585 func_split_long_opt ()\
18586 {\
18587 \    func_split_long_opt_name=${1%%=*}\
18588 \    func_split_long_opt_arg=${1#*=}\
18589 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18590   && mv -f "$cfgfile.tmp" "$cfgfile" \
18591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18592 test 0 -eq $? || _lt_function_replace_fail=:
18593
18594
18595   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18596 func_split_short_opt ()\
18597 {\
18598 \    func_split_short_opt_arg=${1#??}\
18599 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18600 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18601   && mv -f "$cfgfile.tmp" "$cfgfile" \
18602     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18603 test 0 -eq $? || _lt_function_replace_fail=:
18604
18605
18606   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18607 func_lo2o ()\
18608 {\
18609 \    case ${1} in\
18610 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18611 \      *)    func_lo2o_result=${1} ;;\
18612 \    esac\
18613 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18614   && mv -f "$cfgfile.tmp" "$cfgfile" \
18615     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18616 test 0 -eq $? || _lt_function_replace_fail=:
18617
18618
18619   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18620 func_xform ()\
18621 {\
18622     func_xform_result=${1%.*}.lo\
18623 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18624   && mv -f "$cfgfile.tmp" "$cfgfile" \
18625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18626 test 0 -eq $? || _lt_function_replace_fail=:
18627
18628
18629   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18630 func_arith ()\
18631 {\
18632     func_arith_result=$(( $* ))\
18633 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18634   && mv -f "$cfgfile.tmp" "$cfgfile" \
18635     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18636 test 0 -eq $? || _lt_function_replace_fail=:
18637
18638
18639   sed -e '/^func_len ()$/,/^} # func_len /c\
18640 func_len ()\
18641 {\
18642     func_len_result=${#1}\
18643 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18644   && mv -f "$cfgfile.tmp" "$cfgfile" \
18645     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18646 test 0 -eq $? || _lt_function_replace_fail=:
18647
18648 fi
18649
18650 if test x"$lt_shell_append" = xyes; then
18651   sed -e '/^func_append ()$/,/^} # func_append /c\
18652 func_append ()\
18653 {\
18654     eval "${1}+=\\${2}"\
18655 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18656   && mv -f "$cfgfile.tmp" "$cfgfile" \
18657     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18658 test 0 -eq $? || _lt_function_replace_fail=:
18659
18660
18661   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18662 func_append_quoted ()\
18663 {\
18664 \    func_quote_for_eval "${2}"\
18665 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18666 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18667   && mv -f "$cfgfile.tmp" "$cfgfile" \
18668     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18669 test 0 -eq $? || _lt_function_replace_fail=:
18670
18671
18672   # Save a `func_append' function call where possible by direct use of '+='
18673   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18674     && mv -f "$cfgfile.tmp" "$cfgfile" \
18675       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18676   test 0 -eq $? || _lt_function_replace_fail=:
18677 else
18678   # Save a `func_append' function call even when '+=' is not available
18679   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18680     && mv -f "$cfgfile.tmp" "$cfgfile" \
18681       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18682   test 0 -eq $? || _lt_function_replace_fail=:
18683 fi
18684
18685 if test x"$_lt_function_replace_fail" = x":"; then
18686   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18687 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18688 fi
18689
18690
18691    mv -f "$cfgfile" "$ofile" ||
18692     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18693   chmod +x "$ofile"
18694
18695  ;;
18696     "po/stamp-it":C)
18697     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18698        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18699     fi
18700     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18701     >"po/stamp-it.tmp"
18702     sed '/^#/d
18703          s/^[[].*] *//
18704          /^[    ]*$/d
18705         '"s|^|  $ac_top_srcdir/|" \
18706       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18707
18708     sed '/^POTFILES =/,/[^\\]$/ {
18709                 /^POTFILES =/!d
18710                 r po/POTFILES
18711           }
18712          ' "po/Makefile.in" >"po/Makefile"
18713     rm -f "po/Makefile.tmp"
18714     mv "po/stamp-it.tmp" "po/stamp-it"
18715    ;;
18716
18717   esac
18718 done # for ac_tag
18719
18720
18721 as_fn_exit 0
18722 _ACEOF
18723 ac_clean_files=$ac_clean_files_save
18724
18725 test $ac_write_fail = 0 ||
18726   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18727
18728
18729 # configure is writing to config.log, and then calls config.status.
18730 # config.status does its own redirection, appending to config.log.
18731 # Unfortunately, on DOS this fails, as config.log is still kept open
18732 # by configure, so config.status won't be able to write to it; its
18733 # output is simply discarded.  So we exec the FD to /dev/null,
18734 # effectively closing config.log, so it can be properly (re)opened and
18735 # appended to by config.status.  When coming back to configure, we
18736 # need to make the FD available again.
18737 if test "$no_create" != yes; then
18738   ac_cs_success=:
18739   ac_config_status_args=
18740   test "$silent" = yes &&
18741     ac_config_status_args="$ac_config_status_args --quiet"
18742   exec 5>/dev/null
18743   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18744   exec 5>>config.log
18745   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18746   # would make configure fail if this is the last instruction.
18747   $ac_cs_success || as_fn_exit 1
18748 fi
18749 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18750   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18751 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18752 fi
18753
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
18755         $PACKAGE_NAME $VERSION
18756
18757         Distribution:            ${with_distro}
18758         SysV compatibility:      ${SYSTEM_SYSV_COMPAT}
18759         SysV init scripts:       ${SYSTEM_SYSVINIT_PATH}
18760         SysV rc?.d directories:  ${SYSTEM_SYSVRCND_PATH}
18761         Gtk:                     ${have_gtk}
18762         libcryptsetup:           ${have_libcryptsetup}
18763         tcpwrap:                 ${have_tcpwrap}
18764         PAM:                     ${have_pam}
18765         AUDIT:                   ${have_audit}
18766         SELinux:                 ${have_selinux}
18767         XZ:                      ${have_xz}
18768         ACL:                     ${have_acl}
18769         binfmt:                  ${have_binfmt}
18770         vconsole:                ${have_vconsole}
18771         readahead:               ${have_readahead}
18772         quotacheck:              ${have_quotacheck}
18773         randomseed:              ${have_randomseed}
18774         logind:                  ${have_logind}
18775         hostnamed:               ${have_hostnamed}
18776         timedated:               ${have_timedated}
18777         localed:                 ${have_localed}
18778         coredump:                ${have_coredump}
18779         plymouth:                ${have_plymouth}
18780         prefix:                  ${prefix}
18781         rootprefix:              ${with_rootprefix}
18782         libexec dir:             ${libexecdir}
18783         lib dir:                 ${libdir}
18784         rootlib dir:             ${with_rootlibdir}
18785         PAM modules dir:         ${with_pamlibdir}
18786         udev rules dir:          ${with_udevrulesdir}
18787         D-Bus policy dir:        ${with_dbuspolicydir}
18788         D-Bus session dir:       ${with_dbussessionservicedir}
18789         D-Bus system dir:        ${with_dbussystemservicedir}
18790         D-Bus interfaces dir:    ${with_dbusinterfacedir}
18791         Split /usr:              ${enable_split_usr}
18792         Build man pages:         ${have_manpages}
18793 " >&5
18794 $as_echo "
18795         $PACKAGE_NAME $VERSION
18796
18797         Distribution:            ${with_distro}
18798         SysV compatibility:      ${SYSTEM_SYSV_COMPAT}
18799         SysV init scripts:       ${SYSTEM_SYSVINIT_PATH}
18800         SysV rc?.d directories:  ${SYSTEM_SYSVRCND_PATH}
18801         Gtk:                     ${have_gtk}
18802         libcryptsetup:           ${have_libcryptsetup}
18803         tcpwrap:                 ${have_tcpwrap}
18804         PAM:                     ${have_pam}
18805         AUDIT:                   ${have_audit}
18806         SELinux:                 ${have_selinux}
18807         XZ:                      ${have_xz}
18808         ACL:                     ${have_acl}
18809         binfmt:                  ${have_binfmt}
18810         vconsole:                ${have_vconsole}
18811         readahead:               ${have_readahead}
18812         quotacheck:              ${have_quotacheck}
18813         randomseed:              ${have_randomseed}
18814         logind:                  ${have_logind}
18815         hostnamed:               ${have_hostnamed}
18816         timedated:               ${have_timedated}
18817         localed:                 ${have_localed}
18818         coredump:                ${have_coredump}
18819         plymouth:                ${have_plymouth}
18820         prefix:                  ${prefix}
18821         rootprefix:              ${with_rootprefix}
18822         libexec dir:             ${libexecdir}
18823         lib dir:                 ${libdir}
18824         rootlib dir:             ${with_rootlibdir}
18825         PAM modules dir:         ${with_pamlibdir}
18826         udev rules dir:          ${with_udevrulesdir}
18827         D-Bus policy dir:        ${with_dbuspolicydir}
18828         D-Bus session dir:       ${with_dbussessionservicedir}
18829         D-Bus system dir:        ${with_dbussystemservicedir}
18830         D-Bus interfaces dir:    ${with_dbusinterfacedir}
18831         Split /usr:              ${enable_split_usr}
18832         Build man pages:         ${have_manpages}
18833 " >&6; }