Initial commit to Gerrit
[profile/ivi/orc.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for orc 0.4.11.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
200 fi
201 fi
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254   { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263   return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366   as_status=$?; test $as_status -eq 0 && as_status=1
367   if test "$3"; then
368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370   fi
371   $as_echo "$as_me: error: $1" >&2
372   as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
461 *)
462   ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in #(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
532
533 case X$lt_ECHO in
534 X*--fallback-echo)
535   # Remove one level of quotation (which was required for Make).
536   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537   ;;
538 esac
539
540 ECHO=${lt_ECHO-echo}
541 if test "X$1" = X--no-reexec; then
542   # Discard the --no-reexec flag, and continue.
543   shift
544 elif test "X$1" = X--fallback-echo; then
545   # Avoid inline document here, it may be left over
546   :
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548   # Yippee, $ECHO works!
549   :
550 else
551   # Restart under the correct shell.
552   exec $SHELL "$0" --no-reexec ${1+"$@"}
553 fi
554
555 if test "X$1" = X--fallback-echo; then
556   # used as fallback echo
557   shift
558   cat <<_LT_EOF
559 $*
560 _LT_EOF
561   exit 0
562 fi
563
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
565 # if CDPATH is set.
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
568 if test -z "$lt_ECHO"; then
569   if test "X${echo_test_string+set}" != Xset; then
570     # find a string as large as possible, as long as the shell can cope with it
571     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575       then
576         break
577       fi
578     done
579   fi
580
581   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583      test "X$echo_testing_string" = "X$echo_test_string"; then
584     :
585   else
586     # The Solaris, AIX, and Digital Unix default echo programs unquote
587     # backslashes.  This makes it impossible to quote backslashes using
588     #   echo "$something" | sed 's/\\/\\\\/g'
589     #
590     # So, first we look for a working echo in the user's PATH.
591
592     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593     for dir in $PATH /usr/ucb; do
594       IFS="$lt_save_ifs"
595       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598          test "X$echo_testing_string" = "X$echo_test_string"; then
599         ECHO="$dir/echo"
600         break
601       fi
602     done
603     IFS="$lt_save_ifs"
604
605     if test "X$ECHO" = Xecho; then
606       # We didn't find a better echo, so look for alternatives.
607       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609          test "X$echo_testing_string" = "X$echo_test_string"; then
610         # This shell has a builtin print -r that does the trick.
611         ECHO='print -r'
612       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613            test "X$CONFIG_SHELL" != X/bin/ksh; then
614         # If we have ksh, try running configure again with it.
615         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616         export ORIGINAL_CONFIG_SHELL
617         CONFIG_SHELL=/bin/ksh
618         export CONFIG_SHELL
619         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620       else
621         # Try using printf.
622         ECHO='printf %s\n'
623         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625            test "X$echo_testing_string" = "X$echo_test_string"; then
626           # Cool, printf works
627           :
628         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629              test "X$echo_testing_string" = 'X\t' &&
630              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631              test "X$echo_testing_string" = "X$echo_test_string"; then
632           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633           export CONFIG_SHELL
634           SHELL="$CONFIG_SHELL"
635           export SHELL
636           ECHO="$CONFIG_SHELL $0 --fallback-echo"
637         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638              test "X$echo_testing_string" = 'X\t' &&
639              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640              test "X$echo_testing_string" = "X$echo_test_string"; then
641           ECHO="$CONFIG_SHELL $0 --fallback-echo"
642         else
643           # maybe with a smaller string...
644           prev=:
645
646           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648             then
649               break
650             fi
651             prev="$cmd"
652           done
653
654           if test "$prev" != 'sed 50q "$0"'; then
655             echo_test_string=`eval $prev`
656             export echo_test_string
657             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658           else
659             # Oops.  We lost completely, so just stick with echo.
660             ECHO=echo
661           fi
662         fi
663       fi
664     fi
665   fi
666 fi
667
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
670 lt_ECHO=$ECHO
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673 fi
674
675
676
677
678 test -n "$DJDIR" || exec 7<&0 </dev/null
679 exec 6>&1
680
681 # Name of the host.
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
686 #
687 # Initializations.
688 #
689 ac_default_prefix=/usr/local
690 ac_clean_files=
691 ac_config_libobj_dir=.
692 LIBOBJS=
693 cross_compiling=no
694 subdirs=
695 MFLAGS=
696 MAKEFLAGS=
697
698 # Identity of this package.
699 PACKAGE_NAME='orc'
700 PACKAGE_TARNAME='orc'
701 PACKAGE_VERSION='0.4.11'
702 PACKAGE_STRING='orc 0.4.11'
703 PACKAGE_BUGREPORT=''
704 PACKAGE_URL=''
705
706 # Factoring default headers for most tests.
707 ac_includes_default="\
708 #include <stdio.h>
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
711 #endif
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
714 #endif
715 #ifdef STDC_HEADERS
716 # include <stdlib.h>
717 # include <stddef.h>
718 #else
719 # ifdef HAVE_STDLIB_H
720 #  include <stdlib.h>
721 # endif
722 #endif
723 #ifdef HAVE_STRING_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
725 #  include <memory.h>
726 # endif
727 # include <string.h>
728 #endif
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
731 #endif
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
734 #endif
735 #ifdef HAVE_STDINT_H
736 # include <stdint.h>
737 #endif
738 #ifdef HAVE_UNISTD_H
739 # include <unistd.h>
740 #endif"
741
742 ac_unique_file="orc/orc.h"
743 ac_header_list=
744 ac_subst_vars='am__EXEEXT_FALSE
745 am__EXEEXT_TRUE
746 LTLIBOBJS
747 LIBOBJS
748 pkgconfigdir
749 ORC_LIBS
750 ORC_CFLAGS
751 ENABLE_BACKEND_C64X_FALSE
752 ENABLE_BACKEND_C64X_TRUE
753 ENABLE_BACKEND_ARM_FALSE
754 ENABLE_BACKEND_ARM_TRUE
755 ENABLE_BACKEND_NEON_FALSE
756 ENABLE_BACKEND_NEON_TRUE
757 ENABLE_BACKEND_ALTIVEC_FALSE
758 ENABLE_BACKEND_ALTIVEC_TRUE
759 ENABLE_BACKEND_MMX_FALSE
760 ENABLE_BACKEND_MMX_TRUE
761 ENABLE_BACKEND_SSE_FALSE
762 ENABLE_BACKEND_SSE_TRUE
763 LIBRT
764 LIBM
765 HAVE_OS_LINUX_FALSE
766 HAVE_OS_LINUX_TRUE
767 HAVE_OS_WIN32_FALSE
768 HAVE_OS_WIN32_TRUE
769 HAVE_ARM_FALSE
770 HAVE_ARM_TRUE
771 HAVE_POWERPC_FALSE
772 HAVE_POWERPC_TRUE
773 HAVE_AMD64_FALSE
774 HAVE_AMD64_TRUE
775 HAVE_I386_FALSE
776 HAVE_I386_TRUE
777 GTK_DOC_USE_REBASE_FALSE
778 GTK_DOC_USE_REBASE_TRUE
779 GTK_DOC_USE_LIBTOOL_FALSE
780 GTK_DOC_USE_LIBTOOL_TRUE
781 GTK_DOC_BUILD_PDF_FALSE
782 GTK_DOC_BUILD_PDF_TRUE
783 GTK_DOC_BUILD_HTML_FALSE
784 GTK_DOC_BUILD_HTML_TRUE
785 ENABLE_GTK_DOC_FALSE
786 ENABLE_GTK_DOC_TRUE
787 PKG_CONFIG
788 HTML_DIR
789 GTKDOC_MKPDF
790 GTKDOC_REBASE
791 GTKDOC_CHECK
792 CROSS_COMPILING_FALSE
793 CROSS_COMPILING_TRUE
794 ACLOCAL_AMFLAGS
795 am__fastdepCCAS_FALSE
796 am__fastdepCCAS_TRUE
797 CCASDEPMODE
798 CCASFLAGS
799 CCAS
800 CPP
801 OTOOL64
802 OTOOL
803 LIPO
804 NMEDIT
805 DSYMUTIL
806 lt_ECHO
807 RANLIB
808 AR
809 LN_S
810 NM
811 ac_ct_DUMPBIN
812 DUMPBIN
813 LD
814 FGREP
815 EGREP
816 GREP
817 SED
818 am__fastdepCC_FALSE
819 am__fastdepCC_TRUE
820 CCDEPMODE
821 AMDEPBACKSLASH
822 AMDEP_FALSE
823 AMDEP_TRUE
824 am__quote
825 am__include
826 DEPDIR
827 OBJEXT
828 EXEEXT
829 ac_ct_CC
830 CPPFLAGS
831 LDFLAGS
832 CFLAGS
833 CC
834 LIBTOOL
835 OBJDUMP
836 DLLTOOL
837 AS
838 ORC_LIBVERSION
839 ORC_MAJORMINOR
840 am__untar
841 am__tar
842 AMTAR
843 am__leading_dot
844 SET_MAKE
845 AWK
846 mkdir_p
847 MKDIR_P
848 INSTALL_STRIP_PROGRAM
849 STRIP
850 install_sh
851 MAKEINFO
852 AUTOHEADER
853 AUTOMAKE
854 AUTOCONF
855 ACLOCAL
856 VERSION
857 PACKAGE
858 CYGPATH_W
859 am__isrc
860 INSTALL_DATA
861 INSTALL_SCRIPT
862 INSTALL_PROGRAM
863 host_os
864 host_vendor
865 host_cpu
866 host
867 build_os
868 build_vendor
869 build_cpu
870 build
871 NANO
872 target_alias
873 host_alias
874 build_alias
875 LIBS
876 ECHO_T
877 ECHO_N
878 ECHO_C
879 DEFS
880 mandir
881 localedir
882 libdir
883 psdir
884 pdfdir
885 dvidir
886 htmldir
887 infodir
888 docdir
889 oldincludedir
890 includedir
891 localstatedir
892 sharedstatedir
893 sysconfdir
894 datadir
895 datarootdir
896 libexecdir
897 sbindir
898 bindir
899 program_transform_name
900 prefix
901 exec_prefix
902 PACKAGE_URL
903 PACKAGE_BUGREPORT
904 PACKAGE_STRING
905 PACKAGE_VERSION
906 PACKAGE_TARNAME
907 PACKAGE_NAME
908 PATH_SEPARATOR
909 SHELL'
910 ac_subst_files=''
911 ac_user_opts='
912 enable_option_checking
913 enable_shared
914 enable_static
915 with_pic
916 enable_fast_install
917 enable_dependency_tracking
918 with_gnu_ld
919 enable_libtool_lock
920 with_html_dir
921 enable_gtk_doc
922 enable_gtk_doc_html
923 enable_gtk_doc_pdf
924 enable_backend
925 '
926       ac_precious_vars='build_alias
927 host_alias
928 target_alias
929 CC
930 CFLAGS
931 LDFLAGS
932 LIBS
933 CPPFLAGS
934 CPP
935 CCAS
936 CCASFLAGS
937 PKG_CONFIG'
938
939
940 # Initialize some variables set by options.
941 ac_init_help=
942 ac_init_version=false
943 ac_unrecognized_opts=
944 ac_unrecognized_sep=
945 # The variables have the same names as the options, with
946 # dashes changed to underlines.
947 cache_file=/dev/null
948 exec_prefix=NONE
949 no_create=
950 no_recursion=
951 prefix=NONE
952 program_prefix=NONE
953 program_suffix=NONE
954 program_transform_name=s,x,x,
955 silent=
956 site=
957 srcdir=
958 verbose=
959 x_includes=NONE
960 x_libraries=NONE
961
962 # Installation directory options.
963 # These are left unexpanded so users can "make install exec_prefix=/foo"
964 # and all the variables that are supposed to be based on exec_prefix
965 # by default will actually change.
966 # Use braces instead of parens because sh, perl, etc. also accept them.
967 # (The list follows the same order as the GNU Coding Standards.)
968 bindir='${exec_prefix}/bin'
969 sbindir='${exec_prefix}/sbin'
970 libexecdir='${exec_prefix}/libexec'
971 datarootdir='${prefix}/share'
972 datadir='${datarootdir}'
973 sysconfdir='${prefix}/etc'
974 sharedstatedir='${prefix}/com'
975 localstatedir='${prefix}/var'
976 includedir='${prefix}/include'
977 oldincludedir='/usr/include'
978 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
979 infodir='${datarootdir}/info'
980 htmldir='${docdir}'
981 dvidir='${docdir}'
982 pdfdir='${docdir}'
983 psdir='${docdir}'
984 libdir='${exec_prefix}/lib'
985 localedir='${datarootdir}/locale'
986 mandir='${datarootdir}/man'
987
988 ac_prev=
989 ac_dashdash=
990 for ac_option
991 do
992   # If the previous option needs an argument, assign it.
993   if test -n "$ac_prev"; then
994     eval $ac_prev=\$ac_option
995     ac_prev=
996     continue
997   fi
998
999   case $ac_option in
1000   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001   *)    ac_optarg=yes ;;
1002   esac
1003
1004   # Accept the important Cygnus configure options, so we can diagnose typos.
1005
1006   case $ac_dashdash$ac_option in
1007   --)
1008     ac_dashdash=yes ;;
1009
1010   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1011     ac_prev=bindir ;;
1012   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1013     bindir=$ac_optarg ;;
1014
1015   -build | --build | --buil | --bui | --bu)
1016     ac_prev=build_alias ;;
1017   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1018     build_alias=$ac_optarg ;;
1019
1020   -cache-file | --cache-file | --cache-fil | --cache-fi \
1021   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1022     ac_prev=cache_file ;;
1023   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1024   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1025     cache_file=$ac_optarg ;;
1026
1027   --config-cache | -C)
1028     cache_file=config.cache ;;
1029
1030   -datadir | --datadir | --datadi | --datad)
1031     ac_prev=datadir ;;
1032   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1033     datadir=$ac_optarg ;;
1034
1035   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1036   | --dataroo | --dataro | --datar)
1037     ac_prev=datarootdir ;;
1038   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1039   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1040     datarootdir=$ac_optarg ;;
1041
1042   -disable-* | --disable-*)
1043     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1044     # Reject names that are not valid shell variable names.
1045     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046       as_fn_error "invalid feature name: $ac_useropt"
1047     ac_useropt_orig=$ac_useropt
1048     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049     case $ac_user_opts in
1050       *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1054          ac_unrecognized_sep=', ';;
1055     esac
1056     eval enable_$ac_useropt=no ;;
1057
1058   -docdir | --docdir | --docdi | --doc | --do)
1059     ac_prev=docdir ;;
1060   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1061     docdir=$ac_optarg ;;
1062
1063   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064     ac_prev=dvidir ;;
1065   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1066     dvidir=$ac_optarg ;;
1067
1068   -enable-* | --enable-*)
1069     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070     # Reject names that are not valid shell variable names.
1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072       as_fn_error "invalid feature name: $ac_useropt"
1073     ac_useropt_orig=$ac_useropt
1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075     case $ac_user_opts in
1076       *"
1077 "enable_$ac_useropt"
1078 "*) ;;
1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080          ac_unrecognized_sep=', ';;
1081     esac
1082     eval enable_$ac_useropt=\$ac_optarg ;;
1083
1084   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1085   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1086   | --exec | --exe | --ex)
1087     ac_prev=exec_prefix ;;
1088   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1089   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1090   | --exec=* | --exe=* | --ex=*)
1091     exec_prefix=$ac_optarg ;;
1092
1093   -gas | --gas | --ga | --g)
1094     # Obsolete; use --with-gas.
1095     with_gas=yes ;;
1096
1097   -help | --help | --hel | --he | -h)
1098     ac_init_help=long ;;
1099   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1100     ac_init_help=recursive ;;
1101   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1102     ac_init_help=short ;;
1103
1104   -host | --host | --hos | --ho)
1105     ac_prev=host_alias ;;
1106   -host=* | --host=* | --hos=* | --ho=*)
1107     host_alias=$ac_optarg ;;
1108
1109   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110     ac_prev=htmldir ;;
1111   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112   | --ht=*)
1113     htmldir=$ac_optarg ;;
1114
1115   -includedir | --includedir | --includedi | --included | --include \
1116   | --includ | --inclu | --incl | --inc)
1117     ac_prev=includedir ;;
1118   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1119   | --includ=* | --inclu=* | --incl=* | --inc=*)
1120     includedir=$ac_optarg ;;
1121
1122   -infodir | --infodir | --infodi | --infod | --info | --inf)
1123     ac_prev=infodir ;;
1124   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1125     infodir=$ac_optarg ;;
1126
1127   -libdir | --libdir | --libdi | --libd)
1128     ac_prev=libdir ;;
1129   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1130     libdir=$ac_optarg ;;
1131
1132   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1133   | --libexe | --libex | --libe)
1134     ac_prev=libexecdir ;;
1135   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1136   | --libexe=* | --libex=* | --libe=*)
1137     libexecdir=$ac_optarg ;;
1138
1139   -localedir | --localedir | --localedi | --localed | --locale)
1140     ac_prev=localedir ;;
1141   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1142     localedir=$ac_optarg ;;
1143
1144   -localstatedir | --localstatedir | --localstatedi | --localstated \
1145   | --localstate | --localstat | --localsta | --localst | --locals)
1146     ac_prev=localstatedir ;;
1147   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1148   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1149     localstatedir=$ac_optarg ;;
1150
1151   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152     ac_prev=mandir ;;
1153   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1154     mandir=$ac_optarg ;;
1155
1156   -nfp | --nfp | --nf)
1157     # Obsolete; use --without-fp.
1158     with_fp=no ;;
1159
1160   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1161   | --no-cr | --no-c | -n)
1162     no_create=yes ;;
1163
1164   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1165   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1166     no_recursion=yes ;;
1167
1168   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1169   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1170   | --oldin | --oldi | --old | --ol | --o)
1171     ac_prev=oldincludedir ;;
1172   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1173   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1174   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1175     oldincludedir=$ac_optarg ;;
1176
1177   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178     ac_prev=prefix ;;
1179   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1180     prefix=$ac_optarg ;;
1181
1182   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1183   | --program-pre | --program-pr | --program-p)
1184     ac_prev=program_prefix ;;
1185   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1186   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1187     program_prefix=$ac_optarg ;;
1188
1189   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1190   | --program-suf | --program-su | --program-s)
1191     ac_prev=program_suffix ;;
1192   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1193   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1194     program_suffix=$ac_optarg ;;
1195
1196   -program-transform-name | --program-transform-name \
1197   | --program-transform-nam | --program-transform-na \
1198   | --program-transform-n | --program-transform- \
1199   | --program-transform | --program-transfor \
1200   | --program-transfo | --program-transf \
1201   | --program-trans | --program-tran \
1202   | --progr-tra | --program-tr | --program-t)
1203     ac_prev=program_transform_name ;;
1204   -program-transform-name=* | --program-transform-name=* \
1205   | --program-transform-nam=* | --program-transform-na=* \
1206   | --program-transform-n=* | --program-transform-=* \
1207   | --program-transform=* | --program-transfor=* \
1208   | --program-transfo=* | --program-transf=* \
1209   | --program-trans=* | --program-tran=* \
1210   | --progr-tra=* | --program-tr=* | --program-t=*)
1211     program_transform_name=$ac_optarg ;;
1212
1213   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214     ac_prev=pdfdir ;;
1215   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1216     pdfdir=$ac_optarg ;;
1217
1218   -psdir | --psdir | --psdi | --psd | --ps)
1219     ac_prev=psdir ;;
1220   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1221     psdir=$ac_optarg ;;
1222
1223   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224   | -silent | --silent | --silen | --sile | --sil)
1225     silent=yes ;;
1226
1227   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1228     ac_prev=sbindir ;;
1229   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1230   | --sbi=* | --sb=*)
1231     sbindir=$ac_optarg ;;
1232
1233   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1234   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1235   | --sharedst | --shareds | --shared | --share | --shar \
1236   | --sha | --sh)
1237     ac_prev=sharedstatedir ;;
1238   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1239   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1240   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1241   | --sha=* | --sh=*)
1242     sharedstatedir=$ac_optarg ;;
1243
1244   -site | --site | --sit)
1245     ac_prev=site ;;
1246   -site=* | --site=* | --sit=*)
1247     site=$ac_optarg ;;
1248
1249   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1250     ac_prev=srcdir ;;
1251   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1252     srcdir=$ac_optarg ;;
1253
1254   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1255   | --syscon | --sysco | --sysc | --sys | --sy)
1256     ac_prev=sysconfdir ;;
1257   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1258   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1259     sysconfdir=$ac_optarg ;;
1260
1261   -target | --target | --targe | --targ | --tar | --ta | --t)
1262     ac_prev=target_alias ;;
1263   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1264     target_alias=$ac_optarg ;;
1265
1266   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1267     verbose=yes ;;
1268
1269   -version | --version | --versio | --versi | --vers | -V)
1270     ac_init_version=: ;;
1271
1272   -with-* | --with-*)
1273     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274     # Reject names that are not valid shell variable names.
1275     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276       as_fn_error "invalid package name: $ac_useropt"
1277     ac_useropt_orig=$ac_useropt
1278     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279     case $ac_user_opts in
1280       *"
1281 "with_$ac_useropt"
1282 "*) ;;
1283       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284          ac_unrecognized_sep=', ';;
1285     esac
1286     eval with_$ac_useropt=\$ac_optarg ;;
1287
1288   -without-* | --without-*)
1289     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290     # Reject names that are not valid shell variable names.
1291     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292       as_fn_error "invalid package name: $ac_useropt"
1293     ac_useropt_orig=$ac_useropt
1294     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295     case $ac_user_opts in
1296       *"
1297 "with_$ac_useropt"
1298 "*) ;;
1299       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300          ac_unrecognized_sep=', ';;
1301     esac
1302     eval with_$ac_useropt=no ;;
1303
1304   --x)
1305     # Obsolete; use --with-x.
1306     with_x=yes ;;
1307
1308   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1309   | --x-incl | --x-inc | --x-in | --x-i)
1310     ac_prev=x_includes ;;
1311   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1312   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1313     x_includes=$ac_optarg ;;
1314
1315   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1316   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1317     ac_prev=x_libraries ;;
1318   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1319   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1320     x_libraries=$ac_optarg ;;
1321
1322   -*) as_fn_error "unrecognized option: \`$ac_option'
1323 Try \`$0 --help' for more information."
1324     ;;
1325
1326   *=*)
1327     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328     # Reject names that are not valid shell variable names.
1329     case $ac_envvar in #(
1330       '' | [0-9]* | *[!_$as_cr_alnum]* )
1331       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1332     esac
1333     eval $ac_envvar=\$ac_optarg
1334     export $ac_envvar ;;
1335
1336   *)
1337     # FIXME: should be removed in autoconf 3.0.
1338     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1340       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1342     ;;
1343
1344   esac
1345 done
1346
1347 if test -n "$ac_prev"; then
1348   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1349   as_fn_error "missing argument to $ac_option"
1350 fi
1351
1352 if test -n "$ac_unrecognized_opts"; then
1353   case $enable_option_checking in
1354     no) ;;
1355     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1356     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357   esac
1358 fi
1359
1360 # Check all directory arguments for consistency.
1361 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362                 datadir sysconfdir sharedstatedir localstatedir includedir \
1363                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364                 libdir localedir mandir
1365 do
1366   eval ac_val=\$$ac_var
1367   # Remove trailing slashes.
1368   case $ac_val in
1369     */ )
1370       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371       eval $ac_var=\$ac_val;;
1372   esac
1373   # Be sure to have absolute directory names.
1374   case $ac_val in
1375     [\\/$]* | ?:[\\/]* )  continue;;
1376     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377   esac
1378   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1379 done
1380
1381 # There might be people who depend on the old broken behavior: `$host'
1382 # used to hold the argument of --host etc.
1383 # FIXME: To remove some day.
1384 build=$build_alias
1385 host=$host_alias
1386 target=$target_alias
1387
1388 # FIXME: To remove some day.
1389 if test "x$host_alias" != x; then
1390   if test "x$build_alias" = x; then
1391     cross_compiling=maybe
1392     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393     If a cross compiler is detected then cross compile mode will be used." >&2
1394   elif test "x$build_alias" != "x$host_alias"; then
1395     cross_compiling=yes
1396   fi
1397 fi
1398
1399 ac_tool_prefix=
1400 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1401
1402 test "$silent" = yes && exec 6>/dev/null
1403
1404
1405 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1406 ac_ls_di=`ls -di .` &&
1407 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1408   as_fn_error "working directory cannot be determined"
1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1410   as_fn_error "pwd does not report name of working directory"
1411
1412
1413 # Find the source files, if location was not specified.
1414 if test -z "$srcdir"; then
1415   ac_srcdir_defaulted=yes
1416   # Try the directory containing this script, then the parent directory.
1417   ac_confdir=`$as_dirname -- "$as_myself" ||
1418 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1419          X"$as_myself" : 'X\(//\)[^/]' \| \
1420          X"$as_myself" : 'X\(//\)$' \| \
1421          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1422 $as_echo X"$as_myself" |
1423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1424             s//\1/
1425             q
1426           }
1427           /^X\(\/\/\)[^/].*/{
1428             s//\1/
1429             q
1430           }
1431           /^X\(\/\/\)$/{
1432             s//\1/
1433             q
1434           }
1435           /^X\(\/\).*/{
1436             s//\1/
1437             q
1438           }
1439           s/.*/./; q'`
1440   srcdir=$ac_confdir
1441   if test ! -r "$srcdir/$ac_unique_file"; then
1442     srcdir=..
1443   fi
1444 else
1445   ac_srcdir_defaulted=no
1446 fi
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1448   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1449   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1450 fi
1451 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1452 ac_abs_confdir=`(
1453         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1454         pwd)`
1455 # When building in place, set srcdir=.
1456 if test "$ac_abs_confdir" = "$ac_pwd"; then
1457   srcdir=.
1458 fi
1459 # Remove unnecessary trailing slashes from srcdir.
1460 # Double slashes in file names in object file debugging info
1461 # mess up M-x gdb in Emacs.
1462 case $srcdir in
1463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 esac
1465 for ac_var in $ac_precious_vars; do
1466   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1467   eval ac_env_${ac_var}_value=\$${ac_var}
1468   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1469   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1470 done
1471
1472 #
1473 # Report the --help message.
1474 #
1475 if test "$ac_init_help" = "long"; then
1476   # Omit some internal or obsolete options to make the list less imposing.
1477   # This message is too long to be a string in the A/UX 3.1 sh.
1478   cat <<_ACEOF
1479 \`configure' configures orc 0.4.11 to adapt to many kinds of systems.
1480
1481 Usage: $0 [OPTION]... [VAR=VALUE]...
1482
1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1484 VAR=VALUE.  See below for descriptions of some of the useful variables.
1485
1486 Defaults for the options are specified in brackets.
1487
1488 Configuration:
1489   -h, --help              display this help and exit
1490       --help=short        display options specific to this package
1491       --help=recursive    display the short help of all the included packages
1492   -V, --version           display version information and exit
1493   -q, --quiet, --silent   do not print \`checking...' messages
1494       --cache-file=FILE   cache test results in FILE [disabled]
1495   -C, --config-cache      alias for \`--cache-file=config.cache'
1496   -n, --no-create         do not create output files
1497       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1498
1499 Installation directories:
1500   --prefix=PREFIX         install architecture-independent files in PREFIX
1501                           [$ac_default_prefix]
1502   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1503                           [PREFIX]
1504
1505 By default, \`make install' will install all the files in
1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1508 for instance \`--prefix=\$HOME'.
1509
1510 For better control, use the options below.
1511
1512 Fine tuning of the installation directories:
1513   --bindir=DIR            user executables [EPREFIX/bin]
1514   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1515   --libexecdir=DIR        program executables [EPREFIX/libexec]
1516   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1517   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1518   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1519   --libdir=DIR            object code libraries [EPREFIX/lib]
1520   --includedir=DIR        C header files [PREFIX/include]
1521   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1522   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1523   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1524   --infodir=DIR           info documentation [DATAROOTDIR/info]
1525   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1526   --mandir=DIR            man documentation [DATAROOTDIR/man]
1527   --docdir=DIR            documentation root [DATAROOTDIR/doc/orc]
1528   --htmldir=DIR           html documentation [DOCDIR]
1529   --dvidir=DIR            dvi documentation [DOCDIR]
1530   --pdfdir=DIR            pdf documentation [DOCDIR]
1531   --psdir=DIR             ps documentation [DOCDIR]
1532 _ACEOF
1533
1534   cat <<\_ACEOF
1535
1536 Program names:
1537   --program-prefix=PREFIX            prepend PREFIX to installed program names
1538   --program-suffix=SUFFIX            append SUFFIX to installed program names
1539   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1540
1541 System types:
1542   --build=BUILD     configure for building on BUILD [guessed]
1543   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1544 _ACEOF
1545 fi
1546
1547 if test -n "$ac_init_help"; then
1548   case $ac_init_help in
1549      short | recursive ) echo "Configuration of orc 0.4.11:";;
1550    esac
1551   cat <<\_ACEOF
1552
1553 Optional Features:
1554   --disable-option-checking  ignore unrecognized --enable/--with options
1555   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1556   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1557   --enable-shared[=PKGS]  build shared libraries [default=yes]
1558   --enable-static[=PKGS]  build static libraries [default=yes]
1559   --enable-fast-install[=PKGS]
1560                           optimize for fast installation [default=yes]
1561   --disable-dependency-tracking  speeds up one-time build
1562   --enable-dependency-tracking   do not reject slow dependency extractors
1563   --disable-libtool-lock  avoid locking (might break parallel builds)
1564   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1565   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1566   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1567   --enable-backend        sse,mmx,neon,arm,all (default all)
1568
1569 Optional Packages:
1570   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1571   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1572   --with-pic              try to use only PIC/non-PIC objects [default=use
1573                           both]
1574   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1575   --with-html-dir=PATH    path to installed docs
1576
1577 Some influential environment variables:
1578   CC          C compiler command
1579   CFLAGS      C compiler flags
1580   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1581               nonstandard directory <lib dir>
1582   LIBS        libraries to pass to the linker, e.g. -l<library>
1583   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1584               you have headers in a nonstandard directory <include dir>
1585   CPP         C preprocessor
1586   CCAS        assembler compiler command (defaults to CC)
1587   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1588   PKG_CONFIG  path to pkg-config utility
1589
1590 Use these variables to override the choices made by `configure' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1592
1593 Report bugs to the package provider.
1594 _ACEOF
1595 ac_status=$?
1596 fi
1597
1598 if test "$ac_init_help" = "recursive"; then
1599   # If there are subdirs, report their specific --help.
1600   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601     test -d "$ac_dir" ||
1602       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1603       continue
1604     ac_builddir=.
1605
1606 case "$ac_dir" in
1607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 *)
1609   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1610   # A ".." for each directory in $ac_dir_suffix.
1611   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1612   case $ac_top_builddir_sub in
1613   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1615   esac ;;
1616 esac
1617 ac_abs_top_builddir=$ac_pwd
1618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619 # for backward compatibility:
1620 ac_top_builddir=$ac_top_build_prefix
1621
1622 case $srcdir in
1623   .)  # We are building in place.
1624     ac_srcdir=.
1625     ac_top_srcdir=$ac_top_builddir_sub
1626     ac_abs_top_srcdir=$ac_pwd ;;
1627   [\\/]* | ?:[\\/]* )  # Absolute name.
1628     ac_srcdir=$srcdir$ac_dir_suffix;
1629     ac_top_srcdir=$srcdir
1630     ac_abs_top_srcdir=$srcdir ;;
1631   *) # Relative name.
1632     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633     ac_top_srcdir=$ac_top_build_prefix$srcdir
1634     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635 esac
1636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637
1638     cd "$ac_dir" || { ac_status=$?; continue; }
1639     # Check for guested configure.
1640     if test -f "$ac_srcdir/configure.gnu"; then
1641       echo &&
1642       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643     elif test -f "$ac_srcdir/configure"; then
1644       echo &&
1645       $SHELL "$ac_srcdir/configure" --help=recursive
1646     else
1647       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648     fi || ac_status=$?
1649     cd "$ac_pwd" || { ac_status=$?; break; }
1650   done
1651 fi
1652
1653 test -n "$ac_init_help" && exit $ac_status
1654 if $ac_init_version; then
1655   cat <<\_ACEOF
1656 orc configure 0.4.11
1657 generated by GNU Autoconf 2.65
1658
1659 Copyright (C) 2009 Free Software Foundation, Inc.
1660 This configure script is free software; the Free Software Foundation
1661 gives unlimited permission to copy, distribute and modify it.
1662 _ACEOF
1663   exit
1664 fi
1665
1666 ## ------------------------ ##
1667 ## Autoconf initialization. ##
1668 ## ------------------------ ##
1669
1670 # ac_fn_c_try_compile LINENO
1671 # --------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile ()
1674 {
1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676   rm -f conftest.$ac_objext
1677   if { { ac_try="$ac_compile"
1678 case "(($ac_try" in
1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680   *) ac_try_echo=$ac_try;;
1681 esac
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684   (eval "$ac_compile") 2>conftest.err
1685   ac_status=$?
1686   if test -s conftest.err; then
1687     grep -v '^ *+' conftest.err >conftest.er1
1688     cat conftest.er1 >&5
1689     mv -f conftest.er1 conftest.err
1690   fi
1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692   test $ac_status = 0; } && {
1693          test -z "$ac_c_werror_flag" ||
1694          test ! -s conftest.err
1695        } && test -s conftest.$ac_objext; then :
1696   ac_retval=0
1697 else
1698   $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1700
1701         ac_retval=1
1702 fi
1703   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704   as_fn_set_status $ac_retval
1705
1706 } # ac_fn_c_try_compile
1707
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_link ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   rm -f conftest.$ac_objext conftest$ac_exeext
1715   if { { ac_try="$ac_link"
1716 case "(($ac_try" in
1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718   *) ac_try_echo=$ac_try;;
1719 esac
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722   (eval "$ac_link") 2>conftest.err
1723   ac_status=$?
1724   if test -s conftest.err; then
1725     grep -v '^ *+' conftest.err >conftest.er1
1726     cat conftest.er1 >&5
1727     mv -f conftest.er1 conftest.err
1728   fi
1729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730   test $ac_status = 0; } && {
1731          test -z "$ac_c_werror_flag" ||
1732          test ! -s conftest.err
1733        } && test -s conftest$ac_exeext && {
1734          test "$cross_compiling" = yes ||
1735          $as_test_x conftest$ac_exeext
1736        }; then :
1737   ac_retval=0
1738 else
1739   $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742         ac_retval=1
1743 fi
1744   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746   # interfere with the next link command; also delete a directory that is
1747   # left behind by Apple's compiler.  We do this before executing the actions.
1748   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750   as_fn_set_status $ac_retval
1751
1752 } # ac_fn_c_try_link
1753
1754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists and can be compiled using the include files in
1757 # INCLUDES, setting the cache variable VAR accordingly.
1758 ac_fn_c_check_header_compile ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1764   $as_echo_n "(cached) " >&6
1765 else
1766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h.  */
1768 $4
1769 #include <$2>
1770 _ACEOF
1771 if ac_fn_c_try_compile "$LINENO"; then :
1772   eval "$3=yes"
1773 else
1774   eval "$3=no"
1775 fi
1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 fi
1778 eval ac_res=\$$3
1779                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782
1783 } # ac_fn_c_check_header_compile
1784
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_cpp ()
1789 {
1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791   if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 case "(($ac_try" in
1793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794   *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799   ac_status=$?
1800   if test -s conftest.err; then
1801     grep -v '^ *+' conftest.err >conftest.er1
1802     cat conftest.er1 >&5
1803     mv -f conftest.er1 conftest.err
1804   fi
1805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806   test $ac_status = 0; } >/dev/null && {
1807          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808          test ! -s conftest.err
1809        }; then :
1810   ac_retval=0
1811 else
1812   $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1814
1815     ac_retval=1
1816 fi
1817   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818   as_fn_set_status $ac_retval
1819
1820 } # ac_fn_c_try_cpp
1821
1822 # ac_fn_c_try_run LINENO
1823 # ----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1825 # that executables *can* be run.
1826 ac_fn_c_try_run ()
1827 {
1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829   if { { ac_try="$ac_link"
1830 case "(($ac_try" in
1831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832   *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836   (eval "$ac_link") 2>&5
1837   ac_status=$?
1838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1840   { { case "(($ac_try" in
1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842   *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846   (eval "$ac_try") 2>&5
1847   ac_status=$?
1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849   test $ac_status = 0; }; }; then :
1850   ac_retval=0
1851 else
1852   $as_echo "$as_me: program exited with status $ac_status" >&5
1853        $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1855
1856        ac_retval=$ac_status
1857 fi
1858   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860   as_fn_set_status $ac_retval
1861
1862 } # ac_fn_c_try_run
1863
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func ()
1868 {
1869   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1873   $as_echo_n "(cached) " >&6
1874 else
1875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h.  */
1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1879 #define $2 innocuous_$2
1880
1881 /* System header to define __stub macros and hopefully few prototypes,
1882     which can conflict with char $2 (); below.
1883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884     <limits.h> exists even on freestanding compilers.  */
1885
1886 #ifdef __STDC__
1887 # include <limits.h>
1888 #else
1889 # include <assert.h>
1890 #endif
1891
1892 #undef $2
1893
1894 /* Override any GCC internal prototype to avoid an error.
1895    Use char because int might match the return type of a GCC
1896    builtin and then its argument prototype would still apply.  */
1897 #ifdef __cplusplus
1898 extern "C"
1899 #endif
1900 char $2 ();
1901 /* The GNU C library defines this for functions which it implements
1902     to always fail with ENOSYS.  Some functions are actually named
1903     something starting with __ and the normal name is an alias.  */
1904 #if defined __stub_$2 || defined __stub___$2
1905 choke me
1906 #endif
1907
1908 int
1909 main ()
1910 {
1911 return $2 ();
1912   ;
1913   return 0;
1914 }
1915 _ACEOF
1916 if ac_fn_c_try_link "$LINENO"; then :
1917   eval "$3=yes"
1918 else
1919   eval "$3=no"
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext \
1922     conftest$ac_exeext conftest.$ac_ext
1923 fi
1924 eval ac_res=\$$3
1925                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1928
1929 } # ac_fn_c_check_func
1930
1931 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1932 # -------------------------------------------
1933 # Tests whether TYPE exists after having included INCLUDES, setting cache
1934 # variable VAR accordingly.
1935 ac_fn_c_check_type ()
1936 {
1937   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941   $as_echo_n "(cached) " >&6
1942 else
1943   eval "$3=no"
1944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h.  */
1946 $4
1947 int
1948 main ()
1949 {
1950 if (sizeof ($2))
1951          return 0;
1952   ;
1953   return 0;
1954 }
1955 _ACEOF
1956 if ac_fn_c_try_compile "$LINENO"; then :
1957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h.  */
1959 $4
1960 int
1961 main ()
1962 {
1963 if (sizeof (($2)))
1964             return 0;
1965   ;
1966   return 0;
1967 }
1968 _ACEOF
1969 if ac_fn_c_try_compile "$LINENO"; then :
1970
1971 else
1972   eval "$3=yes"
1973 fi
1974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1977 fi
1978 eval ac_res=\$$3
1979                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1981   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1982
1983 } # ac_fn_c_check_type
1984
1985 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1986 # --------------------------------------------
1987 # Tries to find the compile-time value of EXPR in a program that includes
1988 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1989 # computed
1990 ac_fn_c_compute_int ()
1991 {
1992   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993   if test "$cross_compiling" = yes; then
1994     # Depending upon the size, compute the lo and hi bounds.
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h.  */
1997 $4
1998 int
1999 main ()
2000 {
2001 static int test_array [1 - 2 * !(($2) >= 0)];
2002 test_array [0] = 0
2003
2004   ;
2005   return 0;
2006 }
2007 _ACEOF
2008 if ac_fn_c_try_compile "$LINENO"; then :
2009   ac_lo=0 ac_mid=0
2010   while :; do
2011     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h.  */
2013 $4
2014 int
2015 main ()
2016 {
2017 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2018 test_array [0] = 0
2019
2020   ;
2021   return 0;
2022 }
2023 _ACEOF
2024 if ac_fn_c_try_compile "$LINENO"; then :
2025   ac_hi=$ac_mid; break
2026 else
2027   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2028                         if test $ac_lo -le $ac_mid; then
2029                           ac_lo= ac_hi=
2030                           break
2031                         fi
2032                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2033 fi
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035   done
2036 else
2037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h.  */
2039 $4
2040 int
2041 main ()
2042 {
2043 static int test_array [1 - 2 * !(($2) < 0)];
2044 test_array [0] = 0
2045
2046   ;
2047   return 0;
2048 }
2049 _ACEOF
2050 if ac_fn_c_try_compile "$LINENO"; then :
2051   ac_hi=-1 ac_mid=-1
2052   while :; do
2053     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h.  */
2055 $4
2056 int
2057 main ()
2058 {
2059 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2060 test_array [0] = 0
2061
2062   ;
2063   return 0;
2064 }
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067   ac_lo=$ac_mid; break
2068 else
2069   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2070                         if test $ac_mid -le $ac_hi; then
2071                           ac_lo= ac_hi=
2072                           break
2073                         fi
2074                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2075 fi
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077   done
2078 else
2079   ac_lo= ac_hi=
2080 fi
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 fi
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084 # Binary search between lo and hi bounds.
2085 while test "x$ac_lo" != "x$ac_hi"; do
2086   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h.  */
2089 $4
2090 int
2091 main ()
2092 {
2093 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2094 test_array [0] = 0
2095
2096   ;
2097   return 0;
2098 }
2099 _ACEOF
2100 if ac_fn_c_try_compile "$LINENO"; then :
2101   ac_hi=$ac_mid
2102 else
2103   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2104 fi
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 done
2107 case $ac_lo in #((
2108 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2109 '') ac_retval=1 ;;
2110 esac
2111   else
2112     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h.  */
2114 $4
2115 static long int longval () { return $2; }
2116 static unsigned long int ulongval () { return $2; }
2117 #include <stdio.h>
2118 #include <stdlib.h>
2119 int
2120 main ()
2121 {
2122
2123   FILE *f = fopen ("conftest.val", "w");
2124   if (! f)
2125     return 1;
2126   if (($2) < 0)
2127     {
2128       long int i = longval ();
2129       if (i != ($2))
2130         return 1;
2131       fprintf (f, "%ld", i);
2132     }
2133   else
2134     {
2135       unsigned long int i = ulongval ();
2136       if (i != ($2))
2137         return 1;
2138       fprintf (f, "%lu", i);
2139     }
2140   /* Do not output a trailing newline, as this causes \r\n confusion
2141      on some platforms.  */
2142   return ferror (f) || fclose (f) != 0;
2143
2144   ;
2145   return 0;
2146 }
2147 _ACEOF
2148 if ac_fn_c_try_run "$LINENO"; then :
2149   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2150 else
2151   ac_retval=1
2152 fi
2153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2154   conftest.$ac_objext conftest.beam conftest.$ac_ext
2155 rm -f conftest.val
2156
2157   fi
2158   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2159   as_fn_set_status $ac_retval
2160
2161 } # ac_fn_c_compute_int
2162
2163 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # -------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_c_check_header_mongrel ()
2169 {
2170   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175   $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181   # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_c_try_compile "$LINENO"; then :
2190   ac_header_compiler=yes
2191 else
2192   ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h.  */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_c_try_cpp "$LINENO"; then :
2206   ac_header_preproc=yes
2207 else
2208   ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So?  What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2216   yes:no: )
2217     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221     ;;
2222   no:yes:* )
2223     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2227     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2231     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233     ;;
2234 esac
2235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238   $as_echo_n "(cached) " >&6
2239 else
2240   eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_c_check_header_mongrel
2249 cat >config.log <<_ACEOF
2250 This file contains any messages produced by compilers while
2251 running configure, to aid debugging if configure makes a mistake.
2252
2253 It was created by orc $as_me 0.4.11, which was
2254 generated by GNU Autoconf 2.65.  Invocation command line was
2255
2256   $ $0 $@
2257
2258 _ACEOF
2259 exec 5>>config.log
2260 {
2261 cat <<_ASUNAME
2262 ## --------- ##
2263 ## Platform. ##
2264 ## --------- ##
2265
2266 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2267 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2268 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2269 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2270 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2271
2272 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2273 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2274
2275 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2276 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2277 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2278 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2279 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2280 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2281 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2282
2283 _ASUNAME
2284
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 for as_dir in $PATH
2287 do
2288   IFS=$as_save_IFS
2289   test -z "$as_dir" && as_dir=.
2290     $as_echo "PATH: $as_dir"
2291   done
2292 IFS=$as_save_IFS
2293
2294 } >&5
2295
2296 cat >&5 <<_ACEOF
2297
2298
2299 ## ----------- ##
2300 ## Core tests. ##
2301 ## ----------- ##
2302
2303 _ACEOF
2304
2305
2306 # Keep a trace of the command line.
2307 # Strip out --no-create and --no-recursion so they do not pile up.
2308 # Strip out --silent because we don't want to record it for future runs.
2309 # Also quote any args containing shell meta-characters.
2310 # Make two passes to allow for proper duplicate-argument suppression.
2311 ac_configure_args=
2312 ac_configure_args0=
2313 ac_configure_args1=
2314 ac_must_keep_next=false
2315 for ac_pass in 1 2
2316 do
2317   for ac_arg
2318   do
2319     case $ac_arg in
2320     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2321     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2322     | -silent | --silent | --silen | --sile | --sil)
2323       continue ;;
2324     *\'*)
2325       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2326     esac
2327     case $ac_pass in
2328     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2329     2)
2330       as_fn_append ac_configure_args1 " '$ac_arg'"
2331       if test $ac_must_keep_next = true; then
2332         ac_must_keep_next=false # Got value, back to normal.
2333       else
2334         case $ac_arg in
2335           *=* | --config-cache | -C | -disable-* | --disable-* \
2336           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2337           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2338           | -with-* | --with-* | -without-* | --without-* | --x)
2339             case "$ac_configure_args0 " in
2340               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2341             esac
2342             ;;
2343           -* ) ac_must_keep_next=true ;;
2344         esac
2345       fi
2346       as_fn_append ac_configure_args " '$ac_arg'"
2347       ;;
2348     esac
2349   done
2350 done
2351 { ac_configure_args0=; unset ac_configure_args0;}
2352 { ac_configure_args1=; unset ac_configure_args1;}
2353
2354 # When interrupted or exit'd, cleanup temporary files, and complete
2355 # config.log.  We remove comments because anyway the quotes in there
2356 # would cause problems or look ugly.
2357 # WARNING: Use '\'' to represent an apostrophe within the trap.
2358 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2359 trap 'exit_status=$?
2360   # Save into config.log some information that might help in debugging.
2361   {
2362     echo
2363
2364     cat <<\_ASBOX
2365 ## ---------------- ##
2366 ## Cache variables. ##
2367 ## ---------------- ##
2368 _ASBOX
2369     echo
2370     # The following way of writing the cache mishandles newlines in values,
2371 (
2372   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2373     eval ac_val=\$$ac_var
2374     case $ac_val in #(
2375     *${as_nl}*)
2376       case $ac_var in #(
2377       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2378 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2379       esac
2380       case $ac_var in #(
2381       _ | IFS | as_nl) ;; #(
2382       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2383       *) { eval $ac_var=; unset $ac_var;} ;;
2384       esac ;;
2385     esac
2386   done
2387   (set) 2>&1 |
2388     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2389     *${as_nl}ac_space=\ *)
2390       sed -n \
2391         "s/'\''/'\''\\\\'\'''\''/g;
2392           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2393       ;; #(
2394     *)
2395       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2396       ;;
2397     esac |
2398     sort
2399 )
2400     echo
2401
2402     cat <<\_ASBOX
2403 ## ----------------- ##
2404 ## Output variables. ##
2405 ## ----------------- ##
2406 _ASBOX
2407     echo
2408     for ac_var in $ac_subst_vars
2409     do
2410       eval ac_val=\$$ac_var
2411       case $ac_val in
2412       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2413       esac
2414       $as_echo "$ac_var='\''$ac_val'\''"
2415     done | sort
2416     echo
2417
2418     if test -n "$ac_subst_files"; then
2419       cat <<\_ASBOX
2420 ## ------------------- ##
2421 ## File substitutions. ##
2422 ## ------------------- ##
2423 _ASBOX
2424       echo
2425       for ac_var in $ac_subst_files
2426       do
2427         eval ac_val=\$$ac_var
2428         case $ac_val in
2429         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2430         esac
2431         $as_echo "$ac_var='\''$ac_val'\''"
2432       done | sort
2433       echo
2434     fi
2435
2436     if test -s confdefs.h; then
2437       cat <<\_ASBOX
2438 ## ----------- ##
2439 ## confdefs.h. ##
2440 ## ----------- ##
2441 _ASBOX
2442       echo
2443       cat confdefs.h
2444       echo
2445     fi
2446     test "$ac_signal" != 0 &&
2447       $as_echo "$as_me: caught signal $ac_signal"
2448     $as_echo "$as_me: exit $exit_status"
2449   } >&5
2450   rm -f core *.core core.conftest.* &&
2451     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2452     exit $exit_status
2453 ' 0
2454 for ac_signal in 1 2 13 15; do
2455   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2456 done
2457 ac_signal=0
2458
2459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2460 rm -f -r conftest* confdefs.h
2461
2462 $as_echo "/* confdefs.h */" > confdefs.h
2463
2464 # Predefined preprocessor variables.
2465
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_NAME "$PACKAGE_NAME"
2468 _ACEOF
2469
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2472 _ACEOF
2473
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2476 _ACEOF
2477
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_STRING "$PACKAGE_STRING"
2480 _ACEOF
2481
2482 cat >>confdefs.h <<_ACEOF
2483 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2484 _ACEOF
2485
2486 cat >>confdefs.h <<_ACEOF
2487 #define PACKAGE_URL "$PACKAGE_URL"
2488 _ACEOF
2489
2490
2491 # Let the site file select an alternate cache file if it wants to.
2492 # Prefer an explicitly selected file to automatically selected ones.
2493 ac_site_file1=NONE
2494 ac_site_file2=NONE
2495 if test -n "$CONFIG_SITE"; then
2496   ac_site_file1=$CONFIG_SITE
2497 elif test "x$prefix" != xNONE; then
2498   ac_site_file1=$prefix/share/config.site
2499   ac_site_file2=$prefix/etc/config.site
2500 else
2501   ac_site_file1=$ac_default_prefix/share/config.site
2502   ac_site_file2=$ac_default_prefix/etc/config.site
2503 fi
2504 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2505 do
2506   test "x$ac_site_file" = xNONE && continue
2507   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2508     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2509 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2510     sed 's/^/| /' "$ac_site_file" >&5
2511     . "$ac_site_file"
2512   fi
2513 done
2514
2515 if test -r "$cache_file"; then
2516   # Some versions of bash will fail to source /dev/null (special files
2517   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2518   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2519     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2520 $as_echo "$as_me: loading cache $cache_file" >&6;}
2521     case $cache_file in
2522       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2523       *)                      . "./$cache_file";;
2524     esac
2525   fi
2526 else
2527   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2528 $as_echo "$as_me: creating cache $cache_file" >&6;}
2529   >$cache_file
2530 fi
2531
2532 as_fn_append ac_header_list " stdlib.h"
2533 as_fn_append ac_header_list " unistd.h"
2534 as_fn_append ac_header_list " sys/param.h"
2535 # Check that the precious variables saved in the cache have kept the same
2536 # value.
2537 ac_cache_corrupted=false
2538 for ac_var in $ac_precious_vars; do
2539   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2540   eval ac_new_set=\$ac_env_${ac_var}_set
2541   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2542   eval ac_new_val=\$ac_env_${ac_var}_value
2543   case $ac_old_set,$ac_new_set in
2544     set,)
2545       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547       ac_cache_corrupted=: ;;
2548     ,set)
2549       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551       ac_cache_corrupted=: ;;
2552     ,);;
2553     *)
2554       if test "x$ac_old_val" != "x$ac_new_val"; then
2555         # differences in whitespace do not lead to failure.
2556         ac_old_val_w=`echo x $ac_old_val`
2557         ac_new_val_w=`echo x $ac_new_val`
2558         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2559           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561           ac_cache_corrupted=:
2562         else
2563           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565           eval $ac_var=\$ac_old_val
2566         fi
2567         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2568 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2569         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2570 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2571       fi;;
2572   esac
2573   # Pass precious variables to config.status.
2574   if test "$ac_new_set" = set; then
2575     case $ac_new_val in
2576     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2577     *) ac_arg=$ac_var=$ac_new_val ;;
2578     esac
2579     case " $ac_configure_args " in
2580       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2581       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2582     esac
2583   fi
2584 done
2585 if $ac_cache_corrupted; then
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2590   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2591 fi
2592 ## -------------------- ##
2593 ## Main body of script. ##
2594 ## -------------------- ##
2595
2596 ac_ext=c
2597 ac_cpp='$CPP $CPPFLAGS'
2598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2601
2602
2603
2604
2605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
2606 $as_echo_n "checking nano version... " >&6; }
2607
2608   NANO=$(echo 0.4.11 | sed 's/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//')
2609
2610
2611   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
2613 $as_echo "0 (release)" >&6; }
2614     NANO=0
2615     ORC_CVS=no
2616   else
2617     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
2618 $as_echo "$NANO" >&6; }
2619     ORC_CVS=yes
2620   fi
2621
2622
2623 ac_aux_dir=
2624 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2625   for ac_t in install-sh install.sh shtool; do
2626     if test -f "$ac_dir/$ac_t"; then
2627       ac_aux_dir=$ac_dir
2628       ac_install_sh="$ac_aux_dir/$ac_t -c"
2629       break 2
2630     fi
2631   done
2632 done
2633 if test -z "$ac_aux_dir"; then
2634   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2635 fi
2636
2637 # These three variables are undocumented and unsupported,
2638 # and are intended to be withdrawn in a future Autoconf release.
2639 # They can cause serious problems if a builder's source tree is in a directory
2640 # whose full name contains unusual characters.
2641 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2642 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2643 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2644
2645
2646 # Make sure we can run config.sub.
2647 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2648   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2649
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2651 $as_echo_n "checking build system type... " >&6; }
2652 if test "${ac_cv_build+set}" = set; then :
2653   $as_echo_n "(cached) " >&6
2654 else
2655   ac_build_alias=$build_alias
2656 test "x$ac_build_alias" = x &&
2657   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2658 test "x$ac_build_alias" = x &&
2659   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2660 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2661   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2662
2663 fi
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2665 $as_echo "$ac_cv_build" >&6; }
2666 case $ac_cv_build in
2667 *-*-*) ;;
2668 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2669 esac
2670 build=$ac_cv_build
2671 ac_save_IFS=$IFS; IFS='-'
2672 set x $ac_cv_build
2673 shift
2674 build_cpu=$1
2675 build_vendor=$2
2676 shift; shift
2677 # Remember, the first character of IFS is used to create $*,
2678 # except with old shells:
2679 build_os=$*
2680 IFS=$ac_save_IFS
2681 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2682
2683
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2685 $as_echo_n "checking host system type... " >&6; }
2686 if test "${ac_cv_host+set}" = set; then :
2687   $as_echo_n "(cached) " >&6
2688 else
2689   if test "x$host_alias" = x; then
2690   ac_cv_host=$ac_cv_build
2691 else
2692   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2693     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2694 fi
2695
2696 fi
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2698 $as_echo "$ac_cv_host" >&6; }
2699 case $ac_cv_host in
2700 *-*-*) ;;
2701 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2702 esac
2703 host=$ac_cv_host
2704 ac_save_IFS=$IFS; IFS='-'
2705 set x $ac_cv_host
2706 shift
2707 host_cpu=$1
2708 host_vendor=$2
2709 shift; shift
2710 # Remember, the first character of IFS is used to create $*,
2711 # except with old shells:
2712 host_os=$*
2713 IFS=$ac_save_IFS
2714 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2715
2716
2717 am__api_version='1.11'
2718
2719 # Find a good install program.  We prefer a C program (faster),
2720 # so one script is as good as another.  But avoid the broken or
2721 # incompatible versions:
2722 # SysV /etc/install, /usr/sbin/install
2723 # SunOS /usr/etc/install
2724 # IRIX /sbin/install
2725 # AIX /bin/install
2726 # AmigaOS /C/install, which installs bootblocks on floppy discs
2727 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2728 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2729 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2730 # OS/2's system install, which has a completely different semantic
2731 # ./install, which can be erroneously created by make from ./install.sh.
2732 # Reject install programs that cannot install multiple files.
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2734 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2735 if test -z "$INSTALL"; then
2736 if test "${ac_cv_path_install+set}" = set; then :
2737   $as_echo_n "(cached) " >&6
2738 else
2739   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH
2741 do
2742   IFS=$as_save_IFS
2743   test -z "$as_dir" && as_dir=.
2744     # Account for people who put trailing slashes in PATH elements.
2745 case $as_dir/ in #((
2746   ./ | .// | /[cC]/* | \
2747   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2748   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2749   /usr/ucb/* ) ;;
2750   *)
2751     # OSF1 and SCO ODT 3.0 have their own names for install.
2752     # Don't use installbsd from OSF since it installs stuff as root
2753     # by default.
2754     for ac_prog in ginstall scoinst install; do
2755       for ac_exec_ext in '' $ac_executable_extensions; do
2756         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2757           if test $ac_prog = install &&
2758             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2759             # AIX install.  It has an incompatible calling convention.
2760             :
2761           elif test $ac_prog = install &&
2762             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2763             # program-specific install script used by HP pwplus--don't use.
2764             :
2765           else
2766             rm -rf conftest.one conftest.two conftest.dir
2767             echo one > conftest.one
2768             echo two > conftest.two
2769             mkdir conftest.dir
2770             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2771               test -s conftest.one && test -s conftest.two &&
2772               test -s conftest.dir/conftest.one &&
2773               test -s conftest.dir/conftest.two
2774             then
2775               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2776               break 3
2777             fi
2778           fi
2779         fi
2780       done
2781     done
2782     ;;
2783 esac
2784
2785   done
2786 IFS=$as_save_IFS
2787
2788 rm -rf conftest.one conftest.two conftest.dir
2789
2790 fi
2791   if test "${ac_cv_path_install+set}" = set; then
2792     INSTALL=$ac_cv_path_install
2793   else
2794     # As a last resort, use the slow shell script.  Don't cache a
2795     # value for INSTALL within a source directory, because that will
2796     # break other packages using the cache if that directory is
2797     # removed, or if the value is a relative name.
2798     INSTALL=$ac_install_sh
2799   fi
2800 fi
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2802 $as_echo "$INSTALL" >&6; }
2803
2804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2805 # It thinks the first close brace ends the variable substitution.
2806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2807
2808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2809
2810 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2811
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2813 $as_echo_n "checking whether build environment is sane... " >&6; }
2814 # Just in case
2815 sleep 1
2816 echo timestamp > conftest.file
2817 # Reject unsafe characters in $srcdir or the absolute working directory
2818 # name.  Accept space and tab only in the latter.
2819 am_lf='
2820 '
2821 case `pwd` in
2822   *[\\\"\#\$\&\'\`$am_lf]*)
2823     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2824 esac
2825 case $srcdir in
2826   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2827     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2828 esac
2829
2830 # Do `set' in a subshell so we don't clobber the current shell's
2831 # arguments.  Must try -L first in case configure is actually a
2832 # symlink; some systems play weird games with the mod time of symlinks
2833 # (eg FreeBSD returns the mod time of the symlink's containing
2834 # directory).
2835 if (
2836    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2837    if test "$*" = "X"; then
2838       # -L didn't work.
2839       set X `ls -t "$srcdir/configure" conftest.file`
2840    fi
2841    rm -f conftest.file
2842    if test "$*" != "X $srcdir/configure conftest.file" \
2843       && test "$*" != "X conftest.file $srcdir/configure"; then
2844
2845       # If neither matched, then we have a broken ls.  This can happen
2846       # if, for instance, CONFIG_SHELL is bash and it inherits a
2847       # broken ls alias from the environment.  This has actually
2848       # happened.  Such a system could not be considered "sane".
2849       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2850 alias in your environment" "$LINENO" 5
2851    fi
2852
2853    test "$2" = conftest.file
2854    )
2855 then
2856    # Ok.
2857    :
2858 else
2859    as_fn_error "newly created file is older than distributed files!
2860 Check your system clock" "$LINENO" 5
2861 fi
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2863 $as_echo "yes" >&6; }
2864 test "$program_prefix" != NONE &&
2865   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2866 # Use a double $ so make ignores it.
2867 test "$program_suffix" != NONE &&
2868   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2869 # Double any \ or $.
2870 # By default was `s,x,x', remove it if useless.
2871 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2872 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2873
2874 # expand $ac_aux_dir to an absolute path
2875 am_aux_dir=`cd $ac_aux_dir && pwd`
2876
2877 if test x"${MISSING+set}" != xset; then
2878   case $am_aux_dir in
2879   *\ * | *\     *)
2880     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2881   *)
2882     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2883   esac
2884 fi
2885 # Use eval to expand $SHELL
2886 if eval "$MISSING --run true"; then
2887   am_missing_run="$MISSING --run "
2888 else
2889   am_missing_run=
2890   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2891 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2892 fi
2893
2894 if test x"${install_sh}" != xset; then
2895   case $am_aux_dir in
2896   *\ * | *\     *)
2897     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2898   *)
2899     install_sh="\${SHELL} $am_aux_dir/install-sh"
2900   esac
2901 fi
2902
2903 # Installed binaries are usually stripped using `strip' when the user
2904 # run `make install-strip'.  However `strip' might not be the right
2905 # tool to use in cross-compilation environments, therefore Automake
2906 # will honor the `STRIP' environment variable to overrule this program.
2907 if test "$cross_compiling" != no; then
2908   if test -n "$ac_tool_prefix"; then
2909   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}strip; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_STRIP+set}" = set; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   if test -n "$STRIP"; then
2917   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_exec_ext in '' $ac_executable_extensions; do
2925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928     break 2
2929   fi
2930 done
2931   done
2932 IFS=$as_save_IFS
2933
2934 fi
2935 fi
2936 STRIP=$ac_cv_prog_STRIP
2937 if test -n "$STRIP"; then
2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2939 $as_echo "$STRIP" >&6; }
2940 else
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 fi
2944
2945
2946 fi
2947 if test -z "$ac_cv_prog_STRIP"; then
2948   ac_ct_STRIP=$STRIP
2949   # Extract the first word of "strip", so it can be a program name with args.
2950 set dummy strip; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   if test -n "$ac_ct_STRIP"; then
2957   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2958 else
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960 for as_dir in $PATH
2961 do
2962   IFS=$as_save_IFS
2963   test -z "$as_dir" && as_dir=.
2964     for ac_exec_ext in '' $ac_executable_extensions; do
2965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966     ac_cv_prog_ac_ct_STRIP="strip"
2967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968     break 2
2969   fi
2970 done
2971   done
2972 IFS=$as_save_IFS
2973
2974 fi
2975 fi
2976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2977 if test -n "$ac_ct_STRIP"; then
2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2979 $as_echo "$ac_ct_STRIP" >&6; }
2980 else
2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2983 fi
2984
2985   if test "x$ac_ct_STRIP" = x; then
2986     STRIP=":"
2987   else
2988     case $cross_compiling:$ac_tool_warned in
2989 yes:)
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned=yes ;;
2993 esac
2994     STRIP=$ac_ct_STRIP
2995   fi
2996 else
2997   STRIP="$ac_cv_prog_STRIP"
2998 fi
2999
3000 fi
3001 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3002
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3004 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3005 if test -z "$MKDIR_P"; then
3006   if test "${ac_cv_path_mkdir+set}" = set; then :
3007   $as_echo_n "(cached) " >&6
3008 else
3009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3011 do
3012   IFS=$as_save_IFS
3013   test -z "$as_dir" && as_dir=.
3014     for ac_prog in mkdir gmkdir; do
3015          for ac_exec_ext in '' $ac_executable_extensions; do
3016            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3017            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3018              'mkdir (GNU coreutils) '* | \
3019              'mkdir (coreutils) '* | \
3020              'mkdir (fileutils) '4.1*)
3021                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3022                break 3;;
3023            esac
3024          done
3025        done
3026   done
3027 IFS=$as_save_IFS
3028
3029 fi
3030
3031   test -d ./--version && rmdir ./--version
3032   if test "${ac_cv_path_mkdir+set}" = set; then
3033     MKDIR_P="$ac_cv_path_mkdir -p"
3034   else
3035     # As a last resort, use the slow shell script.  Don't cache a
3036     # value for MKDIR_P within a source directory, because that will
3037     # break other packages using the cache if that directory is
3038     # removed, or if the value is a relative name.
3039     MKDIR_P="$ac_install_sh -d"
3040   fi
3041 fi
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3043 $as_echo "$MKDIR_P" >&6; }
3044
3045 mkdir_p="$MKDIR_P"
3046 case $mkdir_p in
3047   [\\/$]* | ?:[\\/]*) ;;
3048   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3049 esac
3050
3051 for ac_prog in gawk mawk nawk awk
3052 do
3053   # Extract the first word of "$ac_prog", so it can be a program name with args.
3054 set dummy $ac_prog; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_AWK+set}" = set; then :
3058   $as_echo_n "(cached) " >&6
3059 else
3060   if test -n "$AWK"; then
3061   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3062 else
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3065 do
3066   IFS=$as_save_IFS
3067   test -z "$as_dir" && as_dir=.
3068     for ac_exec_ext in '' $ac_executable_extensions; do
3069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070     ac_cv_prog_AWK="$ac_prog"
3071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072     break 2
3073   fi
3074 done
3075   done
3076 IFS=$as_save_IFS
3077
3078 fi
3079 fi
3080 AWK=$ac_cv_prog_AWK
3081 if test -n "$AWK"; then
3082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3083 $as_echo "$AWK" >&6; }
3084 else
3085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3087 fi
3088
3089
3090   test -n "$AWK" && break
3091 done
3092
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3094 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3095 set x ${MAKE-make}
3096 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3097 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3098   $as_echo_n "(cached) " >&6
3099 else
3100   cat >conftest.make <<\_ACEOF
3101 SHELL = /bin/sh
3102 all:
3103         @echo '@@@%%%=$(MAKE)=@@@%%%'
3104 _ACEOF
3105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3106 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3107   *@@@%%%=?*=@@@%%%*)
3108     eval ac_cv_prog_make_${ac_make}_set=yes;;
3109   *)
3110     eval ac_cv_prog_make_${ac_make}_set=no;;
3111 esac
3112 rm -f conftest.make
3113 fi
3114 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3116 $as_echo "yes" >&6; }
3117   SET_MAKE=
3118 else
3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3121   SET_MAKE="MAKE=${MAKE-make}"
3122 fi
3123
3124 rm -rf .tst 2>/dev/null
3125 mkdir .tst 2>/dev/null
3126 if test -d .tst; then
3127   am__leading_dot=.
3128 else
3129   am__leading_dot=_
3130 fi
3131 rmdir .tst 2>/dev/null
3132
3133 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3134   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3135   # is not polluted with repeated "-I."
3136   am__isrc=' -I$(srcdir)'
3137   # test to see if srcdir already configured
3138   if test -f $srcdir/config.status; then
3139     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3140   fi
3141 fi
3142
3143 # test whether we have cygpath
3144 if test -z "$CYGPATH_W"; then
3145   if (cygpath --version) >/dev/null 2>/dev/null; then
3146     CYGPATH_W='cygpath -w'
3147   else
3148     CYGPATH_W=echo
3149   fi
3150 fi
3151
3152
3153 # Define the identity of the package.
3154  PACKAGE='orc'
3155  VERSION='0.4.11'
3156
3157
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE "$PACKAGE"
3160 _ACEOF
3161
3162
3163 cat >>confdefs.h <<_ACEOF
3164 #define VERSION "$VERSION"
3165 _ACEOF
3166
3167 # Some tools Automake needs.
3168
3169 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3170
3171
3172 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3173
3174
3175 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3176
3177
3178 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3179
3180
3181 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3182
3183 # We need awk for the "check" target.  The system "awk" is bad on
3184 # some platforms.
3185 # Always define AMTAR for backward compatibility.
3186
3187 AMTAR=${AMTAR-"${am_missing_run}tar"}
3188
3189 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3190
3191
3192
3193
3194
3195
3196 ORC_MAJORMINOR=0.4
3197
3198
3199 ac_config_headers="$ac_config_headers config.h"
3200
3201
3202 ORC_LIBVERSION="11:0:11"
3203
3204 enable_win32_dll=yes
3205
3206 case $host in
3207 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3208   if test -n "$ac_tool_prefix"; then
3209   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3210 set dummy ${ac_tool_prefix}as; ac_word=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if test "${ac_cv_prog_AS+set}" = set; then :
3214   $as_echo_n "(cached) " >&6
3215 else
3216   if test -n "$AS"; then
3217   ac_cv_prog_AS="$AS" # Let the user override the test.
3218 else
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 for as_dir in $PATH
3221 do
3222   IFS=$as_save_IFS
3223   test -z "$as_dir" && as_dir=.
3224     for ac_exec_ext in '' $ac_executable_extensions; do
3225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3226     ac_cv_prog_AS="${ac_tool_prefix}as"
3227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228     break 2
3229   fi
3230 done
3231   done
3232 IFS=$as_save_IFS
3233
3234 fi
3235 fi
3236 AS=$ac_cv_prog_AS
3237 if test -n "$AS"; then
3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3239 $as_echo "$AS" >&6; }
3240 else
3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 fi
3244
3245
3246 fi
3247 if test -z "$ac_cv_prog_AS"; then
3248   ac_ct_AS=$AS
3249   # Extract the first word of "as", so it can be a program name with args.
3250 set dummy as; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3254   $as_echo_n "(cached) " >&6
3255 else
3256   if test -n "$ac_ct_AS"; then
3257   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262   IFS=$as_save_IFS
3263   test -z "$as_dir" && as_dir=.
3264     for ac_exec_ext in '' $ac_executable_extensions; do
3265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266     ac_cv_prog_ac_ct_AS="as"
3267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268     break 2
3269   fi
3270 done
3271   done
3272 IFS=$as_save_IFS
3273
3274 fi
3275 fi
3276 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3277 if test -n "$ac_ct_AS"; then
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3279 $as_echo "$ac_ct_AS" >&6; }
3280 else
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 fi
3284
3285   if test "x$ac_ct_AS" = x; then
3286     AS="false"
3287   else
3288     case $cross_compiling:$ac_tool_warned in
3289 yes:)
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3292 ac_tool_warned=yes ;;
3293 esac
3294     AS=$ac_ct_AS
3295   fi
3296 else
3297   AS="$ac_cv_prog_AS"
3298 fi
3299
3300   if test -n "$ac_tool_prefix"; then
3301   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3302 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3306   $as_echo_n "(cached) " >&6
3307 else
3308   if test -n "$DLLTOOL"; then
3309   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3310 else
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 for as_dir in $PATH
3313 do
3314   IFS=$as_save_IFS
3315   test -z "$as_dir" && as_dir=.
3316     for ac_exec_ext in '' $ac_executable_extensions; do
3317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320     break 2
3321   fi
3322 done
3323   done
3324 IFS=$as_save_IFS
3325
3326 fi
3327 fi
3328 DLLTOOL=$ac_cv_prog_DLLTOOL
3329 if test -n "$DLLTOOL"; then
3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3331 $as_echo "$DLLTOOL" >&6; }
3332 else
3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 fi
3336
3337
3338 fi
3339 if test -z "$ac_cv_prog_DLLTOOL"; then
3340   ac_ct_DLLTOOL=$DLLTOOL
3341   # Extract the first word of "dlltool", so it can be a program name with args.
3342 set dummy dlltool; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3346   $as_echo_n "(cached) " >&6
3347 else
3348   if test -n "$ac_ct_DLLTOOL"; then
3349   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354   IFS=$as_save_IFS
3355   test -z "$as_dir" && as_dir=.
3356     for ac_exec_ext in '' $ac_executable_extensions; do
3357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360     break 2
3361   fi
3362 done
3363   done
3364 IFS=$as_save_IFS
3365
3366 fi
3367 fi
3368 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3369 if test -n "$ac_ct_DLLTOOL"; then
3370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3371 $as_echo "$ac_ct_DLLTOOL" >&6; }
3372 else
3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 fi
3376
3377   if test "x$ac_ct_DLLTOOL" = x; then
3378     DLLTOOL="false"
3379   else
3380     case $cross_compiling:$ac_tool_warned in
3381 yes:)
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3384 ac_tool_warned=yes ;;
3385 esac
3386     DLLTOOL=$ac_ct_DLLTOOL
3387   fi
3388 else
3389   DLLTOOL="$ac_cv_prog_DLLTOOL"
3390 fi
3391
3392   if test -n "$ac_tool_prefix"; then
3393   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3394 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3398   $as_echo_n "(cached) " >&6
3399 else
3400   if test -n "$OBJDUMP"; then
3401   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406   IFS=$as_save_IFS
3407   test -z "$as_dir" && as_dir=.
3408     for ac_exec_ext in '' $ac_executable_extensions; do
3409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412     break 2
3413   fi
3414 done
3415   done
3416 IFS=$as_save_IFS
3417
3418 fi
3419 fi
3420 OBJDUMP=$ac_cv_prog_OBJDUMP
3421 if test -n "$OBJDUMP"; then
3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3423 $as_echo "$OBJDUMP" >&6; }
3424 else
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 fi
3428
3429
3430 fi
3431 if test -z "$ac_cv_prog_OBJDUMP"; then
3432   ac_ct_OBJDUMP=$OBJDUMP
3433   # Extract the first word of "objdump", so it can be a program name with args.
3434 set dummy objdump; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3438   $as_echo_n "(cached) " >&6
3439 else
3440   if test -n "$ac_ct_OBJDUMP"; then
3441   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3445 do
3446   IFS=$as_save_IFS
3447   test -z "$as_dir" && as_dir=.
3448     for ac_exec_ext in '' $ac_executable_extensions; do
3449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3450     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452     break 2
3453   fi
3454 done
3455   done
3456 IFS=$as_save_IFS
3457
3458 fi
3459 fi
3460 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3461 if test -n "$ac_ct_OBJDUMP"; then
3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3463 $as_echo "$ac_ct_OBJDUMP" >&6; }
3464 else
3465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3467 fi
3468
3469   if test "x$ac_ct_OBJDUMP" = x; then
3470     OBJDUMP="false"
3471   else
3472     case $cross_compiling:$ac_tool_warned in
3473 yes:)
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3476 ac_tool_warned=yes ;;
3477 esac
3478     OBJDUMP=$ac_ct_OBJDUMP
3479   fi
3480 else
3481   OBJDUMP="$ac_cv_prog_OBJDUMP"
3482 fi
3483
3484   ;;
3485 esac
3486
3487 test -z "$AS" && AS=as
3488
3489
3490
3491
3492
3493 test -z "$DLLTOOL" && DLLTOOL=dlltool
3494
3495
3496
3497
3498
3499 test -z "$OBJDUMP" && OBJDUMP=objdump
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509 case `pwd` in
3510   *\ * | *\     *)
3511     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3512 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3513 esac
3514
3515
3516
3517 macro_version='2.2.6b'
3518 macro_revision='1.3017'
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532 ltmain="$ac_aux_dir/ltmain.sh"
3533
3534 DEPDIR="${am__leading_dot}deps"
3535
3536 ac_config_commands="$ac_config_commands depfiles"
3537
3538
3539 am_make=${MAKE-make}
3540 cat > confinc << 'END'
3541 am__doit:
3542         @echo this is the am__doit target
3543 .PHONY: am__doit
3544 END
3545 # If we don't find an include directive, just comment out the code.
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3547 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3548 am__include="#"
3549 am__quote=
3550 _am_result=none
3551 # First try GNU make style include.
3552 echo "include confinc" > confmf
3553 # Ignore all kinds of additional output from `make'.
3554 case `$am_make -s -f confmf 2> /dev/null` in #(
3555 *the\ am__doit\ target*)
3556   am__include=include
3557   am__quote=
3558   _am_result=GNU
3559   ;;
3560 esac
3561 # Now try BSD make style include.
3562 if test "$am__include" = "#"; then
3563    echo '.include "confinc"' > confmf
3564    case `$am_make -s -f confmf 2> /dev/null` in #(
3565    *the\ am__doit\ target*)
3566      am__include=.include
3567      am__quote="\""
3568      _am_result=BSD
3569      ;;
3570    esac
3571 fi
3572
3573
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3575 $as_echo "$_am_result" >&6; }
3576 rm -f confinc confmf
3577
3578 # Check whether --enable-dependency-tracking was given.
3579 if test "${enable_dependency_tracking+set}" = set; then :
3580   enableval=$enable_dependency_tracking;
3581 fi
3582
3583 if test "x$enable_dependency_tracking" != xno; then
3584   am_depcomp="$ac_aux_dir/depcomp"
3585   AMDEPBACKSLASH='\'
3586 fi
3587  if test "x$enable_dependency_tracking" != xno; then
3588   AMDEP_TRUE=
3589   AMDEP_FALSE='#'
3590 else
3591   AMDEP_TRUE='#'
3592   AMDEP_FALSE=
3593 fi
3594
3595
3596 ac_ext=c
3597 ac_cpp='$CPP $CPPFLAGS'
3598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3601 if test -n "$ac_tool_prefix"; then
3602   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if test "${ac_cv_prog_CC+set}" = set; then :
3607   $as_echo_n "(cached) " >&6
3608 else
3609   if test -n "$CC"; then
3610   ac_cv_prog_CC="$CC" # Let the user override the test.
3611 else
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 for as_dir in $PATH
3614 do
3615   IFS=$as_save_IFS
3616   test -z "$as_dir" && as_dir=.
3617     for ac_exec_ext in '' $ac_executable_extensions; do
3618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621     break 2
3622   fi
3623 done
3624   done
3625 IFS=$as_save_IFS
3626
3627 fi
3628 fi
3629 CC=$ac_cv_prog_CC
3630 if test -n "$CC"; then
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3633 else
3634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3636 fi
3637
3638
3639 fi
3640 if test -z "$ac_cv_prog_CC"; then
3641   ac_ct_CC=$CC
3642   # Extract the first word of "gcc", so it can be a program name with args.
3643 set dummy gcc; ac_word=$2
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3646 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3647   $as_echo_n "(cached) " >&6
3648 else
3649   if test -n "$ac_ct_CC"; then
3650   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3651 else
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 for as_dir in $PATH
3654 do
3655   IFS=$as_save_IFS
3656   test -z "$as_dir" && as_dir=.
3657     for ac_exec_ext in '' $ac_executable_extensions; do
3658   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3659     ac_cv_prog_ac_ct_CC="gcc"
3660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661     break 2
3662   fi
3663 done
3664   done
3665 IFS=$as_save_IFS
3666
3667 fi
3668 fi
3669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3670 if test -n "$ac_ct_CC"; then
3671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3672 $as_echo "$ac_ct_CC" >&6; }
3673 else
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3676 fi
3677
3678   if test "x$ac_ct_CC" = x; then
3679     CC=""
3680   else
3681     case $cross_compiling:$ac_tool_warned in
3682 yes:)
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3685 ac_tool_warned=yes ;;
3686 esac
3687     CC=$ac_ct_CC
3688   fi
3689 else
3690   CC="$ac_cv_prog_CC"
3691 fi
3692
3693 if test -z "$CC"; then
3694           if test -n "$ac_tool_prefix"; then
3695     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3696 set dummy ${ac_tool_prefix}cc; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if test "${ac_cv_prog_CC+set}" = set; then :
3700   $as_echo_n "(cached) " >&6
3701 else
3702   if test -n "$CC"; then
3703   ac_cv_prog_CC="$CC" # Let the user override the test.
3704 else
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3707 do
3708   IFS=$as_save_IFS
3709   test -z "$as_dir" && as_dir=.
3710     for ac_exec_ext in '' $ac_executable_extensions; do
3711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712     ac_cv_prog_CC="${ac_tool_prefix}cc"
3713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714     break 2
3715   fi
3716 done
3717   done
3718 IFS=$as_save_IFS
3719
3720 fi
3721 fi
3722 CC=$ac_cv_prog_CC
3723 if test -n "$CC"; then
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3726 else
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3729 fi
3730
3731
3732   fi
3733 fi
3734 if test -z "$CC"; then
3735   # Extract the first word of "cc", so it can be a program name with args.
3736 set dummy cc; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740   $as_echo_n "(cached) " >&6
3741 else
3742   if test -n "$CC"; then
3743   ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745   ac_prog_rejected=no
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3748 do
3749   IFS=$as_save_IFS
3750   test -z "$as_dir" && as_dir=.
3751     for ac_exec_ext in '' $ac_executable_extensions; do
3752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3754        ac_prog_rejected=yes
3755        continue
3756      fi
3757     ac_cv_prog_CC="cc"
3758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759     break 2
3760   fi
3761 done
3762   done
3763 IFS=$as_save_IFS
3764
3765 if test $ac_prog_rejected = yes; then
3766   # We found a bogon in the path, so make sure we never use it.
3767   set dummy $ac_cv_prog_CC
3768   shift
3769   if test $# != 0; then
3770     # We chose a different compiler from the bogus one.
3771     # However, it has the same basename, so the bogon will be chosen
3772     # first if we set CC to just the basename; use the full file name.
3773     shift
3774     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3775   fi
3776 fi
3777 fi
3778 fi
3779 CC=$ac_cv_prog_CC
3780 if test -n "$CC"; then
3781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3783 else
3784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3786 fi
3787
3788
3789 fi
3790 if test -z "$CC"; then
3791   if test -n "$ac_tool_prefix"; then
3792   for ac_prog in cl.exe
3793   do
3794     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_CC+set}" = set; then :
3799   $as_echo_n "(cached) " >&6
3800 else
3801   if test -n "$CC"; then
3802   ac_cv_prog_CC="$CC" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3806 do
3807   IFS=$as_save_IFS
3808   test -z "$as_dir" && as_dir=.
3809     for ac_exec_ext in '' $ac_executable_extensions; do
3810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813     break 2
3814   fi
3815 done
3816   done
3817 IFS=$as_save_IFS
3818
3819 fi
3820 fi
3821 CC=$ac_cv_prog_CC
3822 if test -n "$CC"; then
3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3824 $as_echo "$CC" >&6; }
3825 else
3826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3828 fi
3829
3830
3831     test -n "$CC" && break
3832   done
3833 fi
3834 if test -z "$CC"; then
3835   ac_ct_CC=$CC
3836   for ac_prog in cl.exe
3837 do
3838   # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3843   $as_echo_n "(cached) " >&6
3844 else
3845   if test -n "$ac_ct_CC"; then
3846   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3847 else
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3850 do
3851   IFS=$as_save_IFS
3852   test -z "$as_dir" && as_dir=.
3853     for ac_exec_ext in '' $ac_executable_extensions; do
3854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855     ac_cv_prog_ac_ct_CC="$ac_prog"
3856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857     break 2
3858   fi
3859 done
3860   done
3861 IFS=$as_save_IFS
3862
3863 fi
3864 fi
3865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3866 if test -n "$ac_ct_CC"; then
3867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3868 $as_echo "$ac_ct_CC" >&6; }
3869 else
3870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3872 fi
3873
3874
3875   test -n "$ac_ct_CC" && break
3876 done
3877
3878   if test "x$ac_ct_CC" = x; then
3879     CC=""
3880   else
3881     case $cross_compiling:$ac_tool_warned in
3882 yes:)
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3885 ac_tool_warned=yes ;;
3886 esac
3887     CC=$ac_ct_CC
3888   fi
3889 fi
3890
3891 fi
3892
3893
3894 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error "no acceptable C compiler found in \$PATH
3897 See \`config.log' for more details." "$LINENO" 5; }
3898
3899 # Provide some information about the compiler.
3900 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3901 set X $ac_compile
3902 ac_compiler=$2
3903 for ac_option in --version -v -V -qversion; do
3904   { { ac_try="$ac_compiler $ac_option >&5"
3905 case "(($ac_try" in
3906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907   *) ac_try_echo=$ac_try;;
3908 esac
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3912   ac_status=$?
3913   if test -s conftest.err; then
3914     sed '10a\
3915 ... rest of stderr output deleted ...
3916          10q' conftest.err >conftest.er1
3917     cat conftest.er1 >&5
3918   fi
3919   rm -f conftest.er1 conftest.err
3920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921   test $ac_status = 0; }
3922 done
3923
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h.  */
3926
3927 int
3928 main ()
3929 {
3930
3931   ;
3932   return 0;
3933 }
3934 _ACEOF
3935 ac_clean_files_save=$ac_clean_files
3936 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3937 # Try to create an executable without -o first, disregard a.out.
3938 # It will help us diagnose broken compilers, and finding out an intuition
3939 # of exeext.
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3941 $as_echo_n "checking whether the C compiler works... " >&6; }
3942 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3943
3944 # The possible output files:
3945 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3946
3947 ac_rmfiles=
3948 for ac_file in $ac_files
3949 do
3950   case $ac_file in
3951     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3953   esac
3954 done
3955 rm -f $ac_rmfiles
3956
3957 if { { ac_try="$ac_link_default"
3958 case "(($ac_try" in
3959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960   *) ac_try_echo=$ac_try;;
3961 esac
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964   (eval "$ac_link_default") 2>&5
3965   ac_status=$?
3966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967   test $ac_status = 0; }; then :
3968   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3969 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3970 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3971 # so that the user can short-circuit this test for compilers unknown to
3972 # Autoconf.
3973 for ac_file in $ac_files ''
3974 do
3975   test -f "$ac_file" || continue
3976   case $ac_file in
3977     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3978         ;;
3979     [ab].out )
3980         # We found the default executable, but exeext='' is most
3981         # certainly right.
3982         break;;
3983     *.* )
3984         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3985         then :; else
3986            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3987         fi
3988         # We set ac_cv_exeext here because the later test for it is not
3989         # safe: cross compilers may not add the suffix if given an `-o'
3990         # argument, so we may need to know it at that point already.
3991         # Even if this section looks crufty: it has the advantage of
3992         # actually working.
3993         break;;
3994     * )
3995         break;;
3996   esac
3997 done
3998 test "$ac_cv_exeext" = no && ac_cv_exeext=
3999
4000 else
4001   ac_file=''
4002 fi
4003 if test -z "$ac_file"; then :
4004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4006 $as_echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.$ac_ext >&5
4008
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 { as_fn_set_status 77
4012 as_fn_error "C compiler cannot create executables
4013 See \`config.log' for more details." "$LINENO" 5; }; }
4014 else
4015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4017 fi
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4019 $as_echo_n "checking for C compiler default output file name... " >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4021 $as_echo "$ac_file" >&6; }
4022 ac_exeext=$ac_cv_exeext
4023
4024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4025 ac_clean_files=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try="$ac_link"
4029 case "(($ac_try" in
4030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031   *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035   (eval "$ac_link") 2>&5
4036   ac_status=$?
4037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038   test $ac_status = 0; }; then :
4039   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4040 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 # `rm'.
4043 for ac_file in conftest.exe conftest conftest.*; do
4044   test -f "$ac_file" || continue
4045   case $ac_file in
4046     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4047     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048           break;;
4049     * ) break;;
4050   esac
4051 done
4052 else
4053   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details." "$LINENO" 5; }
4057 fi
4058 rm -f conftest conftest$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4061
4062 rm -f conftest.$ac_ext
4063 EXEEXT=$ac_cv_exeext
4064 ac_exeext=$EXEEXT
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h.  */
4067 #include <stdio.h>
4068 int
4069 main ()
4070 {
4071 FILE *f = fopen ("conftest.out", "w");
4072  return ferror (f) || fclose (f) != 0;
4073
4074   ;
4075   return 0;
4076 }
4077 _ACEOF
4078 ac_clean_files="$ac_clean_files conftest.out"
4079 # Check that the compiler produces executables we can run.  If not, either
4080 # the compiler is broken, or we cross compile.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4082 $as_echo_n "checking whether we are cross compiling... " >&6; }
4083 if test "$cross_compiling" != yes; then
4084   { { ac_try="$ac_link"
4085 case "(($ac_try" in
4086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087   *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091   (eval "$ac_link") 2>&5
4092   ac_status=$?
4093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094   test $ac_status = 0; }
4095   if { ac_try='./conftest$ac_cv_exeext'
4096   { { case "(($ac_try" in
4097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098   *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102   (eval "$ac_try") 2>&5
4103   ac_status=$?
4104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105   test $ac_status = 0; }; }; then
4106     cross_compiling=no
4107   else
4108     if test "$cross_compiling" = maybe; then
4109         cross_compiling=yes
4110     else
4111         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details." "$LINENO" 5; }
4116     fi
4117   fi
4118 fi
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4120 $as_echo "$cross_compiling" >&6; }
4121
4122 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4123 ac_clean_files=$ac_clean_files_save
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4125 $as_echo_n "checking for suffix of object files... " >&6; }
4126 if test "${ac_cv_objext+set}" = set; then :
4127   $as_echo_n "(cached) " >&6
4128 else
4129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h.  */
4131
4132 int
4133 main ()
4134 {
4135
4136   ;
4137   return 0;
4138 }
4139 _ACEOF
4140 rm -f conftest.o conftest.obj
4141 if { { ac_try="$ac_compile"
4142 case "(($ac_try" in
4143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144   *) ac_try_echo=$ac_try;;
4145 esac
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148   (eval "$ac_compile") 2>&5
4149   ac_status=$?
4150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151   test $ac_status = 0; }; then :
4152   for ac_file in conftest.o conftest.obj conftest.*; do
4153   test -f "$ac_file" || continue;
4154   case $ac_file in
4155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4156     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4157        break;;
4158   esac
4159 done
4160 else
4161   $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4163
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error "cannot compute suffix of object files: cannot compile
4167 See \`config.log' for more details." "$LINENO" 5; }
4168 fi
4169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4170 fi
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4172 $as_echo "$ac_cv_objext" >&6; }
4173 OBJEXT=$ac_cv_objext
4174 ac_objext=$OBJEXT
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4176 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4177 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4178   $as_echo_n "(cached) " >&6
4179 else
4180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h.  */
4182
4183 int
4184 main ()
4185 {
4186 #ifndef __GNUC__
4187        choke me
4188 #endif
4189
4190   ;
4191   return 0;
4192 }
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4195   ac_compiler_gnu=yes
4196 else
4197   ac_compiler_gnu=no
4198 fi
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4201
4202 fi
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4205 if test $ac_compiler_gnu = yes; then
4206   GCC=yes
4207 else
4208   GCC=
4209 fi
4210 ac_test_CFLAGS=${CFLAGS+set}
4211 ac_save_CFLAGS=$CFLAGS
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4214 if test "${ac_cv_prog_cc_g+set}" = set; then :
4215   $as_echo_n "(cached) " >&6
4216 else
4217   ac_save_c_werror_flag=$ac_c_werror_flag
4218    ac_c_werror_flag=yes
4219    ac_cv_prog_cc_g=no
4220    CFLAGS="-g"
4221    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h.  */
4223
4224 int
4225 main ()
4226 {
4227
4228   ;
4229   return 0;
4230 }
4231 _ACEOF
4232 if ac_fn_c_try_compile "$LINENO"; then :
4233   ac_cv_prog_cc_g=yes
4234 else
4235   CFLAGS=""
4236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h.  */
4238
4239 int
4240 main ()
4241 {
4242
4243   ;
4244   return 0;
4245 }
4246 _ACEOF
4247 if ac_fn_c_try_compile "$LINENO"; then :
4248
4249 else
4250   ac_c_werror_flag=$ac_save_c_werror_flag
4251          CFLAGS="-g"
4252          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h.  */
4254
4255 int
4256 main ()
4257 {
4258
4259   ;
4260   return 0;
4261 }
4262 _ACEOF
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264   ac_cv_prog_cc_g=yes
4265 fi
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 fi
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 fi
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271    ac_c_werror_flag=$ac_save_c_werror_flag
4272 fi
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4274 $as_echo "$ac_cv_prog_cc_g" >&6; }
4275 if test "$ac_test_CFLAGS" = set; then
4276   CFLAGS=$ac_save_CFLAGS
4277 elif test $ac_cv_prog_cc_g = yes; then
4278   if test "$GCC" = yes; then
4279     CFLAGS="-g -O2"
4280   else
4281     CFLAGS="-g"
4282   fi
4283 else
4284   if test "$GCC" = yes; then
4285     CFLAGS="-O2"
4286   else
4287     CFLAGS=
4288   fi
4289 fi
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4291 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4292 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4293   $as_echo_n "(cached) " >&6
4294 else
4295   ac_cv_prog_cc_c89=no
4296 ac_save_CC=$CC
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h.  */
4299 #include <stdarg.h>
4300 #include <stdio.h>
4301 #include <sys/types.h>
4302 #include <sys/stat.h>
4303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4304 struct buf { int x; };
4305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4306 static char *e (p, i)
4307      char **p;
4308      int i;
4309 {
4310   return p[i];
4311 }
4312 static char *f (char * (*g) (char **, int), char **p, ...)
4313 {
4314   char *s;
4315   va_list v;
4316   va_start (v,p);
4317   s = g (p, va_arg (v,int));
4318   va_end (v);
4319   return s;
4320 }
4321
4322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4323    function prototypes and stuff, but not '\xHH' hex character constants.
4324    These don't provoke an error unfortunately, instead are silently treated
4325    as 'x'.  The following induces an error, until -std is added to get
4326    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4327    array size at least.  It's necessary to write '\x00'==0 to get something
4328    that's true only with -std.  */
4329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4330
4331 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4332    inside strings and character constants.  */
4333 #define FOO(x) 'x'
4334 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4335
4336 int test (int i, double x);
4337 struct s1 {int (*f) (int a);};
4338 struct s2 {int (*f) (double a);};
4339 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4340 int argc;
4341 char **argv;
4342 int
4343 main ()
4344 {
4345 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4346   ;
4347   return 0;
4348 }
4349 _ACEOF
4350 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4351         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4352 do
4353   CC="$ac_save_CC $ac_arg"
4354   if ac_fn_c_try_compile "$LINENO"; then :
4355   ac_cv_prog_cc_c89=$ac_arg
4356 fi
4357 rm -f core conftest.err conftest.$ac_objext
4358   test "x$ac_cv_prog_cc_c89" != "xno" && break
4359 done
4360 rm -f conftest.$ac_ext
4361 CC=$ac_save_CC
4362
4363 fi
4364 # AC_CACHE_VAL
4365 case "x$ac_cv_prog_cc_c89" in
4366   x)
4367     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4368 $as_echo "none needed" >&6; } ;;
4369   xno)
4370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4371 $as_echo "unsupported" >&6; } ;;
4372   *)
4373     CC="$CC $ac_cv_prog_cc_c89"
4374     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4375 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4376 esac
4377 if test "x$ac_cv_prog_cc_c89" != xno; then :
4378
4379 fi
4380
4381 ac_ext=c
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386
4387 depcc="$CC"   am_compiler_list=
4388
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4390 $as_echo_n "checking dependency style of $depcc... " >&6; }
4391 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4392   $as_echo_n "(cached) " >&6
4393 else
4394   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4395   # We make a subdir and do the tests there.  Otherwise we can end up
4396   # making bogus files that we don't know about and never remove.  For
4397   # instance it was reported that on HP-UX the gcc test will end up
4398   # making a dummy file named `D' -- because `-MD' means `put the output
4399   # in D'.
4400   mkdir conftest.dir
4401   # Copy depcomp to subdir because otherwise we won't find it if we're
4402   # using a relative directory.
4403   cp "$am_depcomp" conftest.dir
4404   cd conftest.dir
4405   # We will build objects and dependencies in a subdirectory because
4406   # it helps to detect inapplicable dependency modes.  For instance
4407   # both Tru64's cc and ICC support -MD to output dependencies as a
4408   # side effect of compilation, but ICC will put the dependencies in
4409   # the current directory while Tru64 will put them in the object
4410   # directory.
4411   mkdir sub
4412
4413   am_cv_CC_dependencies_compiler_type=none
4414   if test "$am_compiler_list" = ""; then
4415      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4416   fi
4417   am__universal=false
4418   case " $depcc " in #(
4419      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4420      esac
4421
4422   for depmode in $am_compiler_list; do
4423     # Setup a source with many dependencies, because some compilers
4424     # like to wrap large dependency lists on column 80 (with \), and
4425     # we should not choose a depcomp mode which is confused by this.
4426     #
4427     # We need to recreate these files for each test, as the compiler may
4428     # overwrite some of them when testing with obscure command lines.
4429     # This happens at least with the AIX C compiler.
4430     : > sub/conftest.c
4431     for i in 1 2 3 4 5 6; do
4432       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4433       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4434       # Solaris 8's {/usr,}/bin/sh.
4435       touch sub/conftst$i.h
4436     done
4437     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4438
4439     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4440     # mode.  It turns out that the SunPro C++ compiler does not properly
4441     # handle `-M -o', and we need to detect this.  Also, some Intel
4442     # versions had trouble with output in subdirs
4443     am__obj=sub/conftest.${OBJEXT-o}
4444     am__minus_obj="-o $am__obj"
4445     case $depmode in
4446     gcc)
4447       # This depmode causes a compiler race in universal mode.
4448       test "$am__universal" = false || continue
4449       ;;
4450     nosideeffect)
4451       # after this tag, mechanisms are not by side-effect, so they'll
4452       # only be used when explicitly requested
4453       if test "x$enable_dependency_tracking" = xyes; then
4454         continue
4455       else
4456         break
4457       fi
4458       ;;
4459     msvisualcpp | msvcmsys)
4460       # This compiler won't grok `-c -o', but also, the minuso test has
4461       # not run yet.  These depmodes are late enough in the game, and
4462       # so weak that their functioning should not be impacted.
4463       am__obj=conftest.${OBJEXT-o}
4464       am__minus_obj=
4465       ;;
4466     none) break ;;
4467     esac
4468     if depmode=$depmode \
4469        source=sub/conftest.c object=$am__obj \
4470        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4471        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4472          >/dev/null 2>conftest.err &&
4473        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4474        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4475        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4476        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4477       # icc doesn't choke on unknown options, it will just issue warnings
4478       # or remarks (even with -Werror).  So we grep stderr for any message
4479       # that says an option was ignored or not supported.
4480       # When given -MP, icc 7.0 and 7.1 complain thusly:
4481       #   icc: Command line warning: ignoring option '-M'; no argument required
4482       # The diagnosis changed in icc 8.0:
4483       #   icc: Command line remark: option '-MP' not supported
4484       if (grep 'ignoring option' conftest.err ||
4485           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4486         am_cv_CC_dependencies_compiler_type=$depmode
4487         break
4488       fi
4489     fi
4490   done
4491
4492   cd ..
4493   rm -rf conftest.dir
4494 else
4495   am_cv_CC_dependencies_compiler_type=none
4496 fi
4497
4498 fi
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4500 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4501 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4502
4503  if
4504   test "x$enable_dependency_tracking" != xno \
4505   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4506   am__fastdepCC_TRUE=
4507   am__fastdepCC_FALSE='#'
4508 else
4509   am__fastdepCC_TRUE='#'
4510   am__fastdepCC_FALSE=
4511 fi
4512
4513
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4515 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4516 if test "${ac_cv_path_SED+set}" = set; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4520      for ac_i in 1 2 3 4 5 6 7; do
4521        ac_script="$ac_script$as_nl$ac_script"
4522      done
4523      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4524      { ac_script=; unset ac_script;}
4525      if test -z "$SED"; then
4526   ac_path_SED_found=false
4527   # Loop through the user's path and test for each of PROGNAME-LIST
4528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 for as_dir in $PATH
4530 do
4531   IFS=$as_save_IFS
4532   test -z "$as_dir" && as_dir=.
4533     for ac_prog in sed gsed; do
4534     for ac_exec_ext in '' $ac_executable_extensions; do
4535       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4536       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4537 # Check for GNU ac_path_SED and select it if it is found.
4538   # Check for GNU $ac_path_SED
4539 case `"$ac_path_SED" --version 2>&1` in
4540 *GNU*)
4541   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4542 *)
4543   ac_count=0
4544   $as_echo_n 0123456789 >"conftest.in"
4545   while :
4546   do
4547     cat "conftest.in" "conftest.in" >"conftest.tmp"
4548     mv "conftest.tmp" "conftest.in"
4549     cp "conftest.in" "conftest.nl"
4550     $as_echo '' >> "conftest.nl"
4551     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4552     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4553     as_fn_arith $ac_count + 1 && ac_count=$as_val
4554     if test $ac_count -gt ${ac_path_SED_max-0}; then
4555       # Best one so far, save it but keep looking for a better one
4556       ac_cv_path_SED="$ac_path_SED"
4557       ac_path_SED_max=$ac_count
4558     fi
4559     # 10*(2^10) chars as input seems more than enough
4560     test $ac_count -gt 10 && break
4561   done
4562   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4563 esac
4564
4565       $ac_path_SED_found && break 3
4566     done
4567   done
4568   done
4569 IFS=$as_save_IFS
4570   if test -z "$ac_cv_path_SED"; then
4571     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4572   fi
4573 else
4574   ac_cv_path_SED=$SED
4575 fi
4576
4577 fi
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4579 $as_echo "$ac_cv_path_SED" >&6; }
4580  SED="$ac_cv_path_SED"
4581   rm -f conftest.sed
4582
4583 test -z "$SED" && SED=sed
4584 Xsed="$SED -e 1s/^X//"
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4598 if test "${ac_cv_path_GREP+set}" = set; then :
4599   $as_echo_n "(cached) " >&6
4600 else
4601   if test -z "$GREP"; then
4602   ac_path_GREP_found=false
4603   # Loop through the user's path and test for each of PROGNAME-LIST
4604   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4606 do
4607   IFS=$as_save_IFS
4608   test -z "$as_dir" && as_dir=.
4609     for ac_prog in grep ggrep; do
4610     for ac_exec_ext in '' $ac_executable_extensions; do
4611       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4612       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4613 # Check for GNU ac_path_GREP and select it if it is found.
4614   # Check for GNU $ac_path_GREP
4615 case `"$ac_path_GREP" --version 2>&1` in
4616 *GNU*)
4617   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4618 *)
4619   ac_count=0
4620   $as_echo_n 0123456789 >"conftest.in"
4621   while :
4622   do
4623     cat "conftest.in" "conftest.in" >"conftest.tmp"
4624     mv "conftest.tmp" "conftest.in"
4625     cp "conftest.in" "conftest.nl"
4626     $as_echo 'GREP' >> "conftest.nl"
4627     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4628     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4629     as_fn_arith $ac_count + 1 && ac_count=$as_val
4630     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4631       # Best one so far, save it but keep looking for a better one
4632       ac_cv_path_GREP="$ac_path_GREP"
4633       ac_path_GREP_max=$ac_count
4634     fi
4635     # 10*(2^10) chars as input seems more than enough
4636     test $ac_count -gt 10 && break
4637   done
4638   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4639 esac
4640
4641       $ac_path_GREP_found && break 3
4642     done
4643   done
4644   done
4645 IFS=$as_save_IFS
4646   if test -z "$ac_cv_path_GREP"; then
4647     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4648   fi
4649 else
4650   ac_cv_path_GREP=$GREP
4651 fi
4652
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4655 $as_echo "$ac_cv_path_GREP" >&6; }
4656  GREP="$ac_cv_path_GREP"
4657
4658
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4660 $as_echo_n "checking for egrep... " >&6; }
4661 if test "${ac_cv_path_EGREP+set}" = set; then :
4662   $as_echo_n "(cached) " >&6
4663 else
4664   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4665    then ac_cv_path_EGREP="$GREP -E"
4666    else
4667      if test -z "$EGREP"; then
4668   ac_path_EGREP_found=false
4669   # Loop through the user's path and test for each of PROGNAME-LIST
4670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4672 do
4673   IFS=$as_save_IFS
4674   test -z "$as_dir" && as_dir=.
4675     for ac_prog in egrep; do
4676     for ac_exec_ext in '' $ac_executable_extensions; do
4677       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4678       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4679 # Check for GNU ac_path_EGREP and select it if it is found.
4680   # Check for GNU $ac_path_EGREP
4681 case `"$ac_path_EGREP" --version 2>&1` in
4682 *GNU*)
4683   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4684 *)
4685   ac_count=0
4686   $as_echo_n 0123456789 >"conftest.in"
4687   while :
4688   do
4689     cat "conftest.in" "conftest.in" >"conftest.tmp"
4690     mv "conftest.tmp" "conftest.in"
4691     cp "conftest.in" "conftest.nl"
4692     $as_echo 'EGREP' >> "conftest.nl"
4693     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4694     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4695     as_fn_arith $ac_count + 1 && ac_count=$as_val
4696     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4697       # Best one so far, save it but keep looking for a better one
4698       ac_cv_path_EGREP="$ac_path_EGREP"
4699       ac_path_EGREP_max=$ac_count
4700     fi
4701     # 10*(2^10) chars as input seems more than enough
4702     test $ac_count -gt 10 && break
4703   done
4704   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4705 esac
4706
4707       $ac_path_EGREP_found && break 3
4708     done
4709   done
4710   done
4711 IFS=$as_save_IFS
4712   if test -z "$ac_cv_path_EGREP"; then
4713     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4714   fi
4715 else
4716   ac_cv_path_EGREP=$EGREP
4717 fi
4718
4719    fi
4720 fi
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4722 $as_echo "$ac_cv_path_EGREP" >&6; }
4723  EGREP="$ac_cv_path_EGREP"
4724
4725
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4727 $as_echo_n "checking for fgrep... " >&6; }
4728 if test "${ac_cv_path_FGREP+set}" = set; then :
4729   $as_echo_n "(cached) " >&6
4730 else
4731   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4732    then ac_cv_path_FGREP="$GREP -F"
4733    else
4734      if test -z "$FGREP"; then
4735   ac_path_FGREP_found=false
4736   # Loop through the user's path and test for each of PROGNAME-LIST
4737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 do
4740   IFS=$as_save_IFS
4741   test -z "$as_dir" && as_dir=.
4742     for ac_prog in fgrep; do
4743     for ac_exec_ext in '' $ac_executable_extensions; do
4744       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4745       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4746 # Check for GNU ac_path_FGREP and select it if it is found.
4747   # Check for GNU $ac_path_FGREP
4748 case `"$ac_path_FGREP" --version 2>&1` in
4749 *GNU*)
4750   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4751 *)
4752   ac_count=0
4753   $as_echo_n 0123456789 >"conftest.in"
4754   while :
4755   do
4756     cat "conftest.in" "conftest.in" >"conftest.tmp"
4757     mv "conftest.tmp" "conftest.in"
4758     cp "conftest.in" "conftest.nl"
4759     $as_echo 'FGREP' >> "conftest.nl"
4760     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4761     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4762     as_fn_arith $ac_count + 1 && ac_count=$as_val
4763     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4764       # Best one so far, save it but keep looking for a better one
4765       ac_cv_path_FGREP="$ac_path_FGREP"
4766       ac_path_FGREP_max=$ac_count
4767     fi
4768     # 10*(2^10) chars as input seems more than enough
4769     test $ac_count -gt 10 && break
4770   done
4771   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772 esac
4773
4774       $ac_path_FGREP_found && break 3
4775     done
4776   done
4777   done
4778 IFS=$as_save_IFS
4779   if test -z "$ac_cv_path_FGREP"; then
4780     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781   fi
4782 else
4783   ac_cv_path_FGREP=$FGREP
4784 fi
4785
4786    fi
4787 fi
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4789 $as_echo "$ac_cv_path_FGREP" >&6; }
4790  FGREP="$ac_cv_path_FGREP"
4791
4792
4793 test -z "$GREP" && GREP=grep
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813 # Check whether --with-gnu-ld was given.
4814 if test "${with_gnu_ld+set}" = set; then :
4815   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4816 else
4817   with_gnu_ld=no
4818 fi
4819
4820 ac_prog=ld
4821 if test "$GCC" = yes; then
4822   # Check if gcc -print-prog-name=ld gives a path.
4823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4824 $as_echo_n "checking for ld used by $CC... " >&6; }
4825   case $host in
4826   *-*-mingw*)
4827     # gcc leaves a trailing carriage return which upsets mingw
4828     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4829   *)
4830     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4831   esac
4832   case $ac_prog in
4833     # Accept absolute paths.
4834     [\\/]* | ?:[\\/]*)
4835       re_direlt='/[^/][^/]*/\.\./'
4836       # Canonicalize the pathname of ld
4837       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4838       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4839         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4840       done
4841       test -z "$LD" && LD="$ac_prog"
4842       ;;
4843   "")
4844     # If it fails, then pretend we aren't using GCC.
4845     ac_prog=ld
4846     ;;
4847   *)
4848     # If it is relative, then search for the first ld in PATH.
4849     with_gnu_ld=unknown
4850     ;;
4851   esac
4852 elif test "$with_gnu_ld" = yes; then
4853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4854 $as_echo_n "checking for GNU ld... " >&6; }
4855 else
4856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4857 $as_echo_n "checking for non-GNU ld... " >&6; }
4858 fi
4859 if test "${lt_cv_path_LD+set}" = set; then :
4860   $as_echo_n "(cached) " >&6
4861 else
4862   if test -z "$LD"; then
4863   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4864   for ac_dir in $PATH; do
4865     IFS="$lt_save_ifs"
4866     test -z "$ac_dir" && ac_dir=.
4867     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4868       lt_cv_path_LD="$ac_dir/$ac_prog"
4869       # Check to see if the program is GNU ld.  I'd rather use --version,
4870       # but apparently some variants of GNU ld only accept -v.
4871       # Break only if it was the GNU/non-GNU ld that we prefer.
4872       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4873       *GNU* | *'with BFD'*)
4874         test "$with_gnu_ld" != no && break
4875         ;;
4876       *)
4877         test "$with_gnu_ld" != yes && break
4878         ;;
4879       esac
4880     fi
4881   done
4882   IFS="$lt_save_ifs"
4883 else
4884   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4885 fi
4886 fi
4887
4888 LD="$lt_cv_path_LD"
4889 if test -n "$LD"; then
4890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4891 $as_echo "$LD" >&6; }
4892 else
4893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 $as_echo "no" >&6; }
4895 fi
4896 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4898 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4899 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4900   $as_echo_n "(cached) " >&6
4901 else
4902   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4903 case `$LD -v 2>&1 </dev/null` in
4904 *GNU* | *'with BFD'*)
4905   lt_cv_prog_gnu_ld=yes
4906   ;;
4907 *)
4908   lt_cv_prog_gnu_ld=no
4909   ;;
4910 esac
4911 fi
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4913 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4914 with_gnu_ld=$lt_cv_prog_gnu_ld
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4925 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4926 if test "${lt_cv_path_NM+set}" = set; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929   if test -n "$NM"; then
4930   # Let the user override the test.
4931   lt_cv_path_NM="$NM"
4932 else
4933   lt_nm_to_check="${ac_tool_prefix}nm"
4934   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4935     lt_nm_to_check="$lt_nm_to_check nm"
4936   fi
4937   for lt_tmp_nm in $lt_nm_to_check; do
4938     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4939     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4940       IFS="$lt_save_ifs"
4941       test -z "$ac_dir" && ac_dir=.
4942       tmp_nm="$ac_dir/$lt_tmp_nm"
4943       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4944         # Check to see if the nm accepts a BSD-compat flag.
4945         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4946         #   nm: unknown option "B" ignored
4947         # Tru64's nm complains that /dev/null is an invalid object file
4948         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4949         */dev/null* | *'Invalid file or object type'*)
4950           lt_cv_path_NM="$tmp_nm -B"
4951           break
4952           ;;
4953         *)
4954           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4955           */dev/null*)
4956             lt_cv_path_NM="$tmp_nm -p"
4957             break
4958             ;;
4959           *)
4960             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4961             continue # so that we can try to find one that supports BSD flags
4962             ;;
4963           esac
4964           ;;
4965         esac
4966       fi
4967     done
4968     IFS="$lt_save_ifs"
4969   done
4970   : ${lt_cv_path_NM=no}
4971 fi
4972 fi
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4974 $as_echo "$lt_cv_path_NM" >&6; }
4975 if test "$lt_cv_path_NM" != "no"; then
4976   NM="$lt_cv_path_NM"
4977 else
4978   # Didn't find any BSD compatible name lister, look for dumpbin.
4979   if test -n "$ac_tool_prefix"; then
4980   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4981   do
4982     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4987   $as_echo_n "(cached) " >&6
4988 else
4989   if test -n "$DUMPBIN"; then
4990   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4994 do
4995   IFS=$as_save_IFS
4996   test -z "$as_dir" && as_dir=.
4997     for ac_exec_ext in '' $ac_executable_extensions; do
4998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001     break 2
5002   fi
5003 done
5004   done
5005 IFS=$as_save_IFS
5006
5007 fi
5008 fi
5009 DUMPBIN=$ac_cv_prog_DUMPBIN
5010 if test -n "$DUMPBIN"; then
5011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5012 $as_echo "$DUMPBIN" >&6; }
5013 else
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5016 fi
5017
5018
5019     test -n "$DUMPBIN" && break
5020   done
5021 fi
5022 if test -z "$DUMPBIN"; then
5023   ac_ct_DUMPBIN=$DUMPBIN
5024   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5025 do
5026   # Extract the first word of "$ac_prog", so it can be a program name with args.
5027 set dummy $ac_prog; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5031   $as_echo_n "(cached) " >&6
5032 else
5033   if test -n "$ac_ct_DUMPBIN"; then
5034   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5038 do
5039   IFS=$as_save_IFS
5040   test -z "$as_dir" && as_dir=.
5041     for ac_exec_ext in '' $ac_executable_extensions; do
5042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045     break 2
5046   fi
5047 done
5048   done
5049 IFS=$as_save_IFS
5050
5051 fi
5052 fi
5053 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5054 if test -n "$ac_ct_DUMPBIN"; then
5055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5056 $as_echo "$ac_ct_DUMPBIN" >&6; }
5057 else
5058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5060 fi
5061
5062
5063   test -n "$ac_ct_DUMPBIN" && break
5064 done
5065
5066   if test "x$ac_ct_DUMPBIN" = x; then
5067     DUMPBIN=":"
5068   else
5069     case $cross_compiling:$ac_tool_warned in
5070 yes:)
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5073 ac_tool_warned=yes ;;
5074 esac
5075     DUMPBIN=$ac_ct_DUMPBIN
5076   fi
5077 fi
5078
5079
5080   if test "$DUMPBIN" != ":"; then
5081     NM="$DUMPBIN"
5082   fi
5083 fi
5084 test -z "$NM" && NM=nm
5085
5086
5087
5088
5089
5090
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5092 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5093 if test "${lt_cv_nm_interface+set}" = set; then :
5094   $as_echo_n "(cached) " >&6
5095 else
5096   lt_cv_nm_interface="BSD nm"
5097   echo "int some_variable = 0;" > conftest.$ac_ext
5098   (eval echo "\"\$as_me:5098: $ac_compile\"" >&5)
5099   (eval "$ac_compile" 2>conftest.err)
5100   cat conftest.err >&5
5101   (eval echo "\"\$as_me:5101: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5102   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5103   cat conftest.err >&5
5104   (eval echo "\"\$as_me:5104: output\"" >&5)
5105   cat conftest.out >&5
5106   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5107     lt_cv_nm_interface="MS dumpbin"
5108   fi
5109   rm -f conftest*
5110 fi
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5112 $as_echo "$lt_cv_nm_interface" >&6; }
5113
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5115 $as_echo_n "checking whether ln -s works... " >&6; }
5116 LN_S=$as_ln_s
5117 if test "$LN_S" = "ln -s"; then
5118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5119 $as_echo "yes" >&6; }
5120 else
5121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5122 $as_echo "no, using $LN_S" >&6; }
5123 fi
5124
5125 # find the maximum length of command line arguments
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5127 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5128 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5129   $as_echo_n "(cached) " >&6
5130 else
5131     i=0
5132   teststring="ABCD"
5133
5134   case $build_os in
5135   msdosdjgpp*)
5136     # On DJGPP, this test can blow up pretty badly due to problems in libc
5137     # (any single argument exceeding 2000 bytes causes a buffer overrun
5138     # during glob expansion).  Even if it were fixed, the result of this
5139     # check would be larger than it should be.
5140     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5141     ;;
5142
5143   gnu*)
5144     # Under GNU Hurd, this test is not required because there is
5145     # no limit to the length of command line arguments.
5146     # Libtool will interpret -1 as no limit whatsoever
5147     lt_cv_sys_max_cmd_len=-1;
5148     ;;
5149
5150   cygwin* | mingw* | cegcc*)
5151     # On Win9x/ME, this test blows up -- it succeeds, but takes
5152     # about 5 minutes as the teststring grows exponentially.
5153     # Worse, since 9x/ME are not pre-emptively multitasking,
5154     # you end up with a "frozen" computer, even though with patience
5155     # the test eventually succeeds (with a max line length of 256k).
5156     # Instead, let's just punt: use the minimum linelength reported by
5157     # all of the supported platforms: 8192 (on NT/2K/XP).
5158     lt_cv_sys_max_cmd_len=8192;
5159     ;;
5160
5161   amigaos*)
5162     # On AmigaOS with pdksh, this test takes hours, literally.
5163     # So we just punt and use a minimum line length of 8192.
5164     lt_cv_sys_max_cmd_len=8192;
5165     ;;
5166
5167   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5168     # This has been around since 386BSD, at least.  Likely further.
5169     if test -x /sbin/sysctl; then
5170       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5171     elif test -x /usr/sbin/sysctl; then
5172       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5173     else
5174       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5175     fi
5176     # And add a safety zone
5177     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5178     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5179     ;;
5180
5181   interix*)
5182     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5183     lt_cv_sys_max_cmd_len=196608
5184     ;;
5185
5186   osf*)
5187     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5188     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5189     # nice to cause kernel panics so lets avoid the loop below.
5190     # First set a reasonable default.
5191     lt_cv_sys_max_cmd_len=16384
5192     #
5193     if test -x /sbin/sysconfig; then
5194       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5195         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5196       esac
5197     fi
5198     ;;
5199   sco3.2v5*)
5200     lt_cv_sys_max_cmd_len=102400
5201     ;;
5202   sysv5* | sco5v6* | sysv4.2uw2*)
5203     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5204     if test -n "$kargmax"; then
5205       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5206     else
5207       lt_cv_sys_max_cmd_len=32768
5208     fi
5209     ;;
5210   *)
5211     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5212     if test -n "$lt_cv_sys_max_cmd_len"; then
5213       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5214       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5215     else
5216       # Make teststring a little bigger before we do anything with it.
5217       # a 1K string should be a reasonable start.
5218       for i in 1 2 3 4 5 6 7 8 ; do
5219         teststring=$teststring$teststring
5220       done
5221       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5222       # If test is not a shell built-in, we'll probably end up computing a
5223       # maximum length that is only half of the actual maximum length, but
5224       # we can't tell.
5225       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5226                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5227               test $i != 17 # 1/2 MB should be enough
5228       do
5229         i=`expr $i + 1`
5230         teststring=$teststring$teststring
5231       done
5232       # Only check the string length outside the loop.
5233       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5234       teststring=
5235       # Add a significant safety factor because C++ compilers can tack on
5236       # massive amounts of additional arguments before passing them to the
5237       # linker.  It appears as though 1/2 is a usable value.
5238       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5239     fi
5240     ;;
5241   esac
5242
5243 fi
5244
5245 if test -n $lt_cv_sys_max_cmd_len ; then
5246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5247 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5248 else
5249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5250 $as_echo "none" >&6; }
5251 fi
5252 max_cmd_len=$lt_cv_sys_max_cmd_len
5253
5254
5255
5256
5257
5258
5259 : ${CP="cp -f"}
5260 : ${MV="mv -f"}
5261 : ${RM="rm -f"}
5262
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5264 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5265 # Try some XSI features
5266 xsi_shell=no
5267 ( _lt_dummy="a/b/c"
5268   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5269       = c,a/b,, \
5270     && eval 'test $(( 1 + 1 )) -eq 2 \
5271     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5272   && xsi_shell=yes
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5274 $as_echo "$xsi_shell" >&6; }
5275
5276
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5278 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5279 lt_shell_append=no
5280 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5281     >/dev/null 2>&1 \
5282   && lt_shell_append=yes
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5284 $as_echo "$lt_shell_append" >&6; }
5285
5286
5287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5288   lt_unset=unset
5289 else
5290   lt_unset=false
5291 fi
5292
5293
5294
5295
5296
5297 # test EBCDIC or ASCII
5298 case `echo X|tr X '\101'` in
5299  A) # ASCII based system
5300     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5301   lt_SP2NL='tr \040 \012'
5302   lt_NL2SP='tr \015\012 \040\040'
5303   ;;
5304  *) # EBCDIC based system
5305   lt_SP2NL='tr \100 \n'
5306   lt_NL2SP='tr \r\n \100\100'
5307   ;;
5308 esac
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5319 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5320 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5321   $as_echo_n "(cached) " >&6
5322 else
5323   lt_cv_ld_reload_flag='-r'
5324 fi
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5326 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5327 reload_flag=$lt_cv_ld_reload_flag
5328 case $reload_flag in
5329 "" | " "*) ;;
5330 *) reload_flag=" $reload_flag" ;;
5331 esac
5332 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5333 case $host_os in
5334   darwin*)
5335     if test "$GCC" = yes; then
5336       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5337     else
5338       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5339     fi
5340     ;;
5341 esac
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351 if test -n "$ac_tool_prefix"; then
5352   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5357   $as_echo_n "(cached) " >&6
5358 else
5359   if test -n "$OBJDUMP"; then
5360   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5364 do
5365   IFS=$as_save_IFS
5366   test -z "$as_dir" && as_dir=.
5367     for ac_exec_ext in '' $ac_executable_extensions; do
5368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371     break 2
5372   fi
5373 done
5374   done
5375 IFS=$as_save_IFS
5376
5377 fi
5378 fi
5379 OBJDUMP=$ac_cv_prog_OBJDUMP
5380 if test -n "$OBJDUMP"; then
5381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5382 $as_echo "$OBJDUMP" >&6; }
5383 else
5384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 fi
5387
5388
5389 fi
5390 if test -z "$ac_cv_prog_OBJDUMP"; then
5391   ac_ct_OBJDUMP=$OBJDUMP
5392   # Extract the first word of "objdump", so it can be a program name with args.
5393 set dummy objdump; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5397   $as_echo_n "(cached) " >&6
5398 else
5399   if test -n "$ac_ct_OBJDUMP"; then
5400   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5404 do
5405   IFS=$as_save_IFS
5406   test -z "$as_dir" && as_dir=.
5407     for ac_exec_ext in '' $ac_executable_extensions; do
5408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411     break 2
5412   fi
5413 done
5414   done
5415 IFS=$as_save_IFS
5416
5417 fi
5418 fi
5419 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5420 if test -n "$ac_ct_OBJDUMP"; then
5421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5422 $as_echo "$ac_ct_OBJDUMP" >&6; }
5423 else
5424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5426 fi
5427
5428   if test "x$ac_ct_OBJDUMP" = x; then
5429     OBJDUMP="false"
5430   else
5431     case $cross_compiling:$ac_tool_warned in
5432 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5436 esac
5437     OBJDUMP=$ac_ct_OBJDUMP
5438   fi
5439 else
5440   OBJDUMP="$ac_cv_prog_OBJDUMP"
5441 fi
5442
5443 test -z "$OBJDUMP" && OBJDUMP=objdump
5444
5445
5446
5447
5448
5449
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5451 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5452 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5453   $as_echo_n "(cached) " >&6
5454 else
5455   lt_cv_file_magic_cmd='$MAGIC_CMD'
5456 lt_cv_file_magic_test_file=
5457 lt_cv_deplibs_check_method='unknown'
5458 # Need to set the preceding variable on all platforms that support
5459 # interlibrary dependencies.
5460 # 'none' -- dependencies not supported.
5461 # `unknown' -- same as none, but documents that we really don't know.
5462 # 'pass_all' -- all dependencies passed with no checks.
5463 # 'test_compile' -- check by making test program.
5464 # 'file_magic [[regex]]' -- check by looking for files in library path
5465 # which responds to the $file_magic_cmd with a given extended regex.
5466 # If you have `file' or equivalent on your system and you're not sure
5467 # whether `pass_all' will *always* work, you probably want this one.
5468
5469 case $host_os in
5470 aix[4-9]*)
5471   lt_cv_deplibs_check_method=pass_all
5472   ;;
5473
5474 beos*)
5475   lt_cv_deplibs_check_method=pass_all
5476   ;;
5477
5478 bsdi[45]*)
5479   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5480   lt_cv_file_magic_cmd='/usr/bin/file -L'
5481   lt_cv_file_magic_test_file=/shlib/libc.so
5482   ;;
5483
5484 cygwin*)
5485   # func_win32_libid is a shell function defined in ltmain.sh
5486   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5487   lt_cv_file_magic_cmd='func_win32_libid'
5488   ;;
5489
5490 mingw* | pw32*)
5491   # Base MSYS/MinGW do not provide the 'file' command needed by
5492   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5493   # unless we find 'file', for example because we are cross-compiling.
5494   if ( file / ) >/dev/null 2>&1; then
5495     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5496     lt_cv_file_magic_cmd='func_win32_libid'
5497   else
5498     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5499     lt_cv_file_magic_cmd='$OBJDUMP -f'
5500   fi
5501   ;;
5502
5503 cegcc)
5504   # use the weaker test based on 'objdump'. See mingw*.
5505   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5506   lt_cv_file_magic_cmd='$OBJDUMP -f'
5507   ;;
5508
5509 darwin* | rhapsody*)
5510   lt_cv_deplibs_check_method=pass_all
5511   ;;
5512
5513 freebsd* | dragonfly*)
5514   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5515     case $host_cpu in
5516     i*86 )
5517       # Not sure whether the presence of OpenBSD here was a mistake.
5518       # Let's accept both of them until this is cleared up.
5519       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5520       lt_cv_file_magic_cmd=/usr/bin/file
5521       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5522       ;;
5523     esac
5524   else
5525     lt_cv_deplibs_check_method=pass_all
5526   fi
5527   ;;
5528
5529 gnu*)
5530   lt_cv_deplibs_check_method=pass_all
5531   ;;
5532
5533 hpux10.20* | hpux11*)
5534   lt_cv_file_magic_cmd=/usr/bin/file
5535   case $host_cpu in
5536   ia64*)
5537     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5538     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5539     ;;
5540   hppa*64*)
5541     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5542     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5543     ;;
5544   *)
5545     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5546     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5547     ;;
5548   esac
5549   ;;
5550
5551 interix[3-9]*)
5552   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5553   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5554   ;;
5555
5556 irix5* | irix6* | nonstopux*)
5557   case $LD in
5558   *-32|*"-32 ") libmagic=32-bit;;
5559   *-n32|*"-n32 ") libmagic=N32;;
5560   *-64|*"-64 ") libmagic=64-bit;;
5561   *) libmagic=never-match;;
5562   esac
5563   lt_cv_deplibs_check_method=pass_all
5564   ;;
5565
5566 # This must be Linux ELF.
5567 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5568   lt_cv_deplibs_check_method=pass_all
5569   ;;
5570
5571 netbsd* | netbsdelf*-gnu)
5572   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5573     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5574   else
5575     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5576   fi
5577   ;;
5578
5579 newos6*)
5580   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5581   lt_cv_file_magic_cmd=/usr/bin/file
5582   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5583   ;;
5584
5585 *nto* | *qnx*)
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588
5589 openbsd*)
5590   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5591     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5592   else
5593     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5594   fi
5595   ;;
5596
5597 osf3* | osf4* | osf5*)
5598   lt_cv_deplibs_check_method=pass_all
5599   ;;
5600
5601 rdos*)
5602   lt_cv_deplibs_check_method=pass_all
5603   ;;
5604
5605 solaris*)
5606   lt_cv_deplibs_check_method=pass_all
5607   ;;
5608
5609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5610   lt_cv_deplibs_check_method=pass_all
5611   ;;
5612
5613 sysv4 | sysv4.3*)
5614   case $host_vendor in
5615   motorola)
5616     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]'
5617     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5618     ;;
5619   ncr)
5620     lt_cv_deplibs_check_method=pass_all
5621     ;;
5622   sequent)
5623     lt_cv_file_magic_cmd='/bin/file'
5624     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5625     ;;
5626   sni)
5627     lt_cv_file_magic_cmd='/bin/file'
5628     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5629     lt_cv_file_magic_test_file=/lib/libc.so
5630     ;;
5631   siemens)
5632     lt_cv_deplibs_check_method=pass_all
5633     ;;
5634   pc)
5635     lt_cv_deplibs_check_method=pass_all
5636     ;;
5637   esac
5638   ;;
5639
5640 tpf*)
5641   lt_cv_deplibs_check_method=pass_all
5642   ;;
5643 esac
5644
5645 fi
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5647 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5648 file_magic_cmd=$lt_cv_file_magic_cmd
5649 deplibs_check_method=$lt_cv_deplibs_check_method
5650 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663 if test -n "$ac_tool_prefix"; then
5664   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5665 set dummy ${ac_tool_prefix}ar; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if test "${ac_cv_prog_AR+set}" = set; then :
5669   $as_echo_n "(cached) " >&6
5670 else
5671   if test -n "$AR"; then
5672   ac_cv_prog_AR="$AR" # Let the user override the test.
5673 else
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH
5676 do
5677   IFS=$as_save_IFS
5678   test -z "$as_dir" && as_dir=.
5679     for ac_exec_ext in '' $ac_executable_extensions; do
5680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681     ac_cv_prog_AR="${ac_tool_prefix}ar"
5682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683     break 2
5684   fi
5685 done
5686   done
5687 IFS=$as_save_IFS
5688
5689 fi
5690 fi
5691 AR=$ac_cv_prog_AR
5692 if test -n "$AR"; then
5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5694 $as_echo "$AR" >&6; }
5695 else
5696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5698 fi
5699
5700
5701 fi
5702 if test -z "$ac_cv_prog_AR"; then
5703   ac_ct_AR=$AR
5704   # Extract the first word of "ar", so it can be a program name with args.
5705 set dummy ar; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   if test -n "$ac_ct_AR"; then
5712   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5716 do
5717   IFS=$as_save_IFS
5718   test -z "$as_dir" && as_dir=.
5719     for ac_exec_ext in '' $ac_executable_extensions; do
5720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721     ac_cv_prog_ac_ct_AR="ar"
5722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723     break 2
5724   fi
5725 done
5726   done
5727 IFS=$as_save_IFS
5728
5729 fi
5730 fi
5731 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5732 if test -n "$ac_ct_AR"; then
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5734 $as_echo "$ac_ct_AR" >&6; }
5735 else
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5738 fi
5739
5740   if test "x$ac_ct_AR" = x; then
5741     AR="false"
5742   else
5743     case $cross_compiling:$ac_tool_warned in
5744 yes:)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5747 ac_tool_warned=yes ;;
5748 esac
5749     AR=$ac_ct_AR
5750   fi
5751 else
5752   AR="$ac_cv_prog_AR"
5753 fi
5754
5755 test -z "$AR" && AR=ar
5756 test -z "$AR_FLAGS" && AR_FLAGS=cru
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768 if test -n "$ac_tool_prefix"; then
5769   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}strip; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if test "${ac_cv_prog_STRIP+set}" = set; then :
5774   $as_echo_n "(cached) " >&6
5775 else
5776   if test -n "$STRIP"; then
5777   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5781 do
5782   IFS=$as_save_IFS
5783   test -z "$as_dir" && as_dir=.
5784     for ac_exec_ext in '' $ac_executable_extensions; do
5785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788     break 2
5789   fi
5790 done
5791   done
5792 IFS=$as_save_IFS
5793
5794 fi
5795 fi
5796 STRIP=$ac_cv_prog_STRIP
5797 if test -n "$STRIP"; then
5798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5799 $as_echo "$STRIP" >&6; }
5800 else
5801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5803 fi
5804
5805
5806 fi
5807 if test -z "$ac_cv_prog_STRIP"; then
5808   ac_ct_STRIP=$STRIP
5809   # Extract the first word of "strip", so it can be a program name with args.
5810 set dummy strip; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5814   $as_echo_n "(cached) " >&6
5815 else
5816   if test -n "$ac_ct_STRIP"; then
5817   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5821 do
5822   IFS=$as_save_IFS
5823   test -z "$as_dir" && as_dir=.
5824     for ac_exec_ext in '' $ac_executable_extensions; do
5825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826     ac_cv_prog_ac_ct_STRIP="strip"
5827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828     break 2
5829   fi
5830 done
5831   done
5832 IFS=$as_save_IFS
5833
5834 fi
5835 fi
5836 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5837 if test -n "$ac_ct_STRIP"; then
5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5839 $as_echo "$ac_ct_STRIP" >&6; }
5840 else
5841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5843 fi
5844
5845   if test "x$ac_ct_STRIP" = x; then
5846     STRIP=":"
5847   else
5848     case $cross_compiling:$ac_tool_warned in
5849 yes:)
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5852 ac_tool_warned=yes ;;
5853 esac
5854     STRIP=$ac_ct_STRIP
5855   fi
5856 else
5857   STRIP="$ac_cv_prog_STRIP"
5858 fi
5859
5860 test -z "$STRIP" && STRIP=:
5861
5862
5863
5864
5865
5866
5867 if test -n "$ac_tool_prefix"; then
5868   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5869 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5873   $as_echo_n "(cached) " >&6
5874 else
5875   if test -n "$RANLIB"; then
5876   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5880 do
5881   IFS=$as_save_IFS
5882   test -z "$as_dir" && as_dir=.
5883     for ac_exec_ext in '' $ac_executable_extensions; do
5884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887     break 2
5888   fi
5889 done
5890   done
5891 IFS=$as_save_IFS
5892
5893 fi
5894 fi
5895 RANLIB=$ac_cv_prog_RANLIB
5896 if test -n "$RANLIB"; then
5897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5898 $as_echo "$RANLIB" >&6; }
5899 else
5900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5902 fi
5903
5904
5905 fi
5906 if test -z "$ac_cv_prog_RANLIB"; then
5907   ac_ct_RANLIB=$RANLIB
5908   # Extract the first word of "ranlib", so it can be a program name with args.
5909 set dummy ranlib; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5913   $as_echo_n "(cached) " >&6
5914 else
5915   if test -n "$ac_ct_RANLIB"; then
5916   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5917 else
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 for as_dir in $PATH
5920 do
5921   IFS=$as_save_IFS
5922   test -z "$as_dir" && as_dir=.
5923     for ac_exec_ext in '' $ac_executable_extensions; do
5924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925     ac_cv_prog_ac_ct_RANLIB="ranlib"
5926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927     break 2
5928   fi
5929 done
5930   done
5931 IFS=$as_save_IFS
5932
5933 fi
5934 fi
5935 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5936 if test -n "$ac_ct_RANLIB"; then
5937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5938 $as_echo "$ac_ct_RANLIB" >&6; }
5939 else
5940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5942 fi
5943
5944   if test "x$ac_ct_RANLIB" = x; then
5945     RANLIB=":"
5946   else
5947     case $cross_compiling:$ac_tool_warned in
5948 yes:)
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5951 ac_tool_warned=yes ;;
5952 esac
5953     RANLIB=$ac_ct_RANLIB
5954   fi
5955 else
5956   RANLIB="$ac_cv_prog_RANLIB"
5957 fi
5958
5959 test -z "$RANLIB" && RANLIB=:
5960
5961
5962
5963
5964
5965
5966 # Determine commands to create old-style static archives.
5967 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5968 old_postinstall_cmds='chmod 644 $oldlib'
5969 old_postuninstall_cmds=
5970
5971 if test -n "$RANLIB"; then
5972   case $host_os in
5973   openbsd*)
5974     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5975     ;;
5976   *)
5977     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5978     ;;
5979   esac
5980   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5981 fi
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016 # If no C compiler was specified, use CC.
6017 LTCC=${LTCC-"$CC"}
6018
6019 # If no C compiler flags were specified, use CFLAGS.
6020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6021
6022 # Allow CC to be a program name with arguments.
6023 compiler=$CC
6024
6025
6026 # Check for command to grab the raw symbol name followed by C symbol from nm.
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6028 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6029 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6030   $as_echo_n "(cached) " >&6
6031 else
6032
6033 # These are sane defaults that work on at least a few old systems.
6034 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6035
6036 # Character class describing NM global symbol codes.
6037 symcode='[BCDEGRST]'
6038
6039 # Regexp to match symbols that can be accessed directly from C.
6040 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6041
6042 # Define system-specific variables.
6043 case $host_os in
6044 aix*)
6045   symcode='[BCDT]'
6046   ;;
6047 cygwin* | mingw* | pw32* | cegcc*)
6048   symcode='[ABCDGISTW]'
6049   ;;
6050 hpux*)
6051   if test "$host_cpu" = ia64; then
6052     symcode='[ABCDEGRST]'
6053   fi
6054   ;;
6055 irix* | nonstopux*)
6056   symcode='[BCDEGRST]'
6057   ;;
6058 osf*)
6059   symcode='[BCDEGQRST]'
6060   ;;
6061 solaris*)
6062   symcode='[BDRT]'
6063   ;;
6064 sco3.2v5*)
6065   symcode='[DT]'
6066   ;;
6067 sysv4.2uw2*)
6068   symcode='[DT]'
6069   ;;
6070 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6071   symcode='[ABDT]'
6072   ;;
6073 sysv4)
6074   symcode='[DFNSTU]'
6075   ;;
6076 esac
6077
6078 # If we're using GNU nm, then use its standard symbol codes.
6079 case `$NM -V 2>&1` in
6080 *GNU* | *'with BFD'*)
6081   symcode='[ABCDGIRSTW]' ;;
6082 esac
6083
6084 # Transform an extracted symbol line into a proper C declaration.
6085 # Some systems (esp. on ia64) link data and code symbols differently,
6086 # so use this general approach.
6087 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6088
6089 # Transform an extracted symbol line into symbol name and symbol address
6090 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6091 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'"
6092
6093 # Handle CRLF in mingw tool chain
6094 opt_cr=
6095 case $build_os in
6096 mingw*)
6097   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6098   ;;
6099 esac
6100
6101 # Try without a prefix underscore, then with it.
6102 for ac_symprfx in "" "_"; do
6103
6104   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6105   symxfrm="\\1 $ac_symprfx\\2 \\2"
6106
6107   # Write the raw and C identifiers.
6108   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6109     # Fake it for dumpbin and say T for any non-static function
6110     # and D for any global variable.
6111     # Also find C++ and __fastcall symbols from MSVC++,
6112     # which start with @ or ?.
6113     lt_cv_sys_global_symbol_pipe="$AWK '"\
6114 "     {last_section=section; section=\$ 3};"\
6115 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6116 "     \$ 0!~/External *\|/{next};"\
6117 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6118 "     {if(hide[section]) next};"\
6119 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6120 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6121 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6122 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6123 "     ' prfx=^$ac_symprfx"
6124   else
6125     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6126   fi
6127
6128   # Check to see that the pipe works correctly.
6129   pipe_works=no
6130
6131   rm -f conftest*
6132   cat > conftest.$ac_ext <<_LT_EOF
6133 #ifdef __cplusplus
6134 extern "C" {
6135 #endif
6136 char nm_test_var;
6137 void nm_test_func(void);
6138 void nm_test_func(void){}
6139 #ifdef __cplusplus
6140 }
6141 #endif
6142 int main(){nm_test_var='a';nm_test_func();return(0);}
6143 _LT_EOF
6144
6145   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6146   (eval $ac_compile) 2>&5
6147   ac_status=$?
6148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6149   test $ac_status = 0; }; then
6150     # Now try to grab the symbols.
6151     nlist=conftest.nm
6152     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6153   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6154   ac_status=$?
6155   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156   test $ac_status = 0; } && test -s "$nlist"; then
6157       # Try sorting and uniquifying the output.
6158       if sort "$nlist" | uniq > "$nlist"T; then
6159         mv -f "$nlist"T "$nlist"
6160       else
6161         rm -f "$nlist"T
6162       fi
6163
6164       # Make sure that we snagged all the symbols we need.
6165       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6166         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6167           cat <<_LT_EOF > conftest.$ac_ext
6168 #ifdef __cplusplus
6169 extern "C" {
6170 #endif
6171
6172 _LT_EOF
6173           # Now generate the symbol file.
6174           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6175
6176           cat <<_LT_EOF >> conftest.$ac_ext
6177
6178 /* The mapping between symbol names and symbols.  */
6179 const struct {
6180   const char *name;
6181   void       *address;
6182 }
6183 lt__PROGRAM__LTX_preloaded_symbols[] =
6184 {
6185   { "@PROGRAM@", (void *) 0 },
6186 _LT_EOF
6187           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6188           cat <<\_LT_EOF >> conftest.$ac_ext
6189   {0, (void *) 0}
6190 };
6191
6192 /* This works around a problem in FreeBSD linker */
6193 #ifdef FREEBSD_WORKAROUND
6194 static const void *lt_preloaded_setup() {
6195   return lt__PROGRAM__LTX_preloaded_symbols;
6196 }
6197 #endif
6198
6199 #ifdef __cplusplus
6200 }
6201 #endif
6202 _LT_EOF
6203           # Now try linking the two files.
6204           mv conftest.$ac_objext conftstm.$ac_objext
6205           lt_save_LIBS="$LIBS"
6206           lt_save_CFLAGS="$CFLAGS"
6207           LIBS="conftstm.$ac_objext"
6208           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6209           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6210   (eval $ac_link) 2>&5
6211   ac_status=$?
6212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6214             pipe_works=yes
6215           fi
6216           LIBS="$lt_save_LIBS"
6217           CFLAGS="$lt_save_CFLAGS"
6218         else
6219           echo "cannot find nm_test_func in $nlist" >&5
6220         fi
6221       else
6222         echo "cannot find nm_test_var in $nlist" >&5
6223       fi
6224     else
6225       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6226     fi
6227   else
6228     echo "$progname: failed program was:" >&5
6229     cat conftest.$ac_ext >&5
6230   fi
6231   rm -rf conftest* conftst*
6232
6233   # Do not use the global_symbol_pipe unless it works.
6234   if test "$pipe_works" = yes; then
6235     break
6236   else
6237     lt_cv_sys_global_symbol_pipe=
6238   fi
6239 done
6240
6241 fi
6242
6243 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6244   lt_cv_sys_global_symbol_to_cdecl=
6245 fi
6246 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6248 $as_echo "failed" >&6; }
6249 else
6250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6251 $as_echo "ok" >&6; }
6252 fi
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276 # Check whether --enable-libtool-lock was given.
6277 if test "${enable_libtool_lock+set}" = set; then :
6278   enableval=$enable_libtool_lock;
6279 fi
6280
6281 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6282
6283 # Some flags need to be propagated to the compiler or linker for good
6284 # libtool support.
6285 case $host in
6286 ia64-*-hpux*)
6287   # Find out which ABI we are using.
6288   echo 'int i;' > conftest.$ac_ext
6289   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6290   (eval $ac_compile) 2>&5
6291   ac_status=$?
6292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293   test $ac_status = 0; }; then
6294     case `/usr/bin/file conftest.$ac_objext` in
6295       *ELF-32*)
6296         HPUX_IA64_MODE="32"
6297         ;;
6298       *ELF-64*)
6299         HPUX_IA64_MODE="64"
6300         ;;
6301     esac
6302   fi
6303   rm -rf conftest*
6304   ;;
6305 *-*-irix6*)
6306   # Find out which ABI we are using.
6307   echo '#line 6307 "configure"' > conftest.$ac_ext
6308   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6309   (eval $ac_compile) 2>&5
6310   ac_status=$?
6311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6312   test $ac_status = 0; }; then
6313     if test "$lt_cv_prog_gnu_ld" = yes; then
6314       case `/usr/bin/file conftest.$ac_objext` in
6315         *32-bit*)
6316           LD="${LD-ld} -melf32bsmip"
6317           ;;
6318         *N32*)
6319           LD="${LD-ld} -melf32bmipn32"
6320           ;;
6321         *64-bit*)
6322           LD="${LD-ld} -melf64bmip"
6323         ;;
6324       esac
6325     else
6326       case `/usr/bin/file conftest.$ac_objext` in
6327         *32-bit*)
6328           LD="${LD-ld} -32"
6329           ;;
6330         *N32*)
6331           LD="${LD-ld} -n32"
6332           ;;
6333         *64-bit*)
6334           LD="${LD-ld} -64"
6335           ;;
6336       esac
6337     fi
6338   fi
6339   rm -rf conftest*
6340   ;;
6341
6342 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6343 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6344   # Find out which ABI we are using.
6345   echo 'int i;' > conftest.$ac_ext
6346   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6347   (eval $ac_compile) 2>&5
6348   ac_status=$?
6349   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6350   test $ac_status = 0; }; then
6351     case `/usr/bin/file conftest.o` in
6352       *32-bit*)
6353         case $host in
6354           x86_64-*kfreebsd*-gnu)
6355             LD="${LD-ld} -m elf_i386_fbsd"
6356             ;;
6357           x86_64-*linux*)
6358             LD="${LD-ld} -m elf_i386"
6359             ;;
6360           ppc64-*linux*|powerpc64-*linux*)
6361             LD="${LD-ld} -m elf32ppclinux"
6362             ;;
6363           s390x-*linux*)
6364             LD="${LD-ld} -m elf_s390"
6365             ;;
6366           sparc64-*linux*)
6367             LD="${LD-ld} -m elf32_sparc"
6368             ;;
6369         esac
6370         ;;
6371       *64-bit*)
6372         case $host in
6373           x86_64-*kfreebsd*-gnu)
6374             LD="${LD-ld} -m elf_x86_64_fbsd"
6375             ;;
6376           x86_64-*linux*)
6377             LD="${LD-ld} -m elf_x86_64"
6378             ;;
6379           ppc*-*linux*|powerpc*-*linux*)
6380             LD="${LD-ld} -m elf64ppc"
6381             ;;
6382           s390*-*linux*|s390*-*tpf*)
6383             LD="${LD-ld} -m elf64_s390"
6384             ;;
6385           sparc*-*linux*)
6386             LD="${LD-ld} -m elf64_sparc"
6387             ;;
6388         esac
6389         ;;
6390     esac
6391   fi
6392   rm -rf conftest*
6393   ;;
6394
6395 *-*-sco3.2v5*)
6396   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6397   SAVE_CFLAGS="$CFLAGS"
6398   CFLAGS="$CFLAGS -belf"
6399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6400 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6401 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6402   $as_echo_n "(cached) " >&6
6403 else
6404   ac_ext=c
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6409
6410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h.  */
6412
6413 int
6414 main ()
6415 {
6416
6417   ;
6418   return 0;
6419 }
6420 _ACEOF
6421 if ac_fn_c_try_link "$LINENO"; then :
6422   lt_cv_cc_needs_belf=yes
6423 else
6424   lt_cv_cc_needs_belf=no
6425 fi
6426 rm -f core conftest.err conftest.$ac_objext \
6427     conftest$ac_exeext conftest.$ac_ext
6428      ac_ext=c
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6433
6434 fi
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6436 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6437   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6438     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6439     CFLAGS="$SAVE_CFLAGS"
6440   fi
6441   ;;
6442 sparc*-*solaris*)
6443   # Find out which ABI we are using.
6444   echo 'int i;' > conftest.$ac_ext
6445   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446   (eval $ac_compile) 2>&5
6447   ac_status=$?
6448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449   test $ac_status = 0; }; then
6450     case `/usr/bin/file conftest.o` in
6451     *64-bit*)
6452       case $lt_cv_prog_gnu_ld in
6453       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6454       *)
6455         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6456           LD="${LD-ld} -64"
6457         fi
6458         ;;
6459       esac
6460       ;;
6461     esac
6462   fi
6463   rm -rf conftest*
6464   ;;
6465 esac
6466
6467 need_locks="$enable_libtool_lock"
6468
6469
6470   case $host_os in
6471     rhapsody* | darwin*)
6472     if test -n "$ac_tool_prefix"; then
6473   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6474 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 $as_echo_n "checking for $ac_word... " >&6; }
6477 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6478   $as_echo_n "(cached) " >&6
6479 else
6480   if test -n "$DSYMUTIL"; then
6481   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6482 else
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 for as_dir in $PATH
6485 do
6486   IFS=$as_save_IFS
6487   test -z "$as_dir" && as_dir=.
6488     for ac_exec_ext in '' $ac_executable_extensions; do
6489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6490     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6492     break 2
6493   fi
6494 done
6495   done
6496 IFS=$as_save_IFS
6497
6498 fi
6499 fi
6500 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6501 if test -n "$DSYMUTIL"; then
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6503 $as_echo "$DSYMUTIL" >&6; }
6504 else
6505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6507 fi
6508
6509
6510 fi
6511 if test -z "$ac_cv_prog_DSYMUTIL"; then
6512   ac_ct_DSYMUTIL=$DSYMUTIL
6513   # Extract the first word of "dsymutil", so it can be a program name with args.
6514 set dummy dsymutil; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6518   $as_echo_n "(cached) " >&6
6519 else
6520   if test -n "$ac_ct_DSYMUTIL"; then
6521   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526   IFS=$as_save_IFS
6527   test -z "$as_dir" && as_dir=.
6528     for ac_exec_ext in '' $ac_executable_extensions; do
6529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532     break 2
6533   fi
6534 done
6535   done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6541 if test -n "$ac_ct_DSYMUTIL"; then
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6543 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6544 else
6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549   if test "x$ac_ct_DSYMUTIL" = x; then
6550     DSYMUTIL=":"
6551   else
6552     case $cross_compiling:$ac_tool_warned in
6553 yes:)
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6556 ac_tool_warned=yes ;;
6557 esac
6558     DSYMUTIL=$ac_ct_DSYMUTIL
6559   fi
6560 else
6561   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6562 fi
6563
6564     if test -n "$ac_tool_prefix"; then
6565   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6566 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   if test -n "$NMEDIT"; then
6573   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6577 do
6578   IFS=$as_save_IFS
6579   test -z "$as_dir" && as_dir=.
6580     for ac_exec_ext in '' $ac_executable_extensions; do
6581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584     break 2
6585   fi
6586 done
6587   done
6588 IFS=$as_save_IFS
6589
6590 fi
6591 fi
6592 NMEDIT=$ac_cv_prog_NMEDIT
6593 if test -n "$NMEDIT"; then
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6595 $as_echo "$NMEDIT" >&6; }
6596 else
6597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6599 fi
6600
6601
6602 fi
6603 if test -z "$ac_cv_prog_NMEDIT"; then
6604   ac_ct_NMEDIT=$NMEDIT
6605   # Extract the first word of "nmedit", so it can be a program name with args.
6606 set dummy nmedit; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6610   $as_echo_n "(cached) " >&6
6611 else
6612   if test -n "$ac_ct_NMEDIT"; then
6613   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618   IFS=$as_save_IFS
6619   test -z "$as_dir" && as_dir=.
6620     for ac_exec_ext in '' $ac_executable_extensions; do
6621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624     break 2
6625   fi
6626 done
6627   done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6633 if test -n "$ac_ct_NMEDIT"; then
6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6635 $as_echo "$ac_ct_NMEDIT" >&6; }
6636 else
6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641   if test "x$ac_ct_NMEDIT" = x; then
6642     NMEDIT=":"
6643   else
6644     case $cross_compiling:$ac_tool_warned in
6645 yes:)
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6648 ac_tool_warned=yes ;;
6649 esac
6650     NMEDIT=$ac_ct_NMEDIT
6651   fi
6652 else
6653   NMEDIT="$ac_cv_prog_NMEDIT"
6654 fi
6655
6656     if test -n "$ac_tool_prefix"; then
6657   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6658 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if test "${ac_cv_prog_LIPO+set}" = set; then :
6662   $as_echo_n "(cached) " >&6
6663 else
6664   if test -n "$LIPO"; then
6665   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6669 do
6670   IFS=$as_save_IFS
6671   test -z "$as_dir" && as_dir=.
6672     for ac_exec_ext in '' $ac_executable_extensions; do
6673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676     break 2
6677   fi
6678 done
6679   done
6680 IFS=$as_save_IFS
6681
6682 fi
6683 fi
6684 LIPO=$ac_cv_prog_LIPO
6685 if test -n "$LIPO"; then
6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6687 $as_echo "$LIPO" >&6; }
6688 else
6689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6691 fi
6692
6693
6694 fi
6695 if test -z "$ac_cv_prog_LIPO"; then
6696   ac_ct_LIPO=$LIPO
6697   # Extract the first word of "lipo", so it can be a program name with args.
6698 set dummy lipo; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6702   $as_echo_n "(cached) " >&6
6703 else
6704   if test -n "$ac_ct_LIPO"; then
6705   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6709 do
6710   IFS=$as_save_IFS
6711   test -z "$as_dir" && as_dir=.
6712     for ac_exec_ext in '' $ac_executable_extensions; do
6713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714     ac_cv_prog_ac_ct_LIPO="lipo"
6715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716     break 2
6717   fi
6718 done
6719   done
6720 IFS=$as_save_IFS
6721
6722 fi
6723 fi
6724 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6725 if test -n "$ac_ct_LIPO"; then
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6727 $as_echo "$ac_ct_LIPO" >&6; }
6728 else
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6731 fi
6732
6733   if test "x$ac_ct_LIPO" = x; then
6734     LIPO=":"
6735   else
6736     case $cross_compiling:$ac_tool_warned in
6737 yes:)
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned=yes ;;
6741 esac
6742     LIPO=$ac_ct_LIPO
6743   fi
6744 else
6745   LIPO="$ac_cv_prog_LIPO"
6746 fi
6747
6748     if test -n "$ac_tool_prefix"; then
6749   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}otool; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6754   $as_echo_n "(cached) " >&6
6755 else
6756   if test -n "$OTOOL"; then
6757   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6758 else
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 for as_dir in $PATH
6761 do
6762   IFS=$as_save_IFS
6763   test -z "$as_dir" && as_dir=.
6764     for ac_exec_ext in '' $ac_executable_extensions; do
6765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768     break 2
6769   fi
6770 done
6771   done
6772 IFS=$as_save_IFS
6773
6774 fi
6775 fi
6776 OTOOL=$ac_cv_prog_OTOOL
6777 if test -n "$OTOOL"; then
6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6779 $as_echo "$OTOOL" >&6; }
6780 else
6781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6783 fi
6784
6785
6786 fi
6787 if test -z "$ac_cv_prog_OTOOL"; then
6788   ac_ct_OTOOL=$OTOOL
6789   # Extract the first word of "otool", so it can be a program name with args.
6790 set dummy otool; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6794   $as_echo_n "(cached) " >&6
6795 else
6796   if test -n "$ac_ct_OTOOL"; then
6797   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6801 do
6802   IFS=$as_save_IFS
6803   test -z "$as_dir" && as_dir=.
6804     for ac_exec_ext in '' $ac_executable_extensions; do
6805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806     ac_cv_prog_ac_ct_OTOOL="otool"
6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808     break 2
6809   fi
6810 done
6811   done
6812 IFS=$as_save_IFS
6813
6814 fi
6815 fi
6816 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6817 if test -n "$ac_ct_OTOOL"; then
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6819 $as_echo "$ac_ct_OTOOL" >&6; }
6820 else
6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6823 fi
6824
6825   if test "x$ac_ct_OTOOL" = x; then
6826     OTOOL=":"
6827   else
6828     case $cross_compiling:$ac_tool_warned in
6829 yes:)
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned=yes ;;
6833 esac
6834     OTOOL=$ac_ct_OTOOL
6835   fi
6836 else
6837   OTOOL="$ac_cv_prog_OTOOL"
6838 fi
6839
6840     if test -n "$ac_tool_prefix"; then
6841   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6842 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6846   $as_echo_n "(cached) " >&6
6847 else
6848   if test -n "$OTOOL64"; then
6849   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6850 else
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 for as_dir in $PATH
6853 do
6854   IFS=$as_save_IFS
6855   test -z "$as_dir" && as_dir=.
6856     for ac_exec_ext in '' $ac_executable_extensions; do
6857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6860     break 2
6861   fi
6862 done
6863   done
6864 IFS=$as_save_IFS
6865
6866 fi
6867 fi
6868 OTOOL64=$ac_cv_prog_OTOOL64
6869 if test -n "$OTOOL64"; then
6870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6871 $as_echo "$OTOOL64" >&6; }
6872 else
6873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6875 fi
6876
6877
6878 fi
6879 if test -z "$ac_cv_prog_OTOOL64"; then
6880   ac_ct_OTOOL64=$OTOOL64
6881   # Extract the first word of "otool64", so it can be a program name with args.
6882 set dummy otool64; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6886   $as_echo_n "(cached) " >&6
6887 else
6888   if test -n "$ac_ct_OTOOL64"; then
6889   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6893 do
6894   IFS=$as_save_IFS
6895   test -z "$as_dir" && as_dir=.
6896     for ac_exec_ext in '' $ac_executable_extensions; do
6897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6898     ac_cv_prog_ac_ct_OTOOL64="otool64"
6899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900     break 2
6901   fi
6902 done
6903   done
6904 IFS=$as_save_IFS
6905
6906 fi
6907 fi
6908 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6909 if test -n "$ac_ct_OTOOL64"; then
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6911 $as_echo "$ac_ct_OTOOL64" >&6; }
6912 else
6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6915 fi
6916
6917   if test "x$ac_ct_OTOOL64" = x; then
6918     OTOOL64=":"
6919   else
6920     case $cross_compiling:$ac_tool_warned in
6921 yes:)
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6925 esac
6926     OTOOL64=$ac_ct_OTOOL64
6927   fi
6928 else
6929   OTOOL64="$ac_cv_prog_OTOOL64"
6930 fi
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6959 $as_echo_n "checking for -single_module linker flag... " >&6; }
6960 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6961   $as_echo_n "(cached) " >&6
6962 else
6963   lt_cv_apple_cc_single_mod=no
6964       if test -z "${LT_MULTI_MODULE}"; then
6965         # By default we will add the -single_module flag. You can override
6966         # by either setting the environment variable LT_MULTI_MODULE
6967         # non-empty at configure time, or by adding -multi_module to the
6968         # link flags.
6969         rm -rf libconftest.dylib*
6970         echo "int foo(void){return 1;}" > conftest.c
6971         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6972 -dynamiclib -Wl,-single_module conftest.c" >&5
6973         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6974           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6975         _lt_result=$?
6976         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6977           lt_cv_apple_cc_single_mod=yes
6978         else
6979           cat conftest.err >&5
6980         fi
6981         rm -rf libconftest.dylib*
6982         rm -f conftest.*
6983       fi
6984 fi
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6986 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6988 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6989 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6990   $as_echo_n "(cached) " >&6
6991 else
6992   lt_cv_ld_exported_symbols_list=no
6993       save_LDFLAGS=$LDFLAGS
6994       echo "_main" > conftest.sym
6995       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997 /* end confdefs.h.  */
6998
6999 int
7000 main ()
7001 {
7002
7003   ;
7004   return 0;
7005 }
7006 _ACEOF
7007 if ac_fn_c_try_link "$LINENO"; then :
7008   lt_cv_ld_exported_symbols_list=yes
7009 else
7010   lt_cv_ld_exported_symbols_list=no
7011 fi
7012 rm -f core conftest.err conftest.$ac_objext \
7013     conftest$ac_exeext conftest.$ac_ext
7014         LDFLAGS="$save_LDFLAGS"
7015
7016 fi
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7018 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7019     case $host_os in
7020     rhapsody* | darwin1.[012])
7021       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7022     darwin1.*)
7023       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7024     darwin*) # darwin 5.x on
7025       # if running on 10.5 or later, the deployment target defaults
7026       # to the OS version, if on x86, and 10.4, the deployment
7027       # target defaults to 10.4. Don't you love it?
7028       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7029         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7030           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7031         10.[012]*)
7032           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7033         10.*)
7034           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7035       esac
7036     ;;
7037   esac
7038     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7039       _lt_dar_single_mod='$single_module'
7040     fi
7041     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7042       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7043     else
7044       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7045     fi
7046     if test "$DSYMUTIL" != ":"; then
7047       _lt_dsymutil='~$DSYMUTIL $lib || :'
7048     else
7049       _lt_dsymutil=
7050     fi
7051     ;;
7052   esac
7053
7054 ac_ext=c
7055 ac_cpp='$CPP $CPPFLAGS'
7056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7060 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7061 # On Suns, sometimes $CPP names a directory.
7062 if test -n "$CPP" && test -d "$CPP"; then
7063   CPP=
7064 fi
7065 if test -z "$CPP"; then
7066   if test "${ac_cv_prog_CPP+set}" = set; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069       # Double quotes because CPP needs to be expanded
7070     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7071     do
7072       ac_preproc_ok=false
7073 for ac_c_preproc_warn_flag in '' yes
7074 do
7075   # Use a header file that comes with gcc, so configuring glibc
7076   # with a fresh cross-compiler works.
7077   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7078   # <limits.h> exists even on freestanding compilers.
7079   # On the NeXT, cc -E runs the code through the compiler's parser,
7080   # not just through cpp. "Syntax error" is here to catch this case.
7081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h.  */
7083 #ifdef __STDC__
7084 # include <limits.h>
7085 #else
7086 # include <assert.h>
7087 #endif
7088                      Syntax error
7089 _ACEOF
7090 if ac_fn_c_try_cpp "$LINENO"; then :
7091
7092 else
7093   # Broken: fails on valid input.
7094 continue
7095 fi
7096 rm -f conftest.err conftest.$ac_ext
7097
7098   # OK, works on sane cases.  Now check whether nonexistent headers
7099   # can be detected and how.
7100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h.  */
7102 #include <ac_nonexistent.h>
7103 _ACEOF
7104 if ac_fn_c_try_cpp "$LINENO"; then :
7105   # Broken: success on invalid input.
7106 continue
7107 else
7108   # Passes both tests.
7109 ac_preproc_ok=:
7110 break
7111 fi
7112 rm -f conftest.err conftest.$ac_ext
7113
7114 done
7115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7116 rm -f conftest.err conftest.$ac_ext
7117 if $ac_preproc_ok; then :
7118   break
7119 fi
7120
7121     done
7122     ac_cv_prog_CPP=$CPP
7123
7124 fi
7125   CPP=$ac_cv_prog_CPP
7126 else
7127   ac_cv_prog_CPP=$CPP
7128 fi
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7130 $as_echo "$CPP" >&6; }
7131 ac_preproc_ok=false
7132 for ac_c_preproc_warn_flag in '' yes
7133 do
7134   # Use a header file that comes with gcc, so configuring glibc
7135   # with a fresh cross-compiler works.
7136   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7137   # <limits.h> exists even on freestanding compilers.
7138   # On the NeXT, cc -E runs the code through the compiler's parser,
7139   # not just through cpp. "Syntax error" is here to catch this case.
7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h.  */
7142 #ifdef __STDC__
7143 # include <limits.h>
7144 #else
7145 # include <assert.h>
7146 #endif
7147                      Syntax error
7148 _ACEOF
7149 if ac_fn_c_try_cpp "$LINENO"; then :
7150
7151 else
7152   # Broken: fails on valid input.
7153 continue
7154 fi
7155 rm -f conftest.err conftest.$ac_ext
7156
7157   # OK, works on sane cases.  Now check whether nonexistent headers
7158   # can be detected and how.
7159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h.  */
7161 #include <ac_nonexistent.h>
7162 _ACEOF
7163 if ac_fn_c_try_cpp "$LINENO"; then :
7164   # Broken: success on invalid input.
7165 continue
7166 else
7167   # Passes both tests.
7168 ac_preproc_ok=:
7169 break
7170 fi
7171 rm -f conftest.err conftest.$ac_ext
7172
7173 done
7174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7175 rm -f conftest.err conftest.$ac_ext
7176 if $ac_preproc_ok; then :
7177
7178 else
7179   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7181 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7182 See \`config.log' for more details." "$LINENO" 5; }
7183 fi
7184
7185 ac_ext=c
7186 ac_cpp='$CPP $CPPFLAGS'
7187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7190
7191
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7193 $as_echo_n "checking for ANSI C header files... " >&6; }
7194 if test "${ac_cv_header_stdc+set}" = set; then :
7195   $as_echo_n "(cached) " >&6
7196 else
7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h.  */
7199 #include <stdlib.h>
7200 #include <stdarg.h>
7201 #include <string.h>
7202 #include <float.h>
7203
7204 int
7205 main ()
7206 {
7207
7208   ;
7209   return 0;
7210 }
7211 _ACEOF
7212 if ac_fn_c_try_compile "$LINENO"; then :
7213   ac_cv_header_stdc=yes
7214 else
7215   ac_cv_header_stdc=no
7216 fi
7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7218
7219 if test $ac_cv_header_stdc = yes; then
7220   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h.  */
7223 #include <string.h>
7224
7225 _ACEOF
7226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7227   $EGREP "memchr" >/dev/null 2>&1; then :
7228
7229 else
7230   ac_cv_header_stdc=no
7231 fi
7232 rm -f conftest*
7233
7234 fi
7235
7236 if test $ac_cv_header_stdc = yes; then
7237   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h.  */
7240 #include <stdlib.h>
7241
7242 _ACEOF
7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7244   $EGREP "free" >/dev/null 2>&1; then :
7245
7246 else
7247   ac_cv_header_stdc=no
7248 fi
7249 rm -f conftest*
7250
7251 fi
7252
7253 if test $ac_cv_header_stdc = yes; then
7254   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7255   if test "$cross_compiling" = yes; then :
7256   :
7257 else
7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h.  */
7260 #include <ctype.h>
7261 #include <stdlib.h>
7262 #if ((' ' & 0x0FF) == 0x020)
7263 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7264 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7265 #else
7266 # define ISLOWER(c) \
7267                    (('a' <= (c) && (c) <= 'i') \
7268                      || ('j' <= (c) && (c) <= 'r') \
7269                      || ('s' <= (c) && (c) <= 'z'))
7270 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7271 #endif
7272
7273 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7274 int
7275 main ()
7276 {
7277   int i;
7278   for (i = 0; i < 256; i++)
7279     if (XOR (islower (i), ISLOWER (i))
7280         || toupper (i) != TOUPPER (i))
7281       return 2;
7282   return 0;
7283 }
7284 _ACEOF
7285 if ac_fn_c_try_run "$LINENO"; then :
7286
7287 else
7288   ac_cv_header_stdc=no
7289 fi
7290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7291   conftest.$ac_objext conftest.beam conftest.$ac_ext
7292 fi
7293
7294 fi
7295 fi
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7297 $as_echo "$ac_cv_header_stdc" >&6; }
7298 if test $ac_cv_header_stdc = yes; then
7299
7300 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7301
7302 fi
7303
7304 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7305 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7306                   inttypes.h stdint.h unistd.h
7307 do :
7308   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7309 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7310 "
7311 eval as_val=\$$as_ac_Header
7312    if test "x$as_val" = x""yes; then :
7313   cat >>confdefs.h <<_ACEOF
7314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7315 _ACEOF
7316
7317 fi
7318
7319 done
7320
7321
7322 for ac_header in dlfcn.h
7323 do :
7324   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7325 "
7326 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7327   cat >>confdefs.h <<_ACEOF
7328 #define HAVE_DLFCN_H 1
7329 _ACEOF
7330
7331 fi
7332
7333 done
7334
7335
7336
7337 # Set options
7338
7339
7340
7341         enable_dlopen=no
7342
7343
7344
7345             # Check whether --enable-shared was given.
7346 if test "${enable_shared+set}" = set; then :
7347   enableval=$enable_shared; p=${PACKAGE-default}
7348     case $enableval in
7349     yes) enable_shared=yes ;;
7350     no) enable_shared=no ;;
7351     *)
7352       enable_shared=no
7353       # Look at the argument we got.  We use all the common list separators.
7354       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7355       for pkg in $enableval; do
7356         IFS="$lt_save_ifs"
7357         if test "X$pkg" = "X$p"; then
7358           enable_shared=yes
7359         fi
7360       done
7361       IFS="$lt_save_ifs"
7362       ;;
7363     esac
7364 else
7365   enable_shared=yes
7366 fi
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376   # Check whether --enable-static was given.
7377 if test "${enable_static+set}" = set; then :
7378   enableval=$enable_static; p=${PACKAGE-default}
7379     case $enableval in
7380     yes) enable_static=yes ;;
7381     no) enable_static=no ;;
7382     *)
7383      enable_static=no
7384       # Look at the argument we got.  We use all the common list separators.
7385       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7386       for pkg in $enableval; do
7387         IFS="$lt_save_ifs"
7388         if test "X$pkg" = "X$p"; then
7389           enable_static=yes
7390         fi
7391       done
7392       IFS="$lt_save_ifs"
7393       ;;
7394     esac
7395 else
7396   enable_static=yes
7397 fi
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408 # Check whether --with-pic was given.
7409 if test "${with_pic+set}" = set; then :
7410   withval=$with_pic; pic_mode="$withval"
7411 else
7412   pic_mode=default
7413 fi
7414
7415
7416 test -z "$pic_mode" && pic_mode=default
7417
7418
7419
7420
7421
7422
7423
7424   # Check whether --enable-fast-install was given.
7425 if test "${enable_fast_install+set}" = set; then :
7426   enableval=$enable_fast_install; p=${PACKAGE-default}
7427     case $enableval in
7428     yes) enable_fast_install=yes ;;
7429     no) enable_fast_install=no ;;
7430     *)
7431       enable_fast_install=no
7432       # Look at the argument we got.  We use all the common list separators.
7433       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7434       for pkg in $enableval; do
7435         IFS="$lt_save_ifs"
7436         if test "X$pkg" = "X$p"; then
7437           enable_fast_install=yes
7438         fi
7439       done
7440       IFS="$lt_save_ifs"
7441       ;;
7442     esac
7443 else
7444   enable_fast_install=yes
7445 fi
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457 # This can be used to rebuild libtool when needed
7458 LIBTOOL_DEPS="$ltmain"
7459
7460 # Always use our own libtool.
7461 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487 test -z "$LN_S" && LN_S="ln -s"
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502 if test -n "${ZSH_VERSION+set}" ; then
7503    setopt NO_GLOB_SUBST
7504 fi
7505
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7507 $as_echo_n "checking for objdir... " >&6; }
7508 if test "${lt_cv_objdir+set}" = set; then :
7509   $as_echo_n "(cached) " >&6
7510 else
7511   rm -f .libs 2>/dev/null
7512 mkdir .libs 2>/dev/null
7513 if test -d .libs; then
7514   lt_cv_objdir=.libs
7515 else
7516   # MS-DOS does not allow filenames that begin with a dot.
7517   lt_cv_objdir=_libs
7518 fi
7519 rmdir .libs 2>/dev/null
7520 fi
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7522 $as_echo "$lt_cv_objdir" >&6; }
7523 objdir=$lt_cv_objdir
7524
7525
7526
7527
7528
7529 cat >>confdefs.h <<_ACEOF
7530 #define LT_OBJDIR "$lt_cv_objdir/"
7531 _ACEOF
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549 case $host_os in
7550 aix3*)
7551   # AIX sometimes has problems with the GCC collect2 program.  For some
7552   # reason, if we set the COLLECT_NAMES environment variable, the problems
7553   # vanish in a puff of smoke.
7554   if test "X${COLLECT_NAMES+set}" != Xset; then
7555     COLLECT_NAMES=
7556     export COLLECT_NAMES
7557   fi
7558   ;;
7559 esac
7560
7561 # Sed substitution that helps us do robust quoting.  It backslashifies
7562 # metacharacters that are still active within double-quoted strings.
7563 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7564
7565 # Same as above, but do not quote variable references.
7566 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7567
7568 # Sed substitution to delay expansion of an escaped shell variable in a
7569 # double_quote_subst'ed string.
7570 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7571
7572 # Sed substitution to delay expansion of an escaped single quote.
7573 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7574
7575 # Sed substitution to avoid accidental globbing in evaled expressions
7576 no_glob_subst='s/\*/\\\*/g'
7577
7578 # Global variables:
7579 ofile=libtool
7580 can_build_shared=yes
7581
7582 # All known linkers require a `.a' archive for static linking (except MSVC,
7583 # which needs '.lib').
7584 libext=a
7585
7586 with_gnu_ld="$lt_cv_prog_gnu_ld"
7587
7588 old_CC="$CC"
7589 old_CFLAGS="$CFLAGS"
7590
7591 # Set sane defaults for various variables
7592 test -z "$CC" && CC=cc
7593 test -z "$LTCC" && LTCC=$CC
7594 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7595 test -z "$LD" && LD=ld
7596 test -z "$ac_objext" && ac_objext=o
7597
7598 for cc_temp in $compiler""; do
7599   case $cc_temp in
7600     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7601     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7602     \-*) ;;
7603     *) break;;
7604   esac
7605 done
7606 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7607
7608
7609 # Only perform the check for file, if the check method requires it
7610 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7611 case $deplibs_check_method in
7612 file_magic*)
7613   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7614     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7615 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7616 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7617   $as_echo_n "(cached) " >&6
7618 else
7619   case $MAGIC_CMD in
7620 [\\/*] |  ?:[\\/]*)
7621   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7622   ;;
7623 *)
7624   lt_save_MAGIC_CMD="$MAGIC_CMD"
7625   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7626   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7627   for ac_dir in $ac_dummy; do
7628     IFS="$lt_save_ifs"
7629     test -z "$ac_dir" && ac_dir=.
7630     if test -f $ac_dir/${ac_tool_prefix}file; then
7631       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7632       if test -n "$file_magic_test_file"; then
7633         case $deplibs_check_method in
7634         "file_magic "*)
7635           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7636           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7637           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7638             $EGREP "$file_magic_regex" > /dev/null; then
7639             :
7640           else
7641             cat <<_LT_EOF 1>&2
7642
7643 *** Warning: the command libtool uses to detect shared libraries,
7644 *** $file_magic_cmd, produces output that libtool cannot recognize.
7645 *** The result is that libtool may fail to recognize shared libraries
7646 *** as such.  This will affect the creation of libtool libraries that
7647 *** depend on shared libraries, but programs linked with such libtool
7648 *** libraries will work regardless of this problem.  Nevertheless, you
7649 *** may want to report the problem to your system manager and/or to
7650 *** bug-libtool@gnu.org
7651
7652 _LT_EOF
7653           fi ;;
7654         esac
7655       fi
7656       break
7657     fi
7658   done
7659   IFS="$lt_save_ifs"
7660   MAGIC_CMD="$lt_save_MAGIC_CMD"
7661   ;;
7662 esac
7663 fi
7664
7665 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7666 if test -n "$MAGIC_CMD"; then
7667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7668 $as_echo "$MAGIC_CMD" >&6; }
7669 else
7670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7672 fi
7673
7674
7675
7676
7677
7678 if test -z "$lt_cv_path_MAGIC_CMD"; then
7679   if test -n "$ac_tool_prefix"; then
7680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7681 $as_echo_n "checking for file... " >&6; }
7682 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7683   $as_echo_n "(cached) " >&6
7684 else
7685   case $MAGIC_CMD in
7686 [\\/*] |  ?:[\\/]*)
7687   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7688   ;;
7689 *)
7690   lt_save_MAGIC_CMD="$MAGIC_CMD"
7691   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7692   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7693   for ac_dir in $ac_dummy; do
7694     IFS="$lt_save_ifs"
7695     test -z "$ac_dir" && ac_dir=.
7696     if test -f $ac_dir/file; then
7697       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7698       if test -n "$file_magic_test_file"; then
7699         case $deplibs_check_method in
7700         "file_magic "*)
7701           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7702           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7703           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7704             $EGREP "$file_magic_regex" > /dev/null; then
7705             :
7706           else
7707             cat <<_LT_EOF 1>&2
7708
7709 *** Warning: the command libtool uses to detect shared libraries,
7710 *** $file_magic_cmd, produces output that libtool cannot recognize.
7711 *** The result is that libtool may fail to recognize shared libraries
7712 *** as such.  This will affect the creation of libtool libraries that
7713 *** depend on shared libraries, but programs linked with such libtool
7714 *** libraries will work regardless of this problem.  Nevertheless, you
7715 *** may want to report the problem to your system manager and/or to
7716 *** bug-libtool@gnu.org
7717
7718 _LT_EOF
7719           fi ;;
7720         esac
7721       fi
7722       break
7723     fi
7724   done
7725   IFS="$lt_save_ifs"
7726   MAGIC_CMD="$lt_save_MAGIC_CMD"
7727   ;;
7728 esac
7729 fi
7730
7731 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7732 if test -n "$MAGIC_CMD"; then
7733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7734 $as_echo "$MAGIC_CMD" >&6; }
7735 else
7736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7738 fi
7739
7740
7741   else
7742     MAGIC_CMD=:
7743   fi
7744 fi
7745
7746   fi
7747   ;;
7748 esac
7749
7750 # Use C for the default configuration in the libtool script
7751
7752 lt_save_CC="$CC"
7753 ac_ext=c
7754 ac_cpp='$CPP $CPPFLAGS'
7755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7758
7759
7760 # Source file extension for C test sources.
7761 ac_ext=c
7762
7763 # Object file extension for compiled C test sources.
7764 objext=o
7765 objext=$objext
7766
7767 # Code to be used in simple compile tests
7768 lt_simple_compile_test_code="int some_variable = 0;"
7769
7770 # Code to be used in simple link tests
7771 lt_simple_link_test_code='int main(){return(0);}'
7772
7773
7774
7775
7776
7777
7778
7779 # If no C compiler was specified, use CC.
7780 LTCC=${LTCC-"$CC"}
7781
7782 # If no C compiler flags were specified, use CFLAGS.
7783 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7784
7785 # Allow CC to be a program name with arguments.
7786 compiler=$CC
7787
7788 # Save the default compiler, since it gets overwritten when the other
7789 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7790 compiler_DEFAULT=$CC
7791
7792 # save warnings/boilerplate of simple test code
7793 ac_outfile=conftest.$ac_objext
7794 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7795 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7796 _lt_compiler_boilerplate=`cat conftest.err`
7797 $RM conftest*
7798
7799 ac_outfile=conftest.$ac_objext
7800 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7801 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7802 _lt_linker_boilerplate=`cat conftest.err`
7803 $RM -r conftest*
7804
7805
7806 ## CAVEAT EMPTOR:
7807 ## There is no encapsulation within the following macros, do not change
7808 ## the running order or otherwise move them around unless you know exactly
7809 ## what you are doing...
7810 if test -n "$compiler"; then
7811
7812 lt_prog_compiler_no_builtin_flag=
7813
7814 if test "$GCC" = yes; then
7815   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7816
7817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7818 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7819 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7820   $as_echo_n "(cached) " >&6
7821 else
7822   lt_cv_prog_compiler_rtti_exceptions=no
7823    ac_outfile=conftest.$ac_objext
7824    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7825    lt_compiler_flag="-fno-rtti -fno-exceptions"
7826    # Insert the option either (1) after the last *FLAGS variable, or
7827    # (2) before a word containing "conftest.", or (3) at the end.
7828    # Note that $ac_compile itself does not contain backslashes and begins
7829    # with a dollar sign (not a hyphen), so the echo should work correctly.
7830    # The option is referenced via a variable to avoid confusing sed.
7831    lt_compile=`echo "$ac_compile" | $SED \
7832    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7833    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7834    -e 's:$: $lt_compiler_flag:'`
7835    (eval echo "\"\$as_me:7835: $lt_compile\"" >&5)
7836    (eval "$lt_compile" 2>conftest.err)
7837    ac_status=$?
7838    cat conftest.err >&5
7839    echo "$as_me:7839: \$? = $ac_status" >&5
7840    if (exit $ac_status) && test -s "$ac_outfile"; then
7841      # The compiler can only warn and ignore the option if not recognized
7842      # So say no if there are warnings other than the usual output.
7843      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7844      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7845      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7846        lt_cv_prog_compiler_rtti_exceptions=yes
7847      fi
7848    fi
7849    $RM conftest*
7850
7851 fi
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7853 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7854
7855 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7856     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7857 else
7858     :
7859 fi
7860
7861 fi
7862
7863
7864
7865
7866
7867
7868   lt_prog_compiler_wl=
7869 lt_prog_compiler_pic=
7870 lt_prog_compiler_static=
7871
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7873 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7874
7875   if test "$GCC" = yes; then
7876     lt_prog_compiler_wl='-Wl,'
7877     lt_prog_compiler_static='-static'
7878
7879     case $host_os in
7880       aix*)
7881       # All AIX code is PIC.
7882       if test "$host_cpu" = ia64; then
7883         # AIX 5 now supports IA64 processor
7884         lt_prog_compiler_static='-Bstatic'
7885       fi
7886       ;;
7887
7888     amigaos*)
7889       case $host_cpu in
7890       powerpc)
7891             # see comment about AmigaOS4 .so support
7892             lt_prog_compiler_pic='-fPIC'
7893         ;;
7894       m68k)
7895             # FIXME: we need at least 68020 code to build shared libraries, but
7896             # adding the `-m68020' flag to GCC prevents building anything better,
7897             # like `-m68040'.
7898             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7899         ;;
7900       esac
7901       ;;
7902
7903     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7904       # PIC is the default for these OSes.
7905       ;;
7906
7907     mingw* | cygwin* | pw32* | os2* | cegcc*)
7908       # This hack is so that the source file can tell whether it is being
7909       # built for inclusion in a dll (and should export symbols for example).
7910       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7911       # (--disable-auto-import) libraries
7912       lt_prog_compiler_pic='-DDLL_EXPORT'
7913       ;;
7914
7915     darwin* | rhapsody*)
7916       # PIC is the default on this platform
7917       # Common symbols not allowed in MH_DYLIB files
7918       lt_prog_compiler_pic='-fno-common'
7919       ;;
7920
7921     hpux*)
7922       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7923       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7924       # sets the default TLS model and affects inlining.
7925       case $host_cpu in
7926       hppa*64*)
7927         # +Z the default
7928         ;;
7929       *)
7930         lt_prog_compiler_pic='-fPIC'
7931         ;;
7932       esac
7933       ;;
7934
7935     interix[3-9]*)
7936       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7937       # Instead, we relocate shared libraries at runtime.
7938       ;;
7939
7940     msdosdjgpp*)
7941       # Just because we use GCC doesn't mean we suddenly get shared libraries
7942       # on systems that don't support them.
7943       lt_prog_compiler_can_build_shared=no
7944       enable_shared=no
7945       ;;
7946
7947     *nto* | *qnx*)
7948       # QNX uses GNU C++, but need to define -shared option too, otherwise
7949       # it will coredump.
7950       lt_prog_compiler_pic='-fPIC -shared'
7951       ;;
7952
7953     sysv4*MP*)
7954       if test -d /usr/nec; then
7955         lt_prog_compiler_pic=-Kconform_pic
7956       fi
7957       ;;
7958
7959     *)
7960       lt_prog_compiler_pic='-fPIC'
7961       ;;
7962     esac
7963   else
7964     # PORTME Check for flag to pass linker flags through the system compiler.
7965     case $host_os in
7966     aix*)
7967       lt_prog_compiler_wl='-Wl,'
7968       if test "$host_cpu" = ia64; then
7969         # AIX 5 now supports IA64 processor
7970         lt_prog_compiler_static='-Bstatic'
7971       else
7972         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7973       fi
7974       ;;
7975
7976     mingw* | cygwin* | pw32* | os2* | cegcc*)
7977       # This hack is so that the source file can tell whether it is being
7978       # built for inclusion in a dll (and should export symbols for example).
7979       lt_prog_compiler_pic='-DDLL_EXPORT'
7980       ;;
7981
7982     hpux9* | hpux10* | hpux11*)
7983       lt_prog_compiler_wl='-Wl,'
7984       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7985       # not for PA HP-UX.
7986       case $host_cpu in
7987       hppa*64*|ia64*)
7988         # +Z the default
7989         ;;
7990       *)
7991         lt_prog_compiler_pic='+Z'
7992         ;;
7993       esac
7994       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7995       lt_prog_compiler_static='${wl}-a ${wl}archive'
7996       ;;
7997
7998     irix5* | irix6* | nonstopux*)
7999       lt_prog_compiler_wl='-Wl,'
8000       # PIC (with -KPIC) is the default.
8001       lt_prog_compiler_static='-non_shared'
8002       ;;
8003
8004     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8005       case $cc_basename in
8006       # old Intel for x86_64 which still supported -KPIC.
8007       ecc*)
8008         lt_prog_compiler_wl='-Wl,'
8009         lt_prog_compiler_pic='-KPIC'
8010         lt_prog_compiler_static='-static'
8011         ;;
8012       # icc used to be incompatible with GCC.
8013       # ICC 10 doesn't accept -KPIC any more.
8014       icc* | ifort*)
8015         lt_prog_compiler_wl='-Wl,'
8016         lt_prog_compiler_pic='-fPIC'
8017         lt_prog_compiler_static='-static'
8018         ;;
8019       # Lahey Fortran 8.1.
8020       lf95*)
8021         lt_prog_compiler_wl='-Wl,'
8022         lt_prog_compiler_pic='--shared'
8023         lt_prog_compiler_static='--static'
8024         ;;
8025       pgcc* | pgf77* | pgf90* | pgf95*)
8026         # Portland Group compilers (*not* the Pentium gcc compiler,
8027         # which looks to be a dead project)
8028         lt_prog_compiler_wl='-Wl,'
8029         lt_prog_compiler_pic='-fpic'
8030         lt_prog_compiler_static='-Bstatic'
8031         ;;
8032       ccc*)
8033         lt_prog_compiler_wl='-Wl,'
8034         # All Alpha code is PIC.
8035         lt_prog_compiler_static='-non_shared'
8036         ;;
8037       xl*)
8038         # IBM XL C 8.0/Fortran 10.1 on PPC
8039         lt_prog_compiler_wl='-Wl,'
8040         lt_prog_compiler_pic='-qpic'
8041         lt_prog_compiler_static='-qstaticlink'
8042         ;;
8043       *)
8044         case `$CC -V 2>&1 | sed 5q` in
8045         *Sun\ C*)
8046           # Sun C 5.9
8047           lt_prog_compiler_pic='-KPIC'
8048           lt_prog_compiler_static='-Bstatic'
8049           lt_prog_compiler_wl='-Wl,'
8050           ;;
8051         *Sun\ F*)
8052           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8053           lt_prog_compiler_pic='-KPIC'
8054           lt_prog_compiler_static='-Bstatic'
8055           lt_prog_compiler_wl=''
8056           ;;
8057         esac
8058         ;;
8059       esac
8060       ;;
8061
8062     newsos6)
8063       lt_prog_compiler_pic='-KPIC'
8064       lt_prog_compiler_static='-Bstatic'
8065       ;;
8066
8067     *nto* | *qnx*)
8068       # QNX uses GNU C++, but need to define -shared option too, otherwise
8069       # it will coredump.
8070       lt_prog_compiler_pic='-fPIC -shared'
8071       ;;
8072
8073     osf3* | osf4* | osf5*)
8074       lt_prog_compiler_wl='-Wl,'
8075       # All OSF/1 code is PIC.
8076       lt_prog_compiler_static='-non_shared'
8077       ;;
8078
8079     rdos*)
8080       lt_prog_compiler_static='-non_shared'
8081       ;;
8082
8083     solaris*)
8084       lt_prog_compiler_pic='-KPIC'
8085       lt_prog_compiler_static='-Bstatic'
8086       case $cc_basename in
8087       f77* | f90* | f95*)
8088         lt_prog_compiler_wl='-Qoption ld ';;
8089       *)
8090         lt_prog_compiler_wl='-Wl,';;
8091       esac
8092       ;;
8093
8094     sunos4*)
8095       lt_prog_compiler_wl='-Qoption ld '
8096       lt_prog_compiler_pic='-PIC'
8097       lt_prog_compiler_static='-Bstatic'
8098       ;;
8099
8100     sysv4 | sysv4.2uw2* | sysv4.3*)
8101       lt_prog_compiler_wl='-Wl,'
8102       lt_prog_compiler_pic='-KPIC'
8103       lt_prog_compiler_static='-Bstatic'
8104       ;;
8105
8106     sysv4*MP*)
8107       if test -d /usr/nec ;then
8108         lt_prog_compiler_pic='-Kconform_pic'
8109         lt_prog_compiler_static='-Bstatic'
8110       fi
8111       ;;
8112
8113     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8114       lt_prog_compiler_wl='-Wl,'
8115       lt_prog_compiler_pic='-KPIC'
8116       lt_prog_compiler_static='-Bstatic'
8117       ;;
8118
8119     unicos*)
8120       lt_prog_compiler_wl='-Wl,'
8121       lt_prog_compiler_can_build_shared=no
8122       ;;
8123
8124     uts4*)
8125       lt_prog_compiler_pic='-pic'
8126       lt_prog_compiler_static='-Bstatic'
8127       ;;
8128
8129     *)
8130       lt_prog_compiler_can_build_shared=no
8131       ;;
8132     esac
8133   fi
8134
8135 case $host_os in
8136   # For platforms which do not support PIC, -DPIC is meaningless:
8137   *djgpp*)
8138     lt_prog_compiler_pic=
8139     ;;
8140   *)
8141     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8142     ;;
8143 esac
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8145 $as_echo "$lt_prog_compiler_pic" >&6; }
8146
8147
8148
8149
8150
8151
8152 #
8153 # Check to make sure the PIC flag actually works.
8154 #
8155 if test -n "$lt_prog_compiler_pic"; then
8156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8157 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8158 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8159   $as_echo_n "(cached) " >&6
8160 else
8161   lt_cv_prog_compiler_pic_works=no
8162    ac_outfile=conftest.$ac_objext
8163    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8164    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8165    # Insert the option either (1) after the last *FLAGS variable, or
8166    # (2) before a word containing "conftest.", or (3) at the end.
8167    # Note that $ac_compile itself does not contain backslashes and begins
8168    # with a dollar sign (not a hyphen), so the echo should work correctly.
8169    # The option is referenced via a variable to avoid confusing sed.
8170    lt_compile=`echo "$ac_compile" | $SED \
8171    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8172    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8173    -e 's:$: $lt_compiler_flag:'`
8174    (eval echo "\"\$as_me:8174: $lt_compile\"" >&5)
8175    (eval "$lt_compile" 2>conftest.err)
8176    ac_status=$?
8177    cat conftest.err >&5
8178    echo "$as_me:8178: \$? = $ac_status" >&5
8179    if (exit $ac_status) && test -s "$ac_outfile"; then
8180      # The compiler can only warn and ignore the option if not recognized
8181      # So say no if there are warnings other than the usual output.
8182      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8183      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8184      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8185        lt_cv_prog_compiler_pic_works=yes
8186      fi
8187    fi
8188    $RM conftest*
8189
8190 fi
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8192 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8193
8194 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8195     case $lt_prog_compiler_pic in
8196      "" | " "*) ;;
8197      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8198      esac
8199 else
8200     lt_prog_compiler_pic=
8201      lt_prog_compiler_can_build_shared=no
8202 fi
8203
8204 fi
8205
8206
8207
8208
8209
8210
8211 #
8212 # Check to make sure the static flag actually works.
8213 #
8214 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8216 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8217 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8218   $as_echo_n "(cached) " >&6
8219 else
8220   lt_cv_prog_compiler_static_works=no
8221    save_LDFLAGS="$LDFLAGS"
8222    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8223    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8224    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8225      # The linker can only warn and ignore the option if not recognized
8226      # So say no if there are warnings
8227      if test -s conftest.err; then
8228        # Append any errors to the config.log.
8229        cat conftest.err 1>&5
8230        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8231        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8232        if diff conftest.exp conftest.er2 >/dev/null; then
8233          lt_cv_prog_compiler_static_works=yes
8234        fi
8235      else
8236        lt_cv_prog_compiler_static_works=yes
8237      fi
8238    fi
8239    $RM -r conftest*
8240    LDFLAGS="$save_LDFLAGS"
8241
8242 fi
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8244 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8245
8246 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8247     :
8248 else
8249     lt_prog_compiler_static=
8250 fi
8251
8252
8253
8254
8255
8256
8257
8258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8259 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8260 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8261   $as_echo_n "(cached) " >&6
8262 else
8263   lt_cv_prog_compiler_c_o=no
8264    $RM -r conftest 2>/dev/null
8265    mkdir conftest
8266    cd conftest
8267    mkdir out
8268    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8269
8270    lt_compiler_flag="-o out/conftest2.$ac_objext"
8271    # Insert the option either (1) after the last *FLAGS variable, or
8272    # (2) before a word containing "conftest.", or (3) at the end.
8273    # Note that $ac_compile itself does not contain backslashes and begins
8274    # with a dollar sign (not a hyphen), so the echo should work correctly.
8275    lt_compile=`echo "$ac_compile" | $SED \
8276    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278    -e 's:$: $lt_compiler_flag:'`
8279    (eval echo "\"\$as_me:8279: $lt_compile\"" >&5)
8280    (eval "$lt_compile" 2>out/conftest.err)
8281    ac_status=$?
8282    cat out/conftest.err >&5
8283    echo "$as_me:8283: \$? = $ac_status" >&5
8284    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8285    then
8286      # The compiler can only warn and ignore the option if not recognized
8287      # So say no if there are warnings
8288      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8289      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8290      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8291        lt_cv_prog_compiler_c_o=yes
8292      fi
8293    fi
8294    chmod u+w . 2>&5
8295    $RM conftest*
8296    # SGI C++ compiler will create directory out/ii_files/ for
8297    # template instantiation
8298    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8299    $RM out/* && rmdir out
8300    cd ..
8301    $RM -r conftest
8302    $RM conftest*
8303
8304 fi
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8306 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8307
8308
8309
8310
8311
8312
8313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8314 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8315 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8316   $as_echo_n "(cached) " >&6
8317 else
8318   lt_cv_prog_compiler_c_o=no
8319    $RM -r conftest 2>/dev/null
8320    mkdir conftest
8321    cd conftest
8322    mkdir out
8323    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8324
8325    lt_compiler_flag="-o out/conftest2.$ac_objext"
8326    # Insert the option either (1) after the last *FLAGS variable, or
8327    # (2) before a word containing "conftest.", or (3) at the end.
8328    # Note that $ac_compile itself does not contain backslashes and begins
8329    # with a dollar sign (not a hyphen), so the echo should work correctly.
8330    lt_compile=`echo "$ac_compile" | $SED \
8331    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8332    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8333    -e 's:$: $lt_compiler_flag:'`
8334    (eval echo "\"\$as_me:8334: $lt_compile\"" >&5)
8335    (eval "$lt_compile" 2>out/conftest.err)
8336    ac_status=$?
8337    cat out/conftest.err >&5
8338    echo "$as_me:8338: \$? = $ac_status" >&5
8339    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8340    then
8341      # The compiler can only warn and ignore the option if not recognized
8342      # So say no if there are warnings
8343      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8344      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8345      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8346        lt_cv_prog_compiler_c_o=yes
8347      fi
8348    fi
8349    chmod u+w . 2>&5
8350    $RM conftest*
8351    # SGI C++ compiler will create directory out/ii_files/ for
8352    # template instantiation
8353    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8354    $RM out/* && rmdir out
8355    cd ..
8356    $RM -r conftest
8357    $RM conftest*
8358
8359 fi
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8361 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8362
8363
8364
8365
8366 hard_links="nottested"
8367 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8368   # do not overwrite the value of need_locks provided by the user
8369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8370 $as_echo_n "checking if we can lock with hard links... " >&6; }
8371   hard_links=yes
8372   $RM conftest*
8373   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8374   touch conftest.a
8375   ln conftest.a conftest.b 2>&5 || hard_links=no
8376   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8378 $as_echo "$hard_links" >&6; }
8379   if test "$hard_links" = no; then
8380     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8381 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8382     need_locks=warn
8383   fi
8384 else
8385   need_locks=no
8386 fi
8387
8388
8389
8390
8391
8392
8393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8394 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8395
8396   runpath_var=
8397   allow_undefined_flag=
8398   always_export_symbols=no
8399   archive_cmds=
8400   archive_expsym_cmds=
8401   compiler_needs_object=no
8402   enable_shared_with_static_runtimes=no
8403   export_dynamic_flag_spec=
8404   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8405   hardcode_automatic=no
8406   hardcode_direct=no
8407   hardcode_direct_absolute=no
8408   hardcode_libdir_flag_spec=
8409   hardcode_libdir_flag_spec_ld=
8410   hardcode_libdir_separator=
8411   hardcode_minus_L=no
8412   hardcode_shlibpath_var=unsupported
8413   inherit_rpath=no
8414   link_all_deplibs=unknown
8415   module_cmds=
8416   module_expsym_cmds=
8417   old_archive_from_new_cmds=
8418   old_archive_from_expsyms_cmds=
8419   thread_safe_flag_spec=
8420   whole_archive_flag_spec=
8421   # include_expsyms should be a list of space-separated symbols to be *always*
8422   # included in the symbol list
8423   include_expsyms=
8424   # exclude_expsyms can be an extended regexp of symbols to exclude
8425   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8426   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8427   # as well as any symbol that contains `d'.
8428   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8429   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8430   # platforms (ab)use it in PIC code, but their linkers get confused if
8431   # the symbol is explicitly referenced.  Since portable code cannot
8432   # rely on this symbol name, it's probably fine to never include it in
8433   # preloaded symbol tables.
8434   # Exclude shared library initialization/finalization symbols.
8435   extract_expsyms_cmds=
8436
8437   case $host_os in
8438   cygwin* | mingw* | pw32* | cegcc*)
8439     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8440     # When not using gcc, we currently assume that we are using
8441     # Microsoft Visual C++.
8442     if test "$GCC" != yes; then
8443       with_gnu_ld=no
8444     fi
8445     ;;
8446   interix*)
8447     # we just hope/assume this is gcc and not c89 (= MSVC++)
8448     with_gnu_ld=yes
8449     ;;
8450   openbsd*)
8451     with_gnu_ld=no
8452     ;;
8453   linux* | k*bsd*-gnu)
8454     link_all_deplibs=no
8455     ;;
8456   esac
8457
8458   ld_shlibs=yes
8459   if test "$with_gnu_ld" = yes; then
8460     # If archive_cmds runs LD, not CC, wlarc should be empty
8461     wlarc='${wl}'
8462
8463     # Set some defaults for GNU ld with shared library support. These
8464     # are reset later if shared libraries are not supported. Putting them
8465     # here allows them to be overridden if necessary.
8466     runpath_var=LD_RUN_PATH
8467     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8468     export_dynamic_flag_spec='${wl}--export-dynamic'
8469     # ancient GNU ld didn't support --whole-archive et. al.
8470     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8471       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8472     else
8473       whole_archive_flag_spec=
8474     fi
8475     supports_anon_versioning=no
8476     case `$LD -v 2>&1` in
8477       *GNU\ gold*) supports_anon_versioning=yes ;;
8478       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8479       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8480       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8481       *\ 2.11.*) ;; # other 2.11 versions
8482       *) supports_anon_versioning=yes ;;
8483     esac
8484
8485     # See if GNU ld supports shared libraries.
8486     case $host_os in
8487     aix[3-9]*)
8488       # On AIX/PPC, the GNU linker is very broken
8489       if test "$host_cpu" != ia64; then
8490         ld_shlibs=no
8491         cat <<_LT_EOF 1>&2
8492
8493 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8494 *** to be unable to reliably create shared libraries on AIX.
8495 *** Therefore, libtool is disabling shared libraries support.  If you
8496 *** really care for shared libraries, you may want to modify your PATH
8497 *** so that a non-GNU linker is found, and then restart.
8498
8499 _LT_EOF
8500       fi
8501       ;;
8502
8503     amigaos*)
8504       case $host_cpu in
8505       powerpc)
8506             # see comment about AmigaOS4 .so support
8507             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8508             archive_expsym_cmds=''
8509         ;;
8510       m68k)
8511             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)'
8512             hardcode_libdir_flag_spec='-L$libdir'
8513             hardcode_minus_L=yes
8514         ;;
8515       esac
8516       ;;
8517
8518     beos*)
8519       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8520         allow_undefined_flag=unsupported
8521         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8522         # support --undefined.  This deserves some investigation.  FIXME
8523         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8524       else
8525         ld_shlibs=no
8526       fi
8527       ;;
8528
8529     cygwin* | mingw* | pw32* | cegcc*)
8530       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8531       # as there is no search path for DLLs.
8532       hardcode_libdir_flag_spec='-L$libdir'
8533       allow_undefined_flag=unsupported
8534       always_export_symbols=no
8535       enable_shared_with_static_runtimes=yes
8536       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8537
8538       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8539         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8540         # If the export-symbols file already is a .def file (1st line
8541         # is EXPORTS), use it as is; otherwise, prepend...
8542         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8543           cp $export_symbols $output_objdir/$soname.def;
8544         else
8545           echo EXPORTS > $output_objdir/$soname.def;
8546           cat $export_symbols >> $output_objdir/$soname.def;
8547         fi~
8548         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8549       else
8550         ld_shlibs=no
8551       fi
8552       ;;
8553
8554     interix[3-9]*)
8555       hardcode_direct=no
8556       hardcode_shlibpath_var=no
8557       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8558       export_dynamic_flag_spec='${wl}-E'
8559       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8560       # Instead, shared libraries are loaded at an image base (0x10000000 by
8561       # default) and relocated if they conflict, which is a slow very memory
8562       # consuming and fragmenting process.  To avoid this, we pick a random,
8563       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8564       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8565       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8566       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'
8567       ;;
8568
8569     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8570       tmp_diet=no
8571       if test "$host_os" = linux-dietlibc; then
8572         case $cc_basename in
8573           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8574         esac
8575       fi
8576       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8577          && test "$tmp_diet" = no
8578       then
8579         tmp_addflag=
8580         tmp_sharedflag='-shared'
8581         case $cc_basename,$host_cpu in
8582         pgcc*)                          # Portland Group C compiler
8583           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8584           tmp_addflag=' $pic_flag'
8585           ;;
8586         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8587           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8588           tmp_addflag=' $pic_flag -Mnomain' ;;
8589         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8590           tmp_addflag=' -i_dynamic' ;;
8591         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8592           tmp_addflag=' -i_dynamic -nofor_main' ;;
8593         ifc* | ifort*)                  # Intel Fortran compiler
8594           tmp_addflag=' -nofor_main' ;;
8595         lf95*)                          # Lahey Fortran 8.1
8596           whole_archive_flag_spec=
8597           tmp_sharedflag='--shared' ;;
8598         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8599           tmp_sharedflag='-qmkshrobj'
8600           tmp_addflag= ;;
8601         esac
8602         case `$CC -V 2>&1 | sed 5q` in
8603         *Sun\ C*)                       # Sun C 5.9
8604           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8605           compiler_needs_object=yes
8606           tmp_sharedflag='-G' ;;
8607         *Sun\ F*)                       # Sun Fortran 8.3
8608           tmp_sharedflag='-G' ;;
8609         esac
8610         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8611
8612         if test "x$supports_anon_versioning" = xyes; then
8613           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8614             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8615             echo "local: *; };" >> $output_objdir/$libname.ver~
8616             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8617         fi
8618
8619         case $cc_basename in
8620         xlf*)
8621           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8622           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8623           hardcode_libdir_flag_spec=
8624           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8625           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8626           if test "x$supports_anon_versioning" = xyes; then
8627             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8628               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8629               echo "local: *; };" >> $output_objdir/$libname.ver~
8630               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8631           fi
8632           ;;
8633         esac
8634       else
8635         ld_shlibs=no
8636       fi
8637       ;;
8638
8639     netbsd* | netbsdelf*-gnu)
8640       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8641         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8642         wlarc=
8643       else
8644         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8645         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8646       fi
8647       ;;
8648
8649     solaris*)
8650       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8651         ld_shlibs=no
8652         cat <<_LT_EOF 1>&2
8653
8654 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8655 *** create shared libraries on Solaris systems.  Therefore, libtool
8656 *** is disabling shared libraries support.  We urge you to upgrade GNU
8657 *** binutils to release 2.9.1 or newer.  Another option is to modify
8658 *** your PATH or compiler configuration so that the native linker is
8659 *** used, and then restart.
8660
8661 _LT_EOF
8662       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8663         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8664         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8665       else
8666         ld_shlibs=no
8667       fi
8668       ;;
8669
8670     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8671       case `$LD -v 2>&1` in
8672         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8673         ld_shlibs=no
8674         cat <<_LT_EOF 1>&2
8675
8676 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8677 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8678 *** is disabling shared libraries support.  We urge you to upgrade GNU
8679 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8680 *** your PATH or compiler configuration so that the native linker is
8681 *** used, and then restart.
8682
8683 _LT_EOF
8684         ;;
8685         *)
8686           # For security reasons, it is highly recommended that you always
8687           # use absolute paths for naming shared libraries, and exclude the
8688           # DT_RUNPATH tag from executables and libraries.  But doing so
8689           # requires that you compile everything twice, which is a pain.
8690           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8691             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8692             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8693             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8694           else
8695             ld_shlibs=no
8696           fi
8697         ;;
8698       esac
8699       ;;
8700
8701     sunos4*)
8702       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8703       wlarc=
8704       hardcode_direct=yes
8705       hardcode_shlibpath_var=no
8706       ;;
8707
8708     *)
8709       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8710         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8711         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8712       else
8713         ld_shlibs=no
8714       fi
8715       ;;
8716     esac
8717
8718     if test "$ld_shlibs" = no; then
8719       runpath_var=
8720       hardcode_libdir_flag_spec=
8721       export_dynamic_flag_spec=
8722       whole_archive_flag_spec=
8723     fi
8724   else
8725     # PORTME fill in a description of your system's linker (not GNU ld)
8726     case $host_os in
8727     aix3*)
8728       allow_undefined_flag=unsupported
8729       always_export_symbols=yes
8730       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'
8731       # Note: this linker hardcodes the directories in LIBPATH if there
8732       # are no directories specified by -L.
8733       hardcode_minus_L=yes
8734       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8735         # Neither direct hardcoding nor static linking is supported with a
8736         # broken collect2.
8737         hardcode_direct=unsupported
8738       fi
8739       ;;
8740
8741     aix[4-9]*)
8742       if test "$host_cpu" = ia64; then
8743         # On IA64, the linker does run time linking by default, so we don't
8744         # have to do anything special.
8745         aix_use_runtimelinking=no
8746         exp_sym_flag='-Bexport'
8747         no_entry_flag=""
8748       else
8749         # If we're using GNU nm, then we don't want the "-C" option.
8750         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8751         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8752           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8753         else
8754           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'
8755         fi
8756         aix_use_runtimelinking=no
8757
8758         # Test if we are trying to use run time linking or normal
8759         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8760         # need to do runtime linking.
8761         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8762           for ld_flag in $LDFLAGS; do
8763           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8764             aix_use_runtimelinking=yes
8765             break
8766           fi
8767           done
8768           ;;
8769         esac
8770
8771         exp_sym_flag='-bexport'
8772         no_entry_flag='-bnoentry'
8773       fi
8774
8775       # When large executables or shared objects are built, AIX ld can
8776       # have problems creating the table of contents.  If linking a library
8777       # or program results in "error TOC overflow" add -mminimal-toc to
8778       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8779       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8780
8781       archive_cmds=''
8782       hardcode_direct=yes
8783       hardcode_direct_absolute=yes
8784       hardcode_libdir_separator=':'
8785       link_all_deplibs=yes
8786       file_list_spec='${wl}-f,'
8787
8788       if test "$GCC" = yes; then
8789         case $host_os in aix4.[012]|aix4.[012].*)
8790         # We only want to do this on AIX 4.2 and lower, the check
8791         # below for broken collect2 doesn't work under 4.3+
8792           collect2name=`${CC} -print-prog-name=collect2`
8793           if test -f "$collect2name" &&
8794            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8795           then
8796           # We have reworked collect2
8797           :
8798           else
8799           # We have old collect2
8800           hardcode_direct=unsupported
8801           # It fails to find uninstalled libraries when the uninstalled
8802           # path is not listed in the libpath.  Setting hardcode_minus_L
8803           # to unsupported forces relinking
8804           hardcode_minus_L=yes
8805           hardcode_libdir_flag_spec='-L$libdir'
8806           hardcode_libdir_separator=
8807           fi
8808           ;;
8809         esac
8810         shared_flag='-shared'
8811         if test "$aix_use_runtimelinking" = yes; then
8812           shared_flag="$shared_flag "'${wl}-G'
8813         fi
8814         link_all_deplibs=no
8815       else
8816         # not using gcc
8817         if test "$host_cpu" = ia64; then
8818         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8819         # chokes on -Wl,-G. The following line is correct:
8820           shared_flag='-G'
8821         else
8822           if test "$aix_use_runtimelinking" = yes; then
8823             shared_flag='${wl}-G'
8824           else
8825             shared_flag='${wl}-bM:SRE'
8826           fi
8827         fi
8828       fi
8829
8830       export_dynamic_flag_spec='${wl}-bexpall'
8831       # It seems that -bexpall does not export symbols beginning with
8832       # underscore (_), so it is better to generate a list of symbols to export.
8833       always_export_symbols=yes
8834       if test "$aix_use_runtimelinking" = yes; then
8835         # Warning - without using the other runtime loading flags (-brtl),
8836         # -berok will link without error, but may produce a broken library.
8837         allow_undefined_flag='-berok'
8838         # Determine the default libpath from the value encoded in an
8839         # empty executable.
8840         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h.  */
8842
8843 int
8844 main ()
8845 {
8846
8847   ;
8848   return 0;
8849 }
8850 _ACEOF
8851 if ac_fn_c_try_link "$LINENO"; then :
8852
8853 lt_aix_libpath_sed='
8854     /Import File Strings/,/^$/ {
8855         /^0/ {
8856             s/^0  *\(.*\)$/\1/
8857             p
8858         }
8859     }'
8860 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8861 # Check for a 64-bit object if we didn't find anything.
8862 if test -z "$aix_libpath"; then
8863   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8864 fi
8865 fi
8866 rm -f core conftest.err conftest.$ac_objext \
8867     conftest$ac_exeext conftest.$ac_ext
8868 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8869
8870         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8871         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8872       else
8873         if test "$host_cpu" = ia64; then
8874           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8875           allow_undefined_flag="-z nodefs"
8876           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"
8877         else
8878          # Determine the default libpath from the value encoded in an
8879          # empty executable.
8880          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h.  */
8882
8883 int
8884 main ()
8885 {
8886
8887   ;
8888   return 0;
8889 }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892
8893 lt_aix_libpath_sed='
8894     /Import File Strings/,/^$/ {
8895         /^0/ {
8896             s/^0  *\(.*\)$/\1/
8897             p
8898         }
8899     }'
8900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8901 # Check for a 64-bit object if we didn't find anything.
8902 if test -z "$aix_libpath"; then
8903   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8904 fi
8905 fi
8906 rm -f core conftest.err conftest.$ac_objext \
8907     conftest$ac_exeext conftest.$ac_ext
8908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8909
8910          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8911           # Warning - without using the other run time loading flags,
8912           # -berok will link without error, but may produce a broken library.
8913           no_undefined_flag=' ${wl}-bernotok'
8914           allow_undefined_flag=' ${wl}-berok'
8915           # Exported symbols can be pulled into shared objects from archives
8916           whole_archive_flag_spec='$convenience'
8917           archive_cmds_need_lc=yes
8918           # This is similar to how AIX traditionally builds its shared libraries.
8919           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'
8920         fi
8921       fi
8922       ;;
8923
8924     amigaos*)
8925       case $host_cpu in
8926       powerpc)
8927             # see comment about AmigaOS4 .so support
8928             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929             archive_expsym_cmds=''
8930         ;;
8931       m68k)
8932             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)'
8933             hardcode_libdir_flag_spec='-L$libdir'
8934             hardcode_minus_L=yes
8935         ;;
8936       esac
8937       ;;
8938
8939     bsdi[45]*)
8940       export_dynamic_flag_spec=-rdynamic
8941       ;;
8942
8943     cygwin* | mingw* | pw32* | cegcc*)
8944       # When not using gcc, we currently assume that we are using
8945       # Microsoft Visual C++.
8946       # hardcode_libdir_flag_spec is actually meaningless, as there is
8947       # no search path for DLLs.
8948       hardcode_libdir_flag_spec=' '
8949       allow_undefined_flag=unsupported
8950       # Tell ltmain to make .lib files, not .a files.
8951       libext=lib
8952       # Tell ltmain to make .dll files, not .so files.
8953       shrext_cmds=".dll"
8954       # FIXME: Setting linknames here is a bad hack.
8955       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8956       # The linker will automatically build a .lib file if we build a DLL.
8957       old_archive_from_new_cmds='true'
8958       # FIXME: Should let the user specify the lib program.
8959       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8960       fix_srcfile_path='`cygpath -w "$srcfile"`'
8961       enable_shared_with_static_runtimes=yes
8962       ;;
8963
8964     darwin* | rhapsody*)
8965
8966
8967   archive_cmds_need_lc=no
8968   hardcode_direct=no
8969   hardcode_automatic=yes
8970   hardcode_shlibpath_var=unsupported
8971   whole_archive_flag_spec=''
8972   link_all_deplibs=yes
8973   allow_undefined_flag="$_lt_dar_allow_undefined"
8974   case $cc_basename in
8975      ifort*) _lt_dar_can_shared=yes ;;
8976      *) _lt_dar_can_shared=$GCC ;;
8977   esac
8978   if test "$_lt_dar_can_shared" = "yes"; then
8979     output_verbose_link_cmd=echo
8980     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8981     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8982     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}"
8983     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}"
8984
8985   else
8986   ld_shlibs=no
8987   fi
8988
8989       ;;
8990
8991     dgux*)
8992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8993       hardcode_libdir_flag_spec='-L$libdir'
8994       hardcode_shlibpath_var=no
8995       ;;
8996
8997     freebsd1*)
8998       ld_shlibs=no
8999       ;;
9000
9001     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9002     # support.  Future versions do this automatically, but an explicit c++rt0.o
9003     # does not break anything, and helps significantly (at the cost of a little
9004     # extra space).
9005     freebsd2.2*)
9006       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9007       hardcode_libdir_flag_spec='-R$libdir'
9008       hardcode_direct=yes
9009       hardcode_shlibpath_var=no
9010       ;;
9011
9012     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9013     freebsd2*)
9014       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9015       hardcode_direct=yes
9016       hardcode_minus_L=yes
9017       hardcode_shlibpath_var=no
9018       ;;
9019
9020     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9021     freebsd* | dragonfly*)
9022       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9023       hardcode_libdir_flag_spec='-R$libdir'
9024       hardcode_direct=yes
9025       hardcode_shlibpath_var=no
9026       ;;
9027
9028     hpux9*)
9029       if test "$GCC" = yes; then
9030         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9031       else
9032         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'
9033       fi
9034       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9035       hardcode_libdir_separator=:
9036       hardcode_direct=yes
9037
9038       # hardcode_minus_L: Not really in the search PATH,
9039       # but as the default location of the library.
9040       hardcode_minus_L=yes
9041       export_dynamic_flag_spec='${wl}-E'
9042       ;;
9043
9044     hpux10*)
9045       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9046         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9047       else
9048         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9049       fi
9050       if test "$with_gnu_ld" = no; then
9051         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9052         hardcode_libdir_flag_spec_ld='+b $libdir'
9053         hardcode_libdir_separator=:
9054         hardcode_direct=yes
9055         hardcode_direct_absolute=yes
9056         export_dynamic_flag_spec='${wl}-E'
9057         # hardcode_minus_L: Not really in the search PATH,
9058         # but as the default location of the library.
9059         hardcode_minus_L=yes
9060       fi
9061       ;;
9062
9063     hpux11*)
9064       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9065         case $host_cpu in
9066         hppa*64*)
9067           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9068           ;;
9069         ia64*)
9070           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9071           ;;
9072         *)
9073           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9074           ;;
9075         esac
9076       else
9077         case $host_cpu in
9078         hppa*64*)
9079           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9080           ;;
9081         ia64*)
9082           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9083           ;;
9084         *)
9085           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9086           ;;
9087         esac
9088       fi
9089       if test "$with_gnu_ld" = no; then
9090         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9091         hardcode_libdir_separator=:
9092
9093         case $host_cpu in
9094         hppa*64*|ia64*)
9095           hardcode_direct=no
9096           hardcode_shlibpath_var=no
9097           ;;
9098         *)
9099           hardcode_direct=yes
9100           hardcode_direct_absolute=yes
9101           export_dynamic_flag_spec='${wl}-E'
9102
9103           # hardcode_minus_L: Not really in the search PATH,
9104           # but as the default location of the library.
9105           hardcode_minus_L=yes
9106           ;;
9107         esac
9108       fi
9109       ;;
9110
9111     irix5* | irix6* | nonstopux*)
9112       if test "$GCC" = yes; then
9113         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9114         # Try to use the -exported_symbol ld option, if it does not
9115         # work, assume that -exports_file does not work either and
9116         # implicitly export all symbols.
9117         save_LDFLAGS="$LDFLAGS"
9118         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9119         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h.  */
9121 int foo(void) {}
9122 _ACEOF
9123 if ac_fn_c_try_link "$LINENO"; then :
9124   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9125
9126 fi
9127 rm -f core conftest.err conftest.$ac_objext \
9128     conftest$ac_exeext conftest.$ac_ext
9129         LDFLAGS="$save_LDFLAGS"
9130       else
9131         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9132         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9133       fi
9134       archive_cmds_need_lc='no'
9135       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136       hardcode_libdir_separator=:
9137       inherit_rpath=yes
9138       link_all_deplibs=yes
9139       ;;
9140
9141     netbsd* | netbsdelf*-gnu)
9142       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9143         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9144       else
9145         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9146       fi
9147       hardcode_libdir_flag_spec='-R$libdir'
9148       hardcode_direct=yes
9149       hardcode_shlibpath_var=no
9150       ;;
9151
9152     newsos6)
9153       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9154       hardcode_direct=yes
9155       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9156       hardcode_libdir_separator=:
9157       hardcode_shlibpath_var=no
9158       ;;
9159
9160     *nto* | *qnx*)
9161       ;;
9162
9163     openbsd*)
9164       if test -f /usr/libexec/ld.so; then
9165         hardcode_direct=yes
9166         hardcode_shlibpath_var=no
9167         hardcode_direct_absolute=yes
9168         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9169           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9170           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9171           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9172           export_dynamic_flag_spec='${wl}-E'
9173         else
9174           case $host_os in
9175            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9176              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9177              hardcode_libdir_flag_spec='-R$libdir'
9178              ;;
9179            *)
9180              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9181              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9182              ;;
9183           esac
9184         fi
9185       else
9186         ld_shlibs=no
9187       fi
9188       ;;
9189
9190     os2*)
9191       hardcode_libdir_flag_spec='-L$libdir'
9192       hardcode_minus_L=yes
9193       allow_undefined_flag=unsupported
9194       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'
9195       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9196       ;;
9197
9198     osf3*)
9199       if test "$GCC" = yes; then
9200         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9201         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9202       else
9203         allow_undefined_flag=' -expect_unresolved \*'
9204         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9205       fi
9206       archive_cmds_need_lc='no'
9207       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9208       hardcode_libdir_separator=:
9209       ;;
9210
9211     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9212       if test "$GCC" = yes; then
9213         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9214         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9215         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216       else
9217         allow_undefined_flag=' -expect_unresolved \*'
9218         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9219         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~
9220         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9221
9222         # Both c and cxx compiler support -rpath directly
9223         hardcode_libdir_flag_spec='-rpath $libdir'
9224       fi
9225       archive_cmds_need_lc='no'
9226       hardcode_libdir_separator=:
9227       ;;
9228
9229     solaris*)
9230       no_undefined_flag=' -z defs'
9231       if test "$GCC" = yes; then
9232         wlarc='${wl}'
9233         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9234         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9235           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9236       else
9237         case `$CC -V 2>&1` in
9238         *"Compilers 5.0"*)
9239           wlarc=''
9240           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9241           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9242           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9243           ;;
9244         *)
9245           wlarc='${wl}'
9246           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9247           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9248           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9249           ;;
9250         esac
9251       fi
9252       hardcode_libdir_flag_spec='-R$libdir'
9253       hardcode_shlibpath_var=no
9254       case $host_os in
9255       solaris2.[0-5] | solaris2.[0-5].*) ;;
9256       *)
9257         # The compiler driver will combine and reorder linker options,
9258         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9259         # but is careful enough not to reorder.
9260         # Supported since Solaris 2.6 (maybe 2.5.1?)
9261         if test "$GCC" = yes; then
9262           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9263         else
9264           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9265         fi
9266         ;;
9267       esac
9268       link_all_deplibs=yes
9269       ;;
9270
9271     sunos4*)
9272       if test "x$host_vendor" = xsequent; then
9273         # Use $CC to link under sequent, because it throws in some extra .o
9274         # files that make .init and .fini sections work.
9275         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9276       else
9277         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9278       fi
9279       hardcode_libdir_flag_spec='-L$libdir'
9280       hardcode_direct=yes
9281       hardcode_minus_L=yes
9282       hardcode_shlibpath_var=no
9283       ;;
9284
9285     sysv4)
9286       case $host_vendor in
9287         sni)
9288           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9289           hardcode_direct=yes # is this really true???
9290         ;;
9291         siemens)
9292           ## LD is ld it makes a PLAMLIB
9293           ## CC just makes a GrossModule.
9294           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9295           reload_cmds='$CC -r -o $output$reload_objs'
9296           hardcode_direct=no
9297         ;;
9298         motorola)
9299           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9300           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9301         ;;
9302       esac
9303       runpath_var='LD_RUN_PATH'
9304       hardcode_shlibpath_var=no
9305       ;;
9306
9307     sysv4.3*)
9308       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9309       hardcode_shlibpath_var=no
9310       export_dynamic_flag_spec='-Bexport'
9311       ;;
9312
9313     sysv4*MP*)
9314       if test -d /usr/nec; then
9315         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316         hardcode_shlibpath_var=no
9317         runpath_var=LD_RUN_PATH
9318         hardcode_runpath_var=yes
9319         ld_shlibs=yes
9320       fi
9321       ;;
9322
9323     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9324       no_undefined_flag='${wl}-z,text'
9325       archive_cmds_need_lc=no
9326       hardcode_shlibpath_var=no
9327       runpath_var='LD_RUN_PATH'
9328
9329       if test "$GCC" = yes; then
9330         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9331         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9332       else
9333         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9334         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9335       fi
9336       ;;
9337
9338     sysv5* | sco3.2v5* | sco5v6*)
9339       # Note: We can NOT use -z defs as we might desire, because we do not
9340       # link with -lc, and that would cause any symbols used from libc to
9341       # always be unresolved, which means just about no library would
9342       # ever link correctly.  If we're not using GNU ld we use -z text
9343       # though, which does catch some bad symbols but isn't as heavy-handed
9344       # as -z defs.
9345       no_undefined_flag='${wl}-z,text'
9346       allow_undefined_flag='${wl}-z,nodefs'
9347       archive_cmds_need_lc=no
9348       hardcode_shlibpath_var=no
9349       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9350       hardcode_libdir_separator=':'
9351       link_all_deplibs=yes
9352       export_dynamic_flag_spec='${wl}-Bexport'
9353       runpath_var='LD_RUN_PATH'
9354
9355       if test "$GCC" = yes; then
9356         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9357         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9358       else
9359         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9360         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9361       fi
9362       ;;
9363
9364     uts4*)
9365       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9366       hardcode_libdir_flag_spec='-L$libdir'
9367       hardcode_shlibpath_var=no
9368       ;;
9369
9370     *)
9371       ld_shlibs=no
9372       ;;
9373     esac
9374
9375     if test x$host_vendor = xsni; then
9376       case $host in
9377       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9378         export_dynamic_flag_spec='${wl}-Blargedynsym'
9379         ;;
9380       esac
9381     fi
9382   fi
9383
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9385 $as_echo "$ld_shlibs" >&6; }
9386 test "$ld_shlibs" = no && can_build_shared=no
9387
9388 with_gnu_ld=$with_gnu_ld
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404 #
9405 # Do we need to explicitly link libc?
9406 #
9407 case "x$archive_cmds_need_lc" in
9408 x|xyes)
9409   # Assume -lc should be added
9410   archive_cmds_need_lc=yes
9411
9412   if test "$enable_shared" = yes && test "$GCC" = yes; then
9413     case $archive_cmds in
9414     *'~'*)
9415       # FIXME: we may have to deal with multi-command sequences.
9416       ;;
9417     '$CC '*)
9418       # Test whether the compiler implicitly links with -lc since on some
9419       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9420       # to ld, don't add -lc before -lgcc.
9421       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9422 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9423       $RM conftest*
9424       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9425
9426       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9427   (eval $ac_compile) 2>&5
9428   ac_status=$?
9429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9430   test $ac_status = 0; } 2>conftest.err; then
9431         soname=conftest
9432         lib=conftest
9433         libobjs=conftest.$ac_objext
9434         deplibs=
9435         wl=$lt_prog_compiler_wl
9436         pic_flag=$lt_prog_compiler_pic
9437         compiler_flags=-v
9438         linker_flags=-v
9439         verstring=
9440         output_objdir=.
9441         libname=conftest
9442         lt_save_allow_undefined_flag=$allow_undefined_flag
9443         allow_undefined_flag=
9444         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9445   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9446   ac_status=$?
9447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9448   test $ac_status = 0; }
9449         then
9450           archive_cmds_need_lc=no
9451         else
9452           archive_cmds_need_lc=yes
9453         fi
9454         allow_undefined_flag=$lt_save_allow_undefined_flag
9455       else
9456         cat conftest.err 1>&5
9457       fi
9458       $RM conftest*
9459       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9460 $as_echo "$archive_cmds_need_lc" >&6; }
9461       ;;
9462     esac
9463   fi
9464   ;;
9465 esac
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9625
9626 if test "$GCC" = yes; then
9627   case $host_os in
9628     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9629     *) lt_awk_arg="/^libraries:/" ;;
9630   esac
9631   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9632   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9633     # if the path contains ";" then we assume it to be the separator
9634     # otherwise default to the standard path separator (i.e. ":") - it is
9635     # assumed that no part of a normal pathname contains ";" but that should
9636     # okay in the real world where ";" in dirpaths is itself problematic.
9637     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9638   else
9639     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9640   fi
9641   # Ok, now we have the path, separated by spaces, we can step through it
9642   # and add multilib dir if necessary.
9643   lt_tmp_lt_search_path_spec=
9644   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9645   for lt_sys_path in $lt_search_path_spec; do
9646     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9647       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9648     else
9649       test -d "$lt_sys_path" && \
9650         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9651     fi
9652   done
9653   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9654 BEGIN {RS=" "; FS="/|\n";} {
9655   lt_foo="";
9656   lt_count=0;
9657   for (lt_i = NF; lt_i > 0; lt_i--) {
9658     if ($lt_i != "" && $lt_i != ".") {
9659       if ($lt_i == "..") {
9660         lt_count++;
9661       } else {
9662         if (lt_count == 0) {
9663           lt_foo="/" $lt_i lt_foo;
9664         } else {
9665           lt_count--;
9666         }
9667       }
9668     }
9669   }
9670   if (lt_foo != "") { lt_freq[lt_foo]++; }
9671   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9672 }'`
9673   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9674 else
9675   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9676 fi
9677 library_names_spec=
9678 libname_spec='lib$name'
9679 soname_spec=
9680 shrext_cmds=".so"
9681 postinstall_cmds=
9682 postuninstall_cmds=
9683 finish_cmds=
9684 finish_eval=
9685 shlibpath_var=
9686 shlibpath_overrides_runpath=unknown
9687 version_type=none
9688 dynamic_linker="$host_os ld.so"
9689 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9690 need_lib_prefix=unknown
9691 hardcode_into_libs=no
9692
9693 # when you set need_version to no, make sure it does not cause -set_version
9694 # flags to be left without arguments
9695 need_version=unknown
9696
9697 case $host_os in
9698 aix3*)
9699   version_type=linux
9700   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9701   shlibpath_var=LIBPATH
9702
9703   # AIX 3 has no versioning support, so we append a major version to the name.
9704   soname_spec='${libname}${release}${shared_ext}$major'
9705   ;;
9706
9707 aix[4-9]*)
9708   version_type=linux
9709   need_lib_prefix=no
9710   need_version=no
9711   hardcode_into_libs=yes
9712   if test "$host_cpu" = ia64; then
9713     # AIX 5 supports IA64
9714     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9715     shlibpath_var=LD_LIBRARY_PATH
9716   else
9717     # With GCC up to 2.95.x, collect2 would create an import file
9718     # for dependence libraries.  The import file would start with
9719     # the line `#! .'.  This would cause the generated library to
9720     # depend on `.', always an invalid library.  This was fixed in
9721     # development snapshots of GCC prior to 3.0.
9722     case $host_os in
9723       aix4 | aix4.[01] | aix4.[01].*)
9724       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9725            echo ' yes '
9726            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9727         :
9728       else
9729         can_build_shared=no
9730       fi
9731       ;;
9732     esac
9733     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9734     # soname into executable. Probably we can add versioning support to
9735     # collect2, so additional links can be useful in future.
9736     if test "$aix_use_runtimelinking" = yes; then
9737       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9738       # instead of lib<name>.a to let people know that these are not
9739       # typical AIX shared libraries.
9740       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9741     else
9742       # We preserve .a as extension for shared libraries through AIX4.2
9743       # and later when we are not doing run time linking.
9744       library_names_spec='${libname}${release}.a $libname.a'
9745       soname_spec='${libname}${release}${shared_ext}$major'
9746     fi
9747     shlibpath_var=LIBPATH
9748   fi
9749   ;;
9750
9751 amigaos*)
9752   case $host_cpu in
9753   powerpc)
9754     # Since July 2007 AmigaOS4 officially supports .so libraries.
9755     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9756     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9757     ;;
9758   m68k)
9759     library_names_spec='$libname.ixlibrary $libname.a'
9760     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9761     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9762     ;;
9763   esac
9764   ;;
9765
9766 beos*)
9767   library_names_spec='${libname}${shared_ext}'
9768   dynamic_linker="$host_os ld.so"
9769   shlibpath_var=LIBRARY_PATH
9770   ;;
9771
9772 bsdi[45]*)
9773   version_type=linux
9774   need_version=no
9775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9776   soname_spec='${libname}${release}${shared_ext}$major'
9777   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9778   shlibpath_var=LD_LIBRARY_PATH
9779   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9780   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9781   # the default ld.so.conf also contains /usr/contrib/lib and
9782   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9783   # libtool to hard-code these into programs
9784   ;;
9785
9786 cygwin* | mingw* | pw32* | cegcc*)
9787   version_type=windows
9788   shrext_cmds=".dll"
9789   need_version=no
9790   need_lib_prefix=no
9791
9792   case $GCC,$host_os in
9793   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9794     library_names_spec='$libname.dll.a'
9795     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9796     postinstall_cmds='base_file=`basename \${file}`~
9797       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9798       dldir=$destdir/`dirname \$dlpath`~
9799       test -d \$dldir || mkdir -p \$dldir~
9800       $install_prog $dir/$dlname \$dldir/$dlname~
9801       chmod a+x \$dldir/$dlname~
9802       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9803         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9804       fi'
9805     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9806       dlpath=$dir/\$dldll~
9807        $RM \$dlpath'
9808     shlibpath_overrides_runpath=yes
9809
9810     case $host_os in
9811     cygwin*)
9812       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9813       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9814       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9815       ;;
9816     mingw* | cegcc*)
9817       # MinGW DLLs use traditional 'lib' prefix
9818       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9819       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9820       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9821         # It is most probably a Windows format PATH printed by
9822         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9823         # path with ; separators, and with drive letters. We can handle the
9824         # drive letters (cygwin fileutils understands them), so leave them,
9825         # especially as we might pass files found there to a mingw objdump,
9826         # which wouldn't understand a cygwinified path. Ahh.
9827         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9828       else
9829         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9830       fi
9831       ;;
9832     pw32*)
9833       # pw32 DLLs use 'pw' prefix rather than 'lib'
9834       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9835       ;;
9836     esac
9837     ;;
9838
9839   *)
9840     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9841     ;;
9842   esac
9843   dynamic_linker='Win32 ld.exe'
9844   # FIXME: first we should search . and the directory the executable is in
9845   shlibpath_var=PATH
9846   ;;
9847
9848 darwin* | rhapsody*)
9849   dynamic_linker="$host_os dyld"
9850   version_type=darwin
9851   need_lib_prefix=no
9852   need_version=no
9853   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9854   soname_spec='${libname}${release}${major}$shared_ext'
9855   shlibpath_overrides_runpath=yes
9856   shlibpath_var=DYLD_LIBRARY_PATH
9857   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9858
9859   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9860   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9861   ;;
9862
9863 dgux*)
9864   version_type=linux
9865   need_lib_prefix=no
9866   need_version=no
9867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9868   soname_spec='${libname}${release}${shared_ext}$major'
9869   shlibpath_var=LD_LIBRARY_PATH
9870   ;;
9871
9872 freebsd1*)
9873   dynamic_linker=no
9874   ;;
9875
9876 freebsd* | dragonfly*)
9877   # DragonFly does not have aout.  When/if they implement a new
9878   # versioning mechanism, adjust this.
9879   if test -x /usr/bin/objformat; then
9880     objformat=`/usr/bin/objformat`
9881   else
9882     case $host_os in
9883     freebsd[123]*) objformat=aout ;;
9884     *) objformat=elf ;;
9885     esac
9886   fi
9887   version_type=freebsd-$objformat
9888   case $version_type in
9889     freebsd-elf*)
9890       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9891       need_version=no
9892       need_lib_prefix=no
9893       ;;
9894     freebsd-*)
9895       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9896       need_version=yes
9897       ;;
9898   esac
9899   shlibpath_var=LD_LIBRARY_PATH
9900   case $host_os in
9901   freebsd2*)
9902     shlibpath_overrides_runpath=yes
9903     ;;
9904   freebsd3.[01]* | freebsdelf3.[01]*)
9905     shlibpath_overrides_runpath=yes
9906     hardcode_into_libs=yes
9907     ;;
9908   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9909   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9910     shlibpath_overrides_runpath=no
9911     hardcode_into_libs=yes
9912     ;;
9913   *) # from 4.6 on, and DragonFly
9914     shlibpath_overrides_runpath=yes
9915     hardcode_into_libs=yes
9916     ;;
9917   esac
9918   ;;
9919
9920 gnu*)
9921   version_type=linux
9922   need_lib_prefix=no
9923   need_version=no
9924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9925   soname_spec='${libname}${release}${shared_ext}$major'
9926   shlibpath_var=LD_LIBRARY_PATH
9927   hardcode_into_libs=yes
9928   ;;
9929
9930 hpux9* | hpux10* | hpux11*)
9931   # Give a soname corresponding to the major version so that dld.sl refuses to
9932   # link against other versions.
9933   version_type=sunos
9934   need_lib_prefix=no
9935   need_version=no
9936   case $host_cpu in
9937   ia64*)
9938     shrext_cmds='.so'
9939     hardcode_into_libs=yes
9940     dynamic_linker="$host_os dld.so"
9941     shlibpath_var=LD_LIBRARY_PATH
9942     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9943     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9944     soname_spec='${libname}${release}${shared_ext}$major'
9945     if test "X$HPUX_IA64_MODE" = X32; then
9946       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9947     else
9948       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9949     fi
9950     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9951     ;;
9952   hppa*64*)
9953     shrext_cmds='.sl'
9954     hardcode_into_libs=yes
9955     dynamic_linker="$host_os dld.sl"
9956     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9957     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9958     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959     soname_spec='${libname}${release}${shared_ext}$major'
9960     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9961     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9962     ;;
9963   *)
9964     shrext_cmds='.sl'
9965     dynamic_linker="$host_os dld.sl"
9966     shlibpath_var=SHLIB_PATH
9967     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9968     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969     soname_spec='${libname}${release}${shared_ext}$major'
9970     ;;
9971   esac
9972   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9973   postinstall_cmds='chmod 555 $lib'
9974   ;;
9975
9976 interix[3-9]*)
9977   version_type=linux
9978   need_lib_prefix=no
9979   need_version=no
9980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9981   soname_spec='${libname}${release}${shared_ext}$major'
9982   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9983   shlibpath_var=LD_LIBRARY_PATH
9984   shlibpath_overrides_runpath=no
9985   hardcode_into_libs=yes
9986   ;;
9987
9988 irix5* | irix6* | nonstopux*)
9989   case $host_os in
9990     nonstopux*) version_type=nonstopux ;;
9991     *)
9992         if test "$lt_cv_prog_gnu_ld" = yes; then
9993                 version_type=linux
9994         else
9995                 version_type=irix
9996         fi ;;
9997   esac
9998   need_lib_prefix=no
9999   need_version=no
10000   soname_spec='${libname}${release}${shared_ext}$major'
10001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10002   case $host_os in
10003   irix5* | nonstopux*)
10004     libsuff= shlibsuff=
10005     ;;
10006   *)
10007     case $LD in # libtool.m4 will add one of these switches to LD
10008     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10009       libsuff= shlibsuff= libmagic=32-bit;;
10010     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10011       libsuff=32 shlibsuff=N32 libmagic=N32;;
10012     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10013       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10014     *) libsuff= shlibsuff= libmagic=never-match;;
10015     esac
10016     ;;
10017   esac
10018   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10019   shlibpath_overrides_runpath=no
10020   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10021   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10022   hardcode_into_libs=yes
10023   ;;
10024
10025 # No shared lib support for Linux oldld, aout, or coff.
10026 linux*oldld* | linux*aout* | linux*coff*)
10027   dynamic_linker=no
10028   ;;
10029
10030 # This must be Linux ELF.
10031 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10032   version_type=linux
10033   need_lib_prefix=no
10034   need_version=no
10035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036   soname_spec='${libname}${release}${shared_ext}$major'
10037   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10038   shlibpath_var=LD_LIBRARY_PATH
10039   shlibpath_overrides_runpath=no
10040   # Some binutils ld are patched to set DT_RUNPATH
10041   save_LDFLAGS=$LDFLAGS
10042   save_libdir=$libdir
10043   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10044        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h.  */
10047
10048 int
10049 main ()
10050 {
10051
10052   ;
10053   return 0;
10054 }
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10058   shlibpath_overrides_runpath=yes
10059 fi
10060 fi
10061 rm -f core conftest.err conftest.$ac_objext \
10062     conftest$ac_exeext conftest.$ac_ext
10063   LDFLAGS=$save_LDFLAGS
10064   libdir=$save_libdir
10065
10066   # This implies no fast_install, which is unacceptable.
10067   # Some rework will be needed to allow for fast_install
10068   # before this can be enabled.
10069   hardcode_into_libs=yes
10070
10071   # Append ld.so.conf contents to the search path
10072   if test -f /etc/ld.so.conf; then
10073     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;/^$/d' | tr '\n' ' '`
10074     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10075   fi
10076
10077   # We used to test for /lib/ld.so.1 and disable shared libraries on
10078   # powerpc, because MkLinux only supported shared libraries with the
10079   # GNU dynamic linker.  Since this was broken with cross compilers,
10080   # most powerpc-linux boxes support dynamic linking these days and
10081   # people can always --disable-shared, the test was removed, and we
10082   # assume the GNU/Linux dynamic linker is in use.
10083   dynamic_linker='GNU/Linux ld.so'
10084   ;;
10085
10086 netbsdelf*-gnu)
10087   version_type=linux
10088   need_lib_prefix=no
10089   need_version=no
10090   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10091   soname_spec='${libname}${release}${shared_ext}$major'
10092   shlibpath_var=LD_LIBRARY_PATH
10093   shlibpath_overrides_runpath=no
10094   hardcode_into_libs=yes
10095   dynamic_linker='NetBSD ld.elf_so'
10096   ;;
10097
10098 netbsd*)
10099   version_type=sunos
10100   need_lib_prefix=no
10101   need_version=no
10102   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10103     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10104     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10105     dynamic_linker='NetBSD (a.out) ld.so'
10106   else
10107     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10108     soname_spec='${libname}${release}${shared_ext}$major'
10109     dynamic_linker='NetBSD ld.elf_so'
10110   fi
10111   shlibpath_var=LD_LIBRARY_PATH
10112   shlibpath_overrides_runpath=yes
10113   hardcode_into_libs=yes
10114   ;;
10115
10116 newsos6)
10117   version_type=linux
10118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119   shlibpath_var=LD_LIBRARY_PATH
10120   shlibpath_overrides_runpath=yes
10121   ;;
10122
10123 *nto* | *qnx*)
10124   version_type=qnx
10125   need_lib_prefix=no
10126   need_version=no
10127   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128   soname_spec='${libname}${release}${shared_ext}$major'
10129   shlibpath_var=LD_LIBRARY_PATH
10130   shlibpath_overrides_runpath=no
10131   hardcode_into_libs=yes
10132   dynamic_linker='ldqnx.so'
10133   ;;
10134
10135 openbsd*)
10136   version_type=sunos
10137   sys_lib_dlsearch_path_spec="/usr/lib"
10138   need_lib_prefix=no
10139   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10140   case $host_os in
10141     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10142     *)                          need_version=no  ;;
10143   esac
10144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10145   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10146   shlibpath_var=LD_LIBRARY_PATH
10147   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10148     case $host_os in
10149       openbsd2.[89] | openbsd2.[89].*)
10150         shlibpath_overrides_runpath=no
10151         ;;
10152       *)
10153         shlibpath_overrides_runpath=yes
10154         ;;
10155       esac
10156   else
10157     shlibpath_overrides_runpath=yes
10158   fi
10159   ;;
10160
10161 os2*)
10162   libname_spec='$name'
10163   shrext_cmds=".dll"
10164   need_lib_prefix=no
10165   library_names_spec='$libname${shared_ext} $libname.a'
10166   dynamic_linker='OS/2 ld.exe'
10167   shlibpath_var=LIBPATH
10168   ;;
10169
10170 osf3* | osf4* | osf5*)
10171   version_type=osf
10172   need_lib_prefix=no
10173   need_version=no
10174   soname_spec='${libname}${release}${shared_ext}$major'
10175   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176   shlibpath_var=LD_LIBRARY_PATH
10177   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10178   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10179   ;;
10180
10181 rdos*)
10182   dynamic_linker=no
10183   ;;
10184
10185 solaris*)
10186   version_type=linux
10187   need_lib_prefix=no
10188   need_version=no
10189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10190   soname_spec='${libname}${release}${shared_ext}$major'
10191   shlibpath_var=LD_LIBRARY_PATH
10192   shlibpath_overrides_runpath=yes
10193   hardcode_into_libs=yes
10194   # ldd complains unless libraries are executable
10195   postinstall_cmds='chmod +x $lib'
10196   ;;
10197
10198 sunos4*)
10199   version_type=sunos
10200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10201   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10202   shlibpath_var=LD_LIBRARY_PATH
10203   shlibpath_overrides_runpath=yes
10204   if test "$with_gnu_ld" = yes; then
10205     need_lib_prefix=no
10206   fi
10207   need_version=yes
10208   ;;
10209
10210 sysv4 | sysv4.3*)
10211   version_type=linux
10212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10213   soname_spec='${libname}${release}${shared_ext}$major'
10214   shlibpath_var=LD_LIBRARY_PATH
10215   case $host_vendor in
10216     sni)
10217       shlibpath_overrides_runpath=no
10218       need_lib_prefix=no
10219       runpath_var=LD_RUN_PATH
10220       ;;
10221     siemens)
10222       need_lib_prefix=no
10223       ;;
10224     motorola)
10225       need_lib_prefix=no
10226       need_version=no
10227       shlibpath_overrides_runpath=no
10228       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10229       ;;
10230   esac
10231   ;;
10232
10233 sysv4*MP*)
10234   if test -d /usr/nec ;then
10235     version_type=linux
10236     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10237     soname_spec='$libname${shared_ext}.$major'
10238     shlibpath_var=LD_LIBRARY_PATH
10239   fi
10240   ;;
10241
10242 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10243   version_type=freebsd-elf
10244   need_lib_prefix=no
10245   need_version=no
10246   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10247   soname_spec='${libname}${release}${shared_ext}$major'
10248   shlibpath_var=LD_LIBRARY_PATH
10249   shlibpath_overrides_runpath=yes
10250   hardcode_into_libs=yes
10251   if test "$with_gnu_ld" = yes; then
10252     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10253   else
10254     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10255     case $host_os in
10256       sco3.2v5*)
10257         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10258         ;;
10259     esac
10260   fi
10261   sys_lib_dlsearch_path_spec='/usr/lib'
10262   ;;
10263
10264 tpf*)
10265   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10266   version_type=linux
10267   need_lib_prefix=no
10268   need_version=no
10269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270   shlibpath_var=LD_LIBRARY_PATH
10271   shlibpath_overrides_runpath=no
10272   hardcode_into_libs=yes
10273   ;;
10274
10275 uts4*)
10276   version_type=linux
10277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278   soname_spec='${libname}${release}${shared_ext}$major'
10279   shlibpath_var=LD_LIBRARY_PATH
10280   ;;
10281
10282 *)
10283   dynamic_linker=no
10284   ;;
10285 esac
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10287 $as_echo "$dynamic_linker" >&6; }
10288 test "$dynamic_linker" = no && can_build_shared=no
10289
10290 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10291 if test "$GCC" = yes; then
10292   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10293 fi
10294
10295 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10296   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10297 fi
10298 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10299   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10300 fi
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10390 hardcode_action=
10391 if test -n "$hardcode_libdir_flag_spec" ||
10392    test -n "$runpath_var" ||
10393    test "X$hardcode_automatic" = "Xyes" ; then
10394
10395   # We can hardcode non-existent directories.
10396   if test "$hardcode_direct" != no &&
10397      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10398      # have to relink, otherwise we might link with an installed library
10399      # when we should be linking with a yet-to-be-installed one
10400      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10401      test "$hardcode_minus_L" != no; then
10402     # Linking always hardcodes the temporary library directory.
10403     hardcode_action=relink
10404   else
10405     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10406     hardcode_action=immediate
10407   fi
10408 else
10409   # We cannot hardcode anything, or else we can only hardcode existing
10410   # directories.
10411   hardcode_action=unsupported
10412 fi
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10414 $as_echo "$hardcode_action" >&6; }
10415
10416 if test "$hardcode_action" = relink ||
10417    test "$inherit_rpath" = yes; then
10418   # Fast installation is not supported
10419   enable_fast_install=no
10420 elif test "$shlibpath_overrides_runpath" = yes ||
10421      test "$enable_shared" = no; then
10422   # Fast installation is not necessary
10423   enable_fast_install=needless
10424 fi
10425
10426
10427
10428
10429
10430
10431   if test "x$enable_dlopen" != xyes; then
10432   enable_dlopen=unknown
10433   enable_dlopen_self=unknown
10434   enable_dlopen_self_static=unknown
10435 else
10436   lt_cv_dlopen=no
10437   lt_cv_dlopen_libs=
10438
10439   case $host_os in
10440   beos*)
10441     lt_cv_dlopen="load_add_on"
10442     lt_cv_dlopen_libs=
10443     lt_cv_dlopen_self=yes
10444     ;;
10445
10446   mingw* | pw32* | cegcc*)
10447     lt_cv_dlopen="LoadLibrary"
10448     lt_cv_dlopen_libs=
10449     ;;
10450
10451   cygwin*)
10452     lt_cv_dlopen="dlopen"
10453     lt_cv_dlopen_libs=
10454     ;;
10455
10456   darwin*)
10457   # if libdl is installed we need to link against it
10458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10459 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10460 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10461   $as_echo_n "(cached) " >&6
10462 else
10463   ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-ldl  $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h.  */
10467
10468 /* Override any GCC internal prototype to avoid an error.
10469    Use char because int might match the return type of a GCC
10470    builtin and then its argument prototype would still apply.  */
10471 #ifdef __cplusplus
10472 extern "C"
10473 #endif
10474 char dlopen ();
10475 int
10476 main ()
10477 {
10478 return dlopen ();
10479   ;
10480   return 0;
10481 }
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484   ac_cv_lib_dl_dlopen=yes
10485 else
10486   ac_cv_lib_dl_dlopen=no
10487 fi
10488 rm -f core conftest.err conftest.$ac_objext \
10489     conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_lib_save_LIBS
10491 fi
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10493 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10494 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10495   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10496 else
10497
10498     lt_cv_dlopen="dyld"
10499     lt_cv_dlopen_libs=
10500     lt_cv_dlopen_self=yes
10501
10502 fi
10503
10504     ;;
10505
10506   *)
10507     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10508 if test "x$ac_cv_func_shl_load" = x""yes; then :
10509   lt_cv_dlopen="shl_load"
10510 else
10511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10512 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10513 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10514   $as_echo_n "(cached) " >&6
10515 else
10516   ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-ldld  $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h.  */
10520
10521 /* Override any GCC internal prototype to avoid an error.
10522    Use char because int might match the return type of a GCC
10523    builtin and then its argument prototype would still apply.  */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char shl_load ();
10528 int
10529 main ()
10530 {
10531 return shl_load ();
10532   ;
10533   return 0;
10534 }
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537   ac_cv_lib_dld_shl_load=yes
10538 else
10539   ac_cv_lib_dld_shl_load=no
10540 fi
10541 rm -f core conftest.err conftest.$ac_objext \
10542     conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10544 fi
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10546 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10547 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10548   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10549 else
10550   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10551 if test "x$ac_cv_func_dlopen" = x""yes; then :
10552   lt_cv_dlopen="dlopen"
10553 else
10554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10557   $as_echo_n "(cached) " >&6
10558 else
10559   ac_check_lib_save_LIBS=$LIBS
10560 LIBS="-ldl  $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h.  */
10563
10564 /* Override any GCC internal prototype to avoid an error.
10565    Use char because int might match the return type of a GCC
10566    builtin and then its argument prototype would still apply.  */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char dlopen ();
10571 int
10572 main ()
10573 {
10574 return dlopen ();
10575   ;
10576   return 0;
10577 }
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580   ac_cv_lib_dl_dlopen=yes
10581 else
10582   ac_cv_lib_dl_dlopen=no
10583 fi
10584 rm -f core conftest.err conftest.$ac_objext \
10585     conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_lib_save_LIBS
10587 fi
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10589 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10590 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10591   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10592 else
10593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10594 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10595 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10596   $as_echo_n "(cached) " >&6
10597 else
10598   ac_check_lib_save_LIBS=$LIBS
10599 LIBS="-lsvld  $LIBS"
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h.  */
10602
10603 /* Override any GCC internal prototype to avoid an error.
10604    Use char because int might match the return type of a GCC
10605    builtin and then its argument prototype would still apply.  */
10606 #ifdef __cplusplus
10607 extern "C"
10608 #endif
10609 char dlopen ();
10610 int
10611 main ()
10612 {
10613 return dlopen ();
10614   ;
10615   return 0;
10616 }
10617 _ACEOF
10618 if ac_fn_c_try_link "$LINENO"; then :
10619   ac_cv_lib_svld_dlopen=yes
10620 else
10621   ac_cv_lib_svld_dlopen=no
10622 fi
10623 rm -f core conftest.err conftest.$ac_objext \
10624     conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10626 fi
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10628 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10629 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10630   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10631 else
10632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10633 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10634 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10635   $as_echo_n "(cached) " >&6
10636 else
10637   ac_check_lib_save_LIBS=$LIBS
10638 LIBS="-ldld  $LIBS"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h.  */
10641
10642 /* Override any GCC internal prototype to avoid an error.
10643    Use char because int might match the return type of a GCC
10644    builtin and then its argument prototype would still apply.  */
10645 #ifdef __cplusplus
10646 extern "C"
10647 #endif
10648 char dld_link ();
10649 int
10650 main ()
10651 {
10652 return dld_link ();
10653   ;
10654   return 0;
10655 }
10656 _ACEOF
10657 if ac_fn_c_try_link "$LINENO"; then :
10658   ac_cv_lib_dld_dld_link=yes
10659 else
10660   ac_cv_lib_dld_dld_link=no
10661 fi
10662 rm -f core conftest.err conftest.$ac_objext \
10663     conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_lib_save_LIBS
10665 fi
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10667 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10668 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10669   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10670 fi
10671
10672
10673 fi
10674
10675
10676 fi
10677
10678
10679 fi
10680
10681
10682 fi
10683
10684
10685 fi
10686
10687     ;;
10688   esac
10689
10690   if test "x$lt_cv_dlopen" != xno; then
10691     enable_dlopen=yes
10692   else
10693     enable_dlopen=no
10694   fi
10695
10696   case $lt_cv_dlopen in
10697   dlopen)
10698     save_CPPFLAGS="$CPPFLAGS"
10699     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10700
10701     save_LDFLAGS="$LDFLAGS"
10702     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10703
10704     save_LIBS="$LIBS"
10705     LIBS="$lt_cv_dlopen_libs $LIBS"
10706
10707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10708 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10709 if test "${lt_cv_dlopen_self+set}" = set; then :
10710   $as_echo_n "(cached) " >&6
10711 else
10712           if test "$cross_compiling" = yes; then :
10713   lt_cv_dlopen_self=cross
10714 else
10715   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10716   lt_status=$lt_dlunknown
10717   cat > conftest.$ac_ext <<_LT_EOF
10718 #line 10718 "configure"
10719 #include "confdefs.h"
10720
10721 #if HAVE_DLFCN_H
10722 #include <dlfcn.h>
10723 #endif
10724
10725 #include <stdio.h>
10726
10727 #ifdef RTLD_GLOBAL
10728 #  define LT_DLGLOBAL           RTLD_GLOBAL
10729 #else
10730 #  ifdef DL_GLOBAL
10731 #    define LT_DLGLOBAL         DL_GLOBAL
10732 #  else
10733 #    define LT_DLGLOBAL         0
10734 #  endif
10735 #endif
10736
10737 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10738    find out it does not work in some platform. */
10739 #ifndef LT_DLLAZY_OR_NOW
10740 #  ifdef RTLD_LAZY
10741 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10742 #  else
10743 #    ifdef DL_LAZY
10744 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10745 #    else
10746 #      ifdef RTLD_NOW
10747 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10748 #      else
10749 #        ifdef DL_NOW
10750 #          define LT_DLLAZY_OR_NOW      DL_NOW
10751 #        else
10752 #          define LT_DLLAZY_OR_NOW      0
10753 #        endif
10754 #      endif
10755 #    endif
10756 #  endif
10757 #endif
10758
10759 void fnord() { int i=42;}
10760 int main ()
10761 {
10762   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10763   int status = $lt_dlunknown;
10764
10765   if (self)
10766     {
10767       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10768       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10769       /* dlclose (self); */
10770     }
10771   else
10772     puts (dlerror ());
10773
10774   return status;
10775 }
10776 _LT_EOF
10777   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10778   (eval $ac_link) 2>&5
10779   ac_status=$?
10780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10781   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10782     (./conftest; exit; ) >&5 2>/dev/null
10783     lt_status=$?
10784     case x$lt_status in
10785       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10786       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10787       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10788     esac
10789   else :
10790     # compilation failed
10791     lt_cv_dlopen_self=no
10792   fi
10793 fi
10794 rm -fr conftest*
10795
10796
10797 fi
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10799 $as_echo "$lt_cv_dlopen_self" >&6; }
10800
10801     if test "x$lt_cv_dlopen_self" = xyes; then
10802       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10803       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10804 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10805 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10806   $as_echo_n "(cached) " >&6
10807 else
10808           if test "$cross_compiling" = yes; then :
10809   lt_cv_dlopen_self_static=cross
10810 else
10811   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10812   lt_status=$lt_dlunknown
10813   cat > conftest.$ac_ext <<_LT_EOF
10814 #line 10814 "configure"
10815 #include "confdefs.h"
10816
10817 #if HAVE_DLFCN_H
10818 #include <dlfcn.h>
10819 #endif
10820
10821 #include <stdio.h>
10822
10823 #ifdef RTLD_GLOBAL
10824 #  define LT_DLGLOBAL           RTLD_GLOBAL
10825 #else
10826 #  ifdef DL_GLOBAL
10827 #    define LT_DLGLOBAL         DL_GLOBAL
10828 #  else
10829 #    define LT_DLGLOBAL         0
10830 #  endif
10831 #endif
10832
10833 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10834    find out it does not work in some platform. */
10835 #ifndef LT_DLLAZY_OR_NOW
10836 #  ifdef RTLD_LAZY
10837 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10838 #  else
10839 #    ifdef DL_LAZY
10840 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10841 #    else
10842 #      ifdef RTLD_NOW
10843 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10844 #      else
10845 #        ifdef DL_NOW
10846 #          define LT_DLLAZY_OR_NOW      DL_NOW
10847 #        else
10848 #          define LT_DLLAZY_OR_NOW      0
10849 #        endif
10850 #      endif
10851 #    endif
10852 #  endif
10853 #endif
10854
10855 void fnord() { int i=42;}
10856 int main ()
10857 {
10858   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10859   int status = $lt_dlunknown;
10860
10861   if (self)
10862     {
10863       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10864       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10865       /* dlclose (self); */
10866     }
10867   else
10868     puts (dlerror ());
10869
10870   return status;
10871 }
10872 _LT_EOF
10873   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10874   (eval $ac_link) 2>&5
10875   ac_status=$?
10876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10877   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10878     (./conftest; exit; ) >&5 2>/dev/null
10879     lt_status=$?
10880     case x$lt_status in
10881       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10882       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10883       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10884     esac
10885   else :
10886     # compilation failed
10887     lt_cv_dlopen_self_static=no
10888   fi
10889 fi
10890 rm -fr conftest*
10891
10892
10893 fi
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10895 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10896     fi
10897
10898     CPPFLAGS="$save_CPPFLAGS"
10899     LDFLAGS="$save_LDFLAGS"
10900     LIBS="$save_LIBS"
10901     ;;
10902   esac
10903
10904   case $lt_cv_dlopen_self in
10905   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10906   *) enable_dlopen_self=unknown ;;
10907   esac
10908
10909   case $lt_cv_dlopen_self_static in
10910   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10911   *) enable_dlopen_self_static=unknown ;;
10912   esac
10913 fi
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931 striplib=
10932 old_striplib=
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10934 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10935 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10936   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10937   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10939 $as_echo "yes" >&6; }
10940 else
10941 # FIXME - insert some real tests, host_os isn't really good enough
10942   case $host_os in
10943   darwin*)
10944     if test -n "$STRIP" ; then
10945       striplib="$STRIP -x"
10946       old_striplib="$STRIP -S"
10947       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10948 $as_echo "yes" >&6; }
10949     else
10950       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10951 $as_echo "no" >&6; }
10952     fi
10953     ;;
10954   *)
10955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 $as_echo "no" >&6; }
10957     ;;
10958   esac
10959 fi
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972   # Report which library types will actually be built
10973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10974 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10976 $as_echo "$can_build_shared" >&6; }
10977
10978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10979 $as_echo_n "checking whether to build shared libraries... " >&6; }
10980   test "$can_build_shared" = "no" && enable_shared=no
10981
10982   # On AIX, shared libraries and static libraries use the same namespace, and
10983   # are all built from PIC.
10984   case $host_os in
10985   aix3*)
10986     test "$enable_shared" = yes && enable_static=no
10987     if test -n "$RANLIB"; then
10988       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10989       postinstall_cmds='$RANLIB $lib'
10990     fi
10991     ;;
10992
10993   aix[4-9]*)
10994     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10995       test "$enable_shared" = yes && enable_static=no
10996     fi
10997     ;;
10998   esac
10999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11000 $as_echo "$enable_shared" >&6; }
11001
11002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11003 $as_echo_n "checking whether to build static libraries... " >&6; }
11004   # Make sure either enable_shared or enable_static is yes.
11005   test "$enable_shared" = yes || enable_static=yes
11006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11007 $as_echo "$enable_static" >&6; }
11008
11009
11010
11011
11012 fi
11013 ac_ext=c
11014 ac_cpp='$CPP $CPPFLAGS'
11015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11018
11019 CC="$lt_save_CC"
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033         ac_config_commands="$ac_config_commands libtool"
11034
11035
11036
11037
11038 # Only expand once:
11039
11040
11041 if test "x$CC" != xcc; then
11042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11043 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11044 else
11045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11046 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11047 fi
11048 set dummy $CC; ac_cc=`$as_echo "$2" |
11049                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11050 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11051   $as_echo_n "(cached) " >&6
11052 else
11053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h.  */
11055
11056 int
11057 main ()
11058 {
11059
11060   ;
11061   return 0;
11062 }
11063 _ACEOF
11064 # Make sure it works both with $CC and with simple cc.
11065 # We do the test twice because some compilers refuse to overwrite an
11066 # existing .o file with -o, though they will create one.
11067 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11068 rm -f conftest2.*
11069 if { { case "(($ac_try" in
11070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071   *) ac_try_echo=$ac_try;;
11072 esac
11073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11074 $as_echo "$ac_try_echo"; } >&5
11075   (eval "$ac_try") 2>&5
11076   ac_status=$?
11077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11078   test $ac_status = 0; } &&
11079    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11081   *) ac_try_echo=$ac_try;;
11082 esac
11083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11084 $as_echo "$ac_try_echo"; } >&5
11085   (eval "$ac_try") 2>&5
11086   ac_status=$?
11087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11088   test $ac_status = 0; };
11089 then
11090   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11091   if test "x$CC" != xcc; then
11092     # Test first that cc exists at all.
11093     if { ac_try='cc -c conftest.$ac_ext >&5'
11094   { { case "(($ac_try" in
11095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11096   *) ac_try_echo=$ac_try;;
11097 esac
11098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11099 $as_echo "$ac_try_echo"; } >&5
11100   (eval "$ac_try") 2>&5
11101   ac_status=$?
11102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11103   test $ac_status = 0; }; }; then
11104       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11105       rm -f conftest2.*
11106       if { { case "(($ac_try" in
11107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11108   *) ac_try_echo=$ac_try;;
11109 esac
11110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11111 $as_echo "$ac_try_echo"; } >&5
11112   (eval "$ac_try") 2>&5
11113   ac_status=$?
11114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11115   test $ac_status = 0; } &&
11116          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11118   *) ac_try_echo=$ac_try;;
11119 esac
11120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11121 $as_echo "$ac_try_echo"; } >&5
11122   (eval "$ac_try") 2>&5
11123   ac_status=$?
11124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11125   test $ac_status = 0; };
11126       then
11127         # cc works too.
11128         :
11129       else
11130         # cc exists but doesn't like -o.
11131         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11132       fi
11133     fi
11134   fi
11135 else
11136   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11137 fi
11138 rm -f core conftest*
11139
11140 fi
11141 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11143 $as_echo "yes" >&6; }
11144 else
11145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11146 $as_echo "no" >&6; }
11147
11148 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11149
11150 fi
11151
11152 # FIXME: we rely on the cache variable name because
11153 # there is no other way.
11154 set dummy $CC
11155 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11156 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11157 if test "$am_t" != yes; then
11158    # Losing compiler, so override with the script.
11159    # FIXME: It is wrong to rewrite CC.
11160    # But if we don't then we get into trouble of one sort or another.
11161    # A longer-term fix would be to have automake use am__CC in this case,
11162    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11163    CC="$am_aux_dir/compile $CC"
11164 fi
11165
11166
11167 # By default we simply use the C compiler to build assembly code.
11168
11169 test "${CCAS+set}" = set || CCAS=$CC
11170 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11171
11172
11173
11174 depcc="$CCAS"   am_compiler_list=
11175
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11177 $as_echo_n "checking dependency style of $depcc... " >&6; }
11178 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
11179   $as_echo_n "(cached) " >&6
11180 else
11181   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11182   # We make a subdir and do the tests there.  Otherwise we can end up
11183   # making bogus files that we don't know about and never remove.  For
11184   # instance it was reported that on HP-UX the gcc test will end up
11185   # making a dummy file named `D' -- because `-MD' means `put the output
11186   # in D'.
11187   mkdir conftest.dir
11188   # Copy depcomp to subdir because otherwise we won't find it if we're
11189   # using a relative directory.
11190   cp "$am_depcomp" conftest.dir
11191   cd conftest.dir
11192   # We will build objects and dependencies in a subdirectory because
11193   # it helps to detect inapplicable dependency modes.  For instance
11194   # both Tru64's cc and ICC support -MD to output dependencies as a
11195   # side effect of compilation, but ICC will put the dependencies in
11196   # the current directory while Tru64 will put them in the object
11197   # directory.
11198   mkdir sub
11199
11200   am_cv_CCAS_dependencies_compiler_type=none
11201   if test "$am_compiler_list" = ""; then
11202      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11203   fi
11204   am__universal=false
11205
11206
11207   for depmode in $am_compiler_list; do
11208     # Setup a source with many dependencies, because some compilers
11209     # like to wrap large dependency lists on column 80 (with \), and
11210     # we should not choose a depcomp mode which is confused by this.
11211     #
11212     # We need to recreate these files for each test, as the compiler may
11213     # overwrite some of them when testing with obscure command lines.
11214     # This happens at least with the AIX C compiler.
11215     : > sub/conftest.c
11216     for i in 1 2 3 4 5 6; do
11217       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11218       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11219       # Solaris 8's {/usr,}/bin/sh.
11220       touch sub/conftst$i.h
11221     done
11222     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11223
11224     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11225     # mode.  It turns out that the SunPro C++ compiler does not properly
11226     # handle `-M -o', and we need to detect this.  Also, some Intel
11227     # versions had trouble with output in subdirs
11228     am__obj=sub/conftest.${OBJEXT-o}
11229     am__minus_obj="-o $am__obj"
11230     case $depmode in
11231     gcc)
11232       # This depmode causes a compiler race in universal mode.
11233       test "$am__universal" = false || continue
11234       ;;
11235     nosideeffect)
11236       # after this tag, mechanisms are not by side-effect, so they'll
11237       # only be used when explicitly requested
11238       if test "x$enable_dependency_tracking" = xyes; then
11239         continue
11240       else
11241         break
11242       fi
11243       ;;
11244     msvisualcpp | msvcmsys)
11245       # This compiler won't grok `-c -o', but also, the minuso test has
11246       # not run yet.  These depmodes are late enough in the game, and
11247       # so weak that their functioning should not be impacted.
11248       am__obj=conftest.${OBJEXT-o}
11249       am__minus_obj=
11250       ;;
11251     none) break ;;
11252     esac
11253     if depmode=$depmode \
11254        source=sub/conftest.c object=$am__obj \
11255        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11256        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11257          >/dev/null 2>conftest.err &&
11258        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11259        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11260        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11261        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11262       # icc doesn't choke on unknown options, it will just issue warnings
11263       # or remarks (even with -Werror).  So we grep stderr for any message
11264       # that says an option was ignored or not supported.
11265       # When given -MP, icc 7.0 and 7.1 complain thusly:
11266       #   icc: Command line warning: ignoring option '-M'; no argument required
11267       # The diagnosis changed in icc 8.0:
11268       #   icc: Command line remark: option '-MP' not supported
11269       if (grep 'ignoring option' conftest.err ||
11270           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11271         am_cv_CCAS_dependencies_compiler_type=$depmode
11272         break
11273       fi
11274     fi
11275   done
11276
11277   cd ..
11278   rm -rf conftest.dir
11279 else
11280   am_cv_CCAS_dependencies_compiler_type=none
11281 fi
11282
11283 fi
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
11285 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11286 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11287
11288  if
11289   test "x$enable_dependency_tracking" != xno \
11290   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11291   am__fastdepCCAS_TRUE=
11292   am__fastdepCCAS_FALSE='#'
11293 else
11294   am__fastdepCCAS_TRUE='#'
11295   am__fastdepCCAS_FALSE=
11296 fi
11297
11298
11299
11300
11301
11302
11303 ACLOCAL_AMFLAGS="-I m4 $ACLOCAL_AMFLAGS"
11304
11305
11306  if test "x$cross_compiling" = "xyes"; then
11307   CROSS_COMPILING_TRUE=
11308   CROSS_COMPILING_FALSE='#'
11309 else
11310   CROSS_COMPILING_TRUE='#'
11311   CROSS_COMPILING_FALSE=
11312 fi
11313
11314 for ac_func in posix_memalign
11315 do :
11316   ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
11317 if test "x$ac_cv_func_posix_memalign" = x""yes; then :
11318   cat >>confdefs.h <<_ACEOF
11319 #define HAVE_POSIX_MEMALIGN 1
11320 _ACEOF
11321
11322 fi
11323 done
11324
11325
11326 ##################################################
11327 # Check for gtk-doc.
11328 ##################################################
11329
11330 if test "x$cross_compiling" = "xyes" ; then
11331   enable_gtk_doc=no
11332 fi
11333
11334
11335 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11336         if test -n "$ac_tool_prefix"; then
11337   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11338 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11340 $as_echo_n "checking for $ac_word... " >&6; }
11341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11342   $as_echo_n "(cached) " >&6
11343 else
11344   case $PKG_CONFIG in
11345   [\\/]* | ?:[\\/]*)
11346   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11347   ;;
11348   *)
11349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11350 for as_dir in $PATH
11351 do
11352   IFS=$as_save_IFS
11353   test -z "$as_dir" && as_dir=.
11354     for ac_exec_ext in '' $ac_executable_extensions; do
11355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11356     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11358     break 2
11359   fi
11360 done
11361   done
11362 IFS=$as_save_IFS
11363
11364   ;;
11365 esac
11366 fi
11367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11368 if test -n "$PKG_CONFIG"; then
11369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11370 $as_echo "$PKG_CONFIG" >&6; }
11371 else
11372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373 $as_echo "no" >&6; }
11374 fi
11375
11376
11377 fi
11378 if test -z "$ac_cv_path_PKG_CONFIG"; then
11379   ac_pt_PKG_CONFIG=$PKG_CONFIG
11380   # Extract the first word of "pkg-config", so it can be a program name with args.
11381 set dummy pkg-config; ac_word=$2
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11383 $as_echo_n "checking for $ac_word... " >&6; }
11384 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11385   $as_echo_n "(cached) " >&6
11386 else
11387   case $ac_pt_PKG_CONFIG in
11388   [\\/]* | ?:[\\/]*)
11389   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11390   ;;
11391   *)
11392   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11393 for as_dir in $PATH
11394 do
11395   IFS=$as_save_IFS
11396   test -z "$as_dir" && as_dir=.
11397     for ac_exec_ext in '' $ac_executable_extensions; do
11398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11399     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11401     break 2
11402   fi
11403 done
11404   done
11405 IFS=$as_save_IFS
11406
11407   ;;
11408 esac
11409 fi
11410 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11411 if test -n "$ac_pt_PKG_CONFIG"; then
11412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11413 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11414 else
11415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11417 fi
11418
11419   if test "x$ac_pt_PKG_CONFIG" = x; then
11420     PKG_CONFIG=""
11421   else
11422     case $cross_compiling:$ac_tool_warned in
11423 yes:)
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11426 ac_tool_warned=yes ;;
11427 esac
11428     PKG_CONFIG=$ac_pt_PKG_CONFIG
11429   fi
11430 else
11431   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11432 fi
11433
11434 fi
11435 if test -n "$PKG_CONFIG"; then
11436         _pkg_min_version=0.9.0
11437         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11438 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11439         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11440                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11441 $as_echo "yes" >&6; }
11442         else
11443                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11445                 PKG_CONFIG=""
11446         fi
11447
11448 fi
11449
11450
11451     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11452 set dummy gtkdoc-check; ac_word=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11454 $as_echo_n "checking for $ac_word... " >&6; }
11455 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
11456   $as_echo_n "(cached) " >&6
11457 else
11458   case $GTKDOC_CHECK in
11459   [\\/]* | ?:[\\/]*)
11460   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
11461   ;;
11462   *)
11463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11464 for as_dir in $PATH
11465 do
11466   IFS=$as_save_IFS
11467   test -z "$as_dir" && as_dir=.
11468     for ac_exec_ext in '' $ac_executable_extensions; do
11469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11470     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11472     break 2
11473   fi
11474 done
11475   done
11476 IFS=$as_save_IFS
11477
11478   ;;
11479 esac
11480 fi
11481 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
11482 if test -n "$GTKDOC_CHECK"; then
11483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11484 $as_echo "$GTKDOC_CHECK" >&6; }
11485 else
11486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487 $as_echo "no" >&6; }
11488 fi
11489
11490
11491   for ac_prog in gtkdoc-rebase
11492 do
11493   # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy $ac_prog; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11496 $as_echo_n "checking for $ac_word... " >&6; }
11497 if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
11498   $as_echo_n "(cached) " >&6
11499 else
11500   case $GTKDOC_REBASE in
11501   [\\/]* | ?:[\\/]*)
11502   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11503   ;;
11504   *)
11505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11506 for as_dir in $PATH
11507 do
11508   IFS=$as_save_IFS
11509   test -z "$as_dir" && as_dir=.
11510     for ac_exec_ext in '' $ac_executable_extensions; do
11511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11512     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11514     break 2
11515   fi
11516 done
11517   done
11518 IFS=$as_save_IFS
11519
11520   ;;
11521 esac
11522 fi
11523 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11524 if test -n "$GTKDOC_REBASE"; then
11525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11526 $as_echo "$GTKDOC_REBASE" >&6; }
11527 else
11528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11529 $as_echo "no" >&6; }
11530 fi
11531
11532
11533   test -n "$GTKDOC_REBASE" && break
11534 done
11535 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11536
11537   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11538 set dummy gtkdoc-mkpdf; ac_word=$2
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11540 $as_echo_n "checking for $ac_word... " >&6; }
11541 if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
11542   $as_echo_n "(cached) " >&6
11543 else
11544   case $GTKDOC_MKPDF in
11545   [\\/]* | ?:[\\/]*)
11546   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11547   ;;
11548   *)
11549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11550 for as_dir in $PATH
11551 do
11552   IFS=$as_save_IFS
11553   test -z "$as_dir" && as_dir=.
11554     for ac_exec_ext in '' $ac_executable_extensions; do
11555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11556     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11558     break 2
11559   fi
11560 done
11561   done
11562 IFS=$as_save_IFS
11563
11564   ;;
11565 esac
11566 fi
11567 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11568 if test -n "$GTKDOC_MKPDF"; then
11569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11570 $as_echo "$GTKDOC_MKPDF" >&6; }
11571 else
11572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11574 fi
11575
11576
11577
11578
11579 # Check whether --with-html-dir was given.
11580 if test "${with_html_dir+set}" = set; then :
11581   withval=$with_html_dir;
11582 else
11583   with_html_dir='${datadir}/gtk-doc/html'
11584 fi
11585
11586   HTML_DIR="$with_html_dir"
11587
11588
11589     # Check whether --enable-gtk-doc was given.
11590 if test "${enable_gtk_doc+set}" = set; then :
11591   enableval=$enable_gtk_doc;
11592 else
11593   enable_gtk_doc=no
11594 fi
11595
11596
11597   if test x$enable_gtk_doc = xyes; then
11598     if test -n "$PKG_CONFIG" && \
11599     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
11600   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
11601   ac_status=$?
11602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603   test $ac_status = 0; }; then
11604   :
11605 else
11606   as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
11607 fi
11608   fi
11609
11610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11611 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11613 $as_echo "$enable_gtk_doc" >&6; }
11614
11615     # Check whether --enable-gtk-doc-html was given.
11616 if test "${enable_gtk_doc_html+set}" = set; then :
11617   enableval=$enable_gtk_doc_html;
11618 else
11619   enable_gtk_doc_html=yes
11620 fi
11621
11622     # Check whether --enable-gtk-doc-pdf was given.
11623 if test "${enable_gtk_doc_pdf+set}" = set; then :
11624   enableval=$enable_gtk_doc_pdf;
11625 else
11626   enable_gtk_doc_pdf=no
11627 fi
11628
11629
11630   if test -z "$GTKDOC_MKPDF"; then
11631     enable_gtk_doc_pdf=no
11632   fi
11633
11634
11635    if test x$enable_gtk_doc = xyes; then
11636   ENABLE_GTK_DOC_TRUE=
11637   ENABLE_GTK_DOC_FALSE='#'
11638 else
11639   ENABLE_GTK_DOC_TRUE='#'
11640   ENABLE_GTK_DOC_FALSE=
11641 fi
11642
11643    if test x$enable_gtk_doc_html = xyes; then
11644   GTK_DOC_BUILD_HTML_TRUE=
11645   GTK_DOC_BUILD_HTML_FALSE='#'
11646 else
11647   GTK_DOC_BUILD_HTML_TRUE='#'
11648   GTK_DOC_BUILD_HTML_FALSE=
11649 fi
11650
11651    if test x$enable_gtk_doc_pdf = xyes; then
11652   GTK_DOC_BUILD_PDF_TRUE=
11653   GTK_DOC_BUILD_PDF_FALSE='#'
11654 else
11655   GTK_DOC_BUILD_PDF_TRUE='#'
11656   GTK_DOC_BUILD_PDF_FALSE=
11657 fi
11658
11659    if test -n "$LIBTOOL"; then
11660   GTK_DOC_USE_LIBTOOL_TRUE=
11661   GTK_DOC_USE_LIBTOOL_FALSE='#'
11662 else
11663   GTK_DOC_USE_LIBTOOL_TRUE='#'
11664   GTK_DOC_USE_LIBTOOL_FALSE=
11665 fi
11666
11667    if test -n "$GTKDOC_REBASE"; then
11668   GTK_DOC_USE_REBASE_TRUE=
11669   GTK_DOC_USE_REBASE_FALSE='#'
11670 else
11671   GTK_DOC_USE_REBASE_TRUE='#'
11672   GTK_DOC_USE_REBASE_FALSE=
11673 fi
11674
11675
11676
11677
11678
11679   case "x${host_cpu}" in
11680     xi?86 | k?)
11681       HAVE_I386=yes
11682
11683 $as_echo "#define HAVE_I386 1" >>confdefs.h
11684
11685       ;;
11686     xx86_64|xamd64)
11687       HAVE_AMD64=yes
11688
11689 $as_echo "#define HAVE_AMD64 1" >>confdefs.h
11690
11691       ;;
11692     xpowerpc|xppc|xpowerpc64|xppc64)
11693       HAVE_POWERPC=yes
11694
11695 $as_echo "#define HAVE_POWERPC 1" >>confdefs.h
11696
11697       ;;
11698     xarm)
11699       HAVE_ARM=yes
11700
11701 $as_echo "#define HAVE_ARM 1" >>confdefs.h
11702
11703       ;;
11704   esac
11705
11706  if test "x$HAVE_I386" = "xyes"; then
11707   HAVE_I386_TRUE=
11708   HAVE_I386_FALSE='#'
11709 else
11710   HAVE_I386_TRUE='#'
11711   HAVE_I386_FALSE=
11712 fi
11713
11714  if test "x$HAVE_AMD64" = "xyes"; then
11715   HAVE_AMD64_TRUE=
11716   HAVE_AMD64_FALSE='#'
11717 else
11718   HAVE_AMD64_TRUE='#'
11719   HAVE_AMD64_FALSE=
11720 fi
11721
11722  if test "x$HAVE_POWERPC" = "xyes"; then
11723   HAVE_POWERPC_TRUE=
11724   HAVE_POWERPC_FALSE='#'
11725 else
11726   HAVE_POWERPC_TRUE='#'
11727   HAVE_POWERPC_FALSE=
11728 fi
11729
11730  if test "x$HAVE_ARM" = "xyes"; then
11731   HAVE_ARM_TRUE=
11732   HAVE_ARM_FALSE='#'
11733 else
11734   HAVE_ARM_TRUE='#'
11735   HAVE_ARM_FALSE=
11736 fi
11737
11738
11739   case "${host_os}" in
11740     mingw*)
11741       HAVE_OS_WIN32=yes
11742
11743 $as_echo "#define HAVE_OS_WIN32 1" >>confdefs.h
11744
11745       ;;
11746     linux*)
11747       HAVE_OS_LINUX=yes
11748
11749 $as_echo "#define HAVE_OS_LINUX 1" >>confdefs.h
11750
11751       ;;
11752   esac
11753
11754  if test "$HAVE_OS_WIN32" = "yes"; then
11755   HAVE_OS_WIN32_TRUE=
11756   HAVE_OS_WIN32_FALSE='#'
11757 else
11758   HAVE_OS_WIN32_TRUE='#'
11759   HAVE_OS_WIN32_FALSE=
11760 fi
11761
11762  if test "$HAVE_OS_LINUX" = "yes"; then
11763   HAVE_OS_LINUX_TRUE=
11764   HAVE_OS_LINUX_FALSE='#'
11765 else
11766   HAVE_OS_LINUX_TRUE='#'
11767   HAVE_OS_LINUX_FALSE=
11768 fi
11769
11770
11771
11772
11773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11774 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11775 if test "${ac_cv_c_bigendian+set}" = set; then :
11776   $as_echo_n "(cached) " >&6
11777 else
11778   ac_cv_c_bigendian=unknown
11779     # See if we're dealing with a universal compiler.
11780     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h.  */
11782 #ifndef __APPLE_CC__
11783                not a universal capable compiler
11784              #endif
11785              typedef int dummy;
11786
11787 _ACEOF
11788 if ac_fn_c_try_compile "$LINENO"; then :
11789
11790         # Check for potential -arch flags.  It is not universal unless
11791         # there are at least two -arch flags with different values.
11792         ac_arch=
11793         ac_prev=
11794         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11795          if test -n "$ac_prev"; then
11796            case $ac_word in
11797              i?86 | x86_64 | ppc | ppc64)
11798                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11799                  ac_arch=$ac_word
11800                else
11801                  ac_cv_c_bigendian=universal
11802                  break
11803                fi
11804                ;;
11805            esac
11806            ac_prev=
11807          elif test "x$ac_word" = "x-arch"; then
11808            ac_prev=arch
11809          fi
11810        done
11811 fi
11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813     if test $ac_cv_c_bigendian = unknown; then
11814       # See if sys/param.h defines the BYTE_ORDER macro.
11815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h.  */
11817 #include <sys/types.h>
11818              #include <sys/param.h>
11819
11820 int
11821 main ()
11822 {
11823 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11824                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11825                      && LITTLE_ENDIAN)
11826               bogus endian macros
11827              #endif
11828
11829   ;
11830   return 0;
11831 }
11832 _ACEOF
11833 if ac_fn_c_try_compile "$LINENO"; then :
11834   # It does; now see whether it defined to BIG_ENDIAN or not.
11835          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h.  */
11837 #include <sys/types.h>
11838                 #include <sys/param.h>
11839
11840 int
11841 main ()
11842 {
11843 #if BYTE_ORDER != BIG_ENDIAN
11844                  not big endian
11845                 #endif
11846
11847   ;
11848   return 0;
11849 }
11850 _ACEOF
11851 if ac_fn_c_try_compile "$LINENO"; then :
11852   ac_cv_c_bigendian=yes
11853 else
11854   ac_cv_c_bigendian=no
11855 fi
11856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11857 fi
11858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11859     fi
11860     if test $ac_cv_c_bigendian = unknown; then
11861       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h.  */
11864 #include <limits.h>
11865
11866 int
11867 main ()
11868 {
11869 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11870               bogus endian macros
11871              #endif
11872
11873   ;
11874   return 0;
11875 }
11876 _ACEOF
11877 if ac_fn_c_try_compile "$LINENO"; then :
11878   # It does; now see whether it defined to _BIG_ENDIAN or not.
11879          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h.  */
11881 #include <limits.h>
11882
11883 int
11884 main ()
11885 {
11886 #ifndef _BIG_ENDIAN
11887                  not big endian
11888                 #endif
11889
11890   ;
11891   return 0;
11892 }
11893 _ACEOF
11894 if ac_fn_c_try_compile "$LINENO"; then :
11895   ac_cv_c_bigendian=yes
11896 else
11897   ac_cv_c_bigendian=no
11898 fi
11899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11900 fi
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11902     fi
11903     if test $ac_cv_c_bigendian = unknown; then
11904       # Compile a test program.
11905       if test "$cross_compiling" = yes; then :
11906   # Try to guess by grepping values from an object file.
11907          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h.  */
11909 short int ascii_mm[] =
11910                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11911                 short int ascii_ii[] =
11912                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11913                 int use_ascii (int i) {
11914                   return ascii_mm[i] + ascii_ii[i];
11915                 }
11916                 short int ebcdic_ii[] =
11917                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11918                 short int ebcdic_mm[] =
11919                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11920                 int use_ebcdic (int i) {
11921                   return ebcdic_mm[i] + ebcdic_ii[i];
11922                 }
11923                 extern int foo;
11924
11925 int
11926 main ()
11927 {
11928 return use_ascii (foo) == use_ebcdic (foo);
11929   ;
11930   return 0;
11931 }
11932 _ACEOF
11933 if ac_fn_c_try_compile "$LINENO"; then :
11934   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
11935               ac_cv_c_bigendian=yes
11936             fi
11937             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11938               if test "$ac_cv_c_bigendian" = unknown; then
11939                 ac_cv_c_bigendian=no
11940               else
11941                 # finding both strings is unlikely to happen, but who knows?
11942                 ac_cv_c_bigendian=unknown
11943               fi
11944             fi
11945 fi
11946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11947 else
11948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h.  */
11950 $ac_includes_default
11951 int
11952 main ()
11953 {
11954
11955              /* Are we little or big endian?  From Harbison&Steele.  */
11956              union
11957              {
11958                long int l;
11959                char c[sizeof (long int)];
11960              } u;
11961              u.l = 1;
11962              return u.c[sizeof (long int) - 1] == 1;
11963
11964   ;
11965   return 0;
11966 }
11967 _ACEOF
11968 if ac_fn_c_try_run "$LINENO"; then :
11969   ac_cv_c_bigendian=no
11970 else
11971   ac_cv_c_bigendian=yes
11972 fi
11973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11974   conftest.$ac_objext conftest.beam conftest.$ac_ext
11975 fi
11976
11977     fi
11978 fi
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11980 $as_echo "$ac_cv_c_bigendian" >&6; }
11981  case $ac_cv_c_bigendian in #(
11982    yes)
11983      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11984 ;; #(
11985    no)
11986       ;; #(
11987    universal)
11988
11989 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11990
11991      ;; #(
11992    *)
11993      as_fn_error "unknown endianness
11994  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11995  esac
11996
11997
11998 # ------ AX CREATE STDINT H -------------------------------------
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
12000 $as_echo_n "checking for stdint types... " >&6; }
12001 ac_stdint_h=`echo orc/orc-stdint.h`
12002 # try to shortcircuit - if the default include path of the compiler
12003 # can find a "stdint.h" header then we assume that all compilers can.
12004 if test "${ac_cv_header_stdint_t+set}" = set; then :
12005   $as_echo_n "(cached) " >&6
12006 else
12007
12008 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
12009 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
12010 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h.  */
12013 #include <stdint.h>
12014 int
12015 main ()
12016 {
12017 int_least32_t v = 0;
12018   ;
12019   return 0;
12020 }
12021 _ACEOF
12022 if ac_fn_c_try_compile "$LINENO"; then :
12023   ac_cv_stdint_result="(assuming C99 compatible system)"
12024  ac_cv_header_stdint_t="stdint.h";
12025 else
12026   ac_cv_header_stdint_t=""
12027 fi
12028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12029 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
12030 CFLAGS="-std=c99"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h.  */
12033 #include <stdint.h>
12034 int
12035 main ()
12036 {
12037 int_least32_t v = 0;
12038   ;
12039   return 0;
12040 }
12041 _ACEOF
12042 if ac_fn_c_try_compile "$LINENO"; then :
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
12044 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
12045 fi
12046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 fi
12048 CXXFLAGS="$old_CXXFLAGS"
12049 CPPFLAGS="$old_CPPFLAGS"
12050 CFLAGS="$old_CFLAGS"
12051 fi
12052
12053
12054 v="... $ac_cv_header_stdint_h"
12055 if test "$ac_stdint_h" = "stdint.h" ; then
12056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
12057 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
12058 elif test "$ac_stdint_h" = "inttypes.h" ; then
12059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
12060 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
12061 elif test "_$ac_cv_header_stdint_t" = "_" ; then
12062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
12063 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
12064 else
12065  ac_cv_header_stdint="$ac_cv_header_stdint_t"
12066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
12067 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
12068 fi
12069
12070 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
12071
12072
12073 inttype_headers=`echo  | sed -e 's/,/ /g'`
12074
12075 ac_cv_stdint_result="(no helpful system typedefs seen)"
12076
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
12078 $as_echo_n "checking for stdint uintptr_t... " >&6; }
12079 if test "${ac_cv_header_stdint_x+set}" = set; then :
12080   $as_echo_n "(cached) " >&6
12081 else
12082
12083  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
12084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12085 $as_echo "(..)" >&6; }
12086   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
12087   do
12088    unset ac_cv_type_uintptr_t
12089    unset ac_cv_type_uint64_t
12090    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
12091 "
12092 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
12093   ac_cv_header_stdint_x=$i
12094 else
12095   continue
12096 fi
12097
12098    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
12099 "
12100 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12101   and64="/uint64_t"
12102 else
12103   and64=""
12104 fi
12105
12106    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
12107  break
12108   done
12109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
12110 $as_echo_n "checking for stdint uintptr_t... " >&6; }
12111
12112 fi
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
12114 $as_echo "$ac_cv_header_stdint_x" >&6; }
12115
12116
12117 if test "_$ac_cv_header_stdint_x" = "_" ; then
12118
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
12120 $as_echo_n "checking for stdint uint32_t... " >&6; }
12121 if test "${ac_cv_header_stdint_o+set}" = set; then :
12122   $as_echo_n "(cached) " >&6
12123 else
12124
12125  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
12126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12127 $as_echo "(..)" >&6; }
12128   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
12129   do
12130    unset ac_cv_type_uint32_t
12131    unset ac_cv_type_uint64_t
12132    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
12133 "
12134 if test "x$ac_cv_type_uint32_t" = x""yes; then :
12135   ac_cv_header_stdint_o=$i
12136 else
12137   continue
12138 fi
12139
12140    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
12141 "
12142 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12143   and64="/uint64_t"
12144 else
12145   and64=""
12146 fi
12147
12148    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
12149  break
12150    break;
12151   done
12152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
12153 $as_echo_n "checking for stdint uint32_t... " >&6; }
12154
12155 fi
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
12157 $as_echo "$ac_cv_header_stdint_o" >&6; }
12158
12159 fi
12160
12161 if test "_$ac_cv_header_stdint_x" = "_" ; then
12162 if test "_$ac_cv_header_stdint_o" = "_" ; then
12163
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
12165 $as_echo_n "checking for stdint u_int32_t... " >&6; }
12166 if test "${ac_cv_header_stdint_u+set}" = set; then :
12167   $as_echo_n "(cached) " >&6
12168 else
12169
12170  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
12171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12172 $as_echo "(..)" >&6; }
12173   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
12174    unset ac_cv_type_u_int32_t
12175    unset ac_cv_type_u_int64_t
12176    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
12177 "
12178 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
12179   ac_cv_header_stdint_u=$i
12180 else
12181   continue
12182 fi
12183
12184    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
12185 "
12186 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
12187   and64="/u_int64_t"
12188 else
12189   and64=""
12190 fi
12191
12192    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
12193  break
12194    break;
12195   done
12196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
12197 $as_echo_n "checking for stdint u_int32_t... " >&6; }
12198
12199 fi
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
12201 $as_echo "$ac_cv_header_stdint_u" >&6; }
12202
12203 fi fi
12204
12205 if test "_$ac_cv_header_stdint_x" = "_" ; then
12206    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
12207 $as_echo_n "checking for stdint datatype model... " >&6; }
12208    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12209 $as_echo "(..)" >&6; }
12210
12211    # The cast to long int works around a bug in the HP C Compiler
12212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12214 # This bug is HP SR number 8606223364.
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12216 $as_echo_n "checking size of char... " >&6; }
12217 if test "${ac_cv_sizeof_char+set}" = set; then :
12218   $as_echo_n "(cached) " >&6
12219 else
12220   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
12221
12222 else
12223   if test "$ac_cv_type_char" = yes; then
12224      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12226 { as_fn_set_status 77
12227 as_fn_error "cannot compute sizeof (char)
12228 See \`config.log' for more details." "$LINENO" 5; }; }
12229    else
12230      ac_cv_sizeof_char=0
12231    fi
12232 fi
12233
12234 fi
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12236 $as_echo "$ac_cv_sizeof_char" >&6; }
12237
12238
12239
12240 cat >>confdefs.h <<_ACEOF
12241 #define SIZEOF_CHAR $ac_cv_sizeof_char
12242 _ACEOF
12243
12244
12245    # The cast to long int works around a bug in the HP C Compiler
12246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12248 # This bug is HP SR number 8606223364.
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12250 $as_echo_n "checking size of short... " >&6; }
12251 if test "${ac_cv_sizeof_short+set}" = set; then :
12252   $as_echo_n "(cached) " >&6
12253 else
12254   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
12255
12256 else
12257   if test "$ac_cv_type_short" = yes; then
12258      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12260 { as_fn_set_status 77
12261 as_fn_error "cannot compute sizeof (short)
12262 See \`config.log' for more details." "$LINENO" 5; }; }
12263    else
12264      ac_cv_sizeof_short=0
12265    fi
12266 fi
12267
12268 fi
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12270 $as_echo "$ac_cv_sizeof_short" >&6; }
12271
12272
12273
12274 cat >>confdefs.h <<_ACEOF
12275 #define SIZEOF_SHORT $ac_cv_sizeof_short
12276 _ACEOF
12277
12278
12279    # The cast to long int works around a bug in the HP C Compiler
12280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12282 # This bug is HP SR number 8606223364.
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12284 $as_echo_n "checking size of int... " >&6; }
12285 if test "${ac_cv_sizeof_int+set}" = set; then :
12286   $as_echo_n "(cached) " >&6
12287 else
12288   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
12289
12290 else
12291   if test "$ac_cv_type_int" = yes; then
12292      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12294 { as_fn_set_status 77
12295 as_fn_error "cannot compute sizeof (int)
12296 See \`config.log' for more details." "$LINENO" 5; }; }
12297    else
12298      ac_cv_sizeof_int=0
12299    fi
12300 fi
12301
12302 fi
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12304 $as_echo "$ac_cv_sizeof_int" >&6; }
12305
12306
12307
12308 cat >>confdefs.h <<_ACEOF
12309 #define SIZEOF_INT $ac_cv_sizeof_int
12310 _ACEOF
12311
12312
12313    # The cast to long int works around a bug in the HP C Compiler
12314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12316 # This bug is HP SR number 8606223364.
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12318 $as_echo_n "checking size of long... " >&6; }
12319 if test "${ac_cv_sizeof_long+set}" = set; then :
12320   $as_echo_n "(cached) " >&6
12321 else
12322   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
12323
12324 else
12325   if test "$ac_cv_type_long" = yes; then
12326      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12328 { as_fn_set_status 77
12329 as_fn_error "cannot compute sizeof (long)
12330 See \`config.log' for more details." "$LINENO" 5; }; }
12331    else
12332      ac_cv_sizeof_long=0
12333    fi
12334 fi
12335
12336 fi
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12338 $as_echo "$ac_cv_sizeof_long" >&6; }
12339
12340
12341
12342 cat >>confdefs.h <<_ACEOF
12343 #define SIZEOF_LONG $ac_cv_sizeof_long
12344 _ACEOF
12345
12346
12347    # The cast to long int works around a bug in the HP C Compiler
12348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12350 # This bug is HP SR number 8606223364.
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
12352 $as_echo_n "checking size of void*... " >&6; }
12353 if test "${ac_cv_sizeof_voidp+set}" = set; then :
12354   $as_echo_n "(cached) " >&6
12355 else
12356   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
12357
12358 else
12359   if test "$ac_cv_type_voidp" = yes; then
12360      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12362 { as_fn_set_status 77
12363 as_fn_error "cannot compute sizeof (void*)
12364 See \`config.log' for more details." "$LINENO" 5; }; }
12365    else
12366      ac_cv_sizeof_voidp=0
12367    fi
12368 fi
12369
12370 fi
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
12372 $as_echo "$ac_cv_sizeof_voidp" >&6; }
12373
12374
12375
12376 cat >>confdefs.h <<_ACEOF
12377 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
12378 _ACEOF
12379
12380
12381    ac_cv_char_data_model=""
12382    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
12383    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
12384    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
12385    ac_cv_long_data_model=""
12386    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
12387    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
12388    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
12389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
12390 $as_echo_n "checking data model... " >&6; }
12391    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
12392     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
12393     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
12394     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
12395     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
12396     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
12397     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
12398     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
12399     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
12400     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
12401     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
12402     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
12403     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
12404     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
12405     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
12406     222/*|333/*|444/*|666/*|888/*) :
12407                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
12408      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
12409    esac
12410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
12411 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
12412
12413 fi
12414
12415 if test "_$ac_cv_header_stdint_x" != "_" ; then
12416    ac_cv_header_stdint="$ac_cv_header_stdint_x"
12417 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
12418    ac_cv_header_stdint="$ac_cv_header_stdint_o"
12419 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
12420    ac_cv_header_stdint="$ac_cv_header_stdint_u"
12421 else
12422    ac_cv_header_stdint="stddef.h"
12423 fi
12424
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
12426 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
12428 $as_echo "($ac_cv_header_stdint)" >&6; }
12429 unset ac_cv_type_int_least32_t
12430 unset ac_cv_type_int_fast32_t
12431 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
12432 "
12433 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
12434
12435 fi
12436
12437 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
12438 "
12439 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
12440
12441 fi
12442
12443 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
12444 "
12445 if test "x$ac_cv_type_intmax_t" = x""yes; then :
12446
12447 fi
12448
12449
12450 fi # shortcircut to system "stdint.h"
12451 # ------------------ PREPARE VARIABLES ------------------------------
12452 if test "$GCC" = "yes" ; then
12453 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
12454 else
12455 ac_cv_stdint_message="using $CC"
12456 fi
12457
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
12459 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
12460
12461 # ----------------- DONE inttypes.h checks START header -------------
12462 ac_config_commands="$ac_config_commands $ac_stdint_h"
12463
12464
12465
12466
12467
12468
12469   for ac_header in $ac_header_list
12470 do :
12471   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12472 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12473 "
12474 eval as_val=\$$as_ac_Header
12475    if test "x$as_val" = x""yes; then :
12476   cat >>confdefs.h <<_ACEOF
12477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12478 _ACEOF
12479
12480 fi
12481
12482 done
12483
12484
12485
12486
12487
12488
12489
12490
12491 for ac_func in getpagesize
12492 do :
12493   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12494 if test "x$ac_cv_func_getpagesize" = x""yes; then :
12495   cat >>confdefs.h <<_ACEOF
12496 #define HAVE_GETPAGESIZE 1
12497 _ACEOF
12498
12499 fi
12500 done
12501
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12503 $as_echo_n "checking for working mmap... " >&6; }
12504 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12505   $as_echo_n "(cached) " >&6
12506 else
12507   if test "$cross_compiling" = yes; then :
12508   ac_cv_func_mmap_fixed_mapped=no
12509 else
12510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h.  */
12512 $ac_includes_default
12513 /* malloc might have been renamed as rpl_malloc. */
12514 #undef malloc
12515
12516 /* Thanks to Mike Haertel and Jim Avera for this test.
12517    Here is a matrix of mmap possibilities:
12518         mmap private not fixed
12519         mmap private fixed at somewhere currently unmapped
12520         mmap private fixed at somewhere already mapped
12521         mmap shared not fixed
12522         mmap shared fixed at somewhere currently unmapped
12523         mmap shared fixed at somewhere already mapped
12524    For private mappings, we should verify that changes cannot be read()
12525    back from the file, nor mmap's back from the file at a different
12526    address.  (There have been systems where private was not correctly
12527    implemented like the infamous i386 svr4.0, and systems where the
12528    VM page cache was not coherent with the file system buffer cache
12529    like early versions of FreeBSD and possibly contemporary NetBSD.)
12530    For shared mappings, we should conversely verify that changes get
12531    propagated back to all the places they're supposed to be.
12532
12533    Grep wants private fixed already mapped.
12534    The main things grep needs to know about mmap are:
12535    * does it exist and is it safe to write into the mmap'd area
12536    * how to use it (BSD variants)  */
12537
12538 #include <fcntl.h>
12539 #include <sys/mman.h>
12540
12541 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12542 char *malloc ();
12543 #endif
12544
12545 /* This mess was copied from the GNU getpagesize.h.  */
12546 #ifndef HAVE_GETPAGESIZE
12547 # ifdef _SC_PAGESIZE
12548 #  define getpagesize() sysconf(_SC_PAGESIZE)
12549 # else /* no _SC_PAGESIZE */
12550 #  ifdef HAVE_SYS_PARAM_H
12551 #   include <sys/param.h>
12552 #   ifdef EXEC_PAGESIZE
12553 #    define getpagesize() EXEC_PAGESIZE
12554 #   else /* no EXEC_PAGESIZE */
12555 #    ifdef NBPG
12556 #     define getpagesize() NBPG * CLSIZE
12557 #     ifndef CLSIZE
12558 #      define CLSIZE 1
12559 #     endif /* no CLSIZE */
12560 #    else /* no NBPG */
12561 #     ifdef NBPC
12562 #      define getpagesize() NBPC
12563 #     else /* no NBPC */
12564 #      ifdef PAGESIZE
12565 #       define getpagesize() PAGESIZE
12566 #      endif /* PAGESIZE */
12567 #     endif /* no NBPC */
12568 #    endif /* no NBPG */
12569 #   endif /* no EXEC_PAGESIZE */
12570 #  else /* no HAVE_SYS_PARAM_H */
12571 #   define getpagesize() 8192   /* punt totally */
12572 #  endif /* no HAVE_SYS_PARAM_H */
12573 # endif /* no _SC_PAGESIZE */
12574
12575 #endif /* no HAVE_GETPAGESIZE */
12576
12577 int
12578 main ()
12579 {
12580   char *data, *data2, *data3;
12581   const char *cdata2;
12582   int i, pagesize;
12583   int fd, fd2;
12584
12585   pagesize = getpagesize ();
12586
12587   /* First, make a file with some known garbage in it. */
12588   data = (char *) malloc (pagesize);
12589   if (!data)
12590     return 1;
12591   for (i = 0; i < pagesize; ++i)
12592     *(data + i) = rand ();
12593   umask (0);
12594   fd = creat ("conftest.mmap", 0600);
12595   if (fd < 0)
12596     return 2;
12597   if (write (fd, data, pagesize) != pagesize)
12598     return 3;
12599   close (fd);
12600
12601   /* Next, check that the tail of a page is zero-filled.  File must have
12602      non-zero length, otherwise we risk SIGBUS for entire page.  */
12603   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12604   if (fd2 < 0)
12605     return 4;
12606   cdata2 = "";
12607   if (write (fd2, cdata2, 1) != 1)
12608     return 5;
12609   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12610   if (data2 == MAP_FAILED)
12611     return 6;
12612   for (i = 0; i < pagesize; ++i)
12613     if (*(data2 + i))
12614       return 7;
12615   close (fd2);
12616   if (munmap (data2, pagesize))
12617     return 8;
12618
12619   /* Next, try to mmap the file at a fixed address which already has
12620      something else allocated at it.  If we can, also make sure that
12621      we see the same garbage.  */
12622   fd = open ("conftest.mmap", O_RDWR);
12623   if (fd < 0)
12624     return 9;
12625   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12626                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
12627     return 10;
12628   for (i = 0; i < pagesize; ++i)
12629     if (*(data + i) != *(data2 + i))
12630       return 11;
12631
12632   /* Finally, make sure that changes to the mapped area do not
12633      percolate back to the file as seen by read().  (This is a bug on
12634      some variants of i386 svr4.0.)  */
12635   for (i = 0; i < pagesize; ++i)
12636     *(data2 + i) = *(data2 + i) + 1;
12637   data3 = (char *) malloc (pagesize);
12638   if (!data3)
12639     return 12;
12640   if (read (fd, data3, pagesize) != pagesize)
12641     return 13;
12642   for (i = 0; i < pagesize; ++i)
12643     if (*(data + i) != *(data3 + i))
12644       return 14;
12645   close (fd);
12646   return 0;
12647 }
12648 _ACEOF
12649 if ac_fn_c_try_run "$LINENO"; then :
12650   ac_cv_func_mmap_fixed_mapped=yes
12651 else
12652   ac_cv_func_mmap_fixed_mapped=no
12653 fi
12654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12655   conftest.$ac_objext conftest.beam conftest.$ac_ext
12656 fi
12657
12658 fi
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12660 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12661 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12662
12663 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12664
12665 fi
12666 rm -f conftest.mmap conftest.txt
12667
12668
12669 for ac_header in inttypes.h
12670 do :
12671   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12672 if test "x$ac_cv_header_inttypes_h" = x""yes; then :
12673   cat >>confdefs.h <<_ACEOF
12674 #define HAVE_INTTYPES_H 1
12675 _ACEOF
12676
12677 fi
12678
12679 done
12680
12681 for ac_header in sys/time.h
12682 do :
12683   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12684 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
12685   cat >>confdefs.h <<_ACEOF
12686 #define HAVE_SYS_TIME_H 1
12687 _ACEOF
12688
12689 fi
12690
12691 done
12692
12693 for ac_header in unistd.h
12694 do :
12695   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12696 if test "x$ac_cv_header_unistd_h" = x""yes; then :
12697   cat >>confdefs.h <<_ACEOF
12698 #define HAVE_UNISTD_H 1
12699 _ACEOF
12700
12701 fi
12702
12703 done
12704
12705
12706 for ac_func in gettimeofday
12707 do :
12708   ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
12709 if test "x$ac_cv_func_gettimeofday" = x""yes; then :
12710   cat >>confdefs.h <<_ACEOF
12711 #define HAVE_GETTIMEOFDAY 1
12712 _ACEOF
12713
12714 fi
12715 done
12716
12717 for ac_func in sigaction
12718 do :
12719   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
12720 if test "x$ac_cv_func_sigaction" = x""yes; then :
12721   cat >>confdefs.h <<_ACEOF
12722 #define HAVE_SIGACTION 1
12723 _ACEOF
12724
12725 fi
12726 done
12727
12728 for ac_func in sigsetjmp
12729 do :
12730   ac_fn_c_check_func "$LINENO" "sigsetjmp" "ac_cv_func_sigsetjmp"
12731 if test "x$ac_cv_func_sigsetjmp" = x""yes; then :
12732   cat >>confdefs.h <<_ACEOF
12733 #define HAVE_SIGSETJMP 1
12734 _ACEOF
12735
12736 fi
12737 done
12738
12739
12740 LIBM=
12741 case $host in
12742 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
12743   # These system don't have libm, or don't need it
12744   ;;
12745 *-ncr-sysv4.3*)
12746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12747 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12748 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
12749   $as_echo_n "(cached) " >&6
12750 else
12751   ac_check_lib_save_LIBS=$LIBS
12752 LIBS="-lmw  $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h.  */
12755
12756 /* Override any GCC internal prototype to avoid an error.
12757    Use char because int might match the return type of a GCC
12758    builtin and then its argument prototype would still apply.  */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char _mwvalidcheckl ();
12763 int
12764 main ()
12765 {
12766 return _mwvalidcheckl ();
12767   ;
12768   return 0;
12769 }
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772   ac_cv_lib_mw__mwvalidcheckl=yes
12773 else
12774   ac_cv_lib_mw__mwvalidcheckl=no
12775 fi
12776 rm -f core conftest.err conftest.$ac_objext \
12777     conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_lib_save_LIBS
12779 fi
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12781 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12782 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
12783   LIBM="-lmw"
12784 fi
12785
12786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12787 $as_echo_n "checking for cos in -lm... " >&6; }
12788 if test "${ac_cv_lib_m_cos+set}" = set; then :
12789   $as_echo_n "(cached) " >&6
12790 else
12791   ac_check_lib_save_LIBS=$LIBS
12792 LIBS="-lm  $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h.  */
12795
12796 /* Override any GCC internal prototype to avoid an error.
12797    Use char because int might match the return type of a GCC
12798    builtin and then its argument prototype would still apply.  */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char cos ();
12803 int
12804 main ()
12805 {
12806 return cos ();
12807   ;
12808   return 0;
12809 }
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812   ac_cv_lib_m_cos=yes
12813 else
12814   ac_cv_lib_m_cos=no
12815 fi
12816 rm -f core conftest.err conftest.$ac_objext \
12817     conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_lib_save_LIBS
12819 fi
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12821 $as_echo "$ac_cv_lib_m_cos" >&6; }
12822 if test "x$ac_cv_lib_m_cos" = x""yes; then :
12823   LIBM="$LIBM -lm"
12824 fi
12825
12826   ;;
12827 *)
12828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12829 $as_echo_n "checking for cos in -lm... " >&6; }
12830 if test "${ac_cv_lib_m_cos+set}" = set; then :
12831   $as_echo_n "(cached) " >&6
12832 else
12833   ac_check_lib_save_LIBS=$LIBS
12834 LIBS="-lm  $LIBS"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h.  */
12837
12838 /* Override any GCC internal prototype to avoid an error.
12839    Use char because int might match the return type of a GCC
12840    builtin and then its argument prototype would still apply.  */
12841 #ifdef __cplusplus
12842 extern "C"
12843 #endif
12844 char cos ();
12845 int
12846 main ()
12847 {
12848 return cos ();
12849   ;
12850   return 0;
12851 }
12852 _ACEOF
12853 if ac_fn_c_try_link "$LINENO"; then :
12854   ac_cv_lib_m_cos=yes
12855 else
12856   ac_cv_lib_m_cos=no
12857 fi
12858 rm -f core conftest.err conftest.$ac_objext \
12859     conftest$ac_exeext conftest.$ac_ext
12860 LIBS=$ac_check_lib_save_LIBS
12861 fi
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12863 $as_echo "$ac_cv_lib_m_cos" >&6; }
12864 if test "x$ac_cv_lib_m_cos" = x""yes; then :
12865   LIBM="-lm"
12866 fi
12867
12868   ;;
12869 esac
12870
12871
12872
12873
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12875 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12876 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
12877   $as_echo_n "(cached) " >&6
12878 else
12879   ac_check_lib_save_LIBS=$LIBS
12880 LIBS="-lrt  $LIBS"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h.  */
12883
12884 /* Override any GCC internal prototype to avoid an error.
12885    Use char because int might match the return type of a GCC
12886    builtin and then its argument prototype would still apply.  */
12887 #ifdef __cplusplus
12888 extern "C"
12889 #endif
12890 char clock_gettime ();
12891 int
12892 main ()
12893 {
12894 return clock_gettime ();
12895   ;
12896   return 0;
12897 }
12898 _ACEOF
12899 if ac_fn_c_try_link "$LINENO"; then :
12900   ac_cv_lib_rt_clock_gettime=yes
12901 else
12902   ac_cv_lib_rt_clock_gettime=no
12903 fi
12904 rm -f core conftest.err conftest.$ac_objext \
12905     conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_lib_save_LIBS
12907 fi
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12909 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12910 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
12911
12912 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12913
12914    LIBRT=-lrt
12915
12916 fi
12917
12918
12919
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clocks" >&5
12921 $as_echo_n "checking for monotonic clocks... " >&6; }
12922 if test "${orc_cv_monotonic_clock+set}" = set; then :
12923   $as_echo_n "(cached) " >&6
12924 else
12925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h.  */
12927
12928 #include <time.h>
12929 #include <unistd.h>
12930 int main() {
12931 #if !(defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 && defined(CLOCK_MONOTONIC))
12932         #error No monotonic clock
12933 #endif
12934         return 0;
12935 }
12936
12937 _ACEOF
12938 if ac_fn_c_try_compile "$LINENO"; then :
12939   orc_cv_monotonic_clock=yes
12940 else
12941   orc_cv_monotonic_clock=no
12942 fi
12943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12944 fi
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orc_cv_monotonic_clock" >&5
12946 $as_echo "$orc_cv_monotonic_clock" >&6; }
12947 if test "$orc_cv_monotonic_clock" = "yes"; then
12948
12949 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
12950
12951 fi
12952
12953 for ac_header in valgrind/valgrind.h
12954 do :
12955   ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
12957   cat >>confdefs.h <<_ACEOF
12958 #define HAVE_VALGRIND_VALGRIND_H 1
12959 _ACEOF
12960
12961 fi
12962
12963 done
12964
12965
12966
12967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
12968 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
12969
12970   save_CFLAGS="$CFLAGS"
12971   CFLAGS="$CFLAGS -Wall"
12972
12973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h.  */
12975
12976 int
12977 main ()
12978 {
12979
12980   ;
12981   return 0;
12982 }
12983 _ACEOF
12984 if ac_fn_c_try_compile "$LINENO"; then :
12985   flag_ok=yes
12986 else
12987   flag_ok=no
12988 fi
12989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12990   CFLAGS="$save_CFLAGS"
12991
12992   if test "X$flag_ok" = Xyes ; then
12993     ORC_CFLAGS="$ORC_CFLAGS -Wall"
12994     true
12995   else
12996
12997     true
12998   fi
12999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13000 $as_echo "$flag_ok" >&6; }
13001
13002 if test "x$ORC_CVS" = "xyes"
13003 then
13004
13005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
13006 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
13007
13008   save_CFLAGS="$CFLAGS"
13009   CFLAGS="$CFLAGS -Werror"
13010
13011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h.  */
13013
13014 int
13015 main ()
13016 {
13017
13018   ;
13019   return 0;
13020 }
13021 _ACEOF
13022 if ac_fn_c_try_compile "$LINENO"; then :
13023   flag_ok=yes
13024 else
13025   flag_ok=no
13026 fi
13027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13028   CFLAGS="$save_CFLAGS"
13029
13030   if test "X$flag_ok" = Xyes ; then
13031     ORC_CFLAGS="$ORC_CFLAGS -Werror"
13032     true
13033   else
13034
13035     true
13036   fi
13037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13038 $as_echo "$flag_ok" >&6; }
13039
13040 fi
13041
13042 case "${host_os}" in
13043   nobody_is_using_this_currently)
13044
13045 $as_echo "#define HAVE_CODEMEM_MALLOC 1" >>confdefs.h
13046
13047     ;;
13048   mingw*|pw32*|cygwin*)
13049
13050 $as_echo "#define HAVE_CODEMEM_VIRTUALALLOC 1" >>confdefs.h
13051
13052     ;;
13053   linux*|darwin*|solaris*|netbsd*|freebsd*|openbsd*|kfreebsd*|dragonflybsd*|gnu*)
13054
13055 $as_echo "#define HAVE_CODEMEM_MMAP 1" >>confdefs.h
13056
13057     ;;
13058   *)
13059     as_fn_error "no code allocation backend" "$LINENO" 5
13060     ;;
13061 esac
13062
13063 case "${host_os}" in
13064   mingw*|pw32*|cygwin*)
13065
13066 $as_echo "#define HAVE_THREAD_WIN32 1" >>confdefs.h
13067
13068     ;;
13069   *)
13070
13071 $as_echo "#define HAVE_THREAD_PTHREAD 1" >>confdefs.h
13072
13073     ;;
13074 esac
13075
13076 # Check whether --enable-backend was given.
13077 if test "${enable_backend+set}" = set; then :
13078   enableval=$enable_backend;
13079 else
13080   enable_backend=all
13081 fi
13082
13083 case "${enable_backend}" in
13084   sse)
13085     ENABLE_BACKEND_SSE=yes
13086
13087 $as_echo "#define ENABLE_BACKEND_SSE 1" >>confdefs.h
13088
13089     ;;
13090   mmx)
13091     ENABLE_BACKEND_MMX=yes
13092
13093 $as_echo "#define ENABLE_BACKEND_MMX 1" >>confdefs.h
13094
13095     ;;
13096   altivec)
13097     ENABLE_BACKEND_ALTIVEC=yes
13098
13099 $as_echo "#define ENABLE_BACKEND_ALTIVEC 1" >>confdefs.h
13100
13101     ;;
13102   neon)
13103     ENABLE_BACKEND_NEON=yes
13104
13105 $as_echo "#define ENABLE_BACKEND_NEON 1" >>confdefs.h
13106
13107     ;;
13108   arm)
13109     ENABLE_BACKEND_ARM=yes
13110
13111 $as_echo "#define ENABLE_BACKEND_ARM 1" >>confdefs.h
13112
13113     ;;
13114   c64x)
13115     ENABLE_BACKEND_C64X=yes
13116
13117 $as_echo "#define ENABLE_BACKEND_C64X 1" >>confdefs.h
13118
13119     ;;
13120   all|auto)
13121     ENABLE_BACKEND_SSE=yes
13122
13123 $as_echo "#define ENABLE_BACKEND_SSE 1" >>confdefs.h
13124
13125     ENABLE_BACKEND_MMX=yes
13126
13127 $as_echo "#define ENABLE_BACKEND_MMX 1" >>confdefs.h
13128
13129     ENABLE_BACKEND_ALTIVEC=yes
13130
13131 $as_echo "#define ENABLE_BACKEND_ALTIVEC 1" >>confdefs.h
13132
13133     ENABLE_BACKEND_NEON=yes
13134
13135 $as_echo "#define ENABLE_BACKEND_NEON 1" >>confdefs.h
13136
13137     ENABLE_BACKEND_ARM=yes
13138
13139 $as_echo "#define ENABLE_BACKEND_ARM 1" >>confdefs.h
13140
13141     ENABLE_BACKEND_C64X=yes
13142
13143 $as_echo "#define ENABLE_BACKEND_C64X 1" >>confdefs.h
13144
13145     ;;
13146 esac
13147  if test "x$ENABLE_BACKEND_SSE" = "xyes"; then
13148   ENABLE_BACKEND_SSE_TRUE=
13149   ENABLE_BACKEND_SSE_FALSE='#'
13150 else
13151   ENABLE_BACKEND_SSE_TRUE='#'
13152   ENABLE_BACKEND_SSE_FALSE=
13153 fi
13154
13155  if test "x$ENABLE_BACKEND_MMX" = "xyes"; then
13156   ENABLE_BACKEND_MMX_TRUE=
13157   ENABLE_BACKEND_MMX_FALSE='#'
13158 else
13159   ENABLE_BACKEND_MMX_TRUE='#'
13160   ENABLE_BACKEND_MMX_FALSE=
13161 fi
13162
13163  if test "x$ENABLE_BACKEND_ALTIVEC" = "xyes"; then
13164   ENABLE_BACKEND_ALTIVEC_TRUE=
13165   ENABLE_BACKEND_ALTIVEC_FALSE='#'
13166 else
13167   ENABLE_BACKEND_ALTIVEC_TRUE='#'
13168   ENABLE_BACKEND_ALTIVEC_FALSE=
13169 fi
13170
13171  if test "x$ENABLE_BACKEND_NEON" = "xyes"; then
13172   ENABLE_BACKEND_NEON_TRUE=
13173   ENABLE_BACKEND_NEON_FALSE='#'
13174 else
13175   ENABLE_BACKEND_NEON_TRUE='#'
13176   ENABLE_BACKEND_NEON_FALSE=
13177 fi
13178
13179  if test "x$ENABLE_BACKEND_ARM" = "xyes"; then
13180   ENABLE_BACKEND_ARM_TRUE=
13181   ENABLE_BACKEND_ARM_FALSE='#'
13182 else
13183   ENABLE_BACKEND_ARM_TRUE='#'
13184   ENABLE_BACKEND_ARM_FALSE=
13185 fi
13186
13187  if test "x$ENABLE_BACKEND_C64X" = "xyes"; then
13188   ENABLE_BACKEND_C64X_TRUE=
13189   ENABLE_BACKEND_C64X_FALSE='#'
13190 else
13191   ENABLE_BACKEND_C64X_TRUE='#'
13192   ENABLE_BACKEND_C64X_FALSE=
13193 fi
13194
13195
13196
13197
13198 $as_echo "#define ORC_EXPORTS 1" >>confdefs.h
13199
13200
13201 ORC_CFLAGS="$ORC_CFLAGS -I\$(top_srcdir)"
13202
13203
13204 ORC_LIBS="\$(top_builddir)/orc/liborc-$ORC_MAJORMINOR.la $LIBM $LIBRT"
13205
13206
13207 #CFLAGS=`echo $CFLAGS | sed s/O2/O0/`
13208
13209 pkgconfigdir="\$(libdir)/pkgconfig"
13210
13211
13212
13213 ac_config_files="$ac_config_files Makefile doc/Makefile doc/version.entities orc/Makefile orc-test/Makefile testsuite/Makefile testsuite/orcc/Makefile testsuite/benchmorc/Makefile examples/Makefile tools/Makefile orc-uninstalled.pc orc.pc"
13214
13215 cat >confcache <<\_ACEOF
13216 # This file is a shell script that caches the results of configure
13217 # tests run on this system so they can be shared between configure
13218 # scripts and configure runs, see configure's option --config-cache.
13219 # It is not useful on other systems.  If it contains results you don't
13220 # want to keep, you may remove or edit it.
13221 #
13222 # config.status only pays attention to the cache file if you give it
13223 # the --recheck option to rerun configure.
13224 #
13225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13227 # following values.
13228
13229 _ACEOF
13230
13231 # The following way of writing the cache mishandles newlines in values,
13232 # but we know of no workaround that is simple, portable, and efficient.
13233 # So, we kill variables containing newlines.
13234 # Ultrix sh set writes to stderr and can't be redirected directly,
13235 # and sets the high bit in the cache file unless we assign to the vars.
13236 (
13237   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13238     eval ac_val=\$$ac_var
13239     case $ac_val in #(
13240     *${as_nl}*)
13241       case $ac_var in #(
13242       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13244       esac
13245       case $ac_var in #(
13246       _ | IFS | as_nl) ;; #(
13247       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13248       *) { eval $ac_var=; unset $ac_var;} ;;
13249       esac ;;
13250     esac
13251   done
13252
13253   (set) 2>&1 |
13254     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13255     *${as_nl}ac_space=\ *)
13256       # `set' does not quote correctly, so add quotes: double-quote
13257       # substitution turns \\\\ into \\, and sed turns \\ into \.
13258       sed -n \
13259         "s/'/'\\\\''/g;
13260           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13261       ;; #(
13262     *)
13263       # `set' quotes correctly as required by POSIX, so do not add quotes.
13264       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13265       ;;
13266     esac |
13267     sort
13268 ) |
13269   sed '
13270      /^ac_cv_env_/b end
13271      t clear
13272      :clear
13273      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13274      t end
13275      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13276      :end' >>confcache
13277 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13278   if test -w "$cache_file"; then
13279     test "x$cache_file" != "x/dev/null" &&
13280       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13281 $as_echo "$as_me: updating cache $cache_file" >&6;}
13282     cat confcache >$cache_file
13283   else
13284     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13286   fi
13287 fi
13288 rm -f confcache
13289
13290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13291 # Let make expand exec_prefix.
13292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13293
13294 DEFS=-DHAVE_CONFIG_H
13295
13296 ac_libobjs=
13297 ac_ltlibobjs=
13298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13299   # 1. Remove the extension, and $U if already installed.
13300   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13301   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13302   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13303   #    will be set to the directory where LIBOBJS objects are built.
13304   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13305   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13306 done
13307 LIBOBJS=$ac_libobjs
13308
13309 LTLIBOBJS=$ac_ltlibobjs
13310
13311
13312  if test -n "$EXEEXT"; then
13313   am__EXEEXT_TRUE=
13314   am__EXEEXT_FALSE='#'
13315 else
13316   am__EXEEXT_TRUE='#'
13317   am__EXEEXT_FALSE=
13318 fi
13319
13320 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13321   as_fn_error "conditional \"AMDEP\" was never defined.
13322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13323 fi
13324 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13325   as_fn_error "conditional \"am__fastdepCC\" was never defined.
13326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13327 fi
13328 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13329   as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
13330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13331 fi
13332 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
13333   as_fn_error "conditional \"CROSS_COMPILING\" was never defined.
13334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13335 fi
13336 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13337   as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
13338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13339 fi
13340 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13341   as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13343 fi
13344 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13345   as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13347 fi
13348 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13349   as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13351 fi
13352 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13353   as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13355 fi
13356 if test -z "${HAVE_I386_TRUE}" && test -z "${HAVE_I386_FALSE}"; then
13357   as_fn_error "conditional \"HAVE_I386\" was never defined.
13358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13359 fi
13360 if test -z "${HAVE_AMD64_TRUE}" && test -z "${HAVE_AMD64_FALSE}"; then
13361   as_fn_error "conditional \"HAVE_AMD64\" was never defined.
13362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13363 fi
13364 if test -z "${HAVE_POWERPC_TRUE}" && test -z "${HAVE_POWERPC_FALSE}"; then
13365   as_fn_error "conditional \"HAVE_POWERPC\" was never defined.
13366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13367 fi
13368 if test -z "${HAVE_ARM_TRUE}" && test -z "${HAVE_ARM_FALSE}"; then
13369   as_fn_error "conditional \"HAVE_ARM\" was never defined.
13370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13371 fi
13372 if test -z "${HAVE_OS_WIN32_TRUE}" && test -z "${HAVE_OS_WIN32_FALSE}"; then
13373   as_fn_error "conditional \"HAVE_OS_WIN32\" was never defined.
13374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13375 fi
13376 if test -z "${HAVE_OS_LINUX_TRUE}" && test -z "${HAVE_OS_LINUX_FALSE}"; then
13377   as_fn_error "conditional \"HAVE_OS_LINUX\" was never defined.
13378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13379 fi
13380
13381 if test -z "${ENABLE_BACKEND_SSE_TRUE}" && test -z "${ENABLE_BACKEND_SSE_FALSE}"; then
13382   as_fn_error "conditional \"ENABLE_BACKEND_SSE\" was never defined.
13383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13384 fi
13385 if test -z "${ENABLE_BACKEND_MMX_TRUE}" && test -z "${ENABLE_BACKEND_MMX_FALSE}"; then
13386   as_fn_error "conditional \"ENABLE_BACKEND_MMX\" was never defined.
13387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13388 fi
13389 if test -z "${ENABLE_BACKEND_ALTIVEC_TRUE}" && test -z "${ENABLE_BACKEND_ALTIVEC_FALSE}"; then
13390   as_fn_error "conditional \"ENABLE_BACKEND_ALTIVEC\" was never defined.
13391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13392 fi
13393 if test -z "${ENABLE_BACKEND_NEON_TRUE}" && test -z "${ENABLE_BACKEND_NEON_FALSE}"; then
13394   as_fn_error "conditional \"ENABLE_BACKEND_NEON\" was never defined.
13395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13396 fi
13397 if test -z "${ENABLE_BACKEND_ARM_TRUE}" && test -z "${ENABLE_BACKEND_ARM_FALSE}"; then
13398   as_fn_error "conditional \"ENABLE_BACKEND_ARM\" was never defined.
13399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13400 fi
13401 if test -z "${ENABLE_BACKEND_C64X_TRUE}" && test -z "${ENABLE_BACKEND_C64X_FALSE}"; then
13402   as_fn_error "conditional \"ENABLE_BACKEND_C64X\" was never defined.
13403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13404 fi
13405
13406 : ${CONFIG_STATUS=./config.status}
13407 ac_write_fail=0
13408 ac_clean_files_save=$ac_clean_files
13409 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13411 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13412 as_write_fail=0
13413 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13414 #! $SHELL
13415 # Generated by $as_me.
13416 # Run this file to recreate the current configuration.
13417 # Compiler output produced by configure, useful for debugging
13418 # configure, is in config.log if it exists.
13419
13420 debug=false
13421 ac_cs_recheck=false
13422 ac_cs_silent=false
13423
13424 SHELL=\${CONFIG_SHELL-$SHELL}
13425 export SHELL
13426 _ASEOF
13427 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13428 ## -------------------- ##
13429 ## M4sh Initialization. ##
13430 ## -------------------- ##
13431
13432 # Be more Bourne compatible
13433 DUALCASE=1; export DUALCASE # for MKS sh
13434 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13435   emulate sh
13436   NULLCMD=:
13437   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13438   # is contrary to our usage.  Disable this feature.
13439   alias -g '${1+"$@"}'='"$@"'
13440   setopt NO_GLOB_SUBST
13441 else
13442   case `(set -o) 2>/dev/null` in #(
13443   *posix*) :
13444     set -o posix ;; #(
13445   *) :
13446      ;;
13447 esac
13448 fi
13449
13450
13451 as_nl='
13452 '
13453 export as_nl
13454 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13455 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13456 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13457 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13458 # Prefer a ksh shell builtin over an external printf program on Solaris,
13459 # but without wasting forks for bash or zsh.
13460 if test -z "$BASH_VERSION$ZSH_VERSION" \
13461     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13462   as_echo='print -r --'
13463   as_echo_n='print -rn --'
13464 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13465   as_echo='printf %s\n'
13466   as_echo_n='printf %s'
13467 else
13468   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13469     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13470     as_echo_n='/usr/ucb/echo -n'
13471   else
13472     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13473     as_echo_n_body='eval
13474       arg=$1;
13475       case $arg in #(
13476       *"$as_nl"*)
13477         expr "X$arg" : "X\\(.*\\)$as_nl";
13478         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13479       esac;
13480       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13481     '
13482     export as_echo_n_body
13483     as_echo_n='sh -c $as_echo_n_body as_echo'
13484   fi
13485   export as_echo_body
13486   as_echo='sh -c $as_echo_body as_echo'
13487 fi
13488
13489 # The user is always right.
13490 if test "${PATH_SEPARATOR+set}" != set; then
13491   PATH_SEPARATOR=:
13492   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13493     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13494       PATH_SEPARATOR=';'
13495   }
13496 fi
13497
13498
13499 # IFS
13500 # We need space, tab and new line, in precisely that order.  Quoting is
13501 # there to prevent editors from complaining about space-tab.
13502 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13503 # splitting by setting IFS to empty value.)
13504 IFS=" ""        $as_nl"
13505
13506 # Find who we are.  Look in the path if we contain no directory separator.
13507 case $0 in #((
13508   *[\\/]* ) as_myself=$0 ;;
13509   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13510 for as_dir in $PATH
13511 do
13512   IFS=$as_save_IFS
13513   test -z "$as_dir" && as_dir=.
13514     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13515   done
13516 IFS=$as_save_IFS
13517
13518      ;;
13519 esac
13520 # We did not find ourselves, most probably we were run as `sh COMMAND'
13521 # in which case we are not to be found in the path.
13522 if test "x$as_myself" = x; then
13523   as_myself=$0
13524 fi
13525 if test ! -f "$as_myself"; then
13526   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13527   exit 1
13528 fi
13529
13530 # Unset variables that we do not need and which cause bugs (e.g. in
13531 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13532 # suppresses any "Segmentation fault" message there.  '((' could
13533 # trigger a bug in pdksh 5.2.14.
13534 for as_var in BASH_ENV ENV MAIL MAILPATH
13535 do eval test x\${$as_var+set} = xset \
13536   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13537 done
13538 PS1='$ '
13539 PS2='> '
13540 PS4='+ '
13541
13542 # NLS nuisances.
13543 LC_ALL=C
13544 export LC_ALL
13545 LANGUAGE=C
13546 export LANGUAGE
13547
13548 # CDPATH.
13549 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13550
13551
13552 # as_fn_error ERROR [LINENO LOG_FD]
13553 # ---------------------------------
13554 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13555 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13556 # script with status $?, using 1 if that was 0.
13557 as_fn_error ()
13558 {
13559   as_status=$?; test $as_status -eq 0 && as_status=1
13560   if test "$3"; then
13561     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13562     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13563   fi
13564   $as_echo "$as_me: error: $1" >&2
13565   as_fn_exit $as_status
13566 } # as_fn_error
13567
13568
13569 # as_fn_set_status STATUS
13570 # -----------------------
13571 # Set $? to STATUS, without forking.
13572 as_fn_set_status ()
13573 {
13574   return $1
13575 } # as_fn_set_status
13576
13577 # as_fn_exit STATUS
13578 # -----------------
13579 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13580 as_fn_exit ()
13581 {
13582   set +e
13583   as_fn_set_status $1
13584   exit $1
13585 } # as_fn_exit
13586
13587 # as_fn_unset VAR
13588 # ---------------
13589 # Portably unset VAR.
13590 as_fn_unset ()
13591 {
13592   { eval $1=; unset $1;}
13593 }
13594 as_unset=as_fn_unset
13595 # as_fn_append VAR VALUE
13596 # ----------------------
13597 # Append the text in VALUE to the end of the definition contained in VAR. Take
13598 # advantage of any shell optimizations that allow amortized linear growth over
13599 # repeated appends, instead of the typical quadratic growth present in naive
13600 # implementations.
13601 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13602   eval 'as_fn_append ()
13603   {
13604     eval $1+=\$2
13605   }'
13606 else
13607   as_fn_append ()
13608   {
13609     eval $1=\$$1\$2
13610   }
13611 fi # as_fn_append
13612
13613 # as_fn_arith ARG...
13614 # ------------------
13615 # Perform arithmetic evaluation on the ARGs, and store the result in the
13616 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13617 # must be portable across $(()) and expr.
13618 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13619   eval 'as_fn_arith ()
13620   {
13621     as_val=$(( $* ))
13622   }'
13623 else
13624   as_fn_arith ()
13625   {
13626     as_val=`expr "$@" || test $? -eq 1`
13627   }
13628 fi # as_fn_arith
13629
13630
13631 if expr a : '\(a\)' >/dev/null 2>&1 &&
13632    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13633   as_expr=expr
13634 else
13635   as_expr=false
13636 fi
13637
13638 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13639   as_basename=basename
13640 else
13641   as_basename=false
13642 fi
13643
13644 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13645   as_dirname=dirname
13646 else
13647   as_dirname=false
13648 fi
13649
13650 as_me=`$as_basename -- "$0" ||
13651 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13652          X"$0" : 'X\(//\)$' \| \
13653          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13654 $as_echo X/"$0" |
13655     sed '/^.*\/\([^/][^/]*\)\/*$/{
13656             s//\1/
13657             q
13658           }
13659           /^X\/\(\/\/\)$/{
13660             s//\1/
13661             q
13662           }
13663           /^X\/\(\/\).*/{
13664             s//\1/
13665             q
13666           }
13667           s/.*/./; q'`
13668
13669 # Avoid depending upon Character Ranges.
13670 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13671 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13672 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13673 as_cr_digits='0123456789'
13674 as_cr_alnum=$as_cr_Letters$as_cr_digits
13675
13676 ECHO_C= ECHO_N= ECHO_T=
13677 case `echo -n x` in #(((((
13678 -n*)
13679   case `echo 'xy\c'` in
13680   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13681   xy)  ECHO_C='\c';;
13682   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13683        ECHO_T=' ';;
13684   esac;;
13685 *)
13686   ECHO_N='-n';;
13687 esac
13688
13689 rm -f conf$$ conf$$.exe conf$$.file
13690 if test -d conf$$.dir; then
13691   rm -f conf$$.dir/conf$$.file
13692 else
13693   rm -f conf$$.dir
13694   mkdir conf$$.dir 2>/dev/null
13695 fi
13696 if (echo >conf$$.file) 2>/dev/null; then
13697   if ln -s conf$$.file conf$$ 2>/dev/null; then
13698     as_ln_s='ln -s'
13699     # ... but there are two gotchas:
13700     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13701     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13702     # In both cases, we have to default to `cp -p'.
13703     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13704       as_ln_s='cp -p'
13705   elif ln conf$$.file conf$$ 2>/dev/null; then
13706     as_ln_s=ln
13707   else
13708     as_ln_s='cp -p'
13709   fi
13710 else
13711   as_ln_s='cp -p'
13712 fi
13713 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13714 rmdir conf$$.dir 2>/dev/null
13715
13716
13717 # as_fn_mkdir_p
13718 # -------------
13719 # Create "$as_dir" as a directory, including parents if necessary.
13720 as_fn_mkdir_p ()
13721 {
13722
13723   case $as_dir in #(
13724   -*) as_dir=./$as_dir;;
13725   esac
13726   test -d "$as_dir" || eval $as_mkdir_p || {
13727     as_dirs=
13728     while :; do
13729       case $as_dir in #(
13730       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13731       *) as_qdir=$as_dir;;
13732       esac
13733       as_dirs="'$as_qdir' $as_dirs"
13734       as_dir=`$as_dirname -- "$as_dir" ||
13735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13736          X"$as_dir" : 'X\(//\)[^/]' \| \
13737          X"$as_dir" : 'X\(//\)$' \| \
13738          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13739 $as_echo X"$as_dir" |
13740     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13741             s//\1/
13742             q
13743           }
13744           /^X\(\/\/\)[^/].*/{
13745             s//\1/
13746             q
13747           }
13748           /^X\(\/\/\)$/{
13749             s//\1/
13750             q
13751           }
13752           /^X\(\/\).*/{
13753             s//\1/
13754             q
13755           }
13756           s/.*/./; q'`
13757       test -d "$as_dir" && break
13758     done
13759     test -z "$as_dirs" || eval "mkdir $as_dirs"
13760   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13761
13762
13763 } # as_fn_mkdir_p
13764 if mkdir -p . 2>/dev/null; then
13765   as_mkdir_p='mkdir -p "$as_dir"'
13766 else
13767   test -d ./-p && rmdir ./-p
13768   as_mkdir_p=false
13769 fi
13770
13771 if test -x / >/dev/null 2>&1; then
13772   as_test_x='test -x'
13773 else
13774   if ls -dL / >/dev/null 2>&1; then
13775     as_ls_L_option=L
13776   else
13777     as_ls_L_option=
13778   fi
13779   as_test_x='
13780     eval sh -c '\''
13781       if test -d "$1"; then
13782         test -d "$1/.";
13783       else
13784         case $1 in #(
13785         -*)set "./$1";;
13786         esac;
13787         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13788         ???[sx]*):;;*)false;;esac;fi
13789     '\'' sh
13790   '
13791 fi
13792 as_executable_p=$as_test_x
13793
13794 # Sed expression to map a string onto a valid CPP name.
13795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13796
13797 # Sed expression to map a string onto a valid variable name.
13798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13799
13800
13801 exec 6>&1
13802 ## ----------------------------------- ##
13803 ## Main body of $CONFIG_STATUS script. ##
13804 ## ----------------------------------- ##
13805 _ASEOF
13806 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13807
13808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13809 # Save the log message, to keep $0 and so on meaningful, and to
13810 # report actual input values of CONFIG_FILES etc. instead of their
13811 # values after options handling.
13812 ac_log="
13813 This file was extended by orc $as_me 0.4.11, which was
13814 generated by GNU Autoconf 2.65.  Invocation command line was
13815
13816   CONFIG_FILES    = $CONFIG_FILES
13817   CONFIG_HEADERS  = $CONFIG_HEADERS
13818   CONFIG_LINKS    = $CONFIG_LINKS
13819   CONFIG_COMMANDS = $CONFIG_COMMANDS
13820   $ $0 $@
13821
13822 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13823 "
13824
13825 _ACEOF
13826
13827 case $ac_config_files in *"
13828 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13829 esac
13830
13831 case $ac_config_headers in *"
13832 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13833 esac
13834
13835
13836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13837 # Files that config.status was made for.
13838 config_files="$ac_config_files"
13839 config_headers="$ac_config_headers"
13840 config_commands="$ac_config_commands"
13841
13842 _ACEOF
13843
13844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13845 ac_cs_usage="\
13846 \`$as_me' instantiates files and other configuration actions
13847 from templates according to the current configuration.  Unless the files
13848 and actions are specified as TAGs, all are instantiated by default.
13849
13850 Usage: $0 [OPTION]... [TAG]...
13851
13852   -h, --help       print this help, then exit
13853   -V, --version    print version number and configuration settings, then exit
13854       --config     print configuration, then exit
13855   -q, --quiet, --silent
13856                    do not print progress messages
13857   -d, --debug      don't remove temporary files
13858       --recheck    update $as_me by reconfiguring in the same conditions
13859       --file=FILE[:TEMPLATE]
13860                    instantiate the configuration file FILE
13861       --header=FILE[:TEMPLATE]
13862                    instantiate the configuration header FILE
13863
13864 Configuration files:
13865 $config_files
13866
13867 Configuration headers:
13868 $config_headers
13869
13870 Configuration commands:
13871 $config_commands
13872
13873 Report bugs to the package provider."
13874
13875 _ACEOF
13876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13878 ac_cs_version="\\
13879 orc config.status 0.4.11
13880 configured by $0, generated by GNU Autoconf 2.65,
13881   with options \\"\$ac_cs_config\\"
13882
13883 Copyright (C) 2009 Free Software Foundation, Inc.
13884 This config.status script is free software; the Free Software Foundation
13885 gives unlimited permission to copy, distribute and modify it."
13886
13887 ac_pwd='$ac_pwd'
13888 srcdir='$srcdir'
13889 INSTALL='$INSTALL'
13890 MKDIR_P='$MKDIR_P'
13891 AWK='$AWK'
13892 test -n "\$AWK" || AWK=awk
13893 _ACEOF
13894
13895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13896 # The default lists apply if the user does not specify any file.
13897 ac_need_defaults=:
13898 while test $# != 0
13899 do
13900   case $1 in
13901   --*=*)
13902     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13903     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13904     ac_shift=:
13905     ;;
13906   *)
13907     ac_option=$1
13908     ac_optarg=$2
13909     ac_shift=shift
13910     ;;
13911   esac
13912
13913   case $ac_option in
13914   # Handling of the options.
13915   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13916     ac_cs_recheck=: ;;
13917   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13918     $as_echo "$ac_cs_version"; exit ;;
13919   --config | --confi | --conf | --con | --co | --c )
13920     $as_echo "$ac_cs_config"; exit ;;
13921   --debug | --debu | --deb | --de | --d | -d )
13922     debug=: ;;
13923   --file | --fil | --fi | --f )
13924     $ac_shift
13925     case $ac_optarg in
13926     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13927     esac
13928     as_fn_append CONFIG_FILES " '$ac_optarg'"
13929     ac_need_defaults=false;;
13930   --header | --heade | --head | --hea )
13931     $ac_shift
13932     case $ac_optarg in
13933     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13934     esac
13935     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13936     ac_need_defaults=false;;
13937   --he | --h)
13938     # Conflict between --help and --header
13939     as_fn_error "ambiguous option: \`$1'
13940 Try \`$0 --help' for more information.";;
13941   --help | --hel | -h )
13942     $as_echo "$ac_cs_usage"; exit ;;
13943   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13944   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13945     ac_cs_silent=: ;;
13946
13947   # This is an error.
13948   -*) as_fn_error "unrecognized option: \`$1'
13949 Try \`$0 --help' for more information." ;;
13950
13951   *) as_fn_append ac_config_targets " $1"
13952      ac_need_defaults=false ;;
13953
13954   esac
13955   shift
13956 done
13957
13958 ac_configure_extra_args=
13959
13960 if $ac_cs_silent; then
13961   exec 6>/dev/null
13962   ac_configure_extra_args="$ac_configure_extra_args --silent"
13963 fi
13964
13965 _ACEOF
13966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13967 if \$ac_cs_recheck; then
13968   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13969   shift
13970   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13971   CONFIG_SHELL='$SHELL'
13972   export CONFIG_SHELL
13973   exec "\$@"
13974 fi
13975
13976 _ACEOF
13977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13978 exec 5>>config.log
13979 {
13980   echo
13981   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13982 ## Running $as_me. ##
13983 _ASBOX
13984   $as_echo "$ac_log"
13985 } >&5
13986
13987 _ACEOF
13988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13989 #
13990 # INIT-COMMANDS
13991 #
13992 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13993
13994
13995 # The HP-UX ksh and POSIX shell print the target directory to stdout
13996 # if CDPATH is set.
13997 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13998
13999 sed_quote_subst='$sed_quote_subst'
14000 double_quote_subst='$double_quote_subst'
14001 delay_variable_subst='$delay_variable_subst'
14002 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14003 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14004 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14005 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14006 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14007 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14008 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14009 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14010 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14011 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14012 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14013 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14014 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14015 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14016 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14017 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14018 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14019 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14020 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14021 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14022 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14023 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14024 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14025 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14026 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14027 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14028 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14029 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14030 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14031 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14032 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14033 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14034 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14035 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14036 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14037 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14038 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14039 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14040 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14041 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14042 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14043 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14044 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14045 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14046 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14047 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14048 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14049 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14050 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14051 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14052 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14053 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14054 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14055 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14056 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14057 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14058 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14059 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14060 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14061 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14062 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14063 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14064 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14065 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14066 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14067 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14068 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14069 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14070 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14071 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14072 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14073 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14074 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14075 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14076 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14077 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14078 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14079 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14080 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14081 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14082 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14083 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14084 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14085 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14086 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14087 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14088 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14089 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14090 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14091 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14092 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14093 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14094 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14095 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14096 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14097 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14098 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14099 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14100 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14101 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14102 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14103 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14104 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14105 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14106 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14107 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14108 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14109 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14110 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14111 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14112 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14113 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14114 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14115 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14116 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14117 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14118 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14119 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14120 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14121 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14122
14123 LTCC='$LTCC'
14124 LTCFLAGS='$LTCFLAGS'
14125 compiler='$compiler_DEFAULT'
14126
14127 # Quote evaled strings.
14128 for var in SED \
14129 GREP \
14130 EGREP \
14131 FGREP \
14132 LD \
14133 NM \
14134 LN_S \
14135 lt_SP2NL \
14136 lt_NL2SP \
14137 reload_flag \
14138 deplibs_check_method \
14139 file_magic_cmd \
14140 AR \
14141 AR_FLAGS \
14142 STRIP \
14143 RANLIB \
14144 CC \
14145 CFLAGS \
14146 compiler \
14147 lt_cv_sys_global_symbol_pipe \
14148 lt_cv_sys_global_symbol_to_cdecl \
14149 lt_cv_sys_global_symbol_to_c_name_address \
14150 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14151 SHELL \
14152 ECHO \
14153 lt_prog_compiler_no_builtin_flag \
14154 lt_prog_compiler_wl \
14155 lt_prog_compiler_pic \
14156 lt_prog_compiler_static \
14157 lt_cv_prog_compiler_c_o \
14158 need_locks \
14159 DSYMUTIL \
14160 NMEDIT \
14161 LIPO \
14162 OTOOL \
14163 OTOOL64 \
14164 shrext_cmds \
14165 export_dynamic_flag_spec \
14166 whole_archive_flag_spec \
14167 compiler_needs_object \
14168 with_gnu_ld \
14169 allow_undefined_flag \
14170 no_undefined_flag \
14171 hardcode_libdir_flag_spec \
14172 hardcode_libdir_flag_spec_ld \
14173 hardcode_libdir_separator \
14174 fix_srcfile_path \
14175 exclude_expsyms \
14176 include_expsyms \
14177 file_list_spec \
14178 variables_saved_for_relink \
14179 libname_spec \
14180 library_names_spec \
14181 soname_spec \
14182 finish_eval \
14183 old_striplib \
14184 striplib; do
14185     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14186     *[\\\\\\\`\\"\\\$]*)
14187       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14188       ;;
14189     *)
14190       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14191       ;;
14192     esac
14193 done
14194
14195 # Double-quote double-evaled strings.
14196 for var in reload_cmds \
14197 old_postinstall_cmds \
14198 old_postuninstall_cmds \
14199 old_archive_cmds \
14200 extract_expsyms_cmds \
14201 old_archive_from_new_cmds \
14202 old_archive_from_expsyms_cmds \
14203 archive_cmds \
14204 archive_expsym_cmds \
14205 module_cmds \
14206 module_expsym_cmds \
14207 export_symbols_cmds \
14208 prelink_cmds \
14209 postinstall_cmds \
14210 postuninstall_cmds \
14211 finish_cmds \
14212 sys_lib_search_path_spec \
14213 sys_lib_dlsearch_path_spec; do
14214     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14215     *[\\\\\\\`\\"\\\$]*)
14216       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14217       ;;
14218     *)
14219       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14220       ;;
14221     esac
14222 done
14223
14224 # Fix-up fallback echo if it was mangled by the above quoting rules.
14225 case \$lt_ECHO in
14226 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14227   ;;
14228 esac
14229
14230 ac_aux_dir='$ac_aux_dir'
14231 xsi_shell='$xsi_shell'
14232 lt_shell_append='$lt_shell_append'
14233
14234 # See if we are running on zsh, and set the options which allow our
14235 # commands through without removal of \ escapes INIT.
14236 if test -n "\${ZSH_VERSION+set}" ; then
14237    setopt NO_GLOB_SUBST
14238 fi
14239
14240
14241     PACKAGE='$PACKAGE'
14242     VERSION='$VERSION'
14243     TIMESTAMP='$TIMESTAMP'
14244     RM='$RM'
14245     ofile='$ofile'
14246
14247
14248
14249 # variables for create stdint.h replacement
14250 PACKAGE="$PACKAGE"
14251 VERSION="$VERSION"
14252 ac_stdint_h="$ac_stdint_h"
14253 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
14254 ac_cv_stdint_message="$ac_cv_stdint_message"
14255 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
14256 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
14257 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
14258 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
14259 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
14260 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
14261 ac_cv_char_data_model="$ac_cv_char_data_model"
14262 ac_cv_long_data_model="$ac_cv_long_data_model"
14263 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
14264 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
14265 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
14266
14267
14268 _ACEOF
14269
14270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14271
14272 # Handling of arguments.
14273 for ac_config_target in $ac_config_targets
14274 do
14275   case $ac_config_target in
14276     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14277     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14278     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14279     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
14280     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14281     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14282     "doc/version.entities") CONFIG_FILES="$CONFIG_FILES doc/version.entities" ;;
14283     "orc/Makefile") CONFIG_FILES="$CONFIG_FILES orc/Makefile" ;;
14284     "orc-test/Makefile") CONFIG_FILES="$CONFIG_FILES orc-test/Makefile" ;;
14285     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
14286     "testsuite/orcc/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/orcc/Makefile" ;;
14287     "testsuite/benchmorc/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/benchmorc/Makefile" ;;
14288     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14289     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14290     "orc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES orc-uninstalled.pc" ;;
14291     "orc.pc") CONFIG_FILES="$CONFIG_FILES orc.pc" ;;
14292
14293   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14294   esac
14295 done
14296
14297
14298 # If the user did not use the arguments to specify the items to instantiate,
14299 # then the envvar interface is used.  Set only those that are not.
14300 # We use the long form for the default assignment because of an extremely
14301 # bizarre bug on SunOS 4.1.3.
14302 if $ac_need_defaults; then
14303   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14304   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14305   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14306 fi
14307
14308 # Have a temporary directory for convenience.  Make it in the build tree
14309 # simply because there is no reason against having it here, and in addition,
14310 # creating and moving files from /tmp can sometimes cause problems.
14311 # Hook for its removal unless debugging.
14312 # Note that there is a small window in which the directory will not be cleaned:
14313 # after its creation but before its name has been assigned to `$tmp'.
14314 $debug ||
14315 {
14316   tmp=
14317   trap 'exit_status=$?
14318   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14319 ' 0
14320   trap 'as_fn_exit 1' 1 2 13 15
14321 }
14322 # Create a (secure) tmp directory for tmp files.
14323
14324 {
14325   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14326   test -n "$tmp" && test -d "$tmp"
14327 }  ||
14328 {
14329   tmp=./conf$$-$RANDOM
14330   (umask 077 && mkdir "$tmp")
14331 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14332
14333 # Set up the scripts for CONFIG_FILES section.
14334 # No need to generate them if there are no CONFIG_FILES.
14335 # This happens for instance with `./config.status config.h'.
14336 if test -n "$CONFIG_FILES"; then
14337
14338
14339 ac_cr=`echo X | tr X '\015'`
14340 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14341 # But we know of no other shell where ac_cr would be empty at this
14342 # point, so we can use a bashism as a fallback.
14343 if test "x$ac_cr" = x; then
14344   eval ac_cr=\$\'\\r\'
14345 fi
14346 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14347 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14348   ac_cs_awk_cr='\r'
14349 else
14350   ac_cs_awk_cr=$ac_cr
14351 fi
14352
14353 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14354 _ACEOF
14355
14356
14357 {
14358   echo "cat >conf$$subs.awk <<_ACEOF" &&
14359   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14360   echo "_ACEOF"
14361 } >conf$$subs.sh ||
14362   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14363 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14364 ac_delim='%!_!# '
14365 for ac_last_try in false false false false false :; do
14366   . ./conf$$subs.sh ||
14367     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14368
14369   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14370   if test $ac_delim_n = $ac_delim_num; then
14371     break
14372   elif $ac_last_try; then
14373     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14374   else
14375     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14376   fi
14377 done
14378 rm -f conf$$subs.sh
14379
14380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14381 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14382 _ACEOF
14383 sed -n '
14384 h
14385 s/^/S["/; s/!.*/"]=/
14386 p
14387 g
14388 s/^[^!]*!//
14389 :repl
14390 t repl
14391 s/'"$ac_delim"'$//
14392 t delim
14393 :nl
14394 h
14395 s/\(.\{148\}\)..*/\1/
14396 t more1
14397 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14398 p
14399 n
14400 b repl
14401 :more1
14402 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14403 p
14404 g
14405 s/.\{148\}//
14406 t nl
14407 :delim
14408 h
14409 s/\(.\{148\}\)..*/\1/
14410 t more2
14411 s/["\\]/\\&/g; s/^/"/; s/$/"/
14412 p
14413 b
14414 :more2
14415 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14416 p
14417 g
14418 s/.\{148\}//
14419 t delim
14420 ' <conf$$subs.awk | sed '
14421 /^[^""]/{
14422   N
14423   s/\n//
14424 }
14425 ' >>$CONFIG_STATUS || ac_write_fail=1
14426 rm -f conf$$subs.awk
14427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14428 _ACAWK
14429 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14430   for (key in S) S_is_set[key] = 1
14431   FS = "\a"
14432
14433 }
14434 {
14435   line = $ 0
14436   nfields = split(line, field, "@")
14437   substed = 0
14438   len = length(field[1])
14439   for (i = 2; i < nfields; i++) {
14440     key = field[i]
14441     keylen = length(key)
14442     if (S_is_set[key]) {
14443       value = S[key]
14444       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14445       len += length(value) + length(field[++i])
14446       substed = 1
14447     } else
14448       len += 1 + keylen
14449   }
14450
14451   print line
14452 }
14453
14454 _ACAWK
14455 _ACEOF
14456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14457 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14458   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14459 else
14460   cat
14461 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14462   || as_fn_error "could not setup config files machinery" "$LINENO" 5
14463 _ACEOF
14464
14465 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14466 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14467 # trailing colons and then remove the whole line if VPATH becomes empty
14468 # (actually we leave an empty line to preserve line numbers).
14469 if test "x$srcdir" = x.; then
14470   ac_vpsub='/^[  ]*VPATH[        ]*=/{
14471 s/:*\$(srcdir):*/:/
14472 s/:*\${srcdir}:*/:/
14473 s/:*@srcdir@:*/:/
14474 s/^\([^=]*=[     ]*\):*/\1/
14475 s/:*$//
14476 s/^[^=]*=[       ]*$//
14477 }'
14478 fi
14479
14480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14481 fi # test -n "$CONFIG_FILES"
14482
14483 # Set up the scripts for CONFIG_HEADERS section.
14484 # No need to generate them if there are no CONFIG_HEADERS.
14485 # This happens for instance with `./config.status Makefile'.
14486 if test -n "$CONFIG_HEADERS"; then
14487 cat >"$tmp/defines.awk" <<\_ACAWK ||
14488 BEGIN {
14489 _ACEOF
14490
14491 # Transform confdefs.h into an awk script `defines.awk', embedded as
14492 # here-document in config.status, that substitutes the proper values into
14493 # config.h.in to produce config.h.
14494
14495 # Create a delimiter string that does not exist in confdefs.h, to ease
14496 # handling of long lines.
14497 ac_delim='%!_!# '
14498 for ac_last_try in false false :; do
14499   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14500   if test -z "$ac_t"; then
14501     break
14502   elif $ac_last_try; then
14503     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14504   else
14505     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14506   fi
14507 done
14508
14509 # For the awk script, D is an array of macro values keyed by name,
14510 # likewise P contains macro parameters if any.  Preserve backslash
14511 # newline sequences.
14512
14513 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14514 sed -n '
14515 s/.\{148\}/&'"$ac_delim"'/g
14516 t rset
14517 :rset
14518 s/^[     ]*#[    ]*define[       ][      ]*/ /
14519 t def
14520 d
14521 :def
14522 s/\\$//
14523 t bsnl
14524 s/["\\]/\\&/g
14525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14526 D["\1"]=" \3"/p
14527 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14528 d
14529 :bsnl
14530 s/["\\]/\\&/g
14531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14532 D["\1"]=" \3\\\\\\n"\\/p
14533 t cont
14534 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14535 t cont
14536 d
14537 :cont
14538 n
14539 s/.\{148\}/&'"$ac_delim"'/g
14540 t clear
14541 :clear
14542 s/\\$//
14543 t bsnlc
14544 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14545 d
14546 :bsnlc
14547 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14548 b cont
14549 ' <confdefs.h | sed '
14550 s/'"$ac_delim"'/"\\\
14551 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14552
14553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14554   for (key in D) D_is_set[key] = 1
14555   FS = "\a"
14556 }
14557 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14558   line = \$ 0
14559   split(line, arg, " ")
14560   if (arg[1] == "#") {
14561     defundef = arg[2]
14562     mac1 = arg[3]
14563   } else {
14564     defundef = substr(arg[1], 2)
14565     mac1 = arg[2]
14566   }
14567   split(mac1, mac2, "(") #)
14568   macro = mac2[1]
14569   prefix = substr(line, 1, index(line, defundef) - 1)
14570   if (D_is_set[macro]) {
14571     # Preserve the white space surrounding the "#".
14572     print prefix "define", macro P[macro] D[macro]
14573     next
14574   } else {
14575     # Replace #undef with comments.  This is necessary, for example,
14576     # in the case of _POSIX_SOURCE, which is predefined and required
14577     # on some systems where configure will not decide to define it.
14578     if (defundef == "undef") {
14579       print "/*", prefix defundef, macro, "*/"
14580       next
14581     }
14582   }
14583 }
14584 { print }
14585 _ACAWK
14586 _ACEOF
14587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14588   as_fn_error "could not setup config headers machinery" "$LINENO" 5
14589 fi # test -n "$CONFIG_HEADERS"
14590
14591
14592 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14593 shift
14594 for ac_tag
14595 do
14596   case $ac_tag in
14597   :[FHLC]) ac_mode=$ac_tag; continue;;
14598   esac
14599   case $ac_mode$ac_tag in
14600   :[FHL]*:*);;
14601   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14602   :[FH]-) ac_tag=-:-;;
14603   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14604   esac
14605   ac_save_IFS=$IFS
14606   IFS=:
14607   set x $ac_tag
14608   IFS=$ac_save_IFS
14609   shift
14610   ac_file=$1
14611   shift
14612
14613   case $ac_mode in
14614   :L) ac_source=$1;;
14615   :[FH])
14616     ac_file_inputs=
14617     for ac_f
14618     do
14619       case $ac_f in
14620       -) ac_f="$tmp/stdin";;
14621       *) # Look for the file first in the build tree, then in the source tree
14622          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14623          # because $ac_f cannot contain `:'.
14624          test -f "$ac_f" ||
14625            case $ac_f in
14626            [\\/$]*) false;;
14627            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14628            esac ||
14629            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14630       esac
14631       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14632       as_fn_append ac_file_inputs " '$ac_f'"
14633     done
14634
14635     # Let's still pretend it is `configure' which instantiates (i.e., don't
14636     # use $as_me), people would be surprised to read:
14637     #    /* config.h.  Generated by config.status.  */
14638     configure_input='Generated from '`
14639           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14640         `' by configure.'
14641     if test x"$ac_file" != x-; then
14642       configure_input="$ac_file.  $configure_input"
14643       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14644 $as_echo "$as_me: creating $ac_file" >&6;}
14645     fi
14646     # Neutralize special characters interpreted by sed in replacement strings.
14647     case $configure_input in #(
14648     *\&* | *\|* | *\\* )
14649        ac_sed_conf_input=`$as_echo "$configure_input" |
14650        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14651     *) ac_sed_conf_input=$configure_input;;
14652     esac
14653
14654     case $ac_tag in
14655     *:-:* | *:-) cat >"$tmp/stdin" \
14656       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14657     esac
14658     ;;
14659   esac
14660
14661   ac_dir=`$as_dirname -- "$ac_file" ||
14662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14663          X"$ac_file" : 'X\(//\)[^/]' \| \
14664          X"$ac_file" : 'X\(//\)$' \| \
14665          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14666 $as_echo X"$ac_file" |
14667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14668             s//\1/
14669             q
14670           }
14671           /^X\(\/\/\)[^/].*/{
14672             s//\1/
14673             q
14674           }
14675           /^X\(\/\/\)$/{
14676             s//\1/
14677             q
14678           }
14679           /^X\(\/\).*/{
14680             s//\1/
14681             q
14682           }
14683           s/.*/./; q'`
14684   as_dir="$ac_dir"; as_fn_mkdir_p
14685   ac_builddir=.
14686
14687 case "$ac_dir" in
14688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14689 *)
14690   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14691   # A ".." for each directory in $ac_dir_suffix.
14692   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14693   case $ac_top_builddir_sub in
14694   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14695   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14696   esac ;;
14697 esac
14698 ac_abs_top_builddir=$ac_pwd
14699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14700 # for backward compatibility:
14701 ac_top_builddir=$ac_top_build_prefix
14702
14703 case $srcdir in
14704   .)  # We are building in place.
14705     ac_srcdir=.
14706     ac_top_srcdir=$ac_top_builddir_sub
14707     ac_abs_top_srcdir=$ac_pwd ;;
14708   [\\/]* | ?:[\\/]* )  # Absolute name.
14709     ac_srcdir=$srcdir$ac_dir_suffix;
14710     ac_top_srcdir=$srcdir
14711     ac_abs_top_srcdir=$srcdir ;;
14712   *) # Relative name.
14713     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14714     ac_top_srcdir=$ac_top_build_prefix$srcdir
14715     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14716 esac
14717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14718
14719
14720   case $ac_mode in
14721   :F)
14722   #
14723   # CONFIG_FILE
14724   #
14725
14726   case $INSTALL in
14727   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14728   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14729   esac
14730   ac_MKDIR_P=$MKDIR_P
14731   case $MKDIR_P in
14732   [\\/$]* | ?:[\\/]* ) ;;
14733   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14734   esac
14735 _ACEOF
14736
14737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14738 # If the template does not know about datarootdir, expand it.
14739 # FIXME: This hack should be removed a few years after 2.60.
14740 ac_datarootdir_hack=; ac_datarootdir_seen=
14741 ac_sed_dataroot='
14742 /datarootdir/ {
14743   p
14744   q
14745 }
14746 /@datadir@/p
14747 /@docdir@/p
14748 /@infodir@/p
14749 /@localedir@/p
14750 /@mandir@/p'
14751 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14752 *datarootdir*) ac_datarootdir_seen=yes;;
14753 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14754   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14755 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14756 _ACEOF
14757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14758   ac_datarootdir_hack='
14759   s&@datadir@&$datadir&g
14760   s&@docdir@&$docdir&g
14761   s&@infodir@&$infodir&g
14762   s&@localedir@&$localedir&g
14763   s&@mandir@&$mandir&g
14764   s&\\\${datarootdir}&$datarootdir&g' ;;
14765 esac
14766 _ACEOF
14767
14768 # Neutralize VPATH when `$srcdir' = `.'.
14769 # Shell code in configure.ac might set extrasub.
14770 # FIXME: do we really want to maintain this feature?
14771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14772 ac_sed_extra="$ac_vpsub
14773 $extrasub
14774 _ACEOF
14775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14776 :t
14777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14778 s|@configure_input@|$ac_sed_conf_input|;t t
14779 s&@top_builddir@&$ac_top_builddir_sub&;t t
14780 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14781 s&@srcdir@&$ac_srcdir&;t t
14782 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14783 s&@top_srcdir@&$ac_top_srcdir&;t t
14784 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14785 s&@builddir@&$ac_builddir&;t t
14786 s&@abs_builddir@&$ac_abs_builddir&;t t
14787 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14788 s&@INSTALL@&$ac_INSTALL&;t t
14789 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14790 $ac_datarootdir_hack
14791 "
14792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14793   || as_fn_error "could not create $ac_file" "$LINENO" 5
14794
14795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14796   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14797   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14798   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14799 which seems to be undefined.  Please make sure it is defined." >&5
14800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14801 which seems to be undefined.  Please make sure it is defined." >&2;}
14802
14803   rm -f "$tmp/stdin"
14804   case $ac_file in
14805   -) cat "$tmp/out" && rm -f "$tmp/out";;
14806   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14807   esac \
14808   || as_fn_error "could not create $ac_file" "$LINENO" 5
14809  ;;
14810   :H)
14811   #
14812   # CONFIG_HEADER
14813   #
14814   if test x"$ac_file" != x-; then
14815     {
14816       $as_echo "/* $configure_input  */" \
14817       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14818     } >"$tmp/config.h" \
14819       || as_fn_error "could not create $ac_file" "$LINENO" 5
14820     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14821       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14822 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14823     else
14824       rm -f "$ac_file"
14825       mv "$tmp/config.h" "$ac_file" \
14826         || as_fn_error "could not create $ac_file" "$LINENO" 5
14827     fi
14828   else
14829     $as_echo "/* $configure_input  */" \
14830       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14831       || as_fn_error "could not create -" "$LINENO" 5
14832   fi
14833 # Compute "$ac_file"'s index in $config_headers.
14834 _am_arg="$ac_file"
14835 _am_stamp_count=1
14836 for _am_header in $config_headers :; do
14837   case $_am_header in
14838     $_am_arg | $_am_arg:* )
14839       break ;;
14840     * )
14841       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14842   esac
14843 done
14844 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14845 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14846          X"$_am_arg" : 'X\(//\)[^/]' \| \
14847          X"$_am_arg" : 'X\(//\)$' \| \
14848          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14849 $as_echo X"$_am_arg" |
14850     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14851             s//\1/
14852             q
14853           }
14854           /^X\(\/\/\)[^/].*/{
14855             s//\1/
14856             q
14857           }
14858           /^X\(\/\/\)$/{
14859             s//\1/
14860             q
14861           }
14862           /^X\(\/\).*/{
14863             s//\1/
14864             q
14865           }
14866           s/.*/./; q'`/stamp-h$_am_stamp_count
14867  ;;
14868
14869   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14870 $as_echo "$as_me: executing $ac_file commands" >&6;}
14871  ;;
14872   esac
14873
14874
14875   case $ac_file$ac_mode in
14876     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14877   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14878   # are listed without --file.  Let's play safe and only enable the eval
14879   # if we detect the quoting.
14880   case $CONFIG_FILES in
14881   *\'*) eval set x "$CONFIG_FILES" ;;
14882   *)   set x $CONFIG_FILES ;;
14883   esac
14884   shift
14885   for mf
14886   do
14887     # Strip MF so we end up with the name of the file.
14888     mf=`echo "$mf" | sed -e 's/:.*$//'`
14889     # Check whether this is an Automake generated Makefile or not.
14890     # We used to match only the files named `Makefile.in', but
14891     # some people rename them; so instead we look at the file content.
14892     # Grep'ing the first line is not enough: some people post-process
14893     # each Makefile.in and add a new line on top of each file to say so.
14894     # Grep'ing the whole file is not good either: AIX grep has a line
14895     # limit of 2048, but all sed's we know have understand at least 4000.
14896     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14897       dirpart=`$as_dirname -- "$mf" ||
14898 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14899          X"$mf" : 'X\(//\)[^/]' \| \
14900          X"$mf" : 'X\(//\)$' \| \
14901          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14902 $as_echo X"$mf" |
14903     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14904             s//\1/
14905             q
14906           }
14907           /^X\(\/\/\)[^/].*/{
14908             s//\1/
14909             q
14910           }
14911           /^X\(\/\/\)$/{
14912             s//\1/
14913             q
14914           }
14915           /^X\(\/\).*/{
14916             s//\1/
14917             q
14918           }
14919           s/.*/./; q'`
14920     else
14921       continue
14922     fi
14923     # Extract the definition of DEPDIR, am__include, and am__quote
14924     # from the Makefile without running `make'.
14925     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14926     test -z "$DEPDIR" && continue
14927     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14928     test -z "am__include" && continue
14929     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14930     # When using ansi2knr, U may be empty or an underscore; expand it
14931     U=`sed -n 's/^U = //p' < "$mf"`
14932     # Find all dependency output files, they are included files with
14933     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14934     # simplest approach to changing $(DEPDIR) to its actual value in the
14935     # expansion.
14936     for file in `sed -n "
14937       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14938          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14939       # Make sure the directory exists.
14940       test -f "$dirpart/$file" && continue
14941       fdir=`$as_dirname -- "$file" ||
14942 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14943          X"$file" : 'X\(//\)[^/]' \| \
14944          X"$file" : 'X\(//\)$' \| \
14945          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14946 $as_echo X"$file" |
14947     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14948             s//\1/
14949             q
14950           }
14951           /^X\(\/\/\)[^/].*/{
14952             s//\1/
14953             q
14954           }
14955           /^X\(\/\/\)$/{
14956             s//\1/
14957             q
14958           }
14959           /^X\(\/\).*/{
14960             s//\1/
14961             q
14962           }
14963           s/.*/./; q'`
14964       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14965       # echo "creating $dirpart/$file"
14966       echo '# dummy' > "$dirpart/$file"
14967     done
14968   done
14969 }
14970  ;;
14971     "libtool":C)
14972
14973     # See if we are running on zsh, and set the options which allow our
14974     # commands through without removal of \ escapes.
14975     if test -n "${ZSH_VERSION+set}" ; then
14976       setopt NO_GLOB_SUBST
14977     fi
14978
14979     cfgfile="${ofile}T"
14980     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14981     $RM "$cfgfile"
14982
14983     cat <<_LT_EOF >> "$cfgfile"
14984 #! $SHELL
14985
14986 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14987 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14988 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14989 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14990 #
14991 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14992 #                 2006, 2007, 2008 Free Software Foundation, Inc.
14993 #   Written by Gordon Matzigkeit, 1996
14994 #
14995 #   This file is part of GNU Libtool.
14996 #
14997 # GNU Libtool is free software; you can redistribute it and/or
14998 # modify it under the terms of the GNU General Public License as
14999 # published by the Free Software Foundation; either version 2 of
15000 # the License, or (at your option) any later version.
15001 #
15002 # As a special exception to the GNU General Public License,
15003 # if you distribute this file as part of a program or library that
15004 # is built using GNU Libtool, you may include this file under the
15005 # same distribution terms that you use for the rest of that program.
15006 #
15007 # GNU Libtool is distributed in the hope that it will be useful,
15008 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15009 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15010 # GNU General Public License for more details.
15011 #
15012 # You should have received a copy of the GNU General Public License
15013 # along with GNU Libtool; see the file COPYING.  If not, a copy
15014 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15015 # obtained by writing to the Free Software Foundation, Inc.,
15016 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15017
15018
15019 # The names of the tagged configurations supported by this script.
15020 available_tags=""
15021
15022 # ### BEGIN LIBTOOL CONFIG
15023
15024 # Assembler program.
15025 AS=$AS
15026
15027 # DLL creation program.
15028 DLLTOOL=$DLLTOOL
15029
15030 # Object dumper program.
15031 OBJDUMP=$OBJDUMP
15032
15033 # Which release of libtool.m4 was used?
15034 macro_version=$macro_version
15035 macro_revision=$macro_revision
15036
15037 # Whether or not to build shared libraries.
15038 build_libtool_libs=$enable_shared
15039
15040 # Whether or not to build static libraries.
15041 build_old_libs=$enable_static
15042
15043 # What type of objects to build.
15044 pic_mode=$pic_mode
15045
15046 # Whether or not to optimize for fast installation.
15047 fast_install=$enable_fast_install
15048
15049 # The host system.
15050 host_alias=$host_alias
15051 host=$host
15052 host_os=$host_os
15053
15054 # The build system.
15055 build_alias=$build_alias
15056 build=$build
15057 build_os=$build_os
15058
15059 # A sed program that does not truncate output.
15060 SED=$lt_SED
15061
15062 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15063 Xsed="\$SED -e 1s/^X//"
15064
15065 # A grep program that handles long lines.
15066 GREP=$lt_GREP
15067
15068 # An ERE matcher.
15069 EGREP=$lt_EGREP
15070
15071 # A literal string matcher.
15072 FGREP=$lt_FGREP
15073
15074 # A BSD- or MS-compatible name lister.
15075 NM=$lt_NM
15076
15077 # Whether we need soft or hard links.
15078 LN_S=$lt_LN_S
15079
15080 # What is the maximum length of a command?
15081 max_cmd_len=$max_cmd_len
15082
15083 # Object file suffix (normally "o").
15084 objext=$ac_objext
15085
15086 # Executable file suffix (normally "").
15087 exeext=$exeext
15088
15089 # whether the shell understands "unset".
15090 lt_unset=$lt_unset
15091
15092 # turn spaces into newlines.
15093 SP2NL=$lt_lt_SP2NL
15094
15095 # turn newlines into spaces.
15096 NL2SP=$lt_lt_NL2SP
15097
15098 # How to create reloadable object files.
15099 reload_flag=$lt_reload_flag
15100 reload_cmds=$lt_reload_cmds
15101
15102 # Method to check whether dependent libraries are shared objects.
15103 deplibs_check_method=$lt_deplibs_check_method
15104
15105 # Command to use when deplibs_check_method == "file_magic".
15106 file_magic_cmd=$lt_file_magic_cmd
15107
15108 # The archiver.
15109 AR=$lt_AR
15110 AR_FLAGS=$lt_AR_FLAGS
15111
15112 # A symbol stripping program.
15113 STRIP=$lt_STRIP
15114
15115 # Commands used to install an old-style archive.
15116 RANLIB=$lt_RANLIB
15117 old_postinstall_cmds=$lt_old_postinstall_cmds
15118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15119
15120 # A C compiler.
15121 LTCC=$lt_CC
15122
15123 # LTCC compiler flags.
15124 LTCFLAGS=$lt_CFLAGS
15125
15126 # Take the output of nm and produce a listing of raw symbols and C names.
15127 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15128
15129 # Transform the output of nm in a proper C declaration.
15130 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15131
15132 # Transform the output of nm in a C name address pair.
15133 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15134
15135 # Transform the output of nm in a C name address pair when lib prefix is needed.
15136 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15137
15138 # The name of the directory that contains temporary libtool files.
15139 objdir=$objdir
15140
15141 # Shell to use when invoking shell scripts.
15142 SHELL=$lt_SHELL
15143
15144 # An echo program that does not interpret backslashes.
15145 ECHO=$lt_ECHO
15146
15147 # Used to examine libraries when file_magic_cmd begins with "file".
15148 MAGIC_CMD=$MAGIC_CMD
15149
15150 # Must we lock files when doing compilation?
15151 need_locks=$lt_need_locks
15152
15153 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15154 DSYMUTIL=$lt_DSYMUTIL
15155
15156 # Tool to change global to local symbols on Mac OS X.
15157 NMEDIT=$lt_NMEDIT
15158
15159 # Tool to manipulate fat objects and archives on Mac OS X.
15160 LIPO=$lt_LIPO
15161
15162 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15163 OTOOL=$lt_OTOOL
15164
15165 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15166 OTOOL64=$lt_OTOOL64
15167
15168 # Old archive suffix (normally "a").
15169 libext=$libext
15170
15171 # Shared library suffix (normally ".so").
15172 shrext_cmds=$lt_shrext_cmds
15173
15174 # The commands to extract the exported symbol list from a shared archive.
15175 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15176
15177 # Variables whose values should be saved in libtool wrapper scripts and
15178 # restored at link time.
15179 variables_saved_for_relink=$lt_variables_saved_for_relink
15180
15181 # Do we need the "lib" prefix for modules?
15182 need_lib_prefix=$need_lib_prefix
15183
15184 # Do we need a version for libraries?
15185 need_version=$need_version
15186
15187 # Library versioning type.
15188 version_type=$version_type
15189
15190 # Shared library runtime path variable.
15191 runpath_var=$runpath_var
15192
15193 # Shared library path variable.
15194 shlibpath_var=$shlibpath_var
15195
15196 # Is shlibpath searched before the hard-coded library search path?
15197 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15198
15199 # Format of library name prefix.
15200 libname_spec=$lt_libname_spec
15201
15202 # List of archive names.  First name is the real one, the rest are links.
15203 # The last name is the one that the linker finds with -lNAME
15204 library_names_spec=$lt_library_names_spec
15205
15206 # The coded name of the library, if different from the real name.
15207 soname_spec=$lt_soname_spec
15208
15209 # Command to use after installation of a shared archive.
15210 postinstall_cmds=$lt_postinstall_cmds
15211
15212 # Command to use after uninstallation of a shared archive.
15213 postuninstall_cmds=$lt_postuninstall_cmds
15214
15215 # Commands used to finish a libtool library installation in a directory.
15216 finish_cmds=$lt_finish_cmds
15217
15218 # As "finish_cmds", except a single script fragment to be evaled but
15219 # not shown.
15220 finish_eval=$lt_finish_eval
15221
15222 # Whether we should hardcode library paths into libraries.
15223 hardcode_into_libs=$hardcode_into_libs
15224
15225 # Compile-time system search path for libraries.
15226 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15227
15228 # Run-time system search path for libraries.
15229 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15230
15231 # Whether dlopen is supported.
15232 dlopen_support=$enable_dlopen
15233
15234 # Whether dlopen of programs is supported.
15235 dlopen_self=$enable_dlopen_self
15236
15237 # Whether dlopen of statically linked programs is supported.
15238 dlopen_self_static=$enable_dlopen_self_static
15239
15240 # Commands to strip libraries.
15241 old_striplib=$lt_old_striplib
15242 striplib=$lt_striplib
15243
15244
15245 # The linker used to build libraries.
15246 LD=$lt_LD
15247
15248 # Commands used to build an old-style archive.
15249 old_archive_cmds=$lt_old_archive_cmds
15250
15251 # A language specific compiler.
15252 CC=$lt_compiler
15253
15254 # Is the compiler the GNU compiler?
15255 with_gcc=$GCC
15256
15257 # Compiler flag to turn off builtin functions.
15258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15259
15260 # How to pass a linker flag through the compiler.
15261 wl=$lt_lt_prog_compiler_wl
15262
15263 # Additional compiler flags for building library objects.
15264 pic_flag=$lt_lt_prog_compiler_pic
15265
15266 # Compiler flag to prevent dynamic linking.
15267 link_static_flag=$lt_lt_prog_compiler_static
15268
15269 # Does compiler simultaneously support -c and -o options?
15270 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15271
15272 # Whether or not to add -lc for building shared libraries.
15273 build_libtool_need_lc=$archive_cmds_need_lc
15274
15275 # Whether or not to disallow shared libs when runtime libs are static.
15276 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15277
15278 # Compiler flag to allow reflexive dlopens.
15279 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15280
15281 # Compiler flag to generate shared objects directly from archives.
15282 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15283
15284 # Whether the compiler copes with passing no objects directly.
15285 compiler_needs_object=$lt_compiler_needs_object
15286
15287 # Create an old-style archive from a shared archive.
15288 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15289
15290 # Create a temporary old-style archive to link instead of a shared archive.
15291 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15292
15293 # Commands used to build a shared archive.
15294 archive_cmds=$lt_archive_cmds
15295 archive_expsym_cmds=$lt_archive_expsym_cmds
15296
15297 # Commands used to build a loadable module if different from building
15298 # a shared archive.
15299 module_cmds=$lt_module_cmds
15300 module_expsym_cmds=$lt_module_expsym_cmds
15301
15302 # Whether we are building with GNU ld or not.
15303 with_gnu_ld=$lt_with_gnu_ld
15304
15305 # Flag that allows shared libraries with undefined symbols to be built.
15306 allow_undefined_flag=$lt_allow_undefined_flag
15307
15308 # Flag that enforces no undefined symbols.
15309 no_undefined_flag=$lt_no_undefined_flag
15310
15311 # Flag to hardcode \$libdir into a binary during linking.
15312 # This must work even if \$libdir does not exist
15313 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15314
15315 # If ld is used when linking, flag to hardcode \$libdir into a binary
15316 # during linking.  This must work even if \$libdir does not exist.
15317 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15318
15319 # Whether we need a single "-rpath" flag with a separated argument.
15320 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15321
15322 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15323 # DIR into the resulting binary.
15324 hardcode_direct=$hardcode_direct
15325
15326 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15327 # DIR into the resulting binary and the resulting library dependency is
15328 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15329 # library is relocated.
15330 hardcode_direct_absolute=$hardcode_direct_absolute
15331
15332 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15333 # into the resulting binary.
15334 hardcode_minus_L=$hardcode_minus_L
15335
15336 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15337 # into the resulting binary.
15338 hardcode_shlibpath_var=$hardcode_shlibpath_var
15339
15340 # Set to "yes" if building a shared library automatically hardcodes DIR
15341 # into the library and all subsequent libraries and executables linked
15342 # against it.
15343 hardcode_automatic=$hardcode_automatic
15344
15345 # Set to yes if linker adds runtime paths of dependent libraries
15346 # to runtime path list.
15347 inherit_rpath=$inherit_rpath
15348
15349 # Whether libtool must link a program against all its dependency libraries.
15350 link_all_deplibs=$link_all_deplibs
15351
15352 # Fix the shell variable \$srcfile for the compiler.
15353 fix_srcfile_path=$lt_fix_srcfile_path
15354
15355 # Set to "yes" if exported symbols are required.
15356 always_export_symbols=$always_export_symbols
15357
15358 # The commands to list exported symbols.
15359 export_symbols_cmds=$lt_export_symbols_cmds
15360
15361 # Symbols that should not be listed in the preloaded symbols.
15362 exclude_expsyms=$lt_exclude_expsyms
15363
15364 # Symbols that must always be exported.
15365 include_expsyms=$lt_include_expsyms
15366
15367 # Commands necessary for linking programs (against libraries) with templates.
15368 prelink_cmds=$lt_prelink_cmds
15369
15370 # Specify filename containing input files.
15371 file_list_spec=$lt_file_list_spec
15372
15373 # How to hardcode a shared library path into an executable.
15374 hardcode_action=$hardcode_action
15375
15376 # ### END LIBTOOL CONFIG
15377
15378 _LT_EOF
15379
15380   case $host_os in
15381   aix3*)
15382     cat <<\_LT_EOF >> "$cfgfile"
15383 # AIX sometimes has problems with the GCC collect2 program.  For some
15384 # reason, if we set the COLLECT_NAMES environment variable, the problems
15385 # vanish in a puff of smoke.
15386 if test "X${COLLECT_NAMES+set}" != Xset; then
15387   COLLECT_NAMES=
15388   export COLLECT_NAMES
15389 fi
15390 _LT_EOF
15391     ;;
15392   esac
15393
15394
15395 ltmain="$ac_aux_dir/ltmain.sh"
15396
15397
15398   # We use sed instead of cat because bash on DJGPP gets confused if
15399   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15400   # text mode, it properly converts lines to CR/LF.  This bash problem
15401   # is reportedly fixed, but why not run on old versions too?
15402   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15403     || (rm -f "$cfgfile"; exit 1)
15404
15405   case $xsi_shell in
15406   yes)
15407     cat << \_LT_EOF >> "$cfgfile"
15408
15409 # func_dirname file append nondir_replacement
15410 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15411 # otherwise set result to NONDIR_REPLACEMENT.
15412 func_dirname ()
15413 {
15414   case ${1} in
15415     */*) func_dirname_result="${1%/*}${2}" ;;
15416     *  ) func_dirname_result="${3}" ;;
15417   esac
15418 }
15419
15420 # func_basename file
15421 func_basename ()
15422 {
15423   func_basename_result="${1##*/}"
15424 }
15425
15426 # func_dirname_and_basename file append nondir_replacement
15427 # perform func_basename and func_dirname in a single function
15428 # call:
15429 #   dirname:  Compute the dirname of FILE.  If nonempty,
15430 #             add APPEND to the result, otherwise set result
15431 #             to NONDIR_REPLACEMENT.
15432 #             value returned in "$func_dirname_result"
15433 #   basename: Compute filename of FILE.
15434 #             value retuned in "$func_basename_result"
15435 # Implementation must be kept synchronized with func_dirname
15436 # and func_basename. For efficiency, we do not delegate to
15437 # those functions but instead duplicate the functionality here.
15438 func_dirname_and_basename ()
15439 {
15440   case ${1} in
15441     */*) func_dirname_result="${1%/*}${2}" ;;
15442     *  ) func_dirname_result="${3}" ;;
15443   esac
15444   func_basename_result="${1##*/}"
15445 }
15446
15447 # func_stripname prefix suffix name
15448 # strip PREFIX and SUFFIX off of NAME.
15449 # PREFIX and SUFFIX must not contain globbing or regex special
15450 # characters, hashes, percent signs, but SUFFIX may contain a leading
15451 # dot (in which case that matches only a dot).
15452 func_stripname ()
15453 {
15454   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15455   # positional parameters, so assign one to ordinary parameter first.
15456   func_stripname_result=${3}
15457   func_stripname_result=${func_stripname_result#"${1}"}
15458   func_stripname_result=${func_stripname_result%"${2}"}
15459 }
15460
15461 # func_opt_split
15462 func_opt_split ()
15463 {
15464   func_opt_split_opt=${1%%=*}
15465   func_opt_split_arg=${1#*=}
15466 }
15467
15468 # func_lo2o object
15469 func_lo2o ()
15470 {
15471   case ${1} in
15472     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15473     *)    func_lo2o_result=${1} ;;
15474   esac
15475 }
15476
15477 # func_xform libobj-or-source
15478 func_xform ()
15479 {
15480   func_xform_result=${1%.*}.lo
15481 }
15482
15483 # func_arith arithmetic-term...
15484 func_arith ()
15485 {
15486   func_arith_result=$(( $* ))
15487 }
15488
15489 # func_len string
15490 # STRING may not start with a hyphen.
15491 func_len ()
15492 {
15493   func_len_result=${#1}
15494 }
15495
15496 _LT_EOF
15497     ;;
15498   *) # Bourne compatible functions.
15499     cat << \_LT_EOF >> "$cfgfile"
15500
15501 # func_dirname file append nondir_replacement
15502 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15503 # otherwise set result to NONDIR_REPLACEMENT.
15504 func_dirname ()
15505 {
15506   # Extract subdirectory from the argument.
15507   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15508   if test "X$func_dirname_result" = "X${1}"; then
15509     func_dirname_result="${3}"
15510   else
15511     func_dirname_result="$func_dirname_result${2}"
15512   fi
15513 }
15514
15515 # func_basename file
15516 func_basename ()
15517 {
15518   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15519 }
15520
15521
15522 # func_stripname prefix suffix name
15523 # strip PREFIX and SUFFIX off of NAME.
15524 # PREFIX and SUFFIX must not contain globbing or regex special
15525 # characters, hashes, percent signs, but SUFFIX may contain a leading
15526 # dot (in which case that matches only a dot).
15527 # func_strip_suffix prefix name
15528 func_stripname ()
15529 {
15530   case ${2} in
15531     .*) func_stripname_result=`$ECHO "X${3}" \
15532            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15533     *)  func_stripname_result=`$ECHO "X${3}" \
15534            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15535   esac
15536 }
15537
15538 # sed scripts:
15539 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15540 my_sed_long_arg='1s/^-[^=]*=//'
15541
15542 # func_opt_split
15543 func_opt_split ()
15544 {
15545   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15546   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15547 }
15548
15549 # func_lo2o object
15550 func_lo2o ()
15551 {
15552   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15553 }
15554
15555 # func_xform libobj-or-source
15556 func_xform ()
15557 {
15558   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15559 }
15560
15561 # func_arith arithmetic-term...
15562 func_arith ()
15563 {
15564   func_arith_result=`expr "$@"`
15565 }
15566
15567 # func_len string
15568 # STRING may not start with a hyphen.
15569 func_len ()
15570 {
15571   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15572 }
15573
15574 _LT_EOF
15575 esac
15576
15577 case $lt_shell_append in
15578   yes)
15579     cat << \_LT_EOF >> "$cfgfile"
15580
15581 # func_append var value
15582 # Append VALUE to the end of shell variable VAR.
15583 func_append ()
15584 {
15585   eval "$1+=\$2"
15586 }
15587 _LT_EOF
15588     ;;
15589   *)
15590     cat << \_LT_EOF >> "$cfgfile"
15591
15592 # func_append var value
15593 # Append VALUE to the end of shell variable VAR.
15594 func_append ()
15595 {
15596   eval "$1=\$$1\$2"
15597 }
15598
15599 _LT_EOF
15600     ;;
15601   esac
15602
15603
15604   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15605     || (rm -f "$cfgfile"; exit 1)
15606
15607   mv -f "$cfgfile" "$ofile" ||
15608     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15609   chmod +x "$ofile"
15610
15611  ;;
15612     "$ac_stdint_h":C)
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
15614 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
15615 ac_stdint=$tmp/_stdint.h
15616
15617 echo "#ifndef" $_ac_stdint_h >$ac_stdint
15618 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
15619 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
15620 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
15621 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
15622 if test "_$ac_cv_header_stdint_t" != "_" ; then
15623 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
15624 echo "#include <stdint.h>" >>$ac_stdint
15625 echo "#endif" >>$ac_stdint
15626 echo "#endif" >>$ac_stdint
15627 else
15628
15629 cat >>$ac_stdint <<STDINT_EOF
15630
15631 /* ................... shortcircuit part ........................... */
15632
15633 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
15634 #include <stdint.h>
15635 #else
15636 #include <stddef.h>
15637
15638 /* .................... configured part ............................ */
15639
15640 STDINT_EOF
15641
15642 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
15643 if test "_$ac_cv_header_stdint_x" != "_" ; then
15644   ac_header="$ac_cv_header_stdint_x"
15645   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
15646 else
15647   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
15648 fi
15649
15650 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
15651 if  test "_$ac_cv_header_stdint_o" != "_" ; then
15652   ac_header="$ac_cv_header_stdint_o"
15653   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
15654 else
15655   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
15656 fi
15657
15658 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
15659 if  test "_$ac_cv_header_stdint_u" != "_" ; then
15660   ac_header="$ac_cv_header_stdint_u"
15661   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
15662 else
15663   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
15664 fi
15665
15666 echo "" >>$ac_stdint
15667
15668 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
15669   echo "#include <$ac_header>" >>$ac_stdint
15670   echo "" >>$ac_stdint
15671 fi fi
15672
15673 echo "/* which 64bit typedef has been found */" >>$ac_stdint
15674 if test "$ac_cv_type_uint64_t" = "yes" ; then
15675 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
15676 else
15677 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
15678 fi
15679 if test "$ac_cv_type_u_int64_t" = "yes" ; then
15680 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
15681 else
15682 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
15683 fi
15684 echo "" >>$ac_stdint
15685
15686 echo "/* which type model has been detected */" >>$ac_stdint
15687 if test "_$ac_cv_char_data_model" != "_" ; then
15688 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
15689 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
15690 else
15691 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
15692 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
15693 fi
15694 echo "" >>$ac_stdint
15695
15696 echo "/* whether int_least types were detected */" >>$ac_stdint
15697 if test "$ac_cv_type_int_least32_t" = "yes"; then
15698 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
15699 else
15700 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
15701 fi
15702 echo "/* whether int_fast types were detected */" >>$ac_stdint
15703 if test "$ac_cv_type_int_fast32_t" = "yes"; then
15704 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
15705 else
15706 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
15707 fi
15708 echo "/* whether intmax_t type was detected */" >>$ac_stdint
15709 if test "$ac_cv_type_intmax_t" = "yes"; then
15710 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
15711 else
15712 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
15713 fi
15714 echo "" >>$ac_stdint
15715
15716   cat >>$ac_stdint <<STDINT_EOF
15717 /* .................... detections part ............................ */
15718
15719 /* whether we need to define bitspecific types from compiler base types */
15720 #ifndef _STDINT_HEADER_INTPTR
15721 #ifndef _STDINT_HEADER_UINT32
15722 #ifndef _STDINT_HEADER_U_INT32
15723 #define _STDINT_NEED_INT_MODEL_T
15724 #else
15725 #define _STDINT_HAVE_U_INT_TYPES
15726 #endif
15727 #endif
15728 #endif
15729
15730 #ifdef _STDINT_HAVE_U_INT_TYPES
15731 #undef _STDINT_NEED_INT_MODEL_T
15732 #endif
15733
15734 #ifdef  _STDINT_CHAR_MODEL
15735 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
15736 #ifndef _STDINT_BYTE_MODEL
15737 #define _STDINT_BYTE_MODEL 12
15738 #endif
15739 #endif
15740 #endif
15741
15742 #ifndef _STDINT_HAVE_INT_LEAST32_T
15743 #define _STDINT_NEED_INT_LEAST_T
15744 #endif
15745
15746 #ifndef _STDINT_HAVE_INT_FAST32_T
15747 #define _STDINT_NEED_INT_FAST_T
15748 #endif
15749
15750 #ifndef _STDINT_HEADER_INTPTR
15751 #define _STDINT_NEED_INTPTR_T
15752 #ifndef _STDINT_HAVE_INTMAX_T
15753 #define _STDINT_NEED_INTMAX_T
15754 #endif
15755 #endif
15756
15757
15758 /* .................... definition part ............................ */
15759
15760 /* some system headers have good uint64_t */
15761 #ifndef _HAVE_UINT64_T
15762 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
15763 #define _HAVE_UINT64_T
15764 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
15765 #define _HAVE_UINT64_T
15766 typedef u_int64_t uint64_t;
15767 #endif
15768 #endif
15769
15770 #ifndef _HAVE_UINT64_T
15771 /* .. here are some common heuristics using compiler runtime specifics */
15772 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
15773 #define _HAVE_UINT64_T
15774 #define _HAVE_LONGLONG_UINT64_T
15775 typedef long long int64_t;
15776 typedef unsigned long long uint64_t;
15777
15778 #elif !defined __STRICT_ANSI__
15779 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
15780 #define _HAVE_UINT64_T
15781 typedef __int64 int64_t;
15782 typedef unsigned __int64 uint64_t;
15783
15784 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
15785 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
15786 #if !defined _NO_LONGLONG
15787 #define _HAVE_UINT64_T
15788 #define _HAVE_LONGLONG_UINT64_T
15789 typedef long long int64_t;
15790 typedef unsigned long long uint64_t;
15791 #endif
15792
15793 #elif defined __alpha || (defined __mips && defined _ABIN32)
15794 #if !defined _NO_LONGLONG
15795 typedef long int64_t;
15796 typedef unsigned long uint64_t;
15797 #endif
15798   /* compiler/cpu type to define int64_t */
15799 #endif
15800 #endif
15801 #endif
15802
15803 #if defined _STDINT_HAVE_U_INT_TYPES
15804 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
15805 typedef u_int8_t uint8_t;
15806 typedef u_int16_t uint16_t;
15807 typedef u_int32_t uint32_t;
15808
15809 /* glibc compatibility */
15810 #ifndef __int8_t_defined
15811 #define __int8_t_defined
15812 #endif
15813 #endif
15814
15815 #ifdef _STDINT_NEED_INT_MODEL_T
15816 /* we must guess all the basic types. Apart from byte-adressable system, */
15817 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
15818 /* (btw, those nibble-addressable systems are way off, or so we assume) */
15819
15820
15821 #if defined _STDINT_BYTE_MODEL
15822 #if _STDINT_LONG_MODEL+0 == 242
15823 /* 2:4:2 =  IP16 = a normal 16-bit system                */
15824 typedef unsigned char   uint8_t;
15825 typedef unsigned short  uint16_t;
15826 typedef unsigned long   uint32_t;
15827 #ifndef __int8_t_defined
15828 #define __int8_t_defined
15829 typedef          char    int8_t;
15830 typedef          short   int16_t;
15831 typedef          long    int32_t;
15832 #endif
15833 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
15834 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
15835 /* 4:4:4 = ILP32 = a normal 32-bit system                */
15836 typedef unsigned char   uint8_t;
15837 typedef unsigned short  uint16_t;
15838 typedef unsigned int    uint32_t;
15839 #ifndef __int8_t_defined
15840 #define __int8_t_defined
15841 typedef          char    int8_t;
15842 typedef          short   int16_t;
15843 typedef          int     int32_t;
15844 #endif
15845 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
15846 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
15847 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
15848 typedef unsigned char   uint8_t;
15849 typedef unsigned short  uint16_t;
15850 typedef unsigned int    uint32_t;
15851 #ifndef __int8_t_defined
15852 #define __int8_t_defined
15853 typedef          char    int8_t;
15854 typedef          short   int16_t;
15855 typedef          int     int32_t;
15856 #endif
15857 /* this system has a "long" of 64bit */
15858 #ifndef _HAVE_UINT64_T
15859 #define _HAVE_UINT64_T
15860 typedef unsigned long   uint64_t;
15861 typedef          long    int64_t;
15862 #endif
15863 #elif _STDINT_LONG_MODEL+0 == 448
15864 /*      LLP64   a 64-bit system derived from a 32-bit system */
15865 typedef unsigned char   uint8_t;
15866 typedef unsigned short  uint16_t;
15867 typedef unsigned int    uint32_t;
15868 #ifndef __int8_t_defined
15869 #define __int8_t_defined
15870 typedef          char    int8_t;
15871 typedef          short   int16_t;
15872 typedef          int     int32_t;
15873 #endif
15874 /* assuming the system has a "long long" */
15875 #ifndef _HAVE_UINT64_T
15876 #define _HAVE_UINT64_T
15877 #define _HAVE_LONGLONG_UINT64_T
15878 typedef unsigned long long uint64_t;
15879 typedef          long long  int64_t;
15880 #endif
15881 #else
15882 #define _STDINT_NO_INT32_T
15883 #endif
15884 #else
15885 #define _STDINT_NO_INT8_T
15886 #define _STDINT_NO_INT32_T
15887 #endif
15888 #endif
15889
15890 /*
15891  * quote from SunOS-5.8 sys/inttypes.h:
15892  * Use at your own risk.  As of February 1996, the committee is squarely
15893  * behind the fixed sized types; the "least" and "fast" types are still being
15894  * discussed.  The probability that the "fast" types may be removed before
15895  * the standard is finalized is high enough that they are not currently
15896  * implemented.
15897  */
15898
15899 #if defined _STDINT_NEED_INT_LEAST_T
15900 typedef  int8_t    int_least8_t;
15901 typedef  int16_t   int_least16_t;
15902 typedef  int32_t   int_least32_t;
15903 #ifdef _HAVE_UINT64_T
15904 typedef  int64_t   int_least64_t;
15905 #endif
15906
15907 typedef uint8_t   uint_least8_t;
15908 typedef uint16_t  uint_least16_t;
15909 typedef uint32_t  uint_least32_t;
15910 #ifdef _HAVE_UINT64_T
15911 typedef uint64_t  uint_least64_t;
15912 #endif
15913   /* least types */
15914 #endif
15915
15916 #if defined _STDINT_NEED_INT_FAST_T
15917 typedef  int8_t    int_fast8_t;
15918 typedef  int       int_fast16_t;
15919 typedef  int32_t   int_fast32_t;
15920 #ifdef _HAVE_UINT64_T
15921 typedef  int64_t   int_fast64_t;
15922 #endif
15923
15924 typedef uint8_t   uint_fast8_t;
15925 typedef unsigned  uint_fast16_t;
15926 typedef uint32_t  uint_fast32_t;
15927 #ifdef _HAVE_UINT64_T
15928 typedef uint64_t  uint_fast64_t;
15929 #endif
15930   /* fast types */
15931 #endif
15932
15933 #ifdef _STDINT_NEED_INTMAX_T
15934 #ifdef _HAVE_UINT64_T
15935 typedef  int64_t       intmax_t;
15936 typedef uint64_t      uintmax_t;
15937 #else
15938 typedef          long  intmax_t;
15939 typedef unsigned long uintmax_t;
15940 #endif
15941 #endif
15942
15943 #ifdef _STDINT_NEED_INTPTR_T
15944 #ifndef __intptr_t_defined
15945 #define __intptr_t_defined
15946 /* we encourage using "long" to store pointer values, never use "int" ! */
15947 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
15948 typedef  unsigned int   uintptr_t;
15949 typedef           int    intptr_t;
15950 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
15951 typedef  unsigned long  uintptr_t;
15952 typedef           long   intptr_t;
15953 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
15954 typedef        uint64_t uintptr_t;
15955 typedef         int64_t  intptr_t;
15956 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
15957 typedef  unsigned long  uintptr_t;
15958 typedef           long   intptr_t;
15959 #endif
15960 #endif
15961 #endif
15962
15963 /* The ISO C99 standard specifies that in C++ implementations these
15964    should only be defined if explicitly requested.  */
15965 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
15966 #ifndef UINT32_C
15967
15968 /* Signed.  */
15969 # define INT8_C(c)      c
15970 # define INT16_C(c)     c
15971 # define INT32_C(c)     c
15972 # ifdef _HAVE_LONGLONG_UINT64_T
15973 #  define INT64_C(c)    c ## L
15974 # else
15975 #  define INT64_C(c)    c ## LL
15976 # endif
15977
15978 /* Unsigned.  */
15979 # define UINT8_C(c)     c ## U
15980 # define UINT16_C(c)    c ## U
15981 # define UINT32_C(c)    c ## U
15982 # ifdef _HAVE_LONGLONG_UINT64_T
15983 #  define UINT64_C(c)   c ## UL
15984 # else
15985 #  define UINT64_C(c)   c ## ULL
15986 # endif
15987
15988 /* Maximal type.  */
15989 # ifdef _HAVE_LONGLONG_UINT64_T
15990 #  define INTMAX_C(c)   c ## L
15991 #  define UINTMAX_C(c)  c ## UL
15992 # else
15993 #  define INTMAX_C(c)   c ## LL
15994 #  define UINTMAX_C(c)  c ## ULL
15995 # endif
15996
15997   /* literalnumbers */
15998 #endif
15999 #endif
16000
16001 /* These limits are merily those of a two complement byte-oriented system */
16002
16003 /* Minimum of signed integral types.  */
16004 # define INT8_MIN               (-128)
16005 # define INT16_MIN              (-32767-1)
16006 # define INT32_MIN              (-2147483647-1)
16007 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
16008 /* Maximum of signed integral types.  */
16009 # define INT8_MAX               (127)
16010 # define INT16_MAX              (32767)
16011 # define INT32_MAX              (2147483647)
16012 # define INT64_MAX              (__INT64_C(9223372036854775807))
16013
16014 /* Maximum of unsigned integral types.  */
16015 # define UINT8_MAX              (255)
16016 # define UINT16_MAX             (65535)
16017 # define UINT32_MAX             (4294967295U)
16018 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
16019
16020 /* Minimum of signed integral types having a minimum size.  */
16021 # define INT_LEAST8_MIN         INT8_MIN
16022 # define INT_LEAST16_MIN        INT16_MIN
16023 # define INT_LEAST32_MIN        INT32_MIN
16024 # define INT_LEAST64_MIN        INT64_MIN
16025 /* Maximum of signed integral types having a minimum size.  */
16026 # define INT_LEAST8_MAX         INT8_MAX
16027 # define INT_LEAST16_MAX        INT16_MAX
16028 # define INT_LEAST32_MAX        INT32_MAX
16029 # define INT_LEAST64_MAX        INT64_MAX
16030
16031 /* Maximum of unsigned integral types having a minimum size.  */
16032 # define UINT_LEAST8_MAX        UINT8_MAX
16033 # define UINT_LEAST16_MAX       UINT16_MAX
16034 # define UINT_LEAST32_MAX       UINT32_MAX
16035 # define UINT_LEAST64_MAX       UINT64_MAX
16036
16037   /* shortcircuit*/
16038 #endif
16039   /* once */
16040 #endif
16041 #endif
16042 STDINT_EOF
16043 fi
16044     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
16045       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
16046 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
16047     else
16048       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
16049 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16050          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
16051          X"$ac_stdint_h" : 'X\(//\)$' \| \
16052          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
16053 $as_echo X"$ac_stdint_h" |
16054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16055             s//\1/
16056             q
16057           }
16058           /^X\(\/\/\)[^/].*/{
16059             s//\1/
16060             q
16061           }
16062           /^X\(\/\/\)$/{
16063             s//\1/
16064             q
16065           }
16066           /^X\(\/\).*/{
16067             s//\1/
16068             q
16069           }
16070           s/.*/./; q'`
16071       as_dir="$ac_dir"; as_fn_mkdir_p
16072       rm -f $ac_stdint_h
16073       mv $ac_stdint $ac_stdint_h
16074     fi
16075  ;;
16076
16077   esac
16078 done # for ac_tag
16079
16080
16081 as_fn_exit 0
16082 _ACEOF
16083 ac_clean_files=$ac_clean_files_save
16084
16085 test $ac_write_fail = 0 ||
16086   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16087
16088
16089 # configure is writing to config.log, and then calls config.status.
16090 # config.status does its own redirection, appending to config.log.
16091 # Unfortunately, on DOS this fails, as config.log is still kept open
16092 # by configure, so config.status won't be able to write to it; its
16093 # output is simply discarded.  So we exec the FD to /dev/null,
16094 # effectively closing config.log, so it can be properly (re)opened and
16095 # appended to by config.status.  When coming back to configure, we
16096 # need to make the FD available again.
16097 if test "$no_create" != yes; then
16098   ac_cs_success=:
16099   ac_config_status_args=
16100   test "$silent" = yes &&
16101     ac_config_status_args="$ac_config_status_args --quiet"
16102   exec 5>/dev/null
16103   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16104   exec 5>>config.log
16105   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16106   # would make configure fail if this is the last instruction.
16107   $ac_cs_success || as_fn_exit $?
16108 fi
16109 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16110   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16111 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16112 fi
16113
16114
16115
16116