Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gsl 1.11.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42   echo "#! /bin/sh" >conf$$.sh
43   echo  "exit 0"   >>conf$$.sh
44   chmod +x conf$$.sh
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47   else
48     PATH_SEPARATOR=:
49   fi
50   rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55   as_unset=unset
56 else
57   as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order.  Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" ""        $as_nl"
69
70 # Find who we are.  Look in the path if we contain no directory separator.
71 case $0 in
72   *[\\/]* ) as_myself=$0 ;;
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76   IFS=$as_save_IFS
77   test -z "$as_dir" && as_dir=.
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82      ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87   as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91   { (exit 1); exit 1; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106   LC_TELEPHONE LC_TIME
107 do
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110   else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112   fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
118   as_expr=expr
119 else
120   as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124   as_basename=basename
125 else
126   as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133          X"$0" : 'X\(//\)$' \| \
134          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137             s//\1/
138             q
139           }
140           /^X\/\(\/\/\)$/{
141             s//\1/
142             q
143           }
144           /^X\/\(\/\).*/{
145             s//\1/
146             q
147           }
148           s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155   if (eval ":") 2>/dev/null; then
156   as_have_required=yes
157 else
158   as_have_required=no
159 fi
160
161   if test $as_have_required = yes &&     (eval ":
162 (as_func_return () {
163   (exit \$1)
164 }
165 as_func_success () {
166   as_func_return 0
167 }
168 as_func_failure () {
169   as_func_return 1
170 }
171 as_func_ret_success () {
172   return 0
173 }
174 as_func_ret_failure () {
175   return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180   :
181 else
182   exitcode=1
183   echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187   exitcode=1
188   echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192   :
193 else
194   exitcode=1
195   echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199   exitcode=1
200   echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204   :
205 else
206   exitcode=1
207   echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213   as_lineno_1=\$LINENO
214   as_lineno_2=\$LINENO
215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
218   :
219 else
220   as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224   IFS=$as_save_IFS
225   test -z "$as_dir" && as_dir=.
226   case $as_dir in
227          /*)
228            for as_base in sh bash ksh sh5; do
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230            done;;
231        esac
232 done
233 IFS=$as_save_IFS
234
235
236       for as_shell in $as_candidate_shells $SHELL; do
237          # Try only shells that exist, to save several forks.
238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239                 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241   emulate sh
242   NULLCMD=:
243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244   # is contrary to our usage.  Disable this feature.
245   alias -g '${1+"$@"}'='"$@"'
246   setopt NO_GLOB_SUBST
247 else
248   case `(set -o) 2>/dev/null` in
249   *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258   CONFIG_SHELL=$as_shell
259                as_have_required=yes
260                if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278   (exit $1)
279 }
280 as_func_success () {
281   as_func_return 0
282 }
283 as_func_failure () {
284   as_func_return 1
285 }
286 as_func_ret_success () {
287   return 0
288 }
289 as_func_ret_failure () {
290   return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295   :
296 else
297   exitcode=1
298   echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302   exitcode=1
303   echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307   :
308 else
309   exitcode=1
310   echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314   exitcode=1
315   echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319   :
320 else
321   exitcode=1
322   echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328   as_lineno_1=$LINENO
329   as_lineno_2=$LINENO
330   test "x$as_lineno_1" != "x$as_lineno_2" &&
331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335   break
336 fi
337
338 fi
339
340       done
341
342       if test "x$CONFIG_SHELL" != x; then
343   for as_var in BASH_ENV ENV
344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345         done
346         export CONFIG_SHELL
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
351     if test $as_have_required = no; then
352   echo This script requires a shell more modern than all the
353       echo shells that I found on your system.  Please install a
354       echo modern shell, or manually run the script under such a
355       echo shell if you do have one.
356       { (exit 1); exit 1; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367   (exit \$1)
368 }
369 as_func_success () {
370   as_func_return 0
371 }
372 as_func_failure () {
373   as_func_return 1
374 }
375 as_func_ret_success () {
376   return 0
377 }
378 as_func_ret_failure () {
379   return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384   :
385 else
386   exitcode=1
387   echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391   exitcode=1
392   echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396   :
397 else
398   exitcode=1
399   echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403   exitcode=1
404   echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408   :
409 else
410   exitcode=1
411   echo positional parameters were not saved.
412 fi
413
414 test \$exitcode = 0") || {
415   echo No shell found that supports shell functions.
416   echo Please tell autoconf@gnu.org about your system,
417   echo including any error possibly output before this
418   echo message
419 }
420
421
422
423   as_lineno_1=$LINENO
424   as_lineno_2=$LINENO
425   test "x$as_lineno_1" != "x$as_lineno_2" &&
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429   # uniformly replaced by the line number.  The first 'sed' inserts a
430   # line-number line after each line using $LINENO; the second 'sed'
431   # does the real work.  The second script uses 'N' to pair each
432   # line-number line with the line containing $LINENO, and appends
433   # trailing '-' during substitution so that $LINENO is not a special
434   # case at line end.
435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
437   # E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455    { (exit 1); exit 1; }; }
456
457   # Don't try to exec as it changes $[0], causing all sort of problems
458   # (the dirname of $[0] is not the place where we might find the
459   # original and so on.  Autoconf is especially sensitive to this).
460   . "./$as_me.lineno"
461   # Exit status is that of the last command.
462   exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467   as_dirname=dirname
468 else
469   as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475   case `echo 'x\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   *)   ECHO_C='\c';;
478   esac;;
479 *)
480   ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
485   as_expr=expr
486 else
487   as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492   rm -f conf$$.dir/conf$$.file
493 else
494   rm -f conf$$.dir
495   mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499   as_ln_s='ln -s'
500   # ... but there are two gotchas:
501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503   # In both cases, we have to default to `cp -p'.
504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505     as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507   as_ln_s=ln
508 else
509   as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515   as_mkdir_p=:
516 else
517   test -d ./-p && rmdir ./-p
518   as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522   as_test_x='test -x'
523 else
524   if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526   else
527     as_ls_L_option=
528   fi
529   as_test_x='
530     eval sh -c '\''
531       if test -d "$1"; then
532         test -d "$1/.";
533       else
534         case $1 in
535         -*)set "./$1";;
536         esac;
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538         ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540   '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
555
556 case X$lt_ECHO in
557 X*--fallback-echo)
558   # Remove one level of quotation (which was required for Make).
559   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560   ;;
561 esac
562
563 ECHO=${lt_ECHO-echo}
564 if test "X$1" = X--no-reexec; then
565   # Discard the --no-reexec flag, and continue.
566   shift
567 elif test "X$1" = X--fallback-echo; then
568   # Avoid inline document here, it may be left over
569   :
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571   # Yippee, $ECHO works!
572   :
573 else
574   # Restart under the correct shell.
575   exec $SHELL "$0" --no-reexec ${1+"$@"}
576 fi
577
578 if test "X$1" = X--fallback-echo; then
579   # used as fallback echo
580   shift
581   cat <<_LT_EOF
582 $*
583 _LT_EOF
584   exit 0
585 fi
586
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
588 # if CDPATH is set.
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
591 if test -z "$lt_ECHO"; then
592   if test "X${echo_test_string+set}" != Xset; then
593     # find a string as large as possible, as long as the shell can cope with it
594     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
598       then
599         break
600       fi
601     done
602   fi
603
604   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606      test "X$echo_testing_string" = "X$echo_test_string"; then
607     :
608   else
609     # The Solaris, AIX, and Digital Unix default echo programs unquote
610     # backslashes.  This makes it impossible to quote backslashes using
611     #   echo "$something" | sed 's/\\/\\\\/g'
612     #
613     # So, first we look for a working echo in the user's PATH.
614
615     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616     for dir in $PATH /usr/ucb; do
617       IFS="$lt_save_ifs"
618       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621          test "X$echo_testing_string" = "X$echo_test_string"; then
622         ECHO="$dir/echo"
623         break
624       fi
625     done
626     IFS="$lt_save_ifs"
627
628     if test "X$ECHO" = Xecho; then
629       # We didn't find a better echo, so look for alternatives.
630       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632          test "X$echo_testing_string" = "X$echo_test_string"; then
633         # This shell has a builtin print -r that does the trick.
634         ECHO='print -r'
635       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636            test "X$CONFIG_SHELL" != X/bin/ksh; then
637         # If we have ksh, try running configure again with it.
638         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639         export ORIGINAL_CONFIG_SHELL
640         CONFIG_SHELL=/bin/ksh
641         export CONFIG_SHELL
642         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
643       else
644         # Try using printf.
645         ECHO='printf %s\n'
646         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648            test "X$echo_testing_string" = "X$echo_test_string"; then
649           # Cool, printf works
650           :
651         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652              test "X$echo_testing_string" = 'X\t' &&
653              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654              test "X$echo_testing_string" = "X$echo_test_string"; then
655           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
656           export CONFIG_SHELL
657           SHELL="$CONFIG_SHELL"
658           export SHELL
659           ECHO="$CONFIG_SHELL $0 --fallback-echo"
660         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661              test "X$echo_testing_string" = 'X\t' &&
662              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663              test "X$echo_testing_string" = "X$echo_test_string"; then
664           ECHO="$CONFIG_SHELL $0 --fallback-echo"
665         else
666           # maybe with a smaller string...
667           prev=:
668
669           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
671             then
672               break
673             fi
674             prev="$cmd"
675           done
676
677           if test "$prev" != 'sed 50q "$0"'; then
678             echo_test_string=`eval $prev`
679             export echo_test_string
680             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
681           else
682             # Oops.  We lost completely, so just stick with echo.
683             ECHO=echo
684           fi
685         fi
686       fi
687     fi
688   fi
689 fi
690
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
693 lt_ECHO=$ECHO
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
696 fi
697
698
699
700
701 exec 7<&0 </dev/null 6>&1
702
703 # Name of the host.
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
707
708 #
709 # Initializations.
710 #
711 ac_default_prefix=/usr/local
712 ac_clean_files=
713 ac_config_libobj_dir=.
714 LIBOBJS=
715 cross_compiling=no
716 subdirs=
717 MFLAGS=
718 MAKEFLAGS=
719 SHELL=${CONFIG_SHELL-/bin/sh}
720
721 # Identity of this package.
722 PACKAGE_NAME='gsl'
723 PACKAGE_TARNAME='gsl'
724 PACKAGE_VERSION='1.11'
725 PACKAGE_STRING='gsl 1.11'
726 PACKAGE_BUGREPORT=''
727
728 ac_unique_file="gsl_math.h"
729 # Factoring default headers for most tests.
730 ac_includes_default="\
731 #include <stdio.h>
732 #ifdef HAVE_SYS_TYPES_H
733 # include <sys/types.h>
734 #endif
735 #ifdef HAVE_SYS_STAT_H
736 # include <sys/stat.h>
737 #endif
738 #ifdef STDC_HEADERS
739 # include <stdlib.h>
740 # include <stddef.h>
741 #else
742 # ifdef HAVE_STDLIB_H
743 #  include <stdlib.h>
744 # endif
745 #endif
746 #ifdef HAVE_STRING_H
747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
748 #  include <memory.h>
749 # endif
750 # include <string.h>
751 #endif
752 #ifdef HAVE_STRINGS_H
753 # include <strings.h>
754 #endif
755 #ifdef HAVE_INTTYPES_H
756 # include <inttypes.h>
757 #endif
758 #ifdef HAVE_STDINT_H
759 # include <stdint.h>
760 #endif
761 #ifdef HAVE_UNISTD_H
762 # include <unistd.h>
763 #endif"
764
765 ac_subst_vars='SHELL
766 PATH_SEPARATOR
767 PACKAGE_NAME
768 PACKAGE_TARNAME
769 PACKAGE_VERSION
770 PACKAGE_STRING
771 PACKAGE_BUGREPORT
772 exec_prefix
773 prefix
774 program_transform_name
775 bindir
776 sbindir
777 libexecdir
778 datarootdir
779 datadir
780 sysconfdir
781 sharedstatedir
782 localstatedir
783 includedir
784 oldincludedir
785 docdir
786 infodir
787 htmldir
788 dvidir
789 pdfdir
790 psdir
791 libdir
792 localedir
793 mandir
794 DEFS
795 ECHO_C
796 ECHO_N
797 ECHO_T
798 LIBS
799 build_alias
800 host_alias
801 target_alias
802 INSTALL_PROGRAM
803 INSTALL_SCRIPT
804 INSTALL_DATA
805 am__isrc
806 CYGPATH_W
807 PACKAGE
808 VERSION
809 ACLOCAL
810 AUTOCONF
811 AUTOMAKE
812 AUTOHEADER
813 MAKEINFO
814 install_sh
815 STRIP
816 INSTALL_STRIP_PROGRAM
817 mkdir_p
818 AWK
819 SET_MAKE
820 am__leading_dot
821 AMTAR
822 am__tar
823 am__untar
824 MAINTAINER_MODE_TRUE
825 MAINTAINER_MODE_FALSE
826 MAINT
827 GSL_LT_VERSION
828 GSL_LT_CBLAS_VERSION
829 build
830 build_cpu
831 build_vendor
832 build_os
833 host
834 host_cpu
835 host_vendor
836 host_os
837 CC
838 CFLAGS
839 LDFLAGS
840 CPPFLAGS
841 ac_ct_CC
842 EXEEXT
843 OBJEXT
844 CPP
845 LN_S
846 LIBTOOL
847 SED
848 GREP
849 EGREP
850 FGREP
851 LD
852 DUMPBIN
853 ac_ct_DUMPBIN
854 NM
855 AR
856 RANLIB
857 lt_ECHO
858 DSYMUTIL
859 NMEDIT
860 GSL_CFLAGS
861 GSL_LIBS
862 MINGW32_HOST_TRUE
863 MINGW32_HOST_FALSE
864 LIBOBJS
865 HAVE_GNUSPARC_IEEE_INTERFACE
866 HAVE_GNUM68K_IEEE_INTERFACE
867 HAVE_GNUPPC_IEEE_INTERFACE
868 HAVE_GNUX86_IEEE_INTERFACE
869 HAVE_SUNOS4_IEEE_INTERFACE
870 HAVE_SOLARIS_IEEE_INTERFACE
871 HAVE_HPUX11_IEEE_INTERFACE
872 HAVE_HPUX_IEEE_INTERFACE
873 HAVE_TRU64_IEEE_INTERFACE
874 HAVE_IRIX_IEEE_INTERFACE
875 HAVE_AIX_IEEE_INTERFACE
876 HAVE_FREEBSD_IEEE_INTERFACE
877 HAVE_OS2EMX_IEEE_INTERFACE
878 HAVE_NETBSD_IEEE_INTERFACE
879 HAVE_OPENBSD_IEEE_INTERFACE
880 HAVE_DARWIN_IEEE_INTERFACE
881 HAVE_DARWIN86_IEEE_INTERFACE
882 LTLIBOBJS'
883 ac_subst_files=''
884       ac_precious_vars='build_alias
885 host_alias
886 target_alias
887 CC
888 CFLAGS
889 LDFLAGS
890 LIBS
891 CPPFLAGS
892 CPP'
893
894
895 # Initialize some variables set by options.
896 ac_init_help=
897 ac_init_version=false
898 # The variables have the same names as the options, with
899 # dashes changed to underlines.
900 cache_file=/dev/null
901 exec_prefix=NONE
902 no_create=
903 no_recursion=
904 prefix=NONE
905 program_prefix=NONE
906 program_suffix=NONE
907 program_transform_name=s,x,x,
908 silent=
909 site=
910 srcdir=
911 verbose=
912 x_includes=NONE
913 x_libraries=NONE
914
915 # Installation directory options.
916 # These are left unexpanded so users can "make install exec_prefix=/foo"
917 # and all the variables that are supposed to be based on exec_prefix
918 # by default will actually change.
919 # Use braces instead of parens because sh, perl, etc. also accept them.
920 # (The list follows the same order as the GNU Coding Standards.)
921 bindir='${exec_prefix}/bin'
922 sbindir='${exec_prefix}/sbin'
923 libexecdir='${exec_prefix}/libexec'
924 datarootdir='${prefix}/share'
925 datadir='${datarootdir}'
926 sysconfdir='${prefix}/etc'
927 sharedstatedir='${prefix}/com'
928 localstatedir='${prefix}/var'
929 includedir='${prefix}/include'
930 oldincludedir='/usr/include'
931 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
932 infodir='${datarootdir}/info'
933 htmldir='${docdir}'
934 dvidir='${docdir}'
935 pdfdir='${docdir}'
936 psdir='${docdir}'
937 libdir='${exec_prefix}/lib'
938 localedir='${datarootdir}/locale'
939 mandir='${datarootdir}/man'
940
941 ac_prev=
942 ac_dashdash=
943 for ac_option
944 do
945   # If the previous option needs an argument, assign it.
946   if test -n "$ac_prev"; then
947     eval $ac_prev=\$ac_option
948     ac_prev=
949     continue
950   fi
951
952   case $ac_option in
953   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954   *)    ac_optarg=yes ;;
955   esac
956
957   # Accept the important Cygnus configure options, so we can diagnose typos.
958
959   case $ac_dashdash$ac_option in
960   --)
961     ac_dashdash=yes ;;
962
963   -bindir | --bindir | --bindi | --bind | --bin | --bi)
964     ac_prev=bindir ;;
965   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966     bindir=$ac_optarg ;;
967
968   -build | --build | --buil | --bui | --bu)
969     ac_prev=build_alias ;;
970   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
971     build_alias=$ac_optarg ;;
972
973   -cache-file | --cache-file | --cache-fil | --cache-fi \
974   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
975     ac_prev=cache_file ;;
976   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
977   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
978     cache_file=$ac_optarg ;;
979
980   --config-cache | -C)
981     cache_file=config.cache ;;
982
983   -datadir | --datadir | --datadi | --datad)
984     ac_prev=datadir ;;
985   -datadir=* | --datadir=* | --datadi=* | --datad=*)
986     datadir=$ac_optarg ;;
987
988   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
989   | --dataroo | --dataro | --datar)
990     ac_prev=datarootdir ;;
991   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
992   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
993     datarootdir=$ac_optarg ;;
994
995   -disable-* | --disable-*)
996     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997     # Reject names that are not valid shell variable names.
998     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1000    { (exit 1); exit 1; }; }
1001     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1002     eval enable_$ac_feature=no ;;
1003
1004   -docdir | --docdir | --docdi | --doc | --do)
1005     ac_prev=docdir ;;
1006   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007     docdir=$ac_optarg ;;
1008
1009   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1010     ac_prev=dvidir ;;
1011   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012     dvidir=$ac_optarg ;;
1013
1014   -enable-* | --enable-*)
1015     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016     # Reject names that are not valid shell variable names.
1017     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1019    { (exit 1); exit 1; }; }
1020     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1021     eval enable_$ac_feature=\$ac_optarg ;;
1022
1023   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1024   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1025   | --exec | --exe | --ex)
1026     ac_prev=exec_prefix ;;
1027   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1028   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1029   | --exec=* | --exe=* | --ex=*)
1030     exec_prefix=$ac_optarg ;;
1031
1032   -gas | --gas | --ga | --g)
1033     # Obsolete; use --with-gas.
1034     with_gas=yes ;;
1035
1036   -help | --help | --hel | --he | -h)
1037     ac_init_help=long ;;
1038   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1039     ac_init_help=recursive ;;
1040   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1041     ac_init_help=short ;;
1042
1043   -host | --host | --hos | --ho)
1044     ac_prev=host_alias ;;
1045   -host=* | --host=* | --hos=* | --ho=*)
1046     host_alias=$ac_optarg ;;
1047
1048   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1049     ac_prev=htmldir ;;
1050   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1051   | --ht=*)
1052     htmldir=$ac_optarg ;;
1053
1054   -includedir | --includedir | --includedi | --included | --include \
1055   | --includ | --inclu | --incl | --inc)
1056     ac_prev=includedir ;;
1057   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1058   | --includ=* | --inclu=* | --incl=* | --inc=*)
1059     includedir=$ac_optarg ;;
1060
1061   -infodir | --infodir | --infodi | --infod | --info | --inf)
1062     ac_prev=infodir ;;
1063   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1064     infodir=$ac_optarg ;;
1065
1066   -libdir | --libdir | --libdi | --libd)
1067     ac_prev=libdir ;;
1068   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1069     libdir=$ac_optarg ;;
1070
1071   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1072   | --libexe | --libex | --libe)
1073     ac_prev=libexecdir ;;
1074   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1075   | --libexe=* | --libex=* | --libe=*)
1076     libexecdir=$ac_optarg ;;
1077
1078   -localedir | --localedir | --localedi | --localed | --locale)
1079     ac_prev=localedir ;;
1080   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1081     localedir=$ac_optarg ;;
1082
1083   -localstatedir | --localstatedir | --localstatedi | --localstated \
1084   | --localstate | --localstat | --localsta | --localst | --locals)
1085     ac_prev=localstatedir ;;
1086   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1087   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1088     localstatedir=$ac_optarg ;;
1089
1090   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1091     ac_prev=mandir ;;
1092   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1093     mandir=$ac_optarg ;;
1094
1095   -nfp | --nfp | --nf)
1096     # Obsolete; use --without-fp.
1097     with_fp=no ;;
1098
1099   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1100   | --no-cr | --no-c | -n)
1101     no_create=yes ;;
1102
1103   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1104   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1105     no_recursion=yes ;;
1106
1107   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1108   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1109   | --oldin | --oldi | --old | --ol | --o)
1110     ac_prev=oldincludedir ;;
1111   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1112   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1113   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1114     oldincludedir=$ac_optarg ;;
1115
1116   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1117     ac_prev=prefix ;;
1118   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1119     prefix=$ac_optarg ;;
1120
1121   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1122   | --program-pre | --program-pr | --program-p)
1123     ac_prev=program_prefix ;;
1124   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1125   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1126     program_prefix=$ac_optarg ;;
1127
1128   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1129   | --program-suf | --program-su | --program-s)
1130     ac_prev=program_suffix ;;
1131   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1132   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1133     program_suffix=$ac_optarg ;;
1134
1135   -program-transform-name | --program-transform-name \
1136   | --program-transform-nam | --program-transform-na \
1137   | --program-transform-n | --program-transform- \
1138   | --program-transform | --program-transfor \
1139   | --program-transfo | --program-transf \
1140   | --program-trans | --program-tran \
1141   | --progr-tra | --program-tr | --program-t)
1142     ac_prev=program_transform_name ;;
1143   -program-transform-name=* | --program-transform-name=* \
1144   | --program-transform-nam=* | --program-transform-na=* \
1145   | --program-transform-n=* | --program-transform-=* \
1146   | --program-transform=* | --program-transfor=* \
1147   | --program-transfo=* | --program-transf=* \
1148   | --program-trans=* | --program-tran=* \
1149   | --progr-tra=* | --program-tr=* | --program-t=*)
1150     program_transform_name=$ac_optarg ;;
1151
1152   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1153     ac_prev=pdfdir ;;
1154   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1155     pdfdir=$ac_optarg ;;
1156
1157   -psdir | --psdir | --psdi | --psd | --ps)
1158     ac_prev=psdir ;;
1159   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1160     psdir=$ac_optarg ;;
1161
1162   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1163   | -silent | --silent | --silen | --sile | --sil)
1164     silent=yes ;;
1165
1166   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1167     ac_prev=sbindir ;;
1168   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1169   | --sbi=* | --sb=*)
1170     sbindir=$ac_optarg ;;
1171
1172   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1173   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1174   | --sharedst | --shareds | --shared | --share | --shar \
1175   | --sha | --sh)
1176     ac_prev=sharedstatedir ;;
1177   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1178   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1179   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1180   | --sha=* | --sh=*)
1181     sharedstatedir=$ac_optarg ;;
1182
1183   -site | --site | --sit)
1184     ac_prev=site ;;
1185   -site=* | --site=* | --sit=*)
1186     site=$ac_optarg ;;
1187
1188   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1189     ac_prev=srcdir ;;
1190   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1191     srcdir=$ac_optarg ;;
1192
1193   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1194   | --syscon | --sysco | --sysc | --sys | --sy)
1195     ac_prev=sysconfdir ;;
1196   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1197   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1198     sysconfdir=$ac_optarg ;;
1199
1200   -target | --target | --targe | --targ | --tar | --ta | --t)
1201     ac_prev=target_alias ;;
1202   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1203     target_alias=$ac_optarg ;;
1204
1205   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1206     verbose=yes ;;
1207
1208   -version | --version | --versio | --versi | --vers | -V)
1209     ac_init_version=: ;;
1210
1211   -with-* | --with-*)
1212     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1213     # Reject names that are not valid shell variable names.
1214     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215       { echo "$as_me: error: invalid package name: $ac_package" >&2
1216    { (exit 1); exit 1; }; }
1217     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1218     eval with_$ac_package=\$ac_optarg ;;
1219
1220   -without-* | --without-*)
1221     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1222     # Reject names that are not valid shell variable names.
1223     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224       { echo "$as_me: error: invalid package name: $ac_package" >&2
1225    { (exit 1); exit 1; }; }
1226     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1227     eval with_$ac_package=no ;;
1228
1229   --x)
1230     # Obsolete; use --with-x.
1231     with_x=yes ;;
1232
1233   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1234   | --x-incl | --x-inc | --x-in | --x-i)
1235     ac_prev=x_includes ;;
1236   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1237   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1238     x_includes=$ac_optarg ;;
1239
1240   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1241   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1242     ac_prev=x_libraries ;;
1243   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1244   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1245     x_libraries=$ac_optarg ;;
1246
1247   -*) { echo "$as_me: error: unrecognized option: $ac_option
1248 Try \`$0 --help' for more information." >&2
1249    { (exit 1); exit 1; }; }
1250     ;;
1251
1252   *=*)
1253     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1254     # Reject names that are not valid shell variable names.
1255     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1256       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1257    { (exit 1); exit 1; }; }
1258     eval $ac_envvar=\$ac_optarg
1259     export $ac_envvar ;;
1260
1261   *)
1262     # FIXME: should be removed in autoconf 3.0.
1263     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1267     ;;
1268
1269   esac
1270 done
1271
1272 if test -n "$ac_prev"; then
1273   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1274   { echo "$as_me: error: missing argument to $ac_option" >&2
1275    { (exit 1); exit 1; }; }
1276 fi
1277
1278 # Be sure to have absolute directory names.
1279 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280                 datadir sysconfdir sharedstatedir localstatedir includedir \
1281                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282                 libdir localedir mandir
1283 do
1284   eval ac_val=\$$ac_var
1285   case $ac_val in
1286     [\\/$]* | ?:[\\/]* )  continue;;
1287     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1288   esac
1289   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1290    { (exit 1); exit 1; }; }
1291 done
1292
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1296 build=$build_alias
1297 host=$host_alias
1298 target=$target_alias
1299
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x; then
1302   if test "x$build_alias" = x; then
1303     cross_compiling=maybe
1304     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1305     If a cross compiler is detected then cross compile mode will be used." >&2
1306   elif test "x$build_alias" != "x$host_alias"; then
1307     cross_compiling=yes
1308   fi
1309 fi
1310
1311 ac_tool_prefix=
1312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1313
1314 test "$silent" = yes && exec 6>/dev/null
1315
1316
1317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di=`ls -di .` &&
1319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1320   { echo "$as_me: error: Working directory cannot be determined" >&2
1321    { (exit 1); exit 1; }; }
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323   { echo "$as_me: error: pwd does not report name of working directory" >&2
1324    { (exit 1); exit 1; }; }
1325
1326
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329   ac_srcdir_defaulted=yes
1330   # Try the directory containing this script, then the parent directory.
1331   ac_confdir=`$as_dirname -- "$0" ||
1332 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333          X"$0" : 'X\(//\)[^/]' \| \
1334          X"$0" : 'X\(//\)$' \| \
1335          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1336 echo X"$0" |
1337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338             s//\1/
1339             q
1340           }
1341           /^X\(\/\/\)[^/].*/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)$/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\).*/{
1350             s//\1/
1351             q
1352           }
1353           s/.*/./; q'`
1354   srcdir=$ac_confdir
1355   if test ! -r "$srcdir/$ac_unique_file"; then
1356     srcdir=..
1357   fi
1358 else
1359   ac_srcdir_defaulted=no
1360 fi
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1364    { (exit 1); exit 1; }; }
1365 fi
1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 ac_abs_confdir=`(
1368         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1369    { (exit 1); exit 1; }; }
1370         pwd)`
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373   srcdir=.
1374 fi
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1378 case $srcdir in
1379 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 esac
1381 for ac_var in $ac_precious_vars; do
1382   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1383   eval ac_env_${ac_var}_value=\$${ac_var}
1384   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1385   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1386 done
1387
1388 #
1389 # Report the --help message.
1390 #
1391 if test "$ac_init_help" = "long"; then
1392   # Omit some internal or obsolete options to make the list less imposing.
1393   # This message is too long to be a string in the A/UX 3.1 sh.
1394   cat <<_ACEOF
1395 \`configure' configures gsl 1.11 to adapt to many kinds of systems.
1396
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1398
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE.  See below for descriptions of some of the useful variables.
1401
1402 Defaults for the options are specified in brackets.
1403
1404 Configuration:
1405   -h, --help              display this help and exit
1406       --help=short        display options specific to this package
1407       --help=recursive    display the short help of all the included packages
1408   -V, --version           display version information and exit
1409   -q, --quiet, --silent   do not print \`checking...' messages
1410       --cache-file=FILE   cache test results in FILE [disabled]
1411   -C, --config-cache      alias for \`--cache-file=config.cache'
1412   -n, --no-create         do not create output files
1413       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1414
1415 Installation directories:
1416   --prefix=PREFIX         install architecture-independent files in PREFIX
1417                           [$ac_default_prefix]
1418   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1419                           [PREFIX]
1420
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1425
1426 For better control, use the options below.
1427
1428 Fine tuning of the installation directories:
1429   --bindir=DIR           user executables [EPREFIX/bin]
1430   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1431   --libexecdir=DIR       program executables [EPREFIX/libexec]
1432   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1433   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1434   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1435   --libdir=DIR           object code libraries [EPREFIX/lib]
1436   --includedir=DIR       C header files [PREFIX/include]
1437   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1438   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1439   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1440   --infodir=DIR          info documentation [DATAROOTDIR/info]
1441   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1442   --mandir=DIR           man documentation [DATAROOTDIR/man]
1443   --docdir=DIR           documentation root [DATAROOTDIR/doc/gsl]
1444   --htmldir=DIR          html documentation [DOCDIR]
1445   --dvidir=DIR           dvi documentation [DOCDIR]
1446   --pdfdir=DIR           pdf documentation [DOCDIR]
1447   --psdir=DIR            ps documentation [DOCDIR]
1448 _ACEOF
1449
1450   cat <<\_ACEOF
1451
1452 Program names:
1453   --program-prefix=PREFIX            prepend PREFIX to installed program names
1454   --program-suffix=SUFFIX            append SUFFIX to installed program names
1455   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1456
1457 System types:
1458   --build=BUILD     configure for building on BUILD [guessed]
1459   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1460 _ACEOF
1461 fi
1462
1463 if test -n "$ac_init_help"; then
1464   case $ac_init_help in
1465      short | recursive ) echo "Configuration of gsl 1.11:";;
1466    esac
1467   cat <<\_ACEOF
1468
1469 Optional Features:
1470   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1471   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1472   --enable-maintainer-mode  enable make rules and dependencies not useful
1473                           (and sometimes confusing) to the casual installer
1474   --enable-shared[=PKGS]  build shared libraries [default=yes]
1475   --enable-static[=PKGS]  build static libraries [default=yes]
1476   --enable-fast-install[=PKGS]
1477                           optimize for fast installation [default=yes]
1478   --disable-libtool-lock  avoid locking (might break parallel builds)
1479
1480 Optional Packages:
1481   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1482   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1483   --with-pic              try to use only PIC/non-PIC objects [default=use
1484                           both]
1485   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1486
1487 Some influential environment variables:
1488   CC          C compiler command
1489   CFLAGS      C compiler flags
1490   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1491               nonstandard directory <lib dir>
1492   LIBS        libraries to pass to the linker, e.g. -l<library>
1493   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1494               you have headers in a nonstandard directory <include dir>
1495   CPP         C preprocessor
1496
1497 Use these variables to override the choices made by `configure' or to help
1498 it to find libraries and programs with nonstandard names/locations.
1499
1500 _ACEOF
1501 ac_status=$?
1502 fi
1503
1504 if test "$ac_init_help" = "recursive"; then
1505   # If there are subdirs, report their specific --help.
1506   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1507     test -d "$ac_dir" || continue
1508     ac_builddir=.
1509
1510 case "$ac_dir" in
1511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1512 *)
1513   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1514   # A ".." for each directory in $ac_dir_suffix.
1515   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1516   case $ac_top_builddir_sub in
1517   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1519   esac ;;
1520 esac
1521 ac_abs_top_builddir=$ac_pwd
1522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523 # for backward compatibility:
1524 ac_top_builddir=$ac_top_build_prefix
1525
1526 case $srcdir in
1527   .)  # We are building in place.
1528     ac_srcdir=.
1529     ac_top_srcdir=$ac_top_builddir_sub
1530     ac_abs_top_srcdir=$ac_pwd ;;
1531   [\\/]* | ?:[\\/]* )  # Absolute name.
1532     ac_srcdir=$srcdir$ac_dir_suffix;
1533     ac_top_srcdir=$srcdir
1534     ac_abs_top_srcdir=$srcdir ;;
1535   *) # Relative name.
1536     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1537     ac_top_srcdir=$ac_top_build_prefix$srcdir
1538     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1539 esac
1540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1541
1542     cd "$ac_dir" || { ac_status=$?; continue; }
1543     # Check for guested configure.
1544     if test -f "$ac_srcdir/configure.gnu"; then
1545       echo &&
1546       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547     elif test -f "$ac_srcdir/configure"; then
1548       echo &&
1549       $SHELL "$ac_srcdir/configure" --help=recursive
1550     else
1551       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552     fi || ac_status=$?
1553     cd "$ac_pwd" || { ac_status=$?; break; }
1554   done
1555 fi
1556
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1559   cat <<\_ACEOF
1560 gsl configure 1.11
1561 generated by GNU Autoconf 2.61
1562
1563 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1564 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1565 This configure script is free software; the Free Software Foundation
1566 gives unlimited permission to copy, distribute and modify it.
1567 _ACEOF
1568   exit
1569 fi
1570 cat >config.log <<_ACEOF
1571 This file contains any messages produced by compilers while
1572 running configure, to aid debugging if configure makes a mistake.
1573
1574 It was created by gsl $as_me 1.11, which was
1575 generated by GNU Autoconf 2.61.  Invocation command line was
1576
1577   $ $0 $@
1578
1579 _ACEOF
1580 exec 5>>config.log
1581 {
1582 cat <<_ASUNAME
1583 ## --------- ##
1584 ## Platform. ##
1585 ## --------- ##
1586
1587 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1588 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1589 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1590 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1591 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1592
1593 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1594 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1595
1596 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1597 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1598 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1599 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1600 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1601 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1602 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1603
1604 _ASUNAME
1605
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1607 for as_dir in $PATH
1608 do
1609   IFS=$as_save_IFS
1610   test -z "$as_dir" && as_dir=.
1611   echo "PATH: $as_dir"
1612 done
1613 IFS=$as_save_IFS
1614
1615 } >&5
1616
1617 cat >&5 <<_ACEOF
1618
1619
1620 ## ----------- ##
1621 ## Core tests. ##
1622 ## ----------- ##
1623
1624 _ACEOF
1625
1626
1627 # Keep a trace of the command line.
1628 # Strip out --no-create and --no-recursion so they do not pile up.
1629 # Strip out --silent because we don't want to record it for future runs.
1630 # Also quote any args containing shell meta-characters.
1631 # Make two passes to allow for proper duplicate-argument suppression.
1632 ac_configure_args=
1633 ac_configure_args0=
1634 ac_configure_args1=
1635 ac_must_keep_next=false
1636 for ac_pass in 1 2
1637 do
1638   for ac_arg
1639   do
1640     case $ac_arg in
1641     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1642     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1643     | -silent | --silent | --silen | --sile | --sil)
1644       continue ;;
1645     *\'*)
1646       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1647     esac
1648     case $ac_pass in
1649     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1650     2)
1651       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1652       if test $ac_must_keep_next = true; then
1653         ac_must_keep_next=false # Got value, back to normal.
1654       else
1655         case $ac_arg in
1656           *=* | --config-cache | -C | -disable-* | --disable-* \
1657           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1658           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1659           | -with-* | --with-* | -without-* | --without-* | --x)
1660             case "$ac_configure_args0 " in
1661               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1662             esac
1663             ;;
1664           -* ) ac_must_keep_next=true ;;
1665         esac
1666       fi
1667       ac_configure_args="$ac_configure_args '$ac_arg'"
1668       ;;
1669     esac
1670   done
1671 done
1672 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1673 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1674
1675 # When interrupted or exit'd, cleanup temporary files, and complete
1676 # config.log.  We remove comments because anyway the quotes in there
1677 # would cause problems or look ugly.
1678 # WARNING: Use '\'' to represent an apostrophe within the trap.
1679 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1680 trap 'exit_status=$?
1681   # Save into config.log some information that might help in debugging.
1682   {
1683     echo
1684
1685     cat <<\_ASBOX
1686 ## ---------------- ##
1687 ## Cache variables. ##
1688 ## ---------------- ##
1689 _ASBOX
1690     echo
1691     # The following way of writing the cache mishandles newlines in values,
1692 (
1693   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1694     eval ac_val=\$$ac_var
1695     case $ac_val in #(
1696     *${as_nl}*)
1697       case $ac_var in #(
1698       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1700       esac
1701       case $ac_var in #(
1702       _ | IFS | as_nl) ;; #(
1703       *) $as_unset $ac_var ;;
1704       esac ;;
1705     esac
1706   done
1707   (set) 2>&1 |
1708     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1709     *${as_nl}ac_space=\ *)
1710       sed -n \
1711         "s/'\''/'\''\\\\'\'''\''/g;
1712           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1713       ;; #(
1714     *)
1715       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716       ;;
1717     esac |
1718     sort
1719 )
1720     echo
1721
1722     cat <<\_ASBOX
1723 ## ----------------- ##
1724 ## Output variables. ##
1725 ## ----------------- ##
1726 _ASBOX
1727     echo
1728     for ac_var in $ac_subst_vars
1729     do
1730       eval ac_val=\$$ac_var
1731       case $ac_val in
1732       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1733       esac
1734       echo "$ac_var='\''$ac_val'\''"
1735     done | sort
1736     echo
1737
1738     if test -n "$ac_subst_files"; then
1739       cat <<\_ASBOX
1740 ## ------------------- ##
1741 ## File substitutions. ##
1742 ## ------------------- ##
1743 _ASBOX
1744       echo
1745       for ac_var in $ac_subst_files
1746       do
1747         eval ac_val=\$$ac_var
1748         case $ac_val in
1749         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750         esac
1751         echo "$ac_var='\''$ac_val'\''"
1752       done | sort
1753       echo
1754     fi
1755
1756     if test -s confdefs.h; then
1757       cat <<\_ASBOX
1758 ## ----------- ##
1759 ## confdefs.h. ##
1760 ## ----------- ##
1761 _ASBOX
1762       echo
1763       cat confdefs.h
1764       echo
1765     fi
1766     test "$ac_signal" != 0 &&
1767       echo "$as_me: caught signal $ac_signal"
1768     echo "$as_me: exit $exit_status"
1769   } >&5
1770   rm -f core *.core core.conftest.* &&
1771     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1772     exit $exit_status
1773 ' 0
1774 for ac_signal in 1 2 13 15; do
1775   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1776 done
1777 ac_signal=0
1778
1779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1780 rm -f -r conftest* confdefs.h
1781
1782 # Predefined preprocessor variables.
1783
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_NAME "$PACKAGE_NAME"
1786 _ACEOF
1787
1788
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1791 _ACEOF
1792
1793
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1796 _ACEOF
1797
1798
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_STRING "$PACKAGE_STRING"
1801 _ACEOF
1802
1803
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1806 _ACEOF
1807
1808
1809 # Let the site file select an alternate cache file if it wants to.
1810 # Prefer explicitly selected file to automatically selected ones.
1811 if test -n "$CONFIG_SITE"; then
1812   set x "$CONFIG_SITE"
1813 elif test "x$prefix" != xNONE; then
1814   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1815 else
1816   set x "$ac_default_prefix/share/config.site" \
1817         "$ac_default_prefix/etc/config.site"
1818 fi
1819 shift
1820 for ac_site_file
1821 do
1822   if test -r "$ac_site_file"; then
1823     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1824 echo "$as_me: loading site script $ac_site_file" >&6;}
1825     sed 's/^/| /' "$ac_site_file" >&5
1826     . "$ac_site_file"
1827   fi
1828 done
1829
1830 if test -r "$cache_file"; then
1831   # Some versions of bash will fail to source /dev/null (special
1832   # files actually), so we avoid doing that.
1833   if test -f "$cache_file"; then
1834     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1835 echo "$as_me: loading cache $cache_file" >&6;}
1836     case $cache_file in
1837       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1838       *)                      . "./$cache_file";;
1839     esac
1840   fi
1841 else
1842   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1843 echo "$as_me: creating cache $cache_file" >&6;}
1844   >$cache_file
1845 fi
1846
1847 # Check that the precious variables saved in the cache have kept the same
1848 # value.
1849 ac_cache_corrupted=false
1850 for ac_var in $ac_precious_vars; do
1851   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1852   eval ac_new_set=\$ac_env_${ac_var}_set
1853   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1854   eval ac_new_val=\$ac_env_${ac_var}_value
1855   case $ac_old_set,$ac_new_set in
1856     set,)
1857       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1858 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1859       ac_cache_corrupted=: ;;
1860     ,set)
1861       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1862 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1863       ac_cache_corrupted=: ;;
1864     ,);;
1865     *)
1866       if test "x$ac_old_val" != "x$ac_new_val"; then
1867         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1868 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1869         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1870 echo "$as_me:   former value:  $ac_old_val" >&2;}
1871         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1872 echo "$as_me:   current value: $ac_new_val" >&2;}
1873         ac_cache_corrupted=:
1874       fi;;
1875   esac
1876   # Pass precious variables to config.status.
1877   if test "$ac_new_set" = set; then
1878     case $ac_new_val in
1879     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1880     *) ac_arg=$ac_var=$ac_new_val ;;
1881     esac
1882     case " $ac_configure_args " in
1883       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1884       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1885     esac
1886   fi
1887 done
1888 if $ac_cache_corrupted; then
1889   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1890 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1892 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1893    { (exit 1); exit 1; }; }
1894 fi
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920 ac_ext=c
1921 ac_cpp='$CPP $CPPFLAGS'
1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1925
1926
1927
1928
1929 am__api_version='1.10'
1930
1931 ac_aux_dir=
1932 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1933   if test -f "$ac_dir/install-sh"; then
1934     ac_aux_dir=$ac_dir
1935     ac_install_sh="$ac_aux_dir/install-sh -c"
1936     break
1937   elif test -f "$ac_dir/install.sh"; then
1938     ac_aux_dir=$ac_dir
1939     ac_install_sh="$ac_aux_dir/install.sh -c"
1940     break
1941   elif test -f "$ac_dir/shtool"; then
1942     ac_aux_dir=$ac_dir
1943     ac_install_sh="$ac_aux_dir/shtool install -c"
1944     break
1945   fi
1946 done
1947 if test -z "$ac_aux_dir"; then
1948   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1949 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1950    { (exit 1); exit 1; }; }
1951 fi
1952
1953 # These three variables are undocumented and unsupported,
1954 # and are intended to be withdrawn in a future Autoconf release.
1955 # They can cause serious problems if a builder's source tree is in a directory
1956 # whose full name contains unusual characters.
1957 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1958 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1959 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1960
1961
1962 # Find a good install program.  We prefer a C program (faster),
1963 # so one script is as good as another.  But avoid the broken or
1964 # incompatible versions:
1965 # SysV /etc/install, /usr/sbin/install
1966 # SunOS /usr/etc/install
1967 # IRIX /sbin/install
1968 # AIX /bin/install
1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1973 # OS/2's system install, which has a completely different semantic
1974 # ./install, which can be erroneously created by make from ./install.sh.
1975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1977 if test -z "$INSTALL"; then
1978 if test "${ac_cv_path_install+set}" = set; then
1979   echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1983 do
1984   IFS=$as_save_IFS
1985   test -z "$as_dir" && as_dir=.
1986   # Account for people who put trailing slashes in PATH elements.
1987 case $as_dir/ in
1988   ./ | .// | /cC/* | \
1989   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1990   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1991   /usr/ucb/* ) ;;
1992   *)
1993     # OSF1 and SCO ODT 3.0 have their own names for install.
1994     # Don't use installbsd from OSF since it installs stuff as root
1995     # by default.
1996     for ac_prog in ginstall scoinst install; do
1997       for ac_exec_ext in '' $ac_executable_extensions; do
1998         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1999           if test $ac_prog = install &&
2000             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2001             # AIX install.  It has an incompatible calling convention.
2002             :
2003           elif test $ac_prog = install &&
2004             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2005             # program-specific install script used by HP pwplus--don't use.
2006             :
2007           else
2008             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2009             break 3
2010           fi
2011         fi
2012       done
2013     done
2014     ;;
2015 esac
2016 done
2017 IFS=$as_save_IFS
2018
2019
2020 fi
2021   if test "${ac_cv_path_install+set}" = set; then
2022     INSTALL=$ac_cv_path_install
2023   else
2024     # As a last resort, use the slow shell script.  Don't cache a
2025     # value for INSTALL within a source directory, because that will
2026     # break other packages using the cache if that directory is
2027     # removed, or if the value is a relative name.
2028     INSTALL=$ac_install_sh
2029   fi
2030 fi
2031 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2032 echo "${ECHO_T}$INSTALL" >&6; }
2033
2034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2035 # It thinks the first close brace ends the variable substitution.
2036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2037
2038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2039
2040 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2041
2042 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2043 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2044 # Just in case
2045 sleep 1
2046 echo timestamp > conftest.file
2047 # Do `set' in a subshell so we don't clobber the current shell's
2048 # arguments.  Must try -L first in case configure is actually a
2049 # symlink; some systems play weird games with the mod time of symlinks
2050 # (eg FreeBSD returns the mod time of the symlink's containing
2051 # directory).
2052 if (
2053    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2054    if test "$*" = "X"; then
2055       # -L didn't work.
2056       set X `ls -t $srcdir/configure conftest.file`
2057    fi
2058    rm -f conftest.file
2059    if test "$*" != "X $srcdir/configure conftest.file" \
2060       && test "$*" != "X conftest.file $srcdir/configure"; then
2061
2062       # If neither matched, then we have a broken ls.  This can happen
2063       # if, for instance, CONFIG_SHELL is bash and it inherits a
2064       # broken ls alias from the environment.  This has actually
2065       # happened.  Such a system could not be considered "sane".
2066       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2067 alias in your environment" >&5
2068 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2069 alias in your environment" >&2;}
2070    { (exit 1); exit 1; }; }
2071    fi
2072
2073    test "$2" = conftest.file
2074    )
2075 then
2076    # Ok.
2077    :
2078 else
2079    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2080 Check your system clock" >&5
2081 echo "$as_me: error: newly created file is older than distributed files!
2082 Check your system clock" >&2;}
2083    { (exit 1); exit 1; }; }
2084 fi
2085 { echo "$as_me:$LINENO: result: yes" >&5
2086 echo "${ECHO_T}yes" >&6; }
2087 test "$program_prefix" != NONE &&
2088   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2089 # Use a double $ so make ignores it.
2090 test "$program_suffix" != NONE &&
2091   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2092 # Double any \ or $.  echo might interpret backslashes.
2093 # By default was `s,x,x', remove it if useless.
2094 cat <<\_ACEOF >conftest.sed
2095 s/[\\$]/&&/g;s/;s,x,x,$//
2096 _ACEOF
2097 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2098 rm -f conftest.sed
2099
2100 # expand $ac_aux_dir to an absolute path
2101 am_aux_dir=`cd $ac_aux_dir && pwd`
2102
2103 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2104 # Use eval to expand $SHELL
2105 if eval "$MISSING --run true"; then
2106   am_missing_run="$MISSING --run "
2107 else
2108   am_missing_run=
2109   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2110 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2111 fi
2112
2113 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2114 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2115 if test -z "$MKDIR_P"; then
2116   if test "${ac_cv_path_mkdir+set}" = set; then
2117   echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2121 do
2122   IFS=$as_save_IFS
2123   test -z "$as_dir" && as_dir=.
2124   for ac_prog in mkdir gmkdir; do
2125          for ac_exec_ext in '' $ac_executable_extensions; do
2126            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2127            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2128              'mkdir (GNU coreutils) '* | \
2129              'mkdir (coreutils) '* | \
2130              'mkdir (fileutils) '4.1*)
2131                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2132                break 3;;
2133            esac
2134          done
2135        done
2136 done
2137 IFS=$as_save_IFS
2138
2139 fi
2140
2141   if test "${ac_cv_path_mkdir+set}" = set; then
2142     MKDIR_P="$ac_cv_path_mkdir -p"
2143   else
2144     # As a last resort, use the slow shell script.  Don't cache a
2145     # value for MKDIR_P within a source directory, because that will
2146     # break other packages using the cache if that directory is
2147     # removed, or if the value is a relative name.
2148     test -d ./--version && rmdir ./--version
2149     MKDIR_P="$ac_install_sh -d"
2150   fi
2151 fi
2152 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2153 echo "${ECHO_T}$MKDIR_P" >&6; }
2154
2155 mkdir_p="$MKDIR_P"
2156 case $mkdir_p in
2157   [\\/$]* | ?:[\\/]*) ;;
2158   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2159 esac
2160
2161 for ac_prog in gawk mawk nawk awk
2162 do
2163   # Extract the first word of "$ac_prog", so it can be a program name with args.
2164 set dummy $ac_prog; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_AWK+set}" = set; then
2168   echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170   if test -n "$AWK"; then
2171   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2175 do
2176   IFS=$as_save_IFS
2177   test -z "$as_dir" && as_dir=.
2178   for ac_exec_ext in '' $ac_executable_extensions; do
2179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180     ac_cv_prog_AWK="$ac_prog"
2181     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182     break 2
2183   fi
2184 done
2185 done
2186 IFS=$as_save_IFS
2187
2188 fi
2189 fi
2190 AWK=$ac_cv_prog_AWK
2191 if test -n "$AWK"; then
2192   { echo "$as_me:$LINENO: result: $AWK" >&5
2193 echo "${ECHO_T}$AWK" >&6; }
2194 else
2195   { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2197 fi
2198
2199
2200   test -n "$AWK" && break
2201 done
2202
2203 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2204 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2205 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2206 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2207   echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209   cat >conftest.make <<\_ACEOF
2210 SHELL = /bin/sh
2211 all:
2212         @echo '@@@%%%=$(MAKE)=@@@%%%'
2213 _ACEOF
2214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2216   *@@@%%%=?*=@@@%%%*)
2217     eval ac_cv_prog_make_${ac_make}_set=yes;;
2218   *)
2219     eval ac_cv_prog_make_${ac_make}_set=no;;
2220 esac
2221 rm -f conftest.make
2222 fi
2223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2224   { echo "$as_me:$LINENO: result: yes" >&5
2225 echo "${ECHO_T}yes" >&6; }
2226   SET_MAKE=
2227 else
2228   { echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6; }
2230   SET_MAKE="MAKE=${MAKE-make}"
2231 fi
2232
2233 rm -rf .tst 2>/dev/null
2234 mkdir .tst 2>/dev/null
2235 if test -d .tst; then
2236   am__leading_dot=.
2237 else
2238   am__leading_dot=_
2239 fi
2240 rmdir .tst 2>/dev/null
2241
2242 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2243   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2244   # is not polluted with repeated "-I."
2245   am__isrc=' -I$(srcdir)'
2246   # test to see if srcdir already configured
2247   if test -f $srcdir/config.status; then
2248     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2249 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2250    { (exit 1); exit 1; }; }
2251   fi
2252 fi
2253
2254 # test whether we have cygpath
2255 if test -z "$CYGPATH_W"; then
2256   if (cygpath --version) >/dev/null 2>/dev/null; then
2257     CYGPATH_W='cygpath -w'
2258   else
2259     CYGPATH_W=echo
2260   fi
2261 fi
2262
2263
2264 # Define the identity of the package.
2265  PACKAGE='gsl'
2266  VERSION='1.11'
2267
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE "$PACKAGE"
2271 _ACEOF
2272
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define VERSION "$VERSION"
2276 _ACEOF
2277
2278 # Some tools Automake needs.
2279
2280 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2281
2282
2283 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2284
2285
2286 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2287
2288
2289 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2290
2291
2292 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2293
2294 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2295
2296 # Installed binaries are usually stripped using `strip' when the user
2297 # run `make install-strip'.  However `strip' might not be the right
2298 # tool to use in cross-compilation environments, therefore Automake
2299 # will honor the `STRIP' environment variable to overrule this program.
2300 if test "$cross_compiling" != no; then
2301   if test -n "$ac_tool_prefix"; then
2302   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306 if test "${ac_cv_prog_STRIP+set}" = set; then
2307   echo $ECHO_N "(cached) $ECHO_C" >&6
2308 else
2309   if test -n "$STRIP"; then
2310   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2311 else
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 for as_dir in $PATH
2314 do
2315   IFS=$as_save_IFS
2316   test -z "$as_dir" && as_dir=.
2317   for ac_exec_ext in '' $ac_executable_extensions; do
2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2320     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321     break 2
2322   fi
2323 done
2324 done
2325 IFS=$as_save_IFS
2326
2327 fi
2328 fi
2329 STRIP=$ac_cv_prog_STRIP
2330 if test -n "$STRIP"; then
2331   { echo "$as_me:$LINENO: result: $STRIP" >&5
2332 echo "${ECHO_T}$STRIP" >&6; }
2333 else
2334   { echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6; }
2336 fi
2337
2338
2339 fi
2340 if test -z "$ac_cv_prog_STRIP"; then
2341   ac_ct_STRIP=$STRIP
2342   # Extract the first word of "strip", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2347   echo $ECHO_N "(cached) $ECHO_C" >&6
2348 else
2349   if test -n "$ac_ct_STRIP"; then
2350   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2351 else
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 for as_dir in $PATH
2354 do
2355   IFS=$as_save_IFS
2356   test -z "$as_dir" && as_dir=.
2357   for ac_exec_ext in '' $ac_executable_extensions; do
2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359     ac_cv_prog_ac_ct_STRIP="strip"
2360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361     break 2
2362   fi
2363 done
2364 done
2365 IFS=$as_save_IFS
2366
2367 fi
2368 fi
2369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2370 if test -n "$ac_ct_STRIP"; then
2371   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2372 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2373 else
2374   { echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6; }
2376 fi
2377
2378   if test "x$ac_ct_STRIP" = x; then
2379     STRIP=":"
2380   else
2381     case $cross_compiling:$ac_tool_warned in
2382 yes:)
2383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet.  If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
2386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387 whose name does not start with the host triplet.  If you think this
2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2389 ac_tool_warned=yes ;;
2390 esac
2391     STRIP=$ac_ct_STRIP
2392   fi
2393 else
2394   STRIP="$ac_cv_prog_STRIP"
2395 fi
2396
2397 fi
2398 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2399
2400 # We need awk for the "check" target.  The system "awk" is bad on
2401 # some platforms.
2402 # Always define AMTAR for backward compatibility.
2403
2404 AMTAR=${AMTAR-"${am_missing_run}tar"}
2405
2406 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2407
2408
2409
2410
2411
2412 ac_config_headers="$ac_config_headers config.h"
2413
2414 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2415 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2416     # Check whether --enable-maintainer-mode was given.
2417 if test "${enable_maintainer_mode+set}" = set; then
2418   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2419 else
2420   USE_MAINTAINER_MODE=no
2421 fi
2422
2423   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2424 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2425    if test $USE_MAINTAINER_MODE = yes; then
2426   MAINTAINER_MODE_TRUE=
2427   MAINTAINER_MODE_FALSE='#'
2428 else
2429   MAINTAINER_MODE_TRUE='#'
2430   MAINTAINER_MODE_FALSE=
2431 fi
2432
2433   MAINT=$MAINTAINER_MODE_TRUE
2434
2435
2436
2437
2438 GSL_CURRENT=12
2439 GSL_REVISION=0
2440 GSL_AGE=12
2441 CBLAS_CURRENT=0
2442 CBLAS_REVISION=0
2443 CBLAS_AGE=0
2444
2445 GSL_LT_VERSION="${GSL_CURRENT}:${GSL_REVISION}:${GSL_AGE}"
2446
2447
2448 GSL_LT_CBLAS_VERSION="${CBLAS_CURRENT}:${CBLAS_REVISION}:${CBLAS_AGE}"
2449
2450
2451 case "$VERSION" in
2452     *+)
2453         ;;
2454     *)
2455
2456 cat >>confdefs.h <<\_ACEOF
2457 #define RELEASED
2458 _ACEOF
2459
2460         ;;
2461 esac
2462
2463 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2464 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2465 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2467   echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else
2469   cat >conftest.make <<\_ACEOF
2470 SHELL = /bin/sh
2471 all:
2472         @echo '@@@%%%=$(MAKE)=@@@%%%'
2473 _ACEOF
2474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2476   *@@@%%%=?*=@@@%%%*)
2477     eval ac_cv_prog_make_${ac_make}_set=yes;;
2478   *)
2479     eval ac_cv_prog_make_${ac_make}_set=no;;
2480 esac
2481 rm -f conftest.make
2482 fi
2483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2484   { echo "$as_me:$LINENO: result: yes" >&5
2485 echo "${ECHO_T}yes" >&6; }
2486   SET_MAKE=
2487 else
2488   { echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6; }
2490   SET_MAKE="MAKE=${MAKE-make}"
2491 fi
2492
2493
2494 # Make sure we can run config.sub.
2495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2496   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2497 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2498    { (exit 1); exit 1; }; }
2499
2500 { echo "$as_me:$LINENO: checking build system type" >&5
2501 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_build+set}" = set; then
2503   echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505   ac_build_alias=$build_alias
2506 test "x$ac_build_alias" = x &&
2507   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2508 test "x$ac_build_alias" = x &&
2509   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2510 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2511    { (exit 1); exit 1; }; }
2512 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2513   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2514 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2515    { (exit 1); exit 1; }; }
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2519 echo "${ECHO_T}$ac_cv_build" >&6; }
2520 case $ac_cv_build in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2523 echo "$as_me: error: invalid value of canonical build" >&2;}
2524    { (exit 1); exit 1; }; };;
2525 esac
2526 build=$ac_cv_build
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_build
2529 shift
2530 build_cpu=$1
2531 build_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 build_os=$*
2536 IFS=$ac_save_IFS
2537 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 { echo "$as_me:$LINENO: checking host system type" >&5
2541 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_host+set}" = set; then
2543   echo $ECHO_N "(cached) $ECHO_C" >&6
2544 else
2545   if test "x$host_alias" = x; then
2546   ac_cv_host=$ac_cv_build
2547 else
2548   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2549     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2551    { (exit 1); exit 1; }; }
2552 fi
2553
2554 fi
2555 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2556 echo "${ECHO_T}$ac_cv_host" >&6; }
2557 case $ac_cv_host in
2558 *-*-*) ;;
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2560 echo "$as_me: error: invalid value of canonical host" >&2;}
2561    { (exit 1); exit 1; }; };;
2562 esac
2563 host=$ac_cv_host
2564 ac_save_IFS=$IFS; IFS='-'
2565 set x $ac_cv_host
2566 shift
2567 host_cpu=$1
2568 host_vendor=$2
2569 shift; shift
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2572 host_os=$*
2573 IFS=$ac_save_IFS
2574 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2575
2576
2577
2578 ac_ext=c
2579 ac_cpp='$CPP $CPPFLAGS'
2580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2583
2584 ac_ext=c
2585 ac_cpp='$CPP $CPPFLAGS'
2586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589 if test -n "$ac_tool_prefix"; then
2590   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2591 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2594 if test "${ac_cv_prog_CC+set}" = set; then
2595   echo $ECHO_N "(cached) $ECHO_C" >&6
2596 else
2597   if test -n "$CC"; then
2598   ac_cv_prog_CC="$CC" # Let the user override the test.
2599 else
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH
2602 do
2603   IFS=$as_save_IFS
2604   test -z "$as_dir" && as_dir=.
2605   for ac_exec_ext in '' $ac_executable_extensions; do
2606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2608     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609     break 2
2610   fi
2611 done
2612 done
2613 IFS=$as_save_IFS
2614
2615 fi
2616 fi
2617 CC=$ac_cv_prog_CC
2618 if test -n "$CC"; then
2619   { echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6; }
2621 else
2622   { echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6; }
2624 fi
2625
2626
2627 fi
2628 if test -z "$ac_cv_prog_CC"; then
2629   ac_ct_CC=$CC
2630   # Extract the first word of "gcc", so it can be a program name with args.
2631 set dummy gcc; ac_word=$2
2632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2634 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635   echo $ECHO_N "(cached) $ECHO_C" >&6
2636 else
2637   if test -n "$ac_ct_CC"; then
2638   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2639 else
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 for as_dir in $PATH
2642 do
2643   IFS=$as_save_IFS
2644   test -z "$as_dir" && as_dir=.
2645   for ac_exec_ext in '' $ac_executable_extensions; do
2646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647     ac_cv_prog_ac_ct_CC="gcc"
2648     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649     break 2
2650   fi
2651 done
2652 done
2653 IFS=$as_save_IFS
2654
2655 fi
2656 fi
2657 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2658 if test -n "$ac_ct_CC"; then
2659   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2660 echo "${ECHO_T}$ac_ct_CC" >&6; }
2661 else
2662   { echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6; }
2664 fi
2665
2666   if test "x$ac_ct_CC" = x; then
2667     CC=""
2668   else
2669     case $cross_compiling:$ac_tool_warned in
2670 yes:)
2671 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2672 whose name does not start with the host triplet.  If you think this
2673 configuration is useful to you, please write to autoconf@gnu.org." >&5
2674 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2675 whose name does not start with the host triplet.  If you think this
2676 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2677 ac_tool_warned=yes ;;
2678 esac
2679     CC=$ac_ct_CC
2680   fi
2681 else
2682   CC="$ac_cv_prog_CC"
2683 fi
2684
2685 if test -z "$CC"; then
2686           if test -n "$ac_tool_prefix"; then
2687     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2688 set dummy ${ac_tool_prefix}cc; ac_word=$2
2689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2691 if test "${ac_cv_prog_CC+set}" = set; then
2692   echo $ECHO_N "(cached) $ECHO_C" >&6
2693 else
2694   if test -n "$CC"; then
2695   ac_cv_prog_CC="$CC" # Let the user override the test.
2696 else
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 for as_dir in $PATH
2699 do
2700   IFS=$as_save_IFS
2701   test -z "$as_dir" && as_dir=.
2702   for ac_exec_ext in '' $ac_executable_extensions; do
2703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704     ac_cv_prog_CC="${ac_tool_prefix}cc"
2705     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706     break 2
2707   fi
2708 done
2709 done
2710 IFS=$as_save_IFS
2711
2712 fi
2713 fi
2714 CC=$ac_cv_prog_CC
2715 if test -n "$CC"; then
2716   { echo "$as_me:$LINENO: result: $CC" >&5
2717 echo "${ECHO_T}$CC" >&6; }
2718 else
2719   { echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6; }
2721 fi
2722
2723
2724   fi
2725 fi
2726 if test -z "$CC"; then
2727   # Extract the first word of "cc", so it can be a program name with args.
2728 set dummy cc; ac_word=$2
2729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_CC+set}" = set; then
2732   echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734   if test -n "$CC"; then
2735   ac_cv_prog_CC="$CC" # Let the user override the test.
2736 else
2737   ac_prog_rejected=no
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2740 do
2741   IFS=$as_save_IFS
2742   test -z "$as_dir" && as_dir=.
2743   for ac_exec_ext in '' $ac_executable_extensions; do
2744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2746        ac_prog_rejected=yes
2747        continue
2748      fi
2749     ac_cv_prog_CC="cc"
2750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751     break 2
2752   fi
2753 done
2754 done
2755 IFS=$as_save_IFS
2756
2757 if test $ac_prog_rejected = yes; then
2758   # We found a bogon in the path, so make sure we never use it.
2759   set dummy $ac_cv_prog_CC
2760   shift
2761   if test $# != 0; then
2762     # We chose a different compiler from the bogus one.
2763     # However, it has the same basename, so the bogon will be chosen
2764     # first if we set CC to just the basename; use the full file name.
2765     shift
2766     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2767   fi
2768 fi
2769 fi
2770 fi
2771 CC=$ac_cv_prog_CC
2772 if test -n "$CC"; then
2773   { echo "$as_me:$LINENO: result: $CC" >&5
2774 echo "${ECHO_T}$CC" >&6; }
2775 else
2776   { echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6; }
2778 fi
2779
2780
2781 fi
2782 if test -z "$CC"; then
2783   if test -n "$ac_tool_prefix"; then
2784   for ac_prog in cl.exe
2785   do
2786     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2790 if test "${ac_cv_prog_CC+set}" = set; then
2791   echo $ECHO_N "(cached) $ECHO_C" >&6
2792 else
2793   if test -n "$CC"; then
2794   ac_cv_prog_CC="$CC" # Let the user override the test.
2795 else
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 for as_dir in $PATH
2798 do
2799   IFS=$as_save_IFS
2800   test -z "$as_dir" && as_dir=.
2801   for ac_exec_ext in '' $ac_executable_extensions; do
2802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2804     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805     break 2
2806   fi
2807 done
2808 done
2809 IFS=$as_save_IFS
2810
2811 fi
2812 fi
2813 CC=$ac_cv_prog_CC
2814 if test -n "$CC"; then
2815   { echo "$as_me:$LINENO: result: $CC" >&5
2816 echo "${ECHO_T}$CC" >&6; }
2817 else
2818   { echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6; }
2820 fi
2821
2822
2823     test -n "$CC" && break
2824   done
2825 fi
2826 if test -z "$CC"; then
2827   ac_ct_CC=$CC
2828   for ac_prog in cl.exe
2829 do
2830   # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy $ac_prog; ac_word=$2
2832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2834 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2835   echo $ECHO_N "(cached) $ECHO_C" >&6
2836 else
2837   if test -n "$ac_ct_CC"; then
2838   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2839 else
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 for as_dir in $PATH
2842 do
2843   IFS=$as_save_IFS
2844   test -z "$as_dir" && as_dir=.
2845   for ac_exec_ext in '' $ac_executable_extensions; do
2846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847     ac_cv_prog_ac_ct_CC="$ac_prog"
2848     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849     break 2
2850   fi
2851 done
2852 done
2853 IFS=$as_save_IFS
2854
2855 fi
2856 fi
2857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2858 if test -n "$ac_ct_CC"; then
2859   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2860 echo "${ECHO_T}$ac_ct_CC" >&6; }
2861 else
2862   { echo "$as_me:$LINENO: result: no" >&5
2863 echo "${ECHO_T}no" >&6; }
2864 fi
2865
2866
2867   test -n "$ac_ct_CC" && break
2868 done
2869
2870   if test "x$ac_ct_CC" = x; then
2871     CC=""
2872   else
2873     case $cross_compiling:$ac_tool_warned in
2874 yes:)
2875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2876 whose name does not start with the host triplet.  If you think this
2877 configuration is useful to you, please write to autoconf@gnu.org." >&5
2878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2879 whose name does not start with the host triplet.  If you think this
2880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2881 ac_tool_warned=yes ;;
2882 esac
2883     CC=$ac_ct_CC
2884   fi
2885 fi
2886
2887 fi
2888
2889
2890 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2891 See \`config.log' for more details." >&5
2892 echo "$as_me: error: no acceptable C compiler found in \$PATH
2893 See \`config.log' for more details." >&2;}
2894    { (exit 1); exit 1; }; }
2895
2896 # Provide some information about the compiler.
2897 echo "$as_me:$LINENO: checking for C compiler version" >&5
2898 ac_compiler=`set X $ac_compile; echo $2`
2899 { (ac_try="$ac_compiler --version >&5"
2900 case "(($ac_try" in
2901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902   *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905   (eval "$ac_compiler --version >&5") 2>&5
2906   ac_status=$?
2907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908   (exit $ac_status); }
2909 { (ac_try="$ac_compiler -v >&5"
2910 case "(($ac_try" in
2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912   *) ac_try_echo=$ac_try;;
2913 esac
2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2915   (eval "$ac_compiler -v >&5") 2>&5
2916   ac_status=$?
2917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918   (exit $ac_status); }
2919 { (ac_try="$ac_compiler -V >&5"
2920 case "(($ac_try" in
2921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922   *) ac_try_echo=$ac_try;;
2923 esac
2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2925   (eval "$ac_compiler -V >&5") 2>&5
2926   ac_status=$?
2927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928   (exit $ac_status); }
2929
2930 cat >conftest.$ac_ext <<_ACEOF
2931 /* confdefs.h.  */
2932 _ACEOF
2933 cat confdefs.h >>conftest.$ac_ext
2934 cat >>conftest.$ac_ext <<_ACEOF
2935 /* end confdefs.h.  */
2936
2937 int
2938 main ()
2939 {
2940
2941   ;
2942   return 0;
2943 }
2944 _ACEOF
2945 ac_clean_files_save=$ac_clean_files
2946 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2947 # Try to create an executable without -o first, disregard a.out.
2948 # It will help us diagnose broken compilers, and finding out an intuition
2949 # of exeext.
2950 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2951 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2952 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2953 #
2954 # List of possible output files, starting from the most likely.
2955 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2956 # only as a last resort.  b.out is created by i960 compilers.
2957 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2958 #
2959 # The IRIX 6 linker writes into existing files which may not be
2960 # executable, retaining their permissions.  Remove them first so a
2961 # subsequent execution test works.
2962 ac_rmfiles=
2963 for ac_file in $ac_files
2964 do
2965   case $ac_file in
2966     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2967     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2968   esac
2969 done
2970 rm -f $ac_rmfiles
2971
2972 if { (ac_try="$ac_link_default"
2973 case "(($ac_try" in
2974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975   *) ac_try_echo=$ac_try;;
2976 esac
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978   (eval "$ac_link_default") 2>&5
2979   ac_status=$?
2980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981   (exit $ac_status); }; then
2982   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2984 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2985 # so that the user can short-circuit this test for compilers unknown to
2986 # Autoconf.
2987 for ac_file in $ac_files ''
2988 do
2989   test -f "$ac_file" || continue
2990   case $ac_file in
2991     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2992         ;;
2993     [ab].out )
2994         # We found the default executable, but exeext='' is most
2995         # certainly right.
2996         break;;
2997     *.* )
2998         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2999         then :; else
3000            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3001         fi
3002         # We set ac_cv_exeext here because the later test for it is not
3003         # safe: cross compilers may not add the suffix if given an `-o'
3004         # argument, so we may need to know it at that point already.
3005         # Even if this section looks crufty: it has the advantage of
3006         # actually working.
3007         break;;
3008     * )
3009         break;;
3010   esac
3011 done
3012 test "$ac_cv_exeext" = no && ac_cv_exeext=
3013
3014 else
3015   ac_file=''
3016 fi
3017
3018 { echo "$as_me:$LINENO: result: $ac_file" >&5
3019 echo "${ECHO_T}$ac_file" >&6; }
3020 if test -z "$ac_file"; then
3021   echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3023
3024 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: C compiler cannot create executables
3027 See \`config.log' for more details." >&2;}
3028    { (exit 77); exit 77; }; }
3029 fi
3030
3031 ac_exeext=$ac_cv_exeext
3032
3033 # Check that the compiler produces executables we can run.  If not, either
3034 # the compiler is broken, or we cross compile.
3035 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3036 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3037 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3038 # If not cross compiling, check that we can run a simple program.
3039 if test "$cross_compiling" != yes; then
3040   if { ac_try='./$ac_file'
3041   { (case "(($ac_try" in
3042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043   *) ac_try_echo=$ac_try;;
3044 esac
3045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046   (eval "$ac_try") 2>&5
3047   ac_status=$?
3048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049   (exit $ac_status); }; }; then
3050     cross_compiling=no
3051   else
3052     if test "$cross_compiling" = maybe; then
3053         cross_compiling=yes
3054     else
3055         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3056 If you meant to cross compile, use \`--host'.
3057 See \`config.log' for more details." >&5
3058 echo "$as_me: error: cannot run C compiled programs.
3059 If you meant to cross compile, use \`--host'.
3060 See \`config.log' for more details." >&2;}
3061    { (exit 1); exit 1; }; }
3062     fi
3063   fi
3064 fi
3065 { echo "$as_me:$LINENO: result: yes" >&5
3066 echo "${ECHO_T}yes" >&6; }
3067
3068 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3069 ac_clean_files=$ac_clean_files_save
3070 # Check that the compiler produces executables we can run.  If not, either
3071 # the compiler is broken, or we cross compile.
3072 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3073 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3074 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3075 echo "${ECHO_T}$cross_compiling" >&6; }
3076
3077 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3078 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3079 if { (ac_try="$ac_link"
3080 case "(($ac_try" in
3081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082   *) ac_try_echo=$ac_try;;
3083 esac
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085   (eval "$ac_link") 2>&5
3086   ac_status=$?
3087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088   (exit $ac_status); }; then
3089   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3090 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3091 # work properly (i.e., refer to `conftest.exe'), while it won't with
3092 # `rm'.
3093 for ac_file in conftest.exe conftest conftest.*; do
3094   test -f "$ac_file" || continue
3095   case $ac_file in
3096     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3097     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3098           break;;
3099     * ) break;;
3100   esac
3101 done
3102 else
3103   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3104 See \`config.log' for more details." >&5
3105 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3106 See \`config.log' for more details." >&2;}
3107    { (exit 1); exit 1; }; }
3108 fi
3109
3110 rm -f conftest$ac_cv_exeext
3111 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3112 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3113
3114 rm -f conftest.$ac_ext
3115 EXEEXT=$ac_cv_exeext
3116 ac_exeext=$EXEEXT
3117 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3118 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3119 if test "${ac_cv_objext+set}" = set; then
3120   echo $ECHO_N "(cached) $ECHO_C" >&6
3121 else
3122   cat >conftest.$ac_ext <<_ACEOF
3123 /* confdefs.h.  */
3124 _ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h.  */
3128
3129 int
3130 main ()
3131 {
3132
3133   ;
3134   return 0;
3135 }
3136 _ACEOF
3137 rm -f conftest.o conftest.obj
3138 if { (ac_try="$ac_compile"
3139 case "(($ac_try" in
3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141   *) ac_try_echo=$ac_try;;
3142 esac
3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3144   (eval "$ac_compile") 2>&5
3145   ac_status=$?
3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147   (exit $ac_status); }; then
3148   for ac_file in conftest.o conftest.obj conftest.*; do
3149   test -f "$ac_file" || continue;
3150   case $ac_file in
3151     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3152     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3153        break;;
3154   esac
3155 done
3156 else
3157   echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3159
3160 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3161 See \`config.log' for more details." >&5
3162 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3163 See \`config.log' for more details." >&2;}
3164    { (exit 1); exit 1; }; }
3165 fi
3166
3167 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3168 fi
3169 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3170 echo "${ECHO_T}$ac_cv_objext" >&6; }
3171 OBJEXT=$ac_cv_objext
3172 ac_objext=$OBJEXT
3173 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3174 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3175 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3176   echo $ECHO_N "(cached) $ECHO_C" >&6
3177 else
3178   cat >conftest.$ac_ext <<_ACEOF
3179 /* confdefs.h.  */
3180 _ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h.  */
3184
3185 int
3186 main ()
3187 {
3188 #ifndef __GNUC__
3189        choke me
3190 #endif
3191
3192   ;
3193   return 0;
3194 }
3195 _ACEOF
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3198 case "(($ac_try" in
3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200   *) ac_try_echo=$ac_try;;
3201 esac
3202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3203   (eval "$ac_compile") 2>conftest.er1
3204   ac_status=$?
3205   grep -v '^ *+' conftest.er1 >conftest.err
3206   rm -f conftest.er1
3207   cat conftest.err >&5
3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209   (exit $ac_status); } && {
3210          test -z "$ac_c_werror_flag" ||
3211          test ! -s conftest.err
3212        } && test -s conftest.$ac_objext; then
3213   ac_compiler_gnu=yes
3214 else
3215   echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218         ac_compiler_gnu=no
3219 fi
3220
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223
3224 fi
3225 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3226 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3227 GCC=`test $ac_compiler_gnu = yes && echo yes`
3228 ac_test_CFLAGS=${CFLAGS+set}
3229 ac_save_CFLAGS=$CFLAGS
3230 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3231 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3232 if test "${ac_cv_prog_cc_g+set}" = set; then
3233   echo $ECHO_N "(cached) $ECHO_C" >&6
3234 else
3235   ac_save_c_werror_flag=$ac_c_werror_flag
3236    ac_c_werror_flag=yes
3237    ac_cv_prog_cc_g=no
3238    CFLAGS="-g"
3239    cat >conftest.$ac_ext <<_ACEOF
3240 /* confdefs.h.  */
3241 _ACEOF
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h.  */
3245
3246 int
3247 main ()
3248 {
3249
3250   ;
3251   return 0;
3252 }
3253 _ACEOF
3254 rm -f conftest.$ac_objext
3255 if { (ac_try="$ac_compile"
3256 case "(($ac_try" in
3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258   *) ac_try_echo=$ac_try;;
3259 esac
3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261   (eval "$ac_compile") 2>conftest.er1
3262   ac_status=$?
3263   grep -v '^ *+' conftest.er1 >conftest.err
3264   rm -f conftest.er1
3265   cat conftest.err >&5
3266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267   (exit $ac_status); } && {
3268          test -z "$ac_c_werror_flag" ||
3269          test ! -s conftest.err
3270        } && test -s conftest.$ac_objext; then
3271   ac_cv_prog_cc_g=yes
3272 else
3273   echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3275
3276         CFLAGS=""
3277       cat >conftest.$ac_ext <<_ACEOF
3278 /* confdefs.h.  */
3279 _ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h.  */
3283
3284 int
3285 main ()
3286 {
3287
3288   ;
3289   return 0;
3290 }
3291 _ACEOF
3292 rm -f conftest.$ac_objext
3293 if { (ac_try="$ac_compile"
3294 case "(($ac_try" in
3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296   *) ac_try_echo=$ac_try;;
3297 esac
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299   (eval "$ac_compile") 2>conftest.er1
3300   ac_status=$?
3301   grep -v '^ *+' conftest.er1 >conftest.err
3302   rm -f conftest.er1
3303   cat conftest.err >&5
3304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305   (exit $ac_status); } && {
3306          test -z "$ac_c_werror_flag" ||
3307          test ! -s conftest.err
3308        } && test -s conftest.$ac_objext; then
3309   :
3310 else
3311   echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3313
3314         ac_c_werror_flag=$ac_save_c_werror_flag
3315          CFLAGS="-g"
3316          cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h.  */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h.  */
3322
3323 int
3324 main ()
3325 {
3326
3327   ;
3328   return 0;
3329 }
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3333 case "(($ac_try" in
3334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335   *) ac_try_echo=$ac_try;;
3336 esac
3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338   (eval "$ac_compile") 2>conftest.er1
3339   ac_status=$?
3340   grep -v '^ *+' conftest.er1 >conftest.err
3341   rm -f conftest.er1
3342   cat conftest.err >&5
3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344   (exit $ac_status); } && {
3345          test -z "$ac_c_werror_flag" ||
3346          test ! -s conftest.err
3347        } && test -s conftest.$ac_objext; then
3348   ac_cv_prog_cc_g=yes
3349 else
3350   echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3352
3353
3354 fi
3355
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 fi
3358
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 fi
3361
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363    ac_c_werror_flag=$ac_save_c_werror_flag
3364 fi
3365 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3366 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3367 if test "$ac_test_CFLAGS" = set; then
3368   CFLAGS=$ac_save_CFLAGS
3369 elif test $ac_cv_prog_cc_g = yes; then
3370   if test "$GCC" = yes; then
3371     CFLAGS="-g -O2"
3372   else
3373     CFLAGS="-g"
3374   fi
3375 else
3376   if test "$GCC" = yes; then
3377     CFLAGS="-O2"
3378   else
3379     CFLAGS=
3380   fi
3381 fi
3382 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3383 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3384 if test "${ac_cv_prog_cc_c89+set}" = set; then
3385   echo $ECHO_N "(cached) $ECHO_C" >&6
3386 else
3387   ac_cv_prog_cc_c89=no
3388 ac_save_CC=$CC
3389 cat >conftest.$ac_ext <<_ACEOF
3390 /* confdefs.h.  */
3391 _ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h.  */
3395 #include <stdarg.h>
3396 #include <stdio.h>
3397 #include <sys/types.h>
3398 #include <sys/stat.h>
3399 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3400 struct buf { int x; };
3401 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3402 static char *e (p, i)
3403      char **p;
3404      int i;
3405 {
3406   return p[i];
3407 }
3408 static char *f (char * (*g) (char **, int), char **p, ...)
3409 {
3410   char *s;
3411   va_list v;
3412   va_start (v,p);
3413   s = g (p, va_arg (v,int));
3414   va_end (v);
3415   return s;
3416 }
3417
3418 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3419    function prototypes and stuff, but not '\xHH' hex character constants.
3420    These don't provoke an error unfortunately, instead are silently treated
3421    as 'x'.  The following induces an error, until -std is added to get
3422    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3423    array size at least.  It's necessary to write '\x00'==0 to get something
3424    that's true only with -std.  */
3425 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3426
3427 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3428    inside strings and character constants.  */
3429 #define FOO(x) 'x'
3430 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3431
3432 int test (int i, double x);
3433 struct s1 {int (*f) (int a);};
3434 struct s2 {int (*f) (double a);};
3435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3436 int argc;
3437 char **argv;
3438 int
3439 main ()
3440 {
3441 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3442   ;
3443   return 0;
3444 }
3445 _ACEOF
3446 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3447         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3448 do
3449   CC="$ac_save_CC $ac_arg"
3450   rm -f conftest.$ac_objext
3451 if { (ac_try="$ac_compile"
3452 case "(($ac_try" in
3453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454   *) ac_try_echo=$ac_try;;
3455 esac
3456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457   (eval "$ac_compile") 2>conftest.er1
3458   ac_status=$?
3459   grep -v '^ *+' conftest.er1 >conftest.err
3460   rm -f conftest.er1
3461   cat conftest.err >&5
3462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463   (exit $ac_status); } && {
3464          test -z "$ac_c_werror_flag" ||
3465          test ! -s conftest.err
3466        } && test -s conftest.$ac_objext; then
3467   ac_cv_prog_cc_c89=$ac_arg
3468 else
3469   echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3471
3472
3473 fi
3474
3475 rm -f core conftest.err conftest.$ac_objext
3476   test "x$ac_cv_prog_cc_c89" != "xno" && break
3477 done
3478 rm -f conftest.$ac_ext
3479 CC=$ac_save_CC
3480
3481 fi
3482 # AC_CACHE_VAL
3483 case "x$ac_cv_prog_cc_c89" in
3484   x)
3485     { echo "$as_me:$LINENO: result: none needed" >&5
3486 echo "${ECHO_T}none needed" >&6; } ;;
3487   xno)
3488     { echo "$as_me:$LINENO: result: unsupported" >&5
3489 echo "${ECHO_T}unsupported" >&6; } ;;
3490   *)
3491     CC="$CC $ac_cv_prog_cc_c89"
3492     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3493 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3494 esac
3495
3496
3497 ac_ext=c
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502
3503 ac_ext=c
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3509 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3510 # On Suns, sometimes $CPP names a directory.
3511 if test -n "$CPP" && test -d "$CPP"; then
3512   CPP=
3513 fi
3514 if test -z "$CPP"; then
3515   if test "${ac_cv_prog_CPP+set}" = set; then
3516   echo $ECHO_N "(cached) $ECHO_C" >&6
3517 else
3518       # Double quotes because CPP needs to be expanded
3519     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3520     do
3521       ac_preproc_ok=false
3522 for ac_c_preproc_warn_flag in '' yes
3523 do
3524   # Use a header file that comes with gcc, so configuring glibc
3525   # with a fresh cross-compiler works.
3526   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3527   # <limits.h> exists even on freestanding compilers.
3528   # On the NeXT, cc -E runs the code through the compiler's parser,
3529   # not just through cpp. "Syntax error" is here to catch this case.
3530   cat >conftest.$ac_ext <<_ACEOF
3531 /* confdefs.h.  */
3532 _ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h.  */
3536 #ifdef __STDC__
3537 # include <limits.h>
3538 #else
3539 # include <assert.h>
3540 #endif
3541                      Syntax error
3542 _ACEOF
3543 if { (ac_try="$ac_cpp conftest.$ac_ext"
3544 case "(($ac_try" in
3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3546   *) ac_try_echo=$ac_try;;
3547 esac
3548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3549   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3550   ac_status=$?
3551   grep -v '^ *+' conftest.er1 >conftest.err
3552   rm -f conftest.er1
3553   cat conftest.err >&5
3554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555   (exit $ac_status); } >/dev/null && {
3556          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3557          test ! -s conftest.err
3558        }; then
3559   :
3560 else
3561   echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3563
3564   # Broken: fails on valid input.
3565 continue
3566 fi
3567
3568 rm -f conftest.err conftest.$ac_ext
3569
3570   # OK, works on sane cases.  Now check whether nonexistent headers
3571   # can be detected and how.
3572   cat >conftest.$ac_ext <<_ACEOF
3573 /* confdefs.h.  */
3574 _ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h.  */
3578 #include <ac_nonexistent.h>
3579 _ACEOF
3580 if { (ac_try="$ac_cpp conftest.$ac_ext"
3581 case "(($ac_try" in
3582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583   *) ac_try_echo=$ac_try;;
3584 esac
3585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3586   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3587   ac_status=$?
3588   grep -v '^ *+' conftest.er1 >conftest.err
3589   rm -f conftest.er1
3590   cat conftest.err >&5
3591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592   (exit $ac_status); } >/dev/null && {
3593          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3594          test ! -s conftest.err
3595        }; then
3596   # Broken: success on invalid input.
3597 continue
3598 else
3599   echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3601
3602   # Passes both tests.
3603 ac_preproc_ok=:
3604 break
3605 fi
3606
3607 rm -f conftest.err conftest.$ac_ext
3608
3609 done
3610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3611 rm -f conftest.err conftest.$ac_ext
3612 if $ac_preproc_ok; then
3613   break
3614 fi
3615
3616     done
3617     ac_cv_prog_CPP=$CPP
3618
3619 fi
3620   CPP=$ac_cv_prog_CPP
3621 else
3622   ac_cv_prog_CPP=$CPP
3623 fi
3624 { echo "$as_me:$LINENO: result: $CPP" >&5
3625 echo "${ECHO_T}$CPP" >&6; }
3626 ac_preproc_ok=false
3627 for ac_c_preproc_warn_flag in '' yes
3628 do
3629   # Use a header file that comes with gcc, so configuring glibc
3630   # with a fresh cross-compiler works.
3631   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3632   # <limits.h> exists even on freestanding compilers.
3633   # On the NeXT, cc -E runs the code through the compiler's parser,
3634   # not just through cpp. "Syntax error" is here to catch this case.
3635   cat >conftest.$ac_ext <<_ACEOF
3636 /* confdefs.h.  */
3637 _ACEOF
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h.  */
3641 #ifdef __STDC__
3642 # include <limits.h>
3643 #else
3644 # include <assert.h>
3645 #endif
3646                      Syntax error
3647 _ACEOF
3648 if { (ac_try="$ac_cpp conftest.$ac_ext"
3649 case "(($ac_try" in
3650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651   *) ac_try_echo=$ac_try;;
3652 esac
3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3654   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3655   ac_status=$?
3656   grep -v '^ *+' conftest.er1 >conftest.err
3657   rm -f conftest.er1
3658   cat conftest.err >&5
3659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660   (exit $ac_status); } >/dev/null && {
3661          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3662          test ! -s conftest.err
3663        }; then
3664   :
3665 else
3666   echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3668
3669   # Broken: fails on valid input.
3670 continue
3671 fi
3672
3673 rm -f conftest.err conftest.$ac_ext
3674
3675   # OK, works on sane cases.  Now check whether nonexistent headers
3676   # can be detected and how.
3677   cat >conftest.$ac_ext <<_ACEOF
3678 /* confdefs.h.  */
3679 _ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h.  */
3683 #include <ac_nonexistent.h>
3684 _ACEOF
3685 if { (ac_try="$ac_cpp conftest.$ac_ext"
3686 case "(($ac_try" in
3687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688   *) ac_try_echo=$ac_try;;
3689 esac
3690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3691   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3692   ac_status=$?
3693   grep -v '^ *+' conftest.er1 >conftest.err
3694   rm -f conftest.er1
3695   cat conftest.err >&5
3696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697   (exit $ac_status); } >/dev/null && {
3698          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3699          test ! -s conftest.err
3700        }; then
3701   # Broken: success on invalid input.
3702 continue
3703 else
3704   echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.$ac_ext >&5
3706
3707   # Passes both tests.
3708 ac_preproc_ok=:
3709 break
3710 fi
3711
3712 rm -f conftest.err conftest.$ac_ext
3713
3714 done
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3716 rm -f conftest.err conftest.$ac_ext
3717 if $ac_preproc_ok; then
3718   :
3719 else
3720   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3721 See \`config.log' for more details." >&5
3722 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3723 See \`config.log' for more details." >&2;}
3724    { (exit 1); exit 1; }; }
3725 fi
3726
3727 ac_ext=c
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732
3733 # Find a good install program.  We prefer a C program (faster),
3734 # so one script is as good as another.  But avoid the broken or
3735 # incompatible versions:
3736 # SysV /etc/install, /usr/sbin/install
3737 # SunOS /usr/etc/install
3738 # IRIX /sbin/install
3739 # AIX /bin/install
3740 # AmigaOS /C/install, which installs bootblocks on floppy discs
3741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3744 # OS/2's system install, which has a completely different semantic
3745 # ./install, which can be erroneously created by make from ./install.sh.
3746 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3747 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3748 if test -z "$INSTALL"; then
3749 if test "${ac_cv_path_install+set}" = set; then
3750   echo $ECHO_N "(cached) $ECHO_C" >&6
3751 else
3752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755   IFS=$as_save_IFS
3756   test -z "$as_dir" && as_dir=.
3757   # Account for people who put trailing slashes in PATH elements.
3758 case $as_dir/ in
3759   ./ | .// | /cC/* | \
3760   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3761   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3762   /usr/ucb/* ) ;;
3763   *)
3764     # OSF1 and SCO ODT 3.0 have their own names for install.
3765     # Don't use installbsd from OSF since it installs stuff as root
3766     # by default.
3767     for ac_prog in ginstall scoinst install; do
3768       for ac_exec_ext in '' $ac_executable_extensions; do
3769         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3770           if test $ac_prog = install &&
3771             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3772             # AIX install.  It has an incompatible calling convention.
3773             :
3774           elif test $ac_prog = install &&
3775             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3776             # program-specific install script used by HP pwplus--don't use.
3777             :
3778           else
3779             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3780             break 3
3781           fi
3782         fi
3783       done
3784     done
3785     ;;
3786 esac
3787 done
3788 IFS=$as_save_IFS
3789
3790
3791 fi
3792   if test "${ac_cv_path_install+set}" = set; then
3793     INSTALL=$ac_cv_path_install
3794   else
3795     # As a last resort, use the slow shell script.  Don't cache a
3796     # value for INSTALL within a source directory, because that will
3797     # break other packages using the cache if that directory is
3798     # removed, or if the value is a relative name.
3799     INSTALL=$ac_install_sh
3800   fi
3801 fi
3802 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3803 echo "${ECHO_T}$INSTALL" >&6; }
3804
3805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3806 # It thinks the first close brace ends the variable substitution.
3807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3808
3809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3810
3811 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3812
3813 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3814 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3815 LN_S=$as_ln_s
3816 if test "$LN_S" = "ln -s"; then
3817   { echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6; }
3819 else
3820   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3821 echo "${ECHO_T}no, using $LN_S" >&6; }
3822 fi
3823
3824 case `pwd` in
3825   *\ * | *\     *)
3826     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3827 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3828 esac
3829
3830
3831
3832 macro_version='2.2'
3833 macro_revision='1.2599'
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847 ltmain="$ac_aux_dir/ltmain.sh"
3848
3849 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3850 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3851 if test "${ac_cv_path_SED+set}" = set; then
3852   echo $ECHO_N "(cached) $ECHO_C" >&6
3853 else
3854             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3855      for ac_i in 1 2 3 4 5 6 7; do
3856        ac_script="$ac_script$as_nl$ac_script"
3857      done
3858      echo "$ac_script" | sed 99q >conftest.sed
3859      $as_unset ac_script || ac_script=
3860      # Extract the first word of "sed gsed" to use in msg output
3861 if test -z "$SED"; then
3862 set dummy sed gsed; ac_prog_name=$2
3863 if test "${ac_cv_path_SED+set}" = set; then
3864   echo $ECHO_N "(cached) $ECHO_C" >&6
3865 else
3866   ac_path_SED_found=false
3867 # Loop through the user's path and test for each of PROGNAME-LIST
3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 for as_dir in $PATH
3870 do
3871   IFS=$as_save_IFS
3872   test -z "$as_dir" && as_dir=.
3873   for ac_prog in sed gsed; do
3874   for ac_exec_ext in '' $ac_executable_extensions; do
3875     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3876     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3877     # Check for GNU ac_path_SED and select it if it is found.
3878   # Check for GNU $ac_path_SED
3879 case `"$ac_path_SED" --version 2>&1` in
3880 *GNU*)
3881   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3882 *)
3883   ac_count=0
3884   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3885   while :
3886   do
3887     cat "conftest.in" "conftest.in" >"conftest.tmp"
3888     mv "conftest.tmp" "conftest.in"
3889     cp "conftest.in" "conftest.nl"
3890     echo '' >> "conftest.nl"
3891     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3892     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3893     ac_count=`expr $ac_count + 1`
3894     if test $ac_count -gt ${ac_path_SED_max-0}; then
3895       # Best one so far, save it but keep looking for a better one
3896       ac_cv_path_SED="$ac_path_SED"
3897       ac_path_SED_max=$ac_count
3898     fi
3899     # 10*(2^10) chars as input seems more than enough
3900     test $ac_count -gt 10 && break
3901   done
3902   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3903 esac
3904
3905
3906     $ac_path_SED_found && break 3
3907   done
3908 done
3909
3910 done
3911 IFS=$as_save_IFS
3912
3913
3914 fi
3915
3916 SED="$ac_cv_path_SED"
3917 if test -z "$SED"; then
3918   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3919 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3920    { (exit 1); exit 1; }; }
3921 fi
3922
3923 else
3924   ac_cv_path_SED=$SED
3925 fi
3926
3927 fi
3928 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3929 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
3930  SED="$ac_cv_path_SED"
3931   rm -f conftest.sed
3932
3933 test -z "$SED" && SED=sed
3934 Xsed="$SED -e 1s/^X//"
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3947 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3948 if test "${ac_cv_path_GREP+set}" = set; then
3949   echo $ECHO_N "(cached) $ECHO_C" >&6
3950 else
3951   # Extract the first word of "grep ggrep" to use in msg output
3952 if test -z "$GREP"; then
3953 set dummy grep ggrep; ac_prog_name=$2
3954 if test "${ac_cv_path_GREP+set}" = set; then
3955   echo $ECHO_N "(cached) $ECHO_C" >&6
3956 else
3957   ac_path_GREP_found=false
3958 # Loop through the user's path and test for each of PROGNAME-LIST
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3961 do
3962   IFS=$as_save_IFS
3963   test -z "$as_dir" && as_dir=.
3964   for ac_prog in grep ggrep; do
3965   for ac_exec_ext in '' $ac_executable_extensions; do
3966     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3967     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3968     # Check for GNU ac_path_GREP and select it if it is found.
3969   # Check for GNU $ac_path_GREP
3970 case `"$ac_path_GREP" --version 2>&1` in
3971 *GNU*)
3972   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3973 *)
3974   ac_count=0
3975   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3976   while :
3977   do
3978     cat "conftest.in" "conftest.in" >"conftest.tmp"
3979     mv "conftest.tmp" "conftest.in"
3980     cp "conftest.in" "conftest.nl"
3981     echo 'GREP' >> "conftest.nl"
3982     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3983     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3984     ac_count=`expr $ac_count + 1`
3985     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3986       # Best one so far, save it but keep looking for a better one
3987       ac_cv_path_GREP="$ac_path_GREP"
3988       ac_path_GREP_max=$ac_count
3989     fi
3990     # 10*(2^10) chars as input seems more than enough
3991     test $ac_count -gt 10 && break
3992   done
3993   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3994 esac
3995
3996
3997     $ac_path_GREP_found && break 3
3998   done
3999 done
4000
4001 done
4002 IFS=$as_save_IFS
4003
4004
4005 fi
4006
4007 GREP="$ac_cv_path_GREP"
4008 if test -z "$GREP"; then
4009   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4010 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4011    { (exit 1); exit 1; }; }
4012 fi
4013
4014 else
4015   ac_cv_path_GREP=$GREP
4016 fi
4017
4018
4019 fi
4020 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4021 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4022  GREP="$ac_cv_path_GREP"
4023
4024
4025 { echo "$as_me:$LINENO: checking for egrep" >&5
4026 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4027 if test "${ac_cv_path_EGREP+set}" = set; then
4028   echo $ECHO_N "(cached) $ECHO_C" >&6
4029 else
4030   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4031    then ac_cv_path_EGREP="$GREP -E"
4032    else
4033      # Extract the first word of "egrep" to use in msg output
4034 if test -z "$EGREP"; then
4035 set dummy egrep; ac_prog_name=$2
4036 if test "${ac_cv_path_EGREP+set}" = set; then
4037   echo $ECHO_N "(cached) $ECHO_C" >&6
4038 else
4039   ac_path_EGREP_found=false
4040 # Loop through the user's path and test for each of PROGNAME-LIST
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4043 do
4044   IFS=$as_save_IFS
4045   test -z "$as_dir" && as_dir=.
4046   for ac_prog in egrep; do
4047   for ac_exec_ext in '' $ac_executable_extensions; do
4048     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4049     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4050     # Check for GNU ac_path_EGREP and select it if it is found.
4051   # Check for GNU $ac_path_EGREP
4052 case `"$ac_path_EGREP" --version 2>&1` in
4053 *GNU*)
4054   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4055 *)
4056   ac_count=0
4057   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4058   while :
4059   do
4060     cat "conftest.in" "conftest.in" >"conftest.tmp"
4061     mv "conftest.tmp" "conftest.in"
4062     cp "conftest.in" "conftest.nl"
4063     echo 'EGREP' >> "conftest.nl"
4064     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4065     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4066     ac_count=`expr $ac_count + 1`
4067     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4068       # Best one so far, save it but keep looking for a better one
4069       ac_cv_path_EGREP="$ac_path_EGREP"
4070       ac_path_EGREP_max=$ac_count
4071     fi
4072     # 10*(2^10) chars as input seems more than enough
4073     test $ac_count -gt 10 && break
4074   done
4075   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4076 esac
4077
4078
4079     $ac_path_EGREP_found && break 3
4080   done
4081 done
4082
4083 done
4084 IFS=$as_save_IFS
4085
4086
4087 fi
4088
4089 EGREP="$ac_cv_path_EGREP"
4090 if test -z "$EGREP"; then
4091   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4092 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4093    { (exit 1); exit 1; }; }
4094 fi
4095
4096 else
4097   ac_cv_path_EGREP=$EGREP
4098 fi
4099
4100
4101    fi
4102 fi
4103 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4104 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4105  EGREP="$ac_cv_path_EGREP"
4106
4107
4108 { echo "$as_me:$LINENO: checking for fgrep" >&5
4109 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4110 if test "${ac_cv_path_FGREP+set}" = set; then
4111   echo $ECHO_N "(cached) $ECHO_C" >&6
4112 else
4113   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4114    then ac_cv_path_FGREP="$GREP -F"
4115    else
4116      # Extract the first word of "fgrep" to use in msg output
4117 if test -z "$FGREP"; then
4118 set dummy fgrep; ac_prog_name=$2
4119 if test "${ac_cv_path_FGREP+set}" = set; then
4120   echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122   ac_path_FGREP_found=false
4123 # Loop through the user's path and test for each of PROGNAME-LIST
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4126 do
4127   IFS=$as_save_IFS
4128   test -z "$as_dir" && as_dir=.
4129   for ac_prog in fgrep; do
4130   for ac_exec_ext in '' $ac_executable_extensions; do
4131     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4132     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4133     # Check for GNU ac_path_FGREP and select it if it is found.
4134   # Check for GNU $ac_path_FGREP
4135 case `"$ac_path_FGREP" --version 2>&1` in
4136 *GNU*)
4137   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4138 *)
4139   ac_count=0
4140   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4141   while :
4142   do
4143     cat "conftest.in" "conftest.in" >"conftest.tmp"
4144     mv "conftest.tmp" "conftest.in"
4145     cp "conftest.in" "conftest.nl"
4146     echo 'FGREP' >> "conftest.nl"
4147     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149     ac_count=`expr $ac_count + 1`
4150     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4151       # Best one so far, save it but keep looking for a better one
4152       ac_cv_path_FGREP="$ac_path_FGREP"
4153       ac_path_FGREP_max=$ac_count
4154     fi
4155     # 10*(2^10) chars as input seems more than enough
4156     test $ac_count -gt 10 && break
4157   done
4158   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4159 esac
4160
4161
4162     $ac_path_FGREP_found && break 3
4163   done
4164 done
4165
4166 done
4167 IFS=$as_save_IFS
4168
4169
4170 fi
4171
4172 FGREP="$ac_cv_path_FGREP"
4173 if test -z "$FGREP"; then
4174   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4175 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4176    { (exit 1); exit 1; }; }
4177 fi
4178
4179 else
4180   ac_cv_path_FGREP=$FGREP
4181 fi
4182
4183
4184    fi
4185 fi
4186 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4187 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4188  FGREP="$ac_cv_path_FGREP"
4189
4190
4191 test -z "$GREP" && GREP=grep
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211 # Check whether --with-gnu-ld was given.
4212 if test "${with_gnu_ld+set}" = set; then
4213   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4214 else
4215   with_gnu_ld=no
4216 fi
4217
4218 ac_prog=ld
4219 if test "$GCC" = yes; then
4220   # Check if gcc -print-prog-name=ld gives a path.
4221   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4222 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4223   case $host in
4224   *-*-mingw*)
4225     # gcc leaves a trailing carriage return which upsets mingw
4226     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4227   *)
4228     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4229   esac
4230   case $ac_prog in
4231     # Accept absolute paths.
4232     [\\/]* | ?:[\\/]*)
4233       re_direlt='/[^/][^/]*/\.\./'
4234       # Canonicalize the pathname of ld
4235       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4236       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4237         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4238       done
4239       test -z "$LD" && LD="$ac_prog"
4240       ;;
4241   "")
4242     # If it fails, then pretend we aren't using GCC.
4243     ac_prog=ld
4244     ;;
4245   *)
4246     # If it is relative, then search for the first ld in PATH.
4247     with_gnu_ld=unknown
4248     ;;
4249   esac
4250 elif test "$with_gnu_ld" = yes; then
4251   { echo "$as_me:$LINENO: checking for GNU ld" >&5
4252 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4253 else
4254   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4255 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4256 fi
4257 if test "${lt_cv_path_LD+set}" = set; then
4258   echo $ECHO_N "(cached) $ECHO_C" >&6
4259 else
4260   if test -z "$LD"; then
4261   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4262   for ac_dir in $PATH; do
4263     IFS="$lt_save_ifs"
4264     test -z "$ac_dir" && ac_dir=.
4265     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4266       lt_cv_path_LD="$ac_dir/$ac_prog"
4267       # Check to see if the program is GNU ld.  I'd rather use --version,
4268       # but apparently some variants of GNU ld only accept -v.
4269       # Break only if it was the GNU/non-GNU ld that we prefer.
4270       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4271       *GNU* | *'with BFD'*)
4272         test "$with_gnu_ld" != no && break
4273         ;;
4274       *)
4275         test "$with_gnu_ld" != yes && break
4276         ;;
4277       esac
4278     fi
4279   done
4280   IFS="$lt_save_ifs"
4281 else
4282   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4283 fi
4284 fi
4285
4286 LD="$lt_cv_path_LD"
4287 if test -n "$LD"; then
4288   { echo "$as_me:$LINENO: result: $LD" >&5
4289 echo "${ECHO_T}$LD" >&6; }
4290 else
4291   { echo "$as_me:$LINENO: result: no" >&5
4292 echo "${ECHO_T}no" >&6; }
4293 fi
4294 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4295 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4296    { (exit 1); exit 1; }; }
4297 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4298 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4299 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4300   echo $ECHO_N "(cached) $ECHO_C" >&6
4301 else
4302   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4303 case `$LD -v 2>&1 </dev/null` in
4304 *GNU* | *'with BFD'*)
4305   lt_cv_prog_gnu_ld=yes
4306   ;;
4307 *)
4308   lt_cv_prog_gnu_ld=no
4309   ;;
4310 esac
4311 fi
4312 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4313 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4314 with_gnu_ld=$lt_cv_prog_gnu_ld
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4326 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4327 if test "${lt_cv_path_NM+set}" = set; then
4328   echo $ECHO_N "(cached) $ECHO_C" >&6
4329 else
4330   if test -n "$NM"; then
4331   # Let the user override the test.
4332   lt_cv_path_NM="$NM"
4333 else
4334   lt_nm_to_check="${ac_tool_prefix}nm"
4335   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4336     lt_nm_to_check="$lt_nm_to_check nm"
4337   fi
4338   for lt_tmp_nm in $lt_nm_to_check; do
4339     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4340     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4341       IFS="$lt_save_ifs"
4342       test -z "$ac_dir" && ac_dir=.
4343       tmp_nm="$ac_dir/$lt_tmp_nm"
4344       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4345         # Check to see if the nm accepts a BSD-compat flag.
4346         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4347         #   nm: unknown option "B" ignored
4348         # Tru64's nm complains that /dev/null is an invalid object file
4349         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4350         */dev/null* | *'Invalid file or object type'*)
4351           lt_cv_path_NM="$tmp_nm -B"
4352           break
4353           ;;
4354         *)
4355           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4356           */dev/null*)
4357             lt_cv_path_NM="$tmp_nm -p"
4358             break
4359             ;;
4360           *)
4361             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4362             continue # so that we can try to find one that supports BSD flags
4363             ;;
4364           esac
4365           ;;
4366         esac
4367       fi
4368     done
4369     IFS="$lt_save_ifs"
4370   done
4371   : ${lt_cv_path_NM=no}
4372 fi
4373 fi
4374 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4375 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4376 if test "$lt_cv_path_NM" != "no"; then
4377   NM="$lt_cv_path_NM"
4378 else
4379   # Didn't find any BSD compatible name lister, look for dumpbin.
4380   if test -n "$ac_tool_prefix"; then
4381   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4382   do
4383     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4388   echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4390   if test -n "$DUMPBIN"; then
4391   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4392 else
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 for as_dir in $PATH
4395 do
4396   IFS=$as_save_IFS
4397   test -z "$as_dir" && as_dir=.
4398   for ac_exec_ext in '' $ac_executable_extensions; do
4399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4401     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4402     break 2
4403   fi
4404 done
4405 done
4406 IFS=$as_save_IFS
4407
4408 fi
4409 fi
4410 DUMPBIN=$ac_cv_prog_DUMPBIN
4411 if test -n "$DUMPBIN"; then
4412   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4413 echo "${ECHO_T}$DUMPBIN" >&6; }
4414 else
4415   { echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6; }
4417 fi
4418
4419
4420     test -n "$DUMPBIN" && break
4421   done
4422 fi
4423 if test -z "$DUMPBIN"; then
4424   ac_ct_DUMPBIN=$DUMPBIN
4425   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4426 do
4427   # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy $ac_prog; ac_word=$2
4429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4431 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4432   echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434   if test -n "$ac_ct_DUMPBIN"; then
4435   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4439 do
4440   IFS=$as_save_IFS
4441   test -z "$as_dir" && as_dir=.
4442   for ac_exec_ext in '' $ac_executable_extensions; do
4443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4444     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4445     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446     break 2
4447   fi
4448 done
4449 done
4450 IFS=$as_save_IFS
4451
4452 fi
4453 fi
4454 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4455 if test -n "$ac_ct_DUMPBIN"; then
4456   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4457 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4458 else
4459   { echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6; }
4461 fi
4462
4463
4464   test -n "$ac_ct_DUMPBIN" && break
4465 done
4466
4467   if test "x$ac_ct_DUMPBIN" = x; then
4468     DUMPBIN=":"
4469   else
4470     case $cross_compiling:$ac_tool_warned in
4471 yes:)
4472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4473 whose name does not start with the host triplet.  If you think this
4474 configuration is useful to you, please write to autoconf@gnu.org." >&5
4475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4476 whose name does not start with the host triplet.  If you think this
4477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4478 ac_tool_warned=yes ;;
4479 esac
4480     DUMPBIN=$ac_ct_DUMPBIN
4481   fi
4482 fi
4483
4484
4485   if test "$DUMPBIN" != ":"; then
4486     NM="$DUMPBIN"
4487   fi
4488 fi
4489 test -z "$NM" && NM=nm
4490
4491
4492
4493
4494
4495
4496 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4497 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4498 if test "${lt_cv_nm_interface+set}" = set; then
4499   echo $ECHO_N "(cached) $ECHO_C" >&6
4500 else
4501   lt_cv_nm_interface="BSD nm"
4502   echo "int some_variable = 0;" > conftest.$ac_ext
4503   (eval echo "\"\$as_me:4503: $ac_compile\"" >&5)
4504   (eval "$ac_compile" 2>conftest.err)
4505   cat conftest.err >&5
4506   (eval echo "\"\$as_me:4506: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4507   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4508   cat conftest.err >&5
4509   (eval echo "\"\$as_me:4509: output\"" >&5)
4510   cat conftest.out >&5
4511   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4512     lt_cv_nm_interface="MS dumpbin"
4513   fi
4514   rm -f conftest*
4515 fi
4516 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4517 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4518
4519 # find the maximum length of command line arguments
4520 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4521 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4522 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4523   echo $ECHO_N "(cached) $ECHO_C" >&6
4524 else
4525     i=0
4526   teststring="ABCD"
4527
4528   case $build_os in
4529   msdosdjgpp*)
4530     # On DJGPP, this test can blow up pretty badly due to problems in libc
4531     # (any single argument exceeding 2000 bytes causes a buffer overrun
4532     # during glob expansion).  Even if it were fixed, the result of this
4533     # check would be larger than it should be.
4534     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4535     ;;
4536
4537   gnu*)
4538     # Under GNU Hurd, this test is not required because there is
4539     # no limit to the length of command line arguments.
4540     # Libtool will interpret -1 as no limit whatsoever
4541     lt_cv_sys_max_cmd_len=-1;
4542     ;;
4543
4544   cygwin* | mingw*)
4545     # On Win9x/ME, this test blows up -- it succeeds, but takes
4546     # about 5 minutes as the teststring grows exponentially.
4547     # Worse, since 9x/ME are not pre-emptively multitasking,
4548     # you end up with a "frozen" computer, even though with patience
4549     # the test eventually succeeds (with a max line length of 256k).
4550     # Instead, let's just punt: use the minimum linelength reported by
4551     # all of the supported platforms: 8192 (on NT/2K/XP).
4552     lt_cv_sys_max_cmd_len=8192;
4553     ;;
4554
4555   amigaos*)
4556     # On AmigaOS with pdksh, this test takes hours, literally.
4557     # So we just punt and use a minimum line length of 8192.
4558     lt_cv_sys_max_cmd_len=8192;
4559     ;;
4560
4561   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4562     # This has been around since 386BSD, at least.  Likely further.
4563     if test -x /sbin/sysctl; then
4564       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4565     elif test -x /usr/sbin/sysctl; then
4566       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4567     else
4568       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4569     fi
4570     # And add a safety zone
4571     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4572     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4573     ;;
4574
4575   interix*)
4576     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4577     lt_cv_sys_max_cmd_len=196608
4578     ;;
4579
4580   osf*)
4581     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4582     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4583     # nice to cause kernel panics so lets avoid the loop below.
4584     # First set a reasonable default.
4585     lt_cv_sys_max_cmd_len=16384
4586     #
4587     if test -x /sbin/sysconfig; then
4588       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4589         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4590       esac
4591     fi
4592     ;;
4593   sco3.2v5*)
4594     lt_cv_sys_max_cmd_len=102400
4595     ;;
4596   sysv5* | sco5v6* | sysv4.2uw2*)
4597     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4598     if test -n "$kargmax"; then
4599       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4600     else
4601       lt_cv_sys_max_cmd_len=32768
4602     fi
4603     ;;
4604   *)
4605     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4606     if test -n "$lt_cv_sys_max_cmd_len"; then
4607       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4608       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4609     else
4610       # Make teststring a little bigger before we do anything with it.
4611       # a 1K string should be a reasonable start.
4612       for i in 1 2 3 4 5 6 7 8 ; do
4613         teststring=$teststring$teststring
4614       done
4615       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4616       # If test is not a shell built-in, we'll probably end up computing a
4617       # maximum length that is only half of the actual maximum length, but
4618       # we can't tell.
4619       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4620                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4621               test $i != 17 # 1/2 MB should be enough
4622       do
4623         i=`expr $i + 1`
4624         teststring=$teststring$teststring
4625       done
4626       # Only check the string length outside the loop.
4627       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4628       teststring=
4629       # Add a significant safety factor because C++ compilers can tack on
4630       # massive amounts of additional arguments before passing them to the
4631       # linker.  It appears as though 1/2 is a usable value.
4632       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4633     fi
4634     ;;
4635   esac
4636
4637 fi
4638
4639 if test -n $lt_cv_sys_max_cmd_len ; then
4640   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4641 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4642 else
4643   { echo "$as_me:$LINENO: result: none" >&5
4644 echo "${ECHO_T}none" >&6; }
4645 fi
4646 max_cmd_len=$lt_cv_sys_max_cmd_len
4647
4648
4649
4650
4651
4652
4653
4654 : ${CP="cp -f"}
4655 : ${MV="mv -f"}
4656 : ${RM="rm -f"}
4657
4658 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4659 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4660 # Try some XSI features
4661 xsi_shell=no
4662 ( _lt_dummy="a/b/c"
4663   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4664       = c,a/b,, ) >/dev/null 2>&1 \
4665   && xsi_shell=yes
4666 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4667 echo "${ECHO_T}$xsi_shell" >&6; }
4668
4669
4670 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4671 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4672 lt_shell_append=no
4673 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4674     >/dev/null 2>&1 \
4675   && lt_shell_append=yes
4676 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4677 echo "${ECHO_T}$lt_shell_append" >&6; }
4678
4679
4680 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4681   lt_unset=unset
4682 else
4683   lt_unset=false
4684 fi
4685
4686
4687
4688
4689
4690 # test EBCDIC or ASCII
4691 case `echo X|tr X '\101'` in
4692  A) # ASCII based system
4693     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4694   lt_SP2NL='tr \040 \012'
4695   lt_NL2SP='tr \015\012 \040\040'
4696   ;;
4697  *) # EBCDIC based system
4698   lt_SP2NL='tr \100 \n'
4699   lt_NL2SP='tr \r\n \100\100'
4700   ;;
4701 esac
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4712 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4713 if test "${lt_cv_ld_reload_flag+set}" = set; then
4714   echo $ECHO_N "(cached) $ECHO_C" >&6
4715 else
4716   lt_cv_ld_reload_flag='-r'
4717 fi
4718 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4719 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4720 reload_flag=$lt_cv_ld_reload_flag
4721 case $reload_flag in
4722 "" | " "*) ;;
4723 *) reload_flag=" $reload_flag" ;;
4724 esac
4725 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4726 case $host_os in
4727   darwin*)
4728     if test "$GCC" = yes; then
4729       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4730     else
4731       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4732     fi
4733     ;;
4734 esac
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4746 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4747 if test "${lt_cv_deplibs_check_method+set}" = set; then
4748   echo $ECHO_N "(cached) $ECHO_C" >&6
4749 else
4750   lt_cv_file_magic_cmd='$MAGIC_CMD'
4751 lt_cv_file_magic_test_file=
4752 lt_cv_deplibs_check_method='unknown'
4753 # Need to set the preceding variable on all platforms that support
4754 # interlibrary dependencies.
4755 # 'none' -- dependencies not supported.
4756 # `unknown' -- same as none, but documents that we really don't know.
4757 # 'pass_all' -- all dependencies passed with no checks.
4758 # 'test_compile' -- check by making test program.
4759 # 'file_magic [[regex]]' -- check by looking for files in library path
4760 # which responds to the $file_magic_cmd with a given extended regex.
4761 # If you have `file' or equivalent on your system and you're not sure
4762 # whether `pass_all' will *always* work, you probably want this one.
4763
4764 case $host_os in
4765 aix[4-9]*)
4766   lt_cv_deplibs_check_method=pass_all
4767   ;;
4768
4769 beos*)
4770   lt_cv_deplibs_check_method=pass_all
4771   ;;
4772
4773 bsdi[45]*)
4774   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4775   lt_cv_file_magic_cmd='/usr/bin/file -L'
4776   lt_cv_file_magic_test_file=/shlib/libc.so
4777   ;;
4778
4779 cygwin*)
4780   # func_win32_libid is a shell function defined in ltmain.sh
4781   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4782   lt_cv_file_magic_cmd='func_win32_libid'
4783   ;;
4784
4785 mingw* | pw32*)
4786   # Base MSYS/MinGW do not provide the 'file' command needed by
4787   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4788   # unless we find 'file', for example because we are cross-compiling.
4789   if ( file / ) >/dev/null 2>&1; then
4790     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4791     lt_cv_file_magic_cmd='func_win32_libid'
4792   else
4793     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4794     lt_cv_file_magic_cmd='$OBJDUMP -f'
4795   fi
4796   ;;
4797
4798 darwin* | rhapsody*)
4799   lt_cv_deplibs_check_method=pass_all
4800   ;;
4801
4802 freebsd* | dragonfly*)
4803   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4804     case $host_cpu in
4805     i*86 )
4806       # Not sure whether the presence of OpenBSD here was a mistake.
4807       # Let's accept both of them until this is cleared up.
4808       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4809       lt_cv_file_magic_cmd=/usr/bin/file
4810       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4811       ;;
4812     esac
4813   else
4814     lt_cv_deplibs_check_method=pass_all
4815   fi
4816   ;;
4817
4818 gnu*)
4819   lt_cv_deplibs_check_method=pass_all
4820   ;;
4821
4822 hpux10.20* | hpux11*)
4823   lt_cv_file_magic_cmd=/usr/bin/file
4824   case $host_cpu in
4825   ia64*)
4826     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4827     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4828     ;;
4829   hppa*64*)
4830     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]'
4831     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4832     ;;
4833   *)
4834     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4835     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4836     ;;
4837   esac
4838   ;;
4839
4840 interix[3-9]*)
4841   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4842   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4843   ;;
4844
4845 irix5* | irix6* | nonstopux*)
4846   case $LD in
4847   *-32|*"-32 ") libmagic=32-bit;;
4848   *-n32|*"-n32 ") libmagic=N32;;
4849   *-64|*"-64 ") libmagic=64-bit;;
4850   *) libmagic=never-match;;
4851   esac
4852   lt_cv_deplibs_check_method=pass_all
4853   ;;
4854
4855 # This must be Linux ELF.
4856 linux* | k*bsd*-gnu)
4857   lt_cv_deplibs_check_method=pass_all
4858   ;;
4859
4860 netbsd*)
4861   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4862     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4863   else
4864     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4865   fi
4866   ;;
4867
4868 newos6*)
4869   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4870   lt_cv_file_magic_cmd=/usr/bin/file
4871   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4872   ;;
4873
4874 *nto* | *qnx*)
4875   lt_cv_deplibs_check_method=pass_all
4876   ;;
4877
4878 openbsd*)
4879   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4880     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4881   else
4882     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4883   fi
4884   ;;
4885
4886 osf3* | osf4* | osf5*)
4887   lt_cv_deplibs_check_method=pass_all
4888   ;;
4889
4890 rdos*)
4891   lt_cv_deplibs_check_method=pass_all
4892   ;;
4893
4894 solaris*)
4895   lt_cv_deplibs_check_method=pass_all
4896   ;;
4897
4898 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4899   lt_cv_deplibs_check_method=pass_all
4900   ;;
4901
4902 sysv4 | sysv4.3*)
4903   case $host_vendor in
4904   motorola)
4905     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]'
4906     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4907     ;;
4908   ncr)
4909     lt_cv_deplibs_check_method=pass_all
4910     ;;
4911   sequent)
4912     lt_cv_file_magic_cmd='/bin/file'
4913     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4914     ;;
4915   sni)
4916     lt_cv_file_magic_cmd='/bin/file'
4917     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4918     lt_cv_file_magic_test_file=/lib/libc.so
4919     ;;
4920   siemens)
4921     lt_cv_deplibs_check_method=pass_all
4922     ;;
4923   pc)
4924     lt_cv_deplibs_check_method=pass_all
4925     ;;
4926   esac
4927   ;;
4928
4929 tpf*)
4930   lt_cv_deplibs_check_method=pass_all
4931   ;;
4932 esac
4933
4934 fi
4935 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4936 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4937 file_magic_cmd=$lt_cv_file_magic_cmd
4938 deplibs_check_method=$lt_cv_deplibs_check_method
4939 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952 if test -n "$ac_tool_prefix"; then
4953   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4954 set dummy ${ac_tool_prefix}ar; ac_word=$2
4955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4957 if test "${ac_cv_prog_AR+set}" = set; then
4958   echo $ECHO_N "(cached) $ECHO_C" >&6
4959 else
4960   if test -n "$AR"; then
4961   ac_cv_prog_AR="$AR" # Let the user override the test.
4962 else
4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 for as_dir in $PATH
4965 do
4966   IFS=$as_save_IFS
4967   test -z "$as_dir" && as_dir=.
4968   for ac_exec_ext in '' $ac_executable_extensions; do
4969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4970     ac_cv_prog_AR="${ac_tool_prefix}ar"
4971     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4972     break 2
4973   fi
4974 done
4975 done
4976 IFS=$as_save_IFS
4977
4978 fi
4979 fi
4980 AR=$ac_cv_prog_AR
4981 if test -n "$AR"; then
4982   { echo "$as_me:$LINENO: result: $AR" >&5
4983 echo "${ECHO_T}$AR" >&6; }
4984 else
4985   { echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6; }
4987 fi
4988
4989
4990 fi
4991 if test -z "$ac_cv_prog_AR"; then
4992   ac_ct_AR=$AR
4993   # Extract the first word of "ar", so it can be a program name with args.
4994 set dummy ar; ac_word=$2
4995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4997 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4998   echo $ECHO_N "(cached) $ECHO_C" >&6
4999 else
5000   if test -n "$ac_ct_AR"; then
5001   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5005 do
5006   IFS=$as_save_IFS
5007   test -z "$as_dir" && as_dir=.
5008   for ac_exec_ext in '' $ac_executable_extensions; do
5009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5010     ac_cv_prog_ac_ct_AR="ar"
5011     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5012     break 2
5013   fi
5014 done
5015 done
5016 IFS=$as_save_IFS
5017
5018 fi
5019 fi
5020 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5021 if test -n "$ac_ct_AR"; then
5022   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5023 echo "${ECHO_T}$ac_ct_AR" >&6; }
5024 else
5025   { echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6; }
5027 fi
5028
5029   if test "x$ac_ct_AR" = x; then
5030     AR="false"
5031   else
5032     case $cross_compiling:$ac_tool_warned in
5033 yes:)
5034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5035 whose name does not start with the host triplet.  If you think this
5036 configuration is useful to you, please write to autoconf@gnu.org." >&5
5037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5038 whose name does not start with the host triplet.  If you think this
5039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5040 ac_tool_warned=yes ;;
5041 esac
5042     AR=$ac_ct_AR
5043   fi
5044 else
5045   AR="$ac_cv_prog_AR"
5046 fi
5047
5048 test -z "$AR" && AR=ar
5049 test -z "$AR_FLAGS" && AR_FLAGS=cru
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061 if test -n "$ac_tool_prefix"; then
5062   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5063 set dummy ${ac_tool_prefix}strip; ac_word=$2
5064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5066 if test "${ac_cv_prog_STRIP+set}" = set; then
5067   echo $ECHO_N "(cached) $ECHO_C" >&6
5068 else
5069   if test -n "$STRIP"; then
5070   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5071 else
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073 for as_dir in $PATH
5074 do
5075   IFS=$as_save_IFS
5076   test -z "$as_dir" && as_dir=.
5077   for ac_exec_ext in '' $ac_executable_extensions; do
5078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5080     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5081     break 2
5082   fi
5083 done
5084 done
5085 IFS=$as_save_IFS
5086
5087 fi
5088 fi
5089 STRIP=$ac_cv_prog_STRIP
5090 if test -n "$STRIP"; then
5091   { echo "$as_me:$LINENO: result: $STRIP" >&5
5092 echo "${ECHO_T}$STRIP" >&6; }
5093 else
5094   { echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6; }
5096 fi
5097
5098
5099 fi
5100 if test -z "$ac_cv_prog_STRIP"; then
5101   ac_ct_STRIP=$STRIP
5102   # Extract the first word of "strip", so it can be a program name with args.
5103 set dummy strip; ac_word=$2
5104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5106 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5107   echo $ECHO_N "(cached) $ECHO_C" >&6
5108 else
5109   if test -n "$ac_ct_STRIP"; then
5110   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5111 else
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 for as_dir in $PATH
5114 do
5115   IFS=$as_save_IFS
5116   test -z "$as_dir" && as_dir=.
5117   for ac_exec_ext in '' $ac_executable_extensions; do
5118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119     ac_cv_prog_ac_ct_STRIP="strip"
5120     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5121     break 2
5122   fi
5123 done
5124 done
5125 IFS=$as_save_IFS
5126
5127 fi
5128 fi
5129 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5130 if test -n "$ac_ct_STRIP"; then
5131   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5132 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5133 else
5134   { echo "$as_me:$LINENO: result: no" >&5
5135 echo "${ECHO_T}no" >&6; }
5136 fi
5137
5138   if test "x$ac_ct_STRIP" = x; then
5139     STRIP=":"
5140   else
5141     case $cross_compiling:$ac_tool_warned in
5142 yes:)
5143 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5144 whose name does not start with the host triplet.  If you think this
5145 configuration is useful to you, please write to autoconf@gnu.org." >&5
5146 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5147 whose name does not start with the host triplet.  If you think this
5148 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5149 ac_tool_warned=yes ;;
5150 esac
5151     STRIP=$ac_ct_STRIP
5152   fi
5153 else
5154   STRIP="$ac_cv_prog_STRIP"
5155 fi
5156
5157 test -z "$STRIP" && STRIP=:
5158
5159
5160
5161
5162
5163
5164 if test -n "$ac_tool_prefix"; then
5165   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5169 if test "${ac_cv_prog_RANLIB+set}" = set; then
5170   echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172   if test -n "$RANLIB"; then
5173   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5177 do
5178   IFS=$as_save_IFS
5179   test -z "$as_dir" && as_dir=.
5180   for ac_exec_ext in '' $ac_executable_extensions; do
5181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5183     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184     break 2
5185   fi
5186 done
5187 done
5188 IFS=$as_save_IFS
5189
5190 fi
5191 fi
5192 RANLIB=$ac_cv_prog_RANLIB
5193 if test -n "$RANLIB"; then
5194   { echo "$as_me:$LINENO: result: $RANLIB" >&5
5195 echo "${ECHO_T}$RANLIB" >&6; }
5196 else
5197   { echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6; }
5199 fi
5200
5201
5202 fi
5203 if test -z "$ac_cv_prog_RANLIB"; then
5204   ac_ct_RANLIB=$RANLIB
5205   # Extract the first word of "ranlib", so it can be a program name with args.
5206 set dummy ranlib; ac_word=$2
5207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5209 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5210   echo $ECHO_N "(cached) $ECHO_C" >&6
5211 else
5212   if test -n "$ac_ct_RANLIB"; then
5213   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5217 do
5218   IFS=$as_save_IFS
5219   test -z "$as_dir" && as_dir=.
5220   for ac_exec_ext in '' $ac_executable_extensions; do
5221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222     ac_cv_prog_ac_ct_RANLIB="ranlib"
5223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224     break 2
5225   fi
5226 done
5227 done
5228 IFS=$as_save_IFS
5229
5230 fi
5231 fi
5232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5233 if test -n "$ac_ct_RANLIB"; then
5234   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5235 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5236 else
5237   { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5239 fi
5240
5241   if test "x$ac_ct_RANLIB" = x; then
5242     RANLIB=":"
5243   else
5244     case $cross_compiling:$ac_tool_warned in
5245 yes:)
5246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5247 whose name does not start with the host triplet.  If you think this
5248 configuration is useful to you, please write to autoconf@gnu.org." >&5
5249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5250 whose name does not start with the host triplet.  If you think this
5251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5252 ac_tool_warned=yes ;;
5253 esac
5254     RANLIB=$ac_ct_RANLIB
5255   fi
5256 else
5257   RANLIB="$ac_cv_prog_RANLIB"
5258 fi
5259
5260 test -z "$RANLIB" && RANLIB=:
5261
5262
5263
5264
5265
5266
5267 # Determine commands to create old-style static archives.
5268 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5269 old_postinstall_cmds='chmod 644 $oldlib'
5270 old_postuninstall_cmds=
5271
5272 if test -n "$RANLIB"; then
5273   case $host_os in
5274   openbsd*)
5275     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5276     ;;
5277   *)
5278     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5279     ;;
5280   esac
5281   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5282 fi
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317 # If no C compiler was specified, use CC.
5318 LTCC=${LTCC-"$CC"}
5319
5320 # If no C compiler flags were specified, use CFLAGS.
5321 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5322
5323 # Allow CC to be a program name with arguments.
5324 compiler=$CC
5325
5326
5327 # Check for command to grab the raw symbol name followed by C symbol from nm.
5328 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5329 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5330 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5331   echo $ECHO_N "(cached) $ECHO_C" >&6
5332 else
5333
5334 # These are sane defaults that work on at least a few old systems.
5335 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5336
5337 # Character class describing NM global symbol codes.
5338 symcode='[BCDEGRST]'
5339
5340 # Regexp to match symbols that can be accessed directly from C.
5341 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5342
5343 # Define system-specific variables.
5344 case $host_os in
5345 aix*)
5346   symcode='[BCDT]'
5347   ;;
5348 cygwin* | mingw* | pw32*)
5349   symcode='[ABCDGISTW]'
5350   ;;
5351 hpux*)
5352   if test "$host_cpu" = ia64; then
5353     symcode='[ABCDEGRST]'
5354   fi
5355   ;;
5356 irix* | nonstopux*)
5357   symcode='[BCDEGRST]'
5358   ;;
5359 osf*)
5360   symcode='[BCDEGQRST]'
5361   ;;
5362 solaris*)
5363   symcode='[BDRT]'
5364   ;;
5365 sco3.2v5*)
5366   symcode='[DT]'
5367   ;;
5368 sysv4.2uw2*)
5369   symcode='[DT]'
5370   ;;
5371 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5372   symcode='[ABDT]'
5373   ;;
5374 sysv4)
5375   symcode='[DFNSTU]'
5376   ;;
5377 esac
5378
5379 # If we're using GNU nm, then use its standard symbol codes.
5380 case `$NM -V 2>&1` in
5381 *GNU* | *'with BFD'*)
5382   symcode='[ABCDGIRSTW]' ;;
5383 esac
5384
5385 # Transform an extracted symbol line into a proper C declaration.
5386 # Some systems (esp. on ia64) link data and code symbols differently,
5387 # so use this general approach.
5388 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5389
5390 # Transform an extracted symbol line into symbol name and symbol address
5391 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5392 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'"
5393
5394 # Handle CRLF in mingw tool chain
5395 opt_cr=
5396 case $build_os in
5397 mingw*)
5398   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5399   ;;
5400 esac
5401
5402 # Try without a prefix underscore, then with it.
5403 for ac_symprfx in "" "_"; do
5404
5405   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5406   symxfrm="\\1 $ac_symprfx\\2 \\2"
5407
5408   # Write the raw and C identifiers.
5409   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5410     # Fake it for dumpbin and say T for any non-static function
5411     # and D for any global variable.
5412     # Also find C++ and __fastcall symbols from MSVC++,
5413     # which start with @ or ?.
5414     lt_cv_sys_global_symbol_pipe="$AWK '"\
5415 "     {last_section=section; section=\$ 3};"\
5416 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5417 "     \$ 0!~/External *\|/{next};"\
5418 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5419 "     {if(hide[section]) next};"\
5420 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5421 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5422 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5423 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5424 "     ' prfx=^$ac_symprfx"
5425   else
5426     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5427   fi
5428
5429   # Check to see that the pipe works correctly.
5430   pipe_works=no
5431
5432   rm -f conftest*
5433   cat > conftest.$ac_ext <<_LT_EOF
5434 #ifdef __cplusplus
5435 extern "C" {
5436 #endif
5437 char nm_test_var;
5438 void nm_test_func(void);
5439 void nm_test_func(void){}
5440 #ifdef __cplusplus
5441 }
5442 #endif
5443 int main(){nm_test_var='a';nm_test_func();return(0);}
5444 _LT_EOF
5445
5446   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5447   (eval $ac_compile) 2>&5
5448   ac_status=$?
5449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450   (exit $ac_status); }; then
5451     # Now try to grab the symbols.
5452     nlist=conftest.nm
5453     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5454   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5455   ac_status=$?
5456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457   (exit $ac_status); } && test -s "$nlist"; then
5458       # Try sorting and uniquifying the output.
5459       if sort "$nlist" | uniq > "$nlist"T; then
5460         mv -f "$nlist"T "$nlist"
5461       else
5462         rm -f "$nlist"T
5463       fi
5464
5465       # Make sure that we snagged all the symbols we need.
5466       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5467         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5468           cat <<_LT_EOF > conftest.$ac_ext
5469 #ifdef __cplusplus
5470 extern "C" {
5471 #endif
5472
5473 _LT_EOF
5474           # Now generate the symbol file.
5475           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5476
5477           cat <<_LT_EOF >> conftest.$ac_ext
5478
5479 /* The mapping between symbol names and symbols.  */
5480 const struct {
5481   const char *name;
5482   void       *address;
5483 }
5484 lt__PROGRAM__LTX_preloaded_symbols[] =
5485 {
5486   { "@PROGRAM@", (void *) 0 },
5487 _LT_EOF
5488           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5489           cat <<\_LT_EOF >> conftest.$ac_ext
5490   {0, (void *) 0}
5491 };
5492
5493 /* This works around a problem in FreeBSD linker */
5494 #ifdef FREEBSD_WORKAROUND
5495 static const void *lt_preloaded_setup() {
5496   return lt__PROGRAM__LTX_preloaded_symbols;
5497 }
5498 #endif
5499
5500 #ifdef __cplusplus
5501 }
5502 #endif
5503 _LT_EOF
5504           # Now try linking the two files.
5505           mv conftest.$ac_objext conftstm.$ac_objext
5506           lt_save_LIBS="$LIBS"
5507           lt_save_CFLAGS="$CFLAGS"
5508           LIBS="conftstm.$ac_objext"
5509           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5510           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5511   (eval $ac_link) 2>&5
5512   ac_status=$?
5513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5515             pipe_works=yes
5516           fi
5517           LIBS="$lt_save_LIBS"
5518           CFLAGS="$lt_save_CFLAGS"
5519         else
5520           echo "cannot find nm_test_func in $nlist" >&5
5521         fi
5522       else
5523         echo "cannot find nm_test_var in $nlist" >&5
5524       fi
5525     else
5526       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5527     fi
5528   else
5529     echo "$progname: failed program was:" >&5
5530     cat conftest.$ac_ext >&5
5531   fi
5532   rm -rf conftest* conftst*
5533
5534   # Do not use the global_symbol_pipe unless it works.
5535   if test "$pipe_works" = yes; then
5536     break
5537   else
5538     lt_cv_sys_global_symbol_pipe=
5539   fi
5540 done
5541
5542 fi
5543
5544 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5545   lt_cv_sys_global_symbol_to_cdecl=
5546 fi
5547 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5548   { echo "$as_me:$LINENO: result: failed" >&5
5549 echo "${ECHO_T}failed" >&6; }
5550 else
5551   { echo "$as_me:$LINENO: result: ok" >&5
5552 echo "${ECHO_T}ok" >&6; }
5553 fi
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577 # Check whether --enable-libtool-lock was given.
5578 if test "${enable_libtool_lock+set}" = set; then
5579   enableval=$enable_libtool_lock;
5580 fi
5581
5582 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5583
5584 # Some flags need to be propagated to the compiler or linker for good
5585 # libtool support.
5586 case $host in
5587 ia64-*-hpux*)
5588   # Find out which ABI we are using.
5589   echo 'int i;' > conftest.$ac_ext
5590   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5591   (eval $ac_compile) 2>&5
5592   ac_status=$?
5593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594   (exit $ac_status); }; then
5595     case `/usr/bin/file conftest.$ac_objext` in
5596       *ELF-32*)
5597         HPUX_IA64_MODE="32"
5598         ;;
5599       *ELF-64*)
5600         HPUX_IA64_MODE="64"
5601         ;;
5602     esac
5603   fi
5604   rm -rf conftest*
5605   ;;
5606 *-*-irix6*)
5607   # Find out which ABI we are using.
5608   echo '#line 5608 "configure"' > conftest.$ac_ext
5609   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5610   (eval $ac_compile) 2>&5
5611   ac_status=$?
5612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613   (exit $ac_status); }; then
5614     if test "$lt_cv_prog_gnu_ld" = yes; then
5615       case `/usr/bin/file conftest.$ac_objext` in
5616         *32-bit*)
5617           LD="${LD-ld} -melf32bsmip"
5618           ;;
5619         *N32*)
5620           LD="${LD-ld} -melf32bmipn32"
5621           ;;
5622         *64-bit*)
5623           LD="${LD-ld} -melf64bmip"
5624         ;;
5625       esac
5626     else
5627       case `/usr/bin/file conftest.$ac_objext` in
5628         *32-bit*)
5629           LD="${LD-ld} -32"
5630           ;;
5631         *N32*)
5632           LD="${LD-ld} -n32"
5633           ;;
5634         *64-bit*)
5635           LD="${LD-ld} -64"
5636           ;;
5637       esac
5638     fi
5639   fi
5640   rm -rf conftest*
5641   ;;
5642
5643 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5644 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5645   # Find out which ABI we are using.
5646   echo 'int i;' > conftest.$ac_ext
5647   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5648   (eval $ac_compile) 2>&5
5649   ac_status=$?
5650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651   (exit $ac_status); }; then
5652     case `/usr/bin/file conftest.o` in
5653       *32-bit*)
5654         case $host in
5655           x86_64-*kfreebsd*-gnu)
5656             LD="${LD-ld} -m elf_i386_fbsd"
5657             ;;
5658           x86_64-*linux*)
5659             LD="${LD-ld} -m elf_i386"
5660             ;;
5661           ppc64-*linux*|powerpc64-*linux*)
5662             LD="${LD-ld} -m elf32ppclinux"
5663             ;;
5664           s390x-*linux*)
5665             LD="${LD-ld} -m elf_s390"
5666             ;;
5667           sparc64-*linux*)
5668             LD="${LD-ld} -m elf32_sparc"
5669             ;;
5670         esac
5671         ;;
5672       *64-bit*)
5673         case $host in
5674           x86_64-*kfreebsd*-gnu)
5675             LD="${LD-ld} -m elf_x86_64_fbsd"
5676             ;;
5677           x86_64-*linux*)
5678             LD="${LD-ld} -m elf_x86_64"
5679             ;;
5680           ppc*-*linux*|powerpc*-*linux*)
5681             LD="${LD-ld} -m elf64ppc"
5682             ;;
5683           s390*-*linux*|s390*-*tpf*)
5684             LD="${LD-ld} -m elf64_s390"
5685             ;;
5686           sparc*-*linux*)
5687             LD="${LD-ld} -m elf64_sparc"
5688             ;;
5689         esac
5690         ;;
5691     esac
5692   fi
5693   rm -rf conftest*
5694   ;;
5695
5696 *-*-sco3.2v5*)
5697   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5698   SAVE_CFLAGS="$CFLAGS"
5699   CFLAGS="$CFLAGS -belf"
5700   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5701 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5702 if test "${lt_cv_cc_needs_belf+set}" = set; then
5703   echo $ECHO_N "(cached) $ECHO_C" >&6
5704 else
5705   ac_ext=c
5706 ac_cpp='$CPP $CPPFLAGS'
5707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5710
5711      cat >conftest.$ac_ext <<_ACEOF
5712 /* confdefs.h.  */
5713 _ACEOF
5714 cat confdefs.h >>conftest.$ac_ext
5715 cat >>conftest.$ac_ext <<_ACEOF
5716 /* end confdefs.h.  */
5717
5718 int
5719 main ()
5720 {
5721
5722   ;
5723   return 0;
5724 }
5725 _ACEOF
5726 rm -f conftest.$ac_objext conftest$ac_exeext
5727 if { (ac_try="$ac_link"
5728 case "(($ac_try" in
5729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730   *) ac_try_echo=$ac_try;;
5731 esac
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733   (eval "$ac_link") 2>conftest.er1
5734   ac_status=$?
5735   grep -v '^ *+' conftest.er1 >conftest.err
5736   rm -f conftest.er1
5737   cat conftest.err >&5
5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739   (exit $ac_status); } && {
5740          test -z "$ac_c_werror_flag" ||
5741          test ! -s conftest.err
5742        } && test -s conftest$ac_exeext &&
5743        $as_test_x conftest$ac_exeext; then
5744   lt_cv_cc_needs_belf=yes
5745 else
5746   echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5
5748
5749         lt_cv_cc_needs_belf=no
5750 fi
5751
5752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5753       conftest$ac_exeext conftest.$ac_ext
5754      ac_ext=c
5755 ac_cpp='$CPP $CPPFLAGS'
5756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5759
5760 fi
5761 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5762 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5763   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5764     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5765     CFLAGS="$SAVE_CFLAGS"
5766   fi
5767   ;;
5768 sparc*-*solaris*)
5769   # Find out which ABI we are using.
5770   echo 'int i;' > conftest.$ac_ext
5771   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5772   (eval $ac_compile) 2>&5
5773   ac_status=$?
5774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775   (exit $ac_status); }; then
5776     case `/usr/bin/file conftest.o` in
5777     *64-bit*)
5778       case $lt_cv_prog_gnu_ld in
5779       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5780       *)
5781         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5782           LD="${LD-ld} -64"
5783         fi
5784         ;;
5785       esac
5786       ;;
5787     esac
5788   fi
5789   rm -rf conftest*
5790   ;;
5791 esac
5792
5793 need_locks="$enable_libtool_lock"
5794
5795
5796   case $host_os in
5797     rhapsody* | darwin*)
5798     if test -n "$ac_tool_prefix"; then
5799   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5803 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5804   echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806   if test -n "$DSYMUTIL"; then
5807   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5811 do
5812   IFS=$as_save_IFS
5813   test -z "$as_dir" && as_dir=.
5814   for ac_exec_ext in '' $ac_executable_extensions; do
5815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5817     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818     break 2
5819   fi
5820 done
5821 done
5822 IFS=$as_save_IFS
5823
5824 fi
5825 fi
5826 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5827 if test -n "$DSYMUTIL"; then
5828   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5829 echo "${ECHO_T}$DSYMUTIL" >&6; }
5830 else
5831   { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5833 fi
5834
5835
5836 fi
5837 if test -z "$ac_cv_prog_DSYMUTIL"; then
5838   ac_ct_DSYMUTIL=$DSYMUTIL
5839   # Extract the first word of "dsymutil", so it can be a program name with args.
5840 set dummy dsymutil; ac_word=$2
5841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5843 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5844   echo $ECHO_N "(cached) $ECHO_C" >&6
5845 else
5846   if test -n "$ac_ct_DSYMUTIL"; then
5847   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5851 do
5852   IFS=$as_save_IFS
5853   test -z "$as_dir" && as_dir=.
5854   for ac_exec_ext in '' $ac_executable_extensions; do
5855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5857     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5858     break 2
5859   fi
5860 done
5861 done
5862 IFS=$as_save_IFS
5863
5864 fi
5865 fi
5866 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5867 if test -n "$ac_ct_DSYMUTIL"; then
5868   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5869 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5870 else
5871   { echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6; }
5873 fi
5874
5875   if test "x$ac_ct_DSYMUTIL" = x; then
5876     DSYMUTIL=":"
5877   else
5878     case $cross_compiling:$ac_tool_warned in
5879 yes:)
5880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5881 whose name does not start with the host triplet.  If you think this
5882 configuration is useful to you, please write to autoconf@gnu.org." >&5
5883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5884 whose name does not start with the host triplet.  If you think this
5885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5886 ac_tool_warned=yes ;;
5887 esac
5888     DSYMUTIL=$ac_ct_DSYMUTIL
5889   fi
5890 else
5891   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5892 fi
5893
5894     if test -n "$ac_tool_prefix"; then
5895   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5896 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5900   echo $ECHO_N "(cached) $ECHO_C" >&6
5901 else
5902   if test -n "$NMEDIT"; then
5903   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5907 do
5908   IFS=$as_save_IFS
5909   test -z "$as_dir" && as_dir=.
5910   for ac_exec_ext in '' $ac_executable_extensions; do
5911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5913     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914     break 2
5915   fi
5916 done
5917 done
5918 IFS=$as_save_IFS
5919
5920 fi
5921 fi
5922 NMEDIT=$ac_cv_prog_NMEDIT
5923 if test -n "$NMEDIT"; then
5924   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
5925 echo "${ECHO_T}$NMEDIT" >&6; }
5926 else
5927   { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5929 fi
5930
5931
5932 fi
5933 if test -z "$ac_cv_prog_NMEDIT"; then
5934   ac_ct_NMEDIT=$NMEDIT
5935   # Extract the first word of "nmedit", so it can be a program name with args.
5936 set dummy nmedit; ac_word=$2
5937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5939 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5940   echo $ECHO_N "(cached) $ECHO_C" >&6
5941 else
5942   if test -n "$ac_ct_NMEDIT"; then
5943   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5944 else
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH
5947 do
5948   IFS=$as_save_IFS
5949   test -z "$as_dir" && as_dir=.
5950   for ac_exec_ext in '' $ac_executable_extensions; do
5951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5952     ac_cv_prog_ac_ct_NMEDIT="nmedit"
5953     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5954     break 2
5955   fi
5956 done
5957 done
5958 IFS=$as_save_IFS
5959
5960 fi
5961 fi
5962 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5963 if test -n "$ac_ct_NMEDIT"; then
5964   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5965 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
5966 else
5967   { echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6; }
5969 fi
5970
5971   if test "x$ac_ct_NMEDIT" = x; then
5972     NMEDIT=":"
5973   else
5974     case $cross_compiling:$ac_tool_warned in
5975 yes:)
5976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5977 whose name does not start with the host triplet.  If you think this
5978 configuration is useful to you, please write to autoconf@gnu.org." >&5
5979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5980 whose name does not start with the host triplet.  If you think this
5981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5982 ac_tool_warned=yes ;;
5983 esac
5984     NMEDIT=$ac_ct_NMEDIT
5985   fi
5986 else
5987   NMEDIT="$ac_cv_prog_NMEDIT"
5988 fi
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6002 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6003 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6004   echo $ECHO_N "(cached) $ECHO_C" >&6
6005 else
6006   lt_cv_apple_cc_single_mod=no
6007       if test -z "${LT_MULTI_MODULE}"; then
6008         # By default we will add the -single_module flag. You can override
6009         # by either setting the environment variable LT_MULTI_MODULE
6010         # non-empty at configure time, or by adding -multi_module to the
6011         # link flags.
6012         echo "int foo(void){return 1;}" > conftest.c
6013         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6014           -dynamiclib ${wl}-single_module conftest.c
6015         if test -f libconftest.dylib; then
6016           lt_cv_apple_cc_single_mod=yes
6017           rm -rf libconftest.dylib*
6018         fi
6019         rm conftest.c
6020       fi
6021 fi
6022 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6023 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6024     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6025 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6026 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6027   echo $ECHO_N "(cached) $ECHO_C" >&6
6028 else
6029   lt_cv_ld_exported_symbols_list=no
6030       save_LDFLAGS=$LDFLAGS
6031       echo "_main" > conftest.sym
6032       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6033       cat >conftest.$ac_ext <<_ACEOF
6034 /* confdefs.h.  */
6035 _ACEOF
6036 cat confdefs.h >>conftest.$ac_ext
6037 cat >>conftest.$ac_ext <<_ACEOF
6038 /* end confdefs.h.  */
6039
6040 int
6041 main ()
6042 {
6043
6044   ;
6045   return 0;
6046 }
6047 _ACEOF
6048 rm -f conftest.$ac_objext conftest$ac_exeext
6049 if { (ac_try="$ac_link"
6050 case "(($ac_try" in
6051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6052   *) ac_try_echo=$ac_try;;
6053 esac
6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6055   (eval "$ac_link") 2>conftest.er1
6056   ac_status=$?
6057   grep -v '^ *+' conftest.er1 >conftest.err
6058   rm -f conftest.er1
6059   cat conftest.err >&5
6060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061   (exit $ac_status); } && {
6062          test -z "$ac_c_werror_flag" ||
6063          test ! -s conftest.err
6064        } && test -s conftest$ac_exeext &&
6065        $as_test_x conftest$ac_exeext; then
6066   lt_cv_ld_exported_symbols_list=yes
6067 else
6068   echo "$as_me: failed program was:" >&5
6069 sed 's/^/| /' conftest.$ac_ext >&5
6070
6071         lt_cv_ld_exported_symbols_list=no
6072 fi
6073
6074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6075       conftest$ac_exeext conftest.$ac_ext
6076         LDFLAGS="$save_LDFLAGS"
6077
6078 fi
6079 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6080 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6081     case $host_os in
6082     rhapsody* | darwin1.[012])
6083       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6084     darwin1.*)
6085       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6086     darwin*) # darwin 5.x on
6087       # if running on 10.5 or later, the deployment target defaults
6088       # to the OS version, if on x86, and 10.4, the deployment
6089       # target defaults to 10.4. Don't you love it?
6090       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6091         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6092           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6093         10.[012]*)
6094           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6095         10.*)
6096           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6097       esac
6098     ;;
6099   esac
6100     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6101       _lt_dar_single_mod='$single_module'
6102     fi
6103     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6104       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6105     else
6106       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6107     fi
6108     if test "$DSYMUTIL" != ":"; then
6109       _lt_dsymutil='~$DSYMUTIL $lib || :'
6110     else
6111       _lt_dsymutil=
6112     fi
6113     ;;
6114   esac
6115
6116
6117 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6118 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6119 if test "${ac_cv_header_stdc+set}" = set; then
6120   echo $ECHO_N "(cached) $ECHO_C" >&6
6121 else
6122   cat >conftest.$ac_ext <<_ACEOF
6123 /* confdefs.h.  */
6124 _ACEOF
6125 cat confdefs.h >>conftest.$ac_ext
6126 cat >>conftest.$ac_ext <<_ACEOF
6127 /* end confdefs.h.  */
6128 #include <stdlib.h>
6129 #include <stdarg.h>
6130 #include <string.h>
6131 #include <float.h>
6132
6133 int
6134 main ()
6135 {
6136
6137   ;
6138   return 0;
6139 }
6140 _ACEOF
6141 rm -f conftest.$ac_objext
6142 if { (ac_try="$ac_compile"
6143 case "(($ac_try" in
6144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6145   *) ac_try_echo=$ac_try;;
6146 esac
6147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6148   (eval "$ac_compile") 2>conftest.er1
6149   ac_status=$?
6150   grep -v '^ *+' conftest.er1 >conftest.err
6151   rm -f conftest.er1
6152   cat conftest.err >&5
6153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154   (exit $ac_status); } && {
6155          test -z "$ac_c_werror_flag" ||
6156          test ! -s conftest.err
6157        } && test -s conftest.$ac_objext; then
6158   ac_cv_header_stdc=yes
6159 else
6160   echo "$as_me: failed program was:" >&5
6161 sed 's/^/| /' conftest.$ac_ext >&5
6162
6163         ac_cv_header_stdc=no
6164 fi
6165
6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6167
6168 if test $ac_cv_header_stdc = yes; then
6169   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6170   cat >conftest.$ac_ext <<_ACEOF
6171 /* confdefs.h.  */
6172 _ACEOF
6173 cat confdefs.h >>conftest.$ac_ext
6174 cat >>conftest.$ac_ext <<_ACEOF
6175 /* end confdefs.h.  */
6176 #include <string.h>
6177
6178 _ACEOF
6179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6180   $EGREP "memchr" >/dev/null 2>&1; then
6181   :
6182 else
6183   ac_cv_header_stdc=no
6184 fi
6185 rm -f conftest*
6186
6187 fi
6188
6189 if test $ac_cv_header_stdc = yes; then
6190   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6191   cat >conftest.$ac_ext <<_ACEOF
6192 /* confdefs.h.  */
6193 _ACEOF
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h.  */
6197 #include <stdlib.h>
6198
6199 _ACEOF
6200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6201   $EGREP "free" >/dev/null 2>&1; then
6202   :
6203 else
6204   ac_cv_header_stdc=no
6205 fi
6206 rm -f conftest*
6207
6208 fi
6209
6210 if test $ac_cv_header_stdc = yes; then
6211   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6212   if test "$cross_compiling" = yes; then
6213   :
6214 else
6215   cat >conftest.$ac_ext <<_ACEOF
6216 /* confdefs.h.  */
6217 _ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h.  */
6221 #include <ctype.h>
6222 #include <stdlib.h>
6223 #if ((' ' & 0x0FF) == 0x020)
6224 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6225 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6226 #else
6227 # define ISLOWER(c) \
6228                    (('a' <= (c) && (c) <= 'i') \
6229                      || ('j' <= (c) && (c) <= 'r') \
6230                      || ('s' <= (c) && (c) <= 'z'))
6231 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6232 #endif
6233
6234 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6235 int
6236 main ()
6237 {
6238   int i;
6239   for (i = 0; i < 256; i++)
6240     if (XOR (islower (i), ISLOWER (i))
6241         || toupper (i) != TOUPPER (i))
6242       return 2;
6243   return 0;
6244 }
6245 _ACEOF
6246 rm -f conftest$ac_exeext
6247 if { (ac_try="$ac_link"
6248 case "(($ac_try" in
6249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250   *) ac_try_echo=$ac_try;;
6251 esac
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253   (eval "$ac_link") 2>&5
6254   ac_status=$?
6255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6257   { (case "(($ac_try" in
6258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6259   *) ac_try_echo=$ac_try;;
6260 esac
6261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6262   (eval "$ac_try") 2>&5
6263   ac_status=$?
6264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265   (exit $ac_status); }; }; then
6266   :
6267 else
6268   echo "$as_me: program exited with status $ac_status" >&5
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.$ac_ext >&5
6271
6272 ( exit $ac_status )
6273 ac_cv_header_stdc=no
6274 fi
6275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6276 fi
6277
6278
6279 fi
6280 fi
6281 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6282 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6283 if test $ac_cv_header_stdc = yes; then
6284
6285 cat >>confdefs.h <<\_ACEOF
6286 #define STDC_HEADERS 1
6287 _ACEOF
6288
6289 fi
6290
6291 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6302                   inttypes.h stdint.h unistd.h
6303 do
6304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6308   echo $ECHO_N "(cached) $ECHO_C" >&6
6309 else
6310   cat >conftest.$ac_ext <<_ACEOF
6311 /* confdefs.h.  */
6312 _ACEOF
6313 cat confdefs.h >>conftest.$ac_ext
6314 cat >>conftest.$ac_ext <<_ACEOF
6315 /* end confdefs.h.  */
6316 $ac_includes_default
6317
6318 #include <$ac_header>
6319 _ACEOF
6320 rm -f conftest.$ac_objext
6321 if { (ac_try="$ac_compile"
6322 case "(($ac_try" in
6323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6324   *) ac_try_echo=$ac_try;;
6325 esac
6326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6327   (eval "$ac_compile") 2>conftest.er1
6328   ac_status=$?
6329   grep -v '^ *+' conftest.er1 >conftest.err
6330   rm -f conftest.er1
6331   cat conftest.err >&5
6332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333   (exit $ac_status); } && {
6334          test -z "$ac_c_werror_flag" ||
6335          test ! -s conftest.err
6336        } && test -s conftest.$ac_objext; then
6337   eval "$as_ac_Header=yes"
6338 else
6339   echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.$ac_ext >&5
6341
6342         eval "$as_ac_Header=no"
6343 fi
6344
6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6346 fi
6347 ac_res=`eval echo '${'$as_ac_Header'}'`
6348                { echo "$as_me:$LINENO: result: $ac_res" >&5
6349 echo "${ECHO_T}$ac_res" >&6; }
6350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6351   cat >>confdefs.h <<_ACEOF
6352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6353 _ACEOF
6354
6355 fi
6356
6357 done
6358
6359
6360
6361 for ac_header in dlfcn.h
6362 do
6363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6367   echo $ECHO_N "(cached) $ECHO_C" >&6
6368 else
6369   cat >conftest.$ac_ext <<_ACEOF
6370 /* confdefs.h.  */
6371 _ACEOF
6372 cat confdefs.h >>conftest.$ac_ext
6373 cat >>conftest.$ac_ext <<_ACEOF
6374 /* end confdefs.h.  */
6375 $ac_includes_default
6376
6377 #include <$ac_header>
6378 _ACEOF
6379 rm -f conftest.$ac_objext
6380 if { (ac_try="$ac_compile"
6381 case "(($ac_try" in
6382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383   *) ac_try_echo=$ac_try;;
6384 esac
6385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386   (eval "$ac_compile") 2>conftest.er1
6387   ac_status=$?
6388   grep -v '^ *+' conftest.er1 >conftest.err
6389   rm -f conftest.er1
6390   cat conftest.err >&5
6391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392   (exit $ac_status); } && {
6393          test -z "$ac_c_werror_flag" ||
6394          test ! -s conftest.err
6395        } && test -s conftest.$ac_objext; then
6396   eval "$as_ac_Header=yes"
6397 else
6398   echo "$as_me: failed program was:" >&5
6399 sed 's/^/| /' conftest.$ac_ext >&5
6400
6401         eval "$as_ac_Header=no"
6402 fi
6403
6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405 fi
6406 ac_res=`eval echo '${'$as_ac_Header'}'`
6407                { echo "$as_me:$LINENO: result: $ac_res" >&5
6408 echo "${ECHO_T}$ac_res" >&6; }
6409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6410   cat >>confdefs.h <<_ACEOF
6411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6412 _ACEOF
6413
6414 fi
6415
6416 done
6417
6418
6419
6420 # Set options
6421
6422
6423
6424         enable_dlopen=no
6425
6426
6427   enable_win32_dll=no
6428
6429
6430             # Check whether --enable-shared was given.
6431 if test "${enable_shared+set}" = set; then
6432   enableval=$enable_shared; p=${PACKAGE-default}
6433     case $enableval in
6434     yes) enable_shared=yes ;;
6435     no) enable_shared=no ;;
6436     *)
6437       enable_shared=no
6438       # Look at the argument we got.  We use all the common list separators.
6439       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6440       for pkg in $enableval; do
6441         IFS="$lt_save_ifs"
6442         if test "X$pkg" = "X$p"; then
6443           enable_shared=yes
6444         fi
6445       done
6446       IFS="$lt_save_ifs"
6447       ;;
6448     esac
6449 else
6450   enable_shared=yes
6451 fi
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461   # Check whether --enable-static was given.
6462 if test "${enable_static+set}" = set; then
6463   enableval=$enable_static; p=${PACKAGE-default}
6464     case $enableval in
6465     yes) enable_static=yes ;;
6466     no) enable_static=no ;;
6467     *)
6468      enable_static=no
6469       # Look at the argument we got.  We use all the common list separators.
6470       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6471       for pkg in $enableval; do
6472         IFS="$lt_save_ifs"
6473         if test "X$pkg" = "X$p"; then
6474           enable_static=yes
6475         fi
6476       done
6477       IFS="$lt_save_ifs"
6478       ;;
6479     esac
6480 else
6481   enable_static=yes
6482 fi
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493 # Check whether --with-pic was given.
6494 if test "${with_pic+set}" = set; then
6495   withval=$with_pic; pic_mode="$withval"
6496 else
6497   pic_mode=default
6498 fi
6499
6500
6501 test -z "$pic_mode" && pic_mode=default
6502
6503
6504
6505
6506
6507
6508
6509   # Check whether --enable-fast-install was given.
6510 if test "${enable_fast_install+set}" = set; then
6511   enableval=$enable_fast_install; p=${PACKAGE-default}
6512     case $enableval in
6513     yes) enable_fast_install=yes ;;
6514     no) enable_fast_install=no ;;
6515     *)
6516       enable_fast_install=no
6517       # Look at the argument we got.  We use all the common list separators.
6518       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6519       for pkg in $enableval; do
6520         IFS="$lt_save_ifs"
6521         if test "X$pkg" = "X$p"; then
6522           enable_fast_install=yes
6523         fi
6524       done
6525       IFS="$lt_save_ifs"
6526       ;;
6527     esac
6528 else
6529   enable_fast_install=yes
6530 fi
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542 # This can be used to rebuild libtool when needed
6543 LIBTOOL_DEPS="$ltmain"
6544
6545 # Always use our own libtool.
6546 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572 test -z "$LN_S" && LN_S="ln -s"
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587 if test -n "${ZSH_VERSION+set}" ; then
6588    setopt NO_GLOB_SUBST
6589 fi
6590
6591 { echo "$as_me:$LINENO: checking for objdir" >&5
6592 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6593 if test "${lt_cv_objdir+set}" = set; then
6594   echo $ECHO_N "(cached) $ECHO_C" >&6
6595 else
6596   rm -f .libs 2>/dev/null
6597 mkdir .libs 2>/dev/null
6598 if test -d .libs; then
6599   lt_cv_objdir=.libs
6600 else
6601   # MS-DOS does not allow filenames that begin with a dot.
6602   lt_cv_objdir=_libs
6603 fi
6604 rmdir .libs 2>/dev/null
6605 fi
6606 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6607 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6608 objdir=$lt_cv_objdir
6609
6610
6611
6612
6613
6614 cat >>confdefs.h <<_ACEOF
6615 #define LT_OBJDIR "$lt_cv_objdir/"
6616 _ACEOF
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634 case $host_os in
6635 aix3*)
6636   # AIX sometimes has problems with the GCC collect2 program.  For some
6637   # reason, if we set the COLLECT_NAMES environment variable, the problems
6638   # vanish in a puff of smoke.
6639   if test "X${COLLECT_NAMES+set}" != Xset; then
6640     COLLECT_NAMES=
6641     export COLLECT_NAMES
6642   fi
6643   ;;
6644 esac
6645
6646 # Sed substitution that helps us do robust quoting.  It backslashifies
6647 # metacharacters that are still active within double-quoted strings.
6648 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6649
6650 # Same as above, but do not quote variable references.
6651 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6652
6653 # Sed substitution to delay expansion of an escaped shell variable in a
6654 # double_quote_subst'ed string.
6655 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6656
6657 # Sed substitution to delay expansion of an escaped single quote.
6658 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6659
6660 # Sed substitution to avoid accidental globbing in evaled expressions
6661 no_glob_subst='s/\*/\\\*/g'
6662
6663 # Global variables:
6664 ofile=libtool
6665 can_build_shared=yes
6666
6667 # All known linkers require a `.a' archive for static linking (except MSVC,
6668 # which needs '.lib').
6669 libext=a
6670
6671 with_gnu_ld="$lt_cv_prog_gnu_ld"
6672
6673 old_CC="$CC"
6674 old_CFLAGS="$CFLAGS"
6675
6676 # Set sane defaults for various variables
6677 test -z "$CC" && CC=cc
6678 test -z "$LTCC" && LTCC=$CC
6679 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6680 test -z "$LD" && LD=ld
6681 test -z "$ac_objext" && ac_objext=o
6682
6683 for cc_temp in $compiler""; do
6684   case $cc_temp in
6685     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6686     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6687     \-*) ;;
6688     *) break;;
6689   esac
6690 done
6691 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6692
6693
6694 # Only perform the check for file, if the check method requires it
6695 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6696 case $deplibs_check_method in
6697 file_magic*)
6698   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6699     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6700 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6701 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6702   echo $ECHO_N "(cached) $ECHO_C" >&6
6703 else
6704   case $MAGIC_CMD in
6705 [\\/*] |  ?:[\\/]*)
6706   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6707   ;;
6708 *)
6709   lt_save_MAGIC_CMD="$MAGIC_CMD"
6710   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6711   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6712   for ac_dir in $ac_dummy; do
6713     IFS="$lt_save_ifs"
6714     test -z "$ac_dir" && ac_dir=.
6715     if test -f $ac_dir/${ac_tool_prefix}file; then
6716       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6717       if test -n "$file_magic_test_file"; then
6718         case $deplibs_check_method in
6719         "file_magic "*)
6720           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6721           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6722           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6723             $EGREP "$file_magic_regex" > /dev/null; then
6724             :
6725           else
6726             cat <<_LT_EOF 1>&2
6727
6728 *** Warning: the command libtool uses to detect shared libraries,
6729 *** $file_magic_cmd, produces output that libtool cannot recognize.
6730 *** The result is that libtool may fail to recognize shared libraries
6731 *** as such.  This will affect the creation of libtool libraries that
6732 *** depend on shared libraries, but programs linked with such libtool
6733 *** libraries will work regardless of this problem.  Nevertheless, you
6734 *** may want to report the problem to your system manager and/or to
6735 *** bug-libtool@gnu.org
6736
6737 _LT_EOF
6738           fi ;;
6739         esac
6740       fi
6741       break
6742     fi
6743   done
6744   IFS="$lt_save_ifs"
6745   MAGIC_CMD="$lt_save_MAGIC_CMD"
6746   ;;
6747 esac
6748 fi
6749
6750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6751 if test -n "$MAGIC_CMD"; then
6752   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6753 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6754 else
6755   { echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6; }
6757 fi
6758
6759
6760
6761
6762
6763 if test -z "$lt_cv_path_MAGIC_CMD"; then
6764   if test -n "$ac_tool_prefix"; then
6765     { echo "$as_me:$LINENO: checking for file" >&5
6766 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6767 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6768   echo $ECHO_N "(cached) $ECHO_C" >&6
6769 else
6770   case $MAGIC_CMD in
6771 [\\/*] |  ?:[\\/]*)
6772   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6773   ;;
6774 *)
6775   lt_save_MAGIC_CMD="$MAGIC_CMD"
6776   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6777   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6778   for ac_dir in $ac_dummy; do
6779     IFS="$lt_save_ifs"
6780     test -z "$ac_dir" && ac_dir=.
6781     if test -f $ac_dir/file; then
6782       lt_cv_path_MAGIC_CMD="$ac_dir/file"
6783       if test -n "$file_magic_test_file"; then
6784         case $deplibs_check_method in
6785         "file_magic "*)
6786           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6787           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6788           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6789             $EGREP "$file_magic_regex" > /dev/null; then
6790             :
6791           else
6792             cat <<_LT_EOF 1>&2
6793
6794 *** Warning: the command libtool uses to detect shared libraries,
6795 *** $file_magic_cmd, produces output that libtool cannot recognize.
6796 *** The result is that libtool may fail to recognize shared libraries
6797 *** as such.  This will affect the creation of libtool libraries that
6798 *** depend on shared libraries, but programs linked with such libtool
6799 *** libraries will work regardless of this problem.  Nevertheless, you
6800 *** may want to report the problem to your system manager and/or to
6801 *** bug-libtool@gnu.org
6802
6803 _LT_EOF
6804           fi ;;
6805         esac
6806       fi
6807       break
6808     fi
6809   done
6810   IFS="$lt_save_ifs"
6811   MAGIC_CMD="$lt_save_MAGIC_CMD"
6812   ;;
6813 esac
6814 fi
6815
6816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6817 if test -n "$MAGIC_CMD"; then
6818   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6819 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6820 else
6821   { echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6; }
6823 fi
6824
6825
6826   else
6827     MAGIC_CMD=:
6828   fi
6829 fi
6830
6831   fi
6832   ;;
6833 esac
6834
6835 # Use C for the default configuration in the libtool script
6836
6837 lt_save_CC="$CC"
6838 ac_ext=c
6839 ac_cpp='$CPP $CPPFLAGS'
6840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6843
6844
6845 # Source file extension for C test sources.
6846 ac_ext=c
6847
6848 # Object file extension for compiled C test sources.
6849 objext=o
6850 objext=$objext
6851
6852 # Code to be used in simple compile tests
6853 lt_simple_compile_test_code="int some_variable = 0;"
6854
6855 # Code to be used in simple link tests
6856 lt_simple_link_test_code='int main(){return(0);}'
6857
6858
6859
6860
6861
6862
6863
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6866
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6872
6873 # Save the default compiler, since it gets overwritten when the other
6874 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6875 compiler_DEFAULT=$CC
6876
6877 # save warnings/boilerplate of simple test code
6878 ac_outfile=conftest.$ac_objext
6879 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6880 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6881 _lt_compiler_boilerplate=`cat conftest.err`
6882 $RM conftest*
6883
6884 ac_outfile=conftest.$ac_objext
6885 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6886 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6887 _lt_linker_boilerplate=`cat conftest.err`
6888 $RM -r conftest*
6889
6890
6891 if test -n "$compiler"; then
6892
6893 lt_prog_compiler_no_builtin_flag=
6894
6895 if test "$GCC" = yes; then
6896   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6897
6898   { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6899 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6900 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6901   echo $ECHO_N "(cached) $ECHO_C" >&6
6902 else
6903   lt_cv_prog_compiler_rtti_exceptions=no
6904    ac_outfile=conftest.$ac_objext
6905    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6906    lt_compiler_flag="-fno-rtti -fno-exceptions"
6907    # Insert the option either (1) after the last *FLAGS variable, or
6908    # (2) before a word containing "conftest.", or (3) at the end.
6909    # Note that $ac_compile itself does not contain backslashes and begins
6910    # with a dollar sign (not a hyphen), so the echo should work correctly.
6911    # The option is referenced via a variable to avoid confusing sed.
6912    lt_compile=`echo "$ac_compile" | $SED \
6913    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6914    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6915    -e 's:$: $lt_compiler_flag:'`
6916    (eval echo "\"\$as_me:6916: $lt_compile\"" >&5)
6917    (eval "$lt_compile" 2>conftest.err)
6918    ac_status=$?
6919    cat conftest.err >&5
6920    echo "$as_me:6920: \$? = $ac_status" >&5
6921    if (exit $ac_status) && test -s "$ac_outfile"; then
6922      # The compiler can only warn and ignore the option if not recognized
6923      # So say no if there are warnings other than the usual output.
6924      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6925      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6926      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6927        lt_cv_prog_compiler_rtti_exceptions=yes
6928      fi
6929    fi
6930    $RM conftest*
6931
6932 fi
6933 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6934 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6935
6936 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6937     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6938 else
6939     :
6940 fi
6941
6942 fi
6943
6944
6945
6946
6947
6948
6949   lt_prog_compiler_wl=
6950 lt_prog_compiler_pic=
6951 lt_prog_compiler_static=
6952
6953 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6954 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6955
6956   if test "$GCC" = yes; then
6957     lt_prog_compiler_wl='-Wl,'
6958     lt_prog_compiler_static='-static'
6959
6960     case $host_os in
6961       aix*)
6962       # All AIX code is PIC.
6963       if test "$host_cpu" = ia64; then
6964         # AIX 5 now supports IA64 processor
6965         lt_prog_compiler_static='-Bstatic'
6966       fi
6967       ;;
6968
6969     amigaos*)
6970       if test "$host_cpu" = m68k; then
6971         # FIXME: we need at least 68020 code to build shared libraries, but
6972         # adding the `-m68020' flag to GCC prevents building anything better,
6973         # like `-m68040'.
6974         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6975       fi
6976       ;;
6977
6978     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6979       # PIC is the default for these OSes.
6980       ;;
6981
6982     mingw* | cygwin* | pw32* | os2*)
6983       # This hack is so that the source file can tell whether it is being
6984       # built for inclusion in a dll (and should export symbols for example).
6985       # Although the cygwin gcc ignores -fPIC, still need this for old-style
6986       # (--disable-auto-import) libraries
6987       lt_prog_compiler_pic='-DDLL_EXPORT'
6988       ;;
6989
6990     darwin* | rhapsody*)
6991       # PIC is the default on this platform
6992       # Common symbols not allowed in MH_DYLIB files
6993       lt_prog_compiler_pic='-fno-common'
6994       ;;
6995
6996     hpux*)
6997       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6998       # not for PA HP-UX.
6999       case $host_cpu in
7000       hppa*64*|ia64*)
7001         # +Z the default
7002         ;;
7003       *)
7004         lt_prog_compiler_pic='-fPIC'
7005         ;;
7006       esac
7007       ;;
7008
7009     interix[3-9]*)
7010       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7011       # Instead, we relocate shared libraries at runtime.
7012       ;;
7013
7014     msdosdjgpp*)
7015       # Just because we use GCC doesn't mean we suddenly get shared libraries
7016       # on systems that don't support them.
7017       lt_prog_compiler_can_build_shared=no
7018       enable_shared=no
7019       ;;
7020
7021     *nto* | *qnx*)
7022       # QNX uses GNU C++, but need to define -shared option too, otherwise
7023       # it will coredump.
7024       lt_prog_compiler_pic='-fPIC -shared'
7025       ;;
7026
7027     sysv4*MP*)
7028       if test -d /usr/nec; then
7029         lt_prog_compiler_pic=-Kconform_pic
7030       fi
7031       ;;
7032
7033     *)
7034       lt_prog_compiler_pic='-fPIC'
7035       ;;
7036     esac
7037   else
7038     # PORTME Check for flag to pass linker flags through the system compiler.
7039     case $host_os in
7040     aix*)
7041       lt_prog_compiler_wl='-Wl,'
7042       if test "$host_cpu" = ia64; then
7043         # AIX 5 now supports IA64 processor
7044         lt_prog_compiler_static='-Bstatic'
7045       else
7046         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7047       fi
7048       ;;
7049
7050     mingw* | cygwin* | pw32* | os2*)
7051       # This hack is so that the source file can tell whether it is being
7052       # built for inclusion in a dll (and should export symbols for example).
7053       lt_prog_compiler_pic='-DDLL_EXPORT'
7054       ;;
7055
7056     hpux9* | hpux10* | hpux11*)
7057       lt_prog_compiler_wl='-Wl,'
7058       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7059       # not for PA HP-UX.
7060       case $host_cpu in
7061       hppa*64*|ia64*)
7062         # +Z the default
7063         ;;
7064       *)
7065         lt_prog_compiler_pic='+Z'
7066         ;;
7067       esac
7068       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7069       lt_prog_compiler_static='${wl}-a ${wl}archive'
7070       ;;
7071
7072     irix5* | irix6* | nonstopux*)
7073       lt_prog_compiler_wl='-Wl,'
7074       # PIC (with -KPIC) is the default.
7075       lt_prog_compiler_static='-non_shared'
7076       ;;
7077
7078     linux* | k*bsd*-gnu)
7079       case $cc_basename in
7080       icc* | ecc* | ifort*)
7081         lt_prog_compiler_wl='-Wl,'
7082         lt_prog_compiler_pic='-KPIC'
7083         lt_prog_compiler_static='-static'
7084         ;;
7085       pgcc* | pgf77* | pgf90* | pgf95*)
7086         # Portland Group compilers (*not* the Pentium gcc compiler,
7087         # which looks to be a dead project)
7088         lt_prog_compiler_wl='-Wl,'
7089         lt_prog_compiler_pic='-fpic'
7090         lt_prog_compiler_static='-Bstatic'
7091         ;;
7092       ccc*)
7093         lt_prog_compiler_wl='-Wl,'
7094         # All Alpha code is PIC.
7095         lt_prog_compiler_static='-non_shared'
7096         ;;
7097       xl*)
7098         # IBM XL C 8.0/Fortran 10.1 on PPC
7099         lt_prog_compiler_wl='-Wl,'
7100         lt_prog_compiler_pic='-qpic'
7101         lt_prog_compiler_static='-qstaticlink'
7102         ;;
7103       *)
7104         case `$CC -V 2>&1 | sed 5q` in
7105         *Sun\ C*)
7106           # Sun C 5.9
7107           lt_prog_compiler_pic='-KPIC'
7108           lt_prog_compiler_static='-Bstatic'
7109           lt_prog_compiler_wl='-Wl,'
7110           ;;
7111         *Sun\ F*)
7112           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7113           lt_prog_compiler_pic='-KPIC'
7114           lt_prog_compiler_static='-Bstatic'
7115           lt_prog_compiler_wl=''
7116           ;;
7117         esac
7118         ;;
7119       esac
7120       ;;
7121
7122     newsos6)
7123       lt_prog_compiler_pic='-KPIC'
7124       lt_prog_compiler_static='-Bstatic'
7125       ;;
7126
7127     *nto* | *qnx*)
7128       # QNX uses GNU C++, but need to define -shared option too, otherwise
7129       # it will coredump.
7130       lt_prog_compiler_pic='-fPIC -shared'
7131       ;;
7132
7133     osf3* | osf4* | osf5*)
7134       lt_prog_compiler_wl='-Wl,'
7135       # All OSF/1 code is PIC.
7136       lt_prog_compiler_static='-non_shared'
7137       ;;
7138
7139     rdos*)
7140       lt_prog_compiler_static='-non_shared'
7141       ;;
7142
7143     solaris*)
7144       lt_prog_compiler_pic='-KPIC'
7145       lt_prog_compiler_static='-Bstatic'
7146       case $cc_basename in
7147       f77* | f90* | f95*)
7148         lt_prog_compiler_wl='-Qoption ld ';;
7149       *)
7150         lt_prog_compiler_wl='-Wl,';;
7151       esac
7152       ;;
7153
7154     sunos4*)
7155       lt_prog_compiler_wl='-Qoption ld '
7156       lt_prog_compiler_pic='-PIC'
7157       lt_prog_compiler_static='-Bstatic'
7158       ;;
7159
7160     sysv4 | sysv4.2uw2* | sysv4.3*)
7161       lt_prog_compiler_wl='-Wl,'
7162       lt_prog_compiler_pic='-KPIC'
7163       lt_prog_compiler_static='-Bstatic'
7164       ;;
7165
7166     sysv4*MP*)
7167       if test -d /usr/nec ;then
7168         lt_prog_compiler_pic='-Kconform_pic'
7169         lt_prog_compiler_static='-Bstatic'
7170       fi
7171       ;;
7172
7173     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7174       lt_prog_compiler_wl='-Wl,'
7175       lt_prog_compiler_pic='-KPIC'
7176       lt_prog_compiler_static='-Bstatic'
7177       ;;
7178
7179     unicos*)
7180       lt_prog_compiler_wl='-Wl,'
7181       lt_prog_compiler_can_build_shared=no
7182       ;;
7183
7184     uts4*)
7185       lt_prog_compiler_pic='-pic'
7186       lt_prog_compiler_static='-Bstatic'
7187       ;;
7188
7189     *)
7190       lt_prog_compiler_can_build_shared=no
7191       ;;
7192     esac
7193   fi
7194
7195 case $host_os in
7196   # For platforms which do not support PIC, -DPIC is meaningless:
7197   *djgpp*)
7198     lt_prog_compiler_pic=
7199     ;;
7200   *)
7201     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7202     ;;
7203 esac
7204 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7205 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7206
7207
7208
7209
7210
7211
7212 #
7213 # Check to make sure the PIC flag actually works.
7214 #
7215 if test -n "$lt_prog_compiler_pic"; then
7216   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7217 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7218 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7219   echo $ECHO_N "(cached) $ECHO_C" >&6
7220 else
7221   lt_cv_prog_compiler_pic_works=no
7222    ac_outfile=conftest.$ac_objext
7223    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7224    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7225    # Insert the option either (1) after the last *FLAGS variable, or
7226    # (2) before a word containing "conftest.", or (3) at the end.
7227    # Note that $ac_compile itself does not contain backslashes and begins
7228    # with a dollar sign (not a hyphen), so the echo should work correctly.
7229    # The option is referenced via a variable to avoid confusing sed.
7230    lt_compile=`echo "$ac_compile" | $SED \
7231    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7232    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7233    -e 's:$: $lt_compiler_flag:'`
7234    (eval echo "\"\$as_me:7234: $lt_compile\"" >&5)
7235    (eval "$lt_compile" 2>conftest.err)
7236    ac_status=$?
7237    cat conftest.err >&5
7238    echo "$as_me:7238: \$? = $ac_status" >&5
7239    if (exit $ac_status) && test -s "$ac_outfile"; then
7240      # The compiler can only warn and ignore the option if not recognized
7241      # So say no if there are warnings other than the usual output.
7242      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7243      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7244      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7245        lt_cv_prog_compiler_pic_works=yes
7246      fi
7247    fi
7248    $RM conftest*
7249
7250 fi
7251 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7252 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7253
7254 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7255     case $lt_prog_compiler_pic in
7256      "" | " "*) ;;
7257      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7258      esac
7259 else
7260     lt_prog_compiler_pic=
7261      lt_prog_compiler_can_build_shared=no
7262 fi
7263
7264 fi
7265
7266
7267
7268
7269
7270
7271 #
7272 # Check to make sure the static flag actually works.
7273 #
7274 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7275 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7276 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7277 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7278   echo $ECHO_N "(cached) $ECHO_C" >&6
7279 else
7280   lt_cv_prog_compiler_static_works=no
7281    save_LDFLAGS="$LDFLAGS"
7282    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7283    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7284    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7285      # The linker can only warn and ignore the option if not recognized
7286      # So say no if there are warnings
7287      if test -s conftest.err; then
7288        # Append any errors to the config.log.
7289        cat conftest.err 1>&5
7290        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7291        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7292        if diff conftest.exp conftest.er2 >/dev/null; then
7293          lt_cv_prog_compiler_static_works=yes
7294        fi
7295      else
7296        lt_cv_prog_compiler_static_works=yes
7297      fi
7298    fi
7299    $RM -r conftest*
7300    LDFLAGS="$save_LDFLAGS"
7301
7302 fi
7303 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7304 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7305
7306 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7307     :
7308 else
7309     lt_prog_compiler_static=
7310 fi
7311
7312
7313
7314
7315
7316
7317
7318   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7319 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7320 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7321   echo $ECHO_N "(cached) $ECHO_C" >&6
7322 else
7323   lt_cv_prog_compiler_c_o=no
7324    $RM -r conftest 2>/dev/null
7325    mkdir conftest
7326    cd conftest
7327    mkdir out
7328    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7329
7330    lt_compiler_flag="-o out/conftest2.$ac_objext"
7331    # Insert the option either (1) after the last *FLAGS variable, or
7332    # (2) before a word containing "conftest.", or (3) at the end.
7333    # Note that $ac_compile itself does not contain backslashes and begins
7334    # with a dollar sign (not a hyphen), so the echo should work correctly.
7335    lt_compile=`echo "$ac_compile" | $SED \
7336    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7337    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7338    -e 's:$: $lt_compiler_flag:'`
7339    (eval echo "\"\$as_me:7339: $lt_compile\"" >&5)
7340    (eval "$lt_compile" 2>out/conftest.err)
7341    ac_status=$?
7342    cat out/conftest.err >&5
7343    echo "$as_me:7343: \$? = $ac_status" >&5
7344    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7345    then
7346      # The compiler can only warn and ignore the option if not recognized
7347      # So say no if there are warnings
7348      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7349      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7350      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7351        lt_cv_prog_compiler_c_o=yes
7352      fi
7353    fi
7354    chmod u+w . 2>&5
7355    $RM conftest*
7356    # SGI C++ compiler will create directory out/ii_files/ for
7357    # template instantiation
7358    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7359    $RM out/* && rmdir out
7360    cd ..
7361    $RM -r conftest
7362    $RM conftest*
7363
7364 fi
7365 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7366 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7367
7368
7369
7370
7371
7372
7373   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7374 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7375 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7376   echo $ECHO_N "(cached) $ECHO_C" >&6
7377 else
7378   lt_cv_prog_compiler_c_o=no
7379    $RM -r conftest 2>/dev/null
7380    mkdir conftest
7381    cd conftest
7382    mkdir out
7383    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7384
7385    lt_compiler_flag="-o out/conftest2.$ac_objext"
7386    # Insert the option either (1) after the last *FLAGS variable, or
7387    # (2) before a word containing "conftest.", or (3) at the end.
7388    # Note that $ac_compile itself does not contain backslashes and begins
7389    # with a dollar sign (not a hyphen), so the echo should work correctly.
7390    lt_compile=`echo "$ac_compile" | $SED \
7391    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7392    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7393    -e 's:$: $lt_compiler_flag:'`
7394    (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
7395    (eval "$lt_compile" 2>out/conftest.err)
7396    ac_status=$?
7397    cat out/conftest.err >&5
7398    echo "$as_me:7398: \$? = $ac_status" >&5
7399    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7400    then
7401      # The compiler can only warn and ignore the option if not recognized
7402      # So say no if there are warnings
7403      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7404      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7405      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7406        lt_cv_prog_compiler_c_o=yes
7407      fi
7408    fi
7409    chmod u+w . 2>&5
7410    $RM conftest*
7411    # SGI C++ compiler will create directory out/ii_files/ for
7412    # template instantiation
7413    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7414    $RM out/* && rmdir out
7415    cd ..
7416    $RM -r conftest
7417    $RM conftest*
7418
7419 fi
7420 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7421 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7422
7423
7424
7425
7426 hard_links="nottested"
7427 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7428   # do not overwrite the value of need_locks provided by the user
7429   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7430 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7431   hard_links=yes
7432   $RM conftest*
7433   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7434   touch conftest.a
7435   ln conftest.a conftest.b 2>&5 || hard_links=no
7436   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7437   { echo "$as_me:$LINENO: result: $hard_links" >&5
7438 echo "${ECHO_T}$hard_links" >&6; }
7439   if test "$hard_links" = no; then
7440     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7441 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7442     need_locks=warn
7443   fi
7444 else
7445   need_locks=no
7446 fi
7447
7448
7449
7450
7451
7452
7453   { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7454 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7455
7456   runpath_var=
7457   allow_undefined_flag=
7458   always_export_symbols=no
7459   archive_cmds=
7460   archive_expsym_cmds=
7461   compiler_needs_object=no
7462   enable_shared_with_static_runtimes=no
7463   export_dynamic_flag_spec=
7464   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7465   hardcode_automatic=no
7466   hardcode_direct=no
7467   hardcode_direct_absolute=no
7468   hardcode_libdir_flag_spec=
7469   hardcode_libdir_flag_spec_ld=
7470   hardcode_libdir_separator=
7471   hardcode_minus_L=no
7472   hardcode_shlibpath_var=unsupported
7473   inherit_rpath=no
7474   link_all_deplibs=unknown
7475   module_cmds=
7476   module_expsym_cmds=
7477   old_archive_from_new_cmds=
7478   old_archive_from_expsyms_cmds=
7479   thread_safe_flag_spec=
7480   whole_archive_flag_spec=
7481   # include_expsyms should be a list of space-separated symbols to be *always*
7482   # included in the symbol list
7483   include_expsyms=
7484   # exclude_expsyms can be an extended regexp of symbols to exclude
7485   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7486   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7487   # as well as any symbol that contains `d'.
7488   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7489   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7490   # platforms (ab)use it in PIC code, but their linkers get confused if
7491   # the symbol is explicitly referenced.  Since portable code cannot
7492   # rely on this symbol name, it's probably fine to never include it in
7493   # preloaded symbol tables.
7494   # Exclude shared library initialization/finalization symbols.
7495   extract_expsyms_cmds=
7496
7497   case $host_os in
7498   cygwin* | mingw* | pw32*)
7499     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7500     # When not using gcc, we currently assume that we are using
7501     # Microsoft Visual C++.
7502     if test "$GCC" != yes; then
7503       with_gnu_ld=no
7504     fi
7505     ;;
7506   interix*)
7507     # we just hope/assume this is gcc and not c89 (= MSVC++)
7508     with_gnu_ld=yes
7509     ;;
7510   openbsd*)
7511     with_gnu_ld=no
7512     ;;
7513   esac
7514
7515   ld_shlibs=yes
7516   if test "$with_gnu_ld" = yes; then
7517     # If archive_cmds runs LD, not CC, wlarc should be empty
7518     wlarc='${wl}'
7519
7520     # Set some defaults for GNU ld with shared library support. These
7521     # are reset later if shared libraries are not supported. Putting them
7522     # here allows them to be overridden if necessary.
7523     runpath_var=LD_RUN_PATH
7524     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7525     export_dynamic_flag_spec='${wl}--export-dynamic'
7526     # ancient GNU ld didn't support --whole-archive et. al.
7527     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7528       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7529     else
7530       whole_archive_flag_spec=
7531     fi
7532     supports_anon_versioning=no
7533     case `$LD -v 2>&1` in
7534       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7535       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7536       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7537       *\ 2.11.*) ;; # other 2.11 versions
7538       *) supports_anon_versioning=yes ;;
7539     esac
7540
7541     # See if GNU ld supports shared libraries.
7542     case $host_os in
7543     aix[3-9]*)
7544       # On AIX/PPC, the GNU linker is very broken
7545       if test "$host_cpu" != ia64; then
7546         ld_shlibs=no
7547         cat <<_LT_EOF 1>&2
7548
7549 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7550 *** to be unable to reliably create shared libraries on AIX.
7551 *** Therefore, libtool is disabling shared libraries support.  If you
7552 *** really care for shared libraries, you may want to modify your PATH
7553 *** so that a non-GNU linker is found, and then restart.
7554
7555 _LT_EOF
7556       fi
7557       ;;
7558
7559     amigaos*)
7560       if test "$host_cpu" = m68k; then
7561         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)'
7562         hardcode_libdir_flag_spec='-L$libdir'
7563         hardcode_minus_L=yes
7564       fi
7565
7566       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7567       # that the semantics of dynamic libraries on AmigaOS, at least up
7568       # to version 4, is to share data among multiple programs linked
7569       # with the same dynamic library.  Since this doesn't match the
7570       # behavior of shared libraries on other platforms, we can't use
7571       # them.
7572       ld_shlibs=no
7573       ;;
7574
7575     beos*)
7576       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7577         allow_undefined_flag=unsupported
7578         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7579         # support --undefined.  This deserves some investigation.  FIXME
7580         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7581       else
7582         ld_shlibs=no
7583       fi
7584       ;;
7585
7586     cygwin* | mingw* | pw32*)
7587       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7588       # as there is no search path for DLLs.
7589       hardcode_libdir_flag_spec='-L$libdir'
7590       allow_undefined_flag=unsupported
7591       always_export_symbols=no
7592       enable_shared_with_static_runtimes=yes
7593       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7594
7595       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7596         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7597         # If the export-symbols file already is a .def file (1st line
7598         # is EXPORTS), use it as is; otherwise, prepend...
7599         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7600           cp $export_symbols $output_objdir/$soname.def;
7601         else
7602           echo EXPORTS > $output_objdir/$soname.def;
7603           cat $export_symbols >> $output_objdir/$soname.def;
7604         fi~
7605         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7606       else
7607         ld_shlibs=no
7608       fi
7609       ;;
7610
7611     interix[3-9]*)
7612       hardcode_direct=no
7613       hardcode_shlibpath_var=no
7614       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7615       export_dynamic_flag_spec='${wl}-E'
7616       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7617       # Instead, shared libraries are loaded at an image base (0x10000000 by
7618       # default) and relocated if they conflict, which is a slow very memory
7619       # consuming and fragmenting process.  To avoid this, we pick a random,
7620       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7621       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7622       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7623       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'
7624       ;;
7625
7626     gnu* | linux* | tpf* | k*bsd*-gnu)
7627       tmp_diet=no
7628       if test "$host_os" = linux-dietlibc; then
7629         case $cc_basename in
7630           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7631         esac
7632       fi
7633       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7634          && test "$tmp_diet" = no
7635       then
7636         tmp_addflag=
7637         tmp_sharedflag='-shared'
7638         case $cc_basename,$host_cpu in
7639         pgcc*)                          # Portland Group C compiler
7640           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'
7641           tmp_addflag=' $pic_flag'
7642           ;;
7643         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7644           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'
7645           tmp_addflag=' $pic_flag -Mnomain' ;;
7646         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7647           tmp_addflag=' -i_dynamic' ;;
7648         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7649           tmp_addflag=' -i_dynamic -nofor_main' ;;
7650         ifc* | ifort*)                  # Intel Fortran compiler
7651           tmp_addflag=' -nofor_main' ;;
7652         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
7653           tmp_sharedflag='-qmkshrobj'
7654           tmp_addflag= ;;
7655         esac
7656         case `$CC -V 2>&1 | sed 5q` in
7657         *Sun\ C*)                       # Sun C 5.9
7658           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'
7659           compiler_needs_object=yes
7660           tmp_sharedflag='-G' ;;
7661         *Sun\ F*)                       # Sun Fortran 8.3
7662           tmp_sharedflag='-G' ;;
7663         esac
7664         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7665
7666         if test "x$supports_anon_versioning" = xyes; then
7667           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7668             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7669             echo "local: *; };" >> $output_objdir/$libname.ver~
7670             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7671         fi
7672
7673         case $cc_basename in
7674         xlf*)
7675           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7676           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7677           hardcode_libdir_flag_spec=
7678           hardcode_libdir_flag_spec_ld='-rpath $libdir'
7679           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7680           if test "x$supports_anon_versioning" = xyes; then
7681             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7682               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7683               echo "local: *; };" >> $output_objdir/$libname.ver~
7684               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7685           fi
7686           ;;
7687         esac
7688       else
7689         ld_shlibs=no
7690       fi
7691       ;;
7692
7693     netbsd*)
7694       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7695         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7696         wlarc=
7697       else
7698         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7699         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7700       fi
7701       ;;
7702
7703     solaris*)
7704       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7705         ld_shlibs=no
7706         cat <<_LT_EOF 1>&2
7707
7708 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7709 *** create shared libraries on Solaris systems.  Therefore, libtool
7710 *** is disabling shared libraries support.  We urge you to upgrade GNU
7711 *** binutils to release 2.9.1 or newer.  Another option is to modify
7712 *** your PATH or compiler configuration so that the native linker is
7713 *** used, and then restart.
7714
7715 _LT_EOF
7716       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7717         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7718         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7719       else
7720         ld_shlibs=no
7721       fi
7722       ;;
7723
7724     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7725       case `$LD -v 2>&1` in
7726         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7727         ld_shlibs=no
7728         cat <<_LT_EOF 1>&2
7729
7730 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7731 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7732 *** is disabling shared libraries support.  We urge you to upgrade GNU
7733 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7734 *** your PATH or compiler configuration so that the native linker is
7735 *** used, and then restart.
7736
7737 _LT_EOF
7738         ;;
7739         *)
7740           # For security reasons, it is highly recommended that you always
7741           # use absolute paths for naming shared libraries, and exclude the
7742           # DT_RUNPATH tag from executables and libraries.  But doing so
7743           # requires that you compile everything twice, which is a pain.
7744           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7745             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7746             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7747             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7748           else
7749             ld_shlibs=no
7750           fi
7751         ;;
7752       esac
7753       ;;
7754
7755     sunos4*)
7756       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7757       wlarc=
7758       hardcode_direct=yes
7759       hardcode_shlibpath_var=no
7760       ;;
7761
7762     *)
7763       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7764         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7765         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7766       else
7767         ld_shlibs=no
7768       fi
7769       ;;
7770     esac
7771
7772     if test "$ld_shlibs" = no; then
7773       runpath_var=
7774       hardcode_libdir_flag_spec=
7775       export_dynamic_flag_spec=
7776       whole_archive_flag_spec=
7777     fi
7778   else
7779     # PORTME fill in a description of your system's linker (not GNU ld)
7780     case $host_os in
7781     aix3*)
7782       allow_undefined_flag=unsupported
7783       always_export_symbols=yes
7784       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'
7785       # Note: this linker hardcodes the directories in LIBPATH if there
7786       # are no directories specified by -L.
7787       hardcode_minus_L=yes
7788       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7789         # Neither direct hardcoding nor static linking is supported with a
7790         # broken collect2.
7791         hardcode_direct=unsupported
7792       fi
7793       ;;
7794
7795     aix[4-9]*)
7796       if test "$host_cpu" = ia64; then
7797         # On IA64, the linker does run time linking by default, so we don't
7798         # have to do anything special.
7799         aix_use_runtimelinking=no
7800         exp_sym_flag='-Bexport'
7801         no_entry_flag=""
7802       else
7803         # If we're using GNU nm, then we don't want the "-C" option.
7804         # -C means demangle to AIX nm, but means don't demangle with GNU nm
7805         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7806           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'
7807         else
7808           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'
7809         fi
7810         aix_use_runtimelinking=no
7811
7812         # Test if we are trying to use run time linking or normal
7813         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7814         # need to do runtime linking.
7815         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7816           for ld_flag in $LDFLAGS; do
7817           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7818             aix_use_runtimelinking=yes
7819             break
7820           fi
7821           done
7822           ;;
7823         esac
7824
7825         exp_sym_flag='-bexport'
7826         no_entry_flag='-bnoentry'
7827       fi
7828
7829       # When large executables or shared objects are built, AIX ld can
7830       # have problems creating the table of contents.  If linking a library
7831       # or program results in "error TOC overflow" add -mminimal-toc to
7832       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7833       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7834
7835       archive_cmds=''
7836       hardcode_direct=yes
7837       hardcode_direct_absolute=yes
7838       hardcode_libdir_separator=':'
7839       link_all_deplibs=yes
7840       file_list_spec='${wl}-f,'
7841
7842       if test "$GCC" = yes; then
7843         case $host_os in aix4.[012]|aix4.[012].*)
7844         # We only want to do this on AIX 4.2 and lower, the check
7845         # below for broken collect2 doesn't work under 4.3+
7846           collect2name=`${CC} -print-prog-name=collect2`
7847           if test -f "$collect2name" &&
7848            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7849           then
7850           # We have reworked collect2
7851           :
7852           else
7853           # We have old collect2
7854           hardcode_direct=unsupported
7855           # It fails to find uninstalled libraries when the uninstalled
7856           # path is not listed in the libpath.  Setting hardcode_minus_L
7857           # to unsupported forces relinking
7858           hardcode_minus_L=yes
7859           hardcode_libdir_flag_spec='-L$libdir'
7860           hardcode_libdir_separator=
7861           fi
7862           ;;
7863         esac
7864         shared_flag='-shared'
7865         if test "$aix_use_runtimelinking" = yes; then
7866           shared_flag="$shared_flag "'${wl}-G'
7867         fi
7868       else
7869         # not using gcc
7870         if test "$host_cpu" = ia64; then
7871         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7872         # chokes on -Wl,-G. The following line is correct:
7873           shared_flag='-G'
7874         else
7875           if test "$aix_use_runtimelinking" = yes; then
7876             shared_flag='${wl}-G'
7877           else
7878             shared_flag='${wl}-bM:SRE'
7879           fi
7880         fi
7881       fi
7882
7883       # It seems that -bexpall does not export symbols beginning with
7884       # underscore (_), so it is better to generate a list of symbols to export.
7885       always_export_symbols=yes
7886       if test "$aix_use_runtimelinking" = yes; then
7887         # Warning - without using the other runtime loading flags (-brtl),
7888         # -berok will link without error, but may produce a broken library.
7889         allow_undefined_flag='-berok'
7890         # Determine the default libpath from the value encoded in an
7891         # empty executable.
7892         cat >conftest.$ac_ext <<_ACEOF
7893 /* confdefs.h.  */
7894 _ACEOF
7895 cat confdefs.h >>conftest.$ac_ext
7896 cat >>conftest.$ac_ext <<_ACEOF
7897 /* end confdefs.h.  */
7898
7899 int
7900 main ()
7901 {
7902
7903   ;
7904   return 0;
7905 }
7906 _ACEOF
7907 rm -f conftest.$ac_objext conftest$ac_exeext
7908 if { (ac_try="$ac_link"
7909 case "(($ac_try" in
7910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7911   *) ac_try_echo=$ac_try;;
7912 esac
7913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7914   (eval "$ac_link") 2>conftest.er1
7915   ac_status=$?
7916   grep -v '^ *+' conftest.er1 >conftest.err
7917   rm -f conftest.er1
7918   cat conftest.err >&5
7919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920   (exit $ac_status); } && {
7921          test -z "$ac_c_werror_flag" ||
7922          test ! -s conftest.err
7923        } && test -s conftest$ac_exeext &&
7924        $as_test_x conftest$ac_exeext; then
7925
7926 lt_aix_libpath_sed='
7927     /Import File Strings/,/^$/ {
7928         /^0/ {
7929             s/^0  *\(.*\)$/\1/
7930             p
7931         }
7932     }'
7933 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7934 # Check for a 64-bit object if we didn't find anything.
7935 if test -z "$aix_libpath"; then
7936   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7937 fi
7938 else
7939   echo "$as_me: failed program was:" >&5
7940 sed 's/^/| /' conftest.$ac_ext >&5
7941
7942
7943 fi
7944
7945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7946       conftest$ac_exeext conftest.$ac_ext
7947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7948
7949         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7950         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"
7951       else
7952         if test "$host_cpu" = ia64; then
7953           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7954           allow_undefined_flag="-z nodefs"
7955           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"
7956         else
7957          # Determine the default libpath from the value encoded in an
7958          # empty executable.
7959          cat >conftest.$ac_ext <<_ACEOF
7960 /* confdefs.h.  */
7961 _ACEOF
7962 cat confdefs.h >>conftest.$ac_ext
7963 cat >>conftest.$ac_ext <<_ACEOF
7964 /* end confdefs.h.  */
7965
7966 int
7967 main ()
7968 {
7969
7970   ;
7971   return 0;
7972 }
7973 _ACEOF
7974 rm -f conftest.$ac_objext conftest$ac_exeext
7975 if { (ac_try="$ac_link"
7976 case "(($ac_try" in
7977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7978   *) ac_try_echo=$ac_try;;
7979 esac
7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7981   (eval "$ac_link") 2>conftest.er1
7982   ac_status=$?
7983   grep -v '^ *+' conftest.er1 >conftest.err
7984   rm -f conftest.er1
7985   cat conftest.err >&5
7986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987   (exit $ac_status); } && {
7988          test -z "$ac_c_werror_flag" ||
7989          test ! -s conftest.err
7990        } && test -s conftest$ac_exeext &&
7991        $as_test_x conftest$ac_exeext; then
7992
7993 lt_aix_libpath_sed='
7994     /Import File Strings/,/^$/ {
7995         /^0/ {
7996             s/^0  *\(.*\)$/\1/
7997             p
7998         }
7999     }'
8000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8001 # Check for a 64-bit object if we didn't find anything.
8002 if test -z "$aix_libpath"; then
8003   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8004 fi
8005 else
8006   echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8008
8009
8010 fi
8011
8012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8013       conftest$ac_exeext conftest.$ac_ext
8014 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8015
8016          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8017           # Warning - without using the other run time loading flags,
8018           # -berok will link without error, but may produce a broken library.
8019           no_undefined_flag=' ${wl}-bernotok'
8020           allow_undefined_flag=' ${wl}-berok'
8021           # Exported symbols can be pulled into shared objects from archives
8022           whole_archive_flag_spec='$convenience'
8023           archive_cmds_need_lc=yes
8024           # This is similar to how AIX traditionally builds its shared libraries.
8025           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'
8026         fi
8027       fi
8028       ;;
8029
8030     amigaos*)
8031       if test "$host_cpu" = m68k; then
8032         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)'
8033         hardcode_libdir_flag_spec='-L$libdir'
8034         hardcode_minus_L=yes
8035       fi
8036       # see comment about different semantics on the GNU ld section
8037       ld_shlibs=no
8038       ;;
8039
8040     bsdi[45]*)
8041       export_dynamic_flag_spec=-rdynamic
8042       ;;
8043
8044     cygwin* | mingw* | pw32*)
8045       # When not using gcc, we currently assume that we are using
8046       # Microsoft Visual C++.
8047       # hardcode_libdir_flag_spec is actually meaningless, as there is
8048       # no search path for DLLs.
8049       hardcode_libdir_flag_spec=' '
8050       allow_undefined_flag=unsupported
8051       # Tell ltmain to make .lib files, not .a files.
8052       libext=lib
8053       # Tell ltmain to make .dll files, not .so files.
8054       shrext_cmds=".dll"
8055       # FIXME: Setting linknames here is a bad hack.
8056       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8057       # The linker will automatically build a .lib file if we build a DLL.
8058       old_archive_from_new_cmds='true'
8059       # FIXME: Should let the user specify the lib program.
8060       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8061       fix_srcfile_path='`cygpath -w "$srcfile"`'
8062       enable_shared_with_static_runtimes=yes
8063       ;;
8064
8065     darwin* | rhapsody*)
8066
8067
8068   archive_cmds_need_lc=no
8069   hardcode_direct=no
8070   hardcode_automatic=yes
8071   hardcode_shlibpath_var=unsupported
8072   whole_archive_flag_spec=''
8073   link_all_deplibs=yes
8074   allow_undefined_flag="$_lt_dar_allow_undefined"
8075   if test "$GCC" = "yes"; then
8076     output_verbose_link_cmd=echo
8077     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8078     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8079     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}"
8080     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}"
8081
8082   else
8083   ld_shlibs=no
8084   fi
8085
8086       ;;
8087
8088     dgux*)
8089       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8090       hardcode_libdir_flag_spec='-L$libdir'
8091       hardcode_shlibpath_var=no
8092       ;;
8093
8094     freebsd1*)
8095       ld_shlibs=no
8096       ;;
8097
8098     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8099     # support.  Future versions do this automatically, but an explicit c++rt0.o
8100     # does not break anything, and helps significantly (at the cost of a little
8101     # extra space).
8102     freebsd2.2*)
8103       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8104       hardcode_libdir_flag_spec='-R$libdir'
8105       hardcode_direct=yes
8106       hardcode_shlibpath_var=no
8107       ;;
8108
8109     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8110     freebsd2*)
8111       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8112       hardcode_direct=yes
8113       hardcode_minus_L=yes
8114       hardcode_shlibpath_var=no
8115       ;;
8116
8117     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8118     freebsd* | dragonfly*)
8119       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8120       hardcode_libdir_flag_spec='-R$libdir'
8121       hardcode_direct=yes
8122       hardcode_shlibpath_var=no
8123       ;;
8124
8125     hpux9*)
8126       if test "$GCC" = yes; then
8127         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'
8128       else
8129         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'
8130       fi
8131       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8132       hardcode_libdir_separator=:
8133       hardcode_direct=yes
8134
8135       # hardcode_minus_L: Not really in the search PATH,
8136       # but as the default location of the library.
8137       hardcode_minus_L=yes
8138       export_dynamic_flag_spec='${wl}-E'
8139       ;;
8140
8141     hpux10*)
8142       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8143         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8144       else
8145         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8146       fi
8147       if test "$with_gnu_ld" = no; then
8148         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8149         hardcode_libdir_flag_spec_ld='+b $libdir'
8150         hardcode_libdir_separator=:
8151         hardcode_direct=yes
8152         hardcode_direct_absolute=yes
8153         export_dynamic_flag_spec='${wl}-E'
8154         # hardcode_minus_L: Not really in the search PATH,
8155         # but as the default location of the library.
8156         hardcode_minus_L=yes
8157       fi
8158       ;;
8159
8160     hpux11*)
8161       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8162         case $host_cpu in
8163         hppa*64*)
8164           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8165           ;;
8166         ia64*)
8167           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8168           ;;
8169         *)
8170           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8171           ;;
8172         esac
8173       else
8174         case $host_cpu in
8175         hppa*64*)
8176           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8177           ;;
8178         ia64*)
8179           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8180           ;;
8181         *)
8182           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8183           ;;
8184         esac
8185       fi
8186       if test "$with_gnu_ld" = no; then
8187         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8188         hardcode_libdir_separator=:
8189
8190         case $host_cpu in
8191         hppa*64*|ia64*)
8192           hardcode_direct=no
8193           hardcode_shlibpath_var=no
8194           ;;
8195         *)
8196           hardcode_direct=yes
8197           hardcode_direct_absolute=yes
8198           export_dynamic_flag_spec='${wl}-E'
8199
8200           # hardcode_minus_L: Not really in the search PATH,
8201           # but as the default location of the library.
8202           hardcode_minus_L=yes
8203           ;;
8204         esac
8205       fi
8206       ;;
8207
8208     irix5* | irix6* | nonstopux*)
8209       if test "$GCC" = yes; then
8210         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'
8211         # Try to use the -exported_symbol ld option, if it does not
8212         # work, assume that -exports_file does not work either and
8213         # implicitly export all symbols.
8214         save_LDFLAGS="$LDFLAGS"
8215         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8216         cat >conftest.$ac_ext <<_ACEOF
8217 int foo(void) {}
8218 _ACEOF
8219 rm -f conftest.$ac_objext conftest$ac_exeext
8220 if { (ac_try="$ac_link"
8221 case "(($ac_try" in
8222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8223   *) ac_try_echo=$ac_try;;
8224 esac
8225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8226   (eval "$ac_link") 2>conftest.er1
8227   ac_status=$?
8228   grep -v '^ *+' conftest.er1 >conftest.err
8229   rm -f conftest.er1
8230   cat conftest.err >&5
8231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232   (exit $ac_status); } && {
8233          test -z "$ac_c_werror_flag" ||
8234          test ! -s conftest.err
8235        } && test -s conftest$ac_exeext &&
8236        $as_test_x conftest$ac_exeext; then
8237   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'
8238
8239 else
8240   echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.$ac_ext >&5
8242
8243
8244 fi
8245
8246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8247       conftest$ac_exeext conftest.$ac_ext
8248         LDFLAGS="$save_LDFLAGS"
8249       else
8250         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'
8251         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'
8252       fi
8253       archive_cmds_need_lc='no'
8254       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8255       hardcode_libdir_separator=:
8256       inherit_rpath=yes
8257       link_all_deplibs=yes
8258       ;;
8259
8260     netbsd*)
8261       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8262         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8263       else
8264         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8265       fi
8266       hardcode_libdir_flag_spec='-R$libdir'
8267       hardcode_direct=yes
8268       hardcode_shlibpath_var=no
8269       ;;
8270
8271     newsos6)
8272       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8273       hardcode_direct=yes
8274       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8275       hardcode_libdir_separator=:
8276       hardcode_shlibpath_var=no
8277       ;;
8278
8279     *nto* | *qnx*)
8280       ;;
8281
8282     openbsd*)
8283       if test -f /usr/libexec/ld.so; then
8284         hardcode_direct=yes
8285         hardcode_shlibpath_var=no
8286         hardcode_direct_absolute=yes
8287         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8288           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8289           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8290           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8291           export_dynamic_flag_spec='${wl}-E'
8292         else
8293           case $host_os in
8294            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8295              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8296              hardcode_libdir_flag_spec='-R$libdir'
8297              ;;
8298            *)
8299              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8300              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8301              ;;
8302           esac
8303         fi
8304       else
8305         ld_shlibs=no
8306       fi
8307       ;;
8308
8309     os2*)
8310       hardcode_libdir_flag_spec='-L$libdir'
8311       hardcode_minus_L=yes
8312       allow_undefined_flag=unsupported
8313       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'
8314       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8315       ;;
8316
8317     osf3*)
8318       if test "$GCC" = yes; then
8319         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8320         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'
8321       else
8322         allow_undefined_flag=' -expect_unresolved \*'
8323         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'
8324       fi
8325       archive_cmds_need_lc='no'
8326       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8327       hardcode_libdir_separator=:
8328       ;;
8329
8330     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8331       if test "$GCC" = yes; then
8332         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8333         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'
8334         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8335       else
8336         allow_undefined_flag=' -expect_unresolved \*'
8337         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'
8338         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~
8339         $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'
8340
8341         # Both c and cxx compiler support -rpath directly
8342         hardcode_libdir_flag_spec='-rpath $libdir'
8343       fi
8344       archive_cmds_need_lc='no'
8345       hardcode_libdir_separator=:
8346       ;;
8347
8348     solaris*)
8349       no_undefined_flag=' -z defs'
8350       if test "$GCC" = yes; then
8351         wlarc='${wl}'
8352         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8353         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8354           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8355       else
8356         case `$CC -V 2>&1` in
8357         *"Compilers 5.0"*)
8358           wlarc=''
8359           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8360           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8361           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8362           ;;
8363         *)
8364           wlarc='${wl}'
8365           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8366           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8367           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8368           ;;
8369         esac
8370       fi
8371       hardcode_libdir_flag_spec='-R$libdir'
8372       hardcode_shlibpath_var=no
8373       case $host_os in
8374       solaris2.[0-5] | solaris2.[0-5].*) ;;
8375       *)
8376         # The compiler driver will combine and reorder linker options,
8377         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8378         # but is careful enough not to reorder.
8379         # Supported since Solaris 2.6 (maybe 2.5.1?)
8380         if test "$GCC" = yes; then
8381           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8382         else
8383           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8384         fi
8385         ;;
8386       esac
8387       link_all_deplibs=yes
8388       ;;
8389
8390     sunos4*)
8391       if test "x$host_vendor" = xsequent; then
8392         # Use $CC to link under sequent, because it throws in some extra .o
8393         # files that make .init and .fini sections work.
8394         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8395       else
8396         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8397       fi
8398       hardcode_libdir_flag_spec='-L$libdir'
8399       hardcode_direct=yes
8400       hardcode_minus_L=yes
8401       hardcode_shlibpath_var=no
8402       ;;
8403
8404     sysv4)
8405       case $host_vendor in
8406         sni)
8407           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8408           hardcode_direct=yes # is this really true???
8409         ;;
8410         siemens)
8411           ## LD is ld it makes a PLAMLIB
8412           ## CC just makes a GrossModule.
8413           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8414           reload_cmds='$CC -r -o $output$reload_objs'
8415           hardcode_direct=no
8416         ;;
8417         motorola)
8418           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8419           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8420         ;;
8421       esac
8422       runpath_var='LD_RUN_PATH'
8423       hardcode_shlibpath_var=no
8424       ;;
8425
8426     sysv4.3*)
8427       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8428       hardcode_shlibpath_var=no
8429       export_dynamic_flag_spec='-Bexport'
8430       ;;
8431
8432     sysv4*MP*)
8433       if test -d /usr/nec; then
8434         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8435         hardcode_shlibpath_var=no
8436         runpath_var=LD_RUN_PATH
8437         hardcode_runpath_var=yes
8438         ld_shlibs=yes
8439       fi
8440       ;;
8441
8442     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8443       no_undefined_flag='${wl}-z,text'
8444       archive_cmds_need_lc=no
8445       hardcode_shlibpath_var=no
8446       runpath_var='LD_RUN_PATH'
8447
8448       if test "$GCC" = yes; then
8449         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8450         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8451       else
8452         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8453         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8454       fi
8455       ;;
8456
8457     sysv5* | sco3.2v5* | sco5v6*)
8458       # Note: We can NOT use -z defs as we might desire, because we do not
8459       # link with -lc, and that would cause any symbols used from libc to
8460       # always be unresolved, which means just about no library would
8461       # ever link correctly.  If we're not using GNU ld we use -z text
8462       # though, which does catch some bad symbols but isn't as heavy-handed
8463       # as -z defs.
8464       no_undefined_flag='${wl}-z,text'
8465       allow_undefined_flag='${wl}-z,nodefs'
8466       archive_cmds_need_lc=no
8467       hardcode_shlibpath_var=no
8468       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8469       hardcode_libdir_separator=':'
8470       link_all_deplibs=yes
8471       export_dynamic_flag_spec='${wl}-Bexport'
8472       runpath_var='LD_RUN_PATH'
8473
8474       if test "$GCC" = yes; then
8475         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8476         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8477       else
8478         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8479         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8480       fi
8481       ;;
8482
8483     uts4*)
8484       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8485       hardcode_libdir_flag_spec='-L$libdir'
8486       hardcode_shlibpath_var=no
8487       ;;
8488
8489     *)
8490       ld_shlibs=no
8491       ;;
8492     esac
8493
8494     if test x$host_vendor = xsni; then
8495       case $host in
8496       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8497         export_dynamic_flag_spec='${wl}-Blargedynsym'
8498         ;;
8499       esac
8500     fi
8501   fi
8502
8503 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8504 echo "${ECHO_T}$ld_shlibs" >&6; }
8505 test "$ld_shlibs" = no && can_build_shared=no
8506
8507 with_gnu_ld=$with_gnu_ld
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523 #
8524 # Do we need to explicitly link libc?
8525 #
8526 case "x$archive_cmds_need_lc" in
8527 x|xyes)
8528   # Assume -lc should be added
8529   archive_cmds_need_lc=yes
8530
8531   if test "$enable_shared" = yes && test "$GCC" = yes; then
8532     case $archive_cmds in
8533     *'~'*)
8534       # FIXME: we may have to deal with multi-command sequences.
8535       ;;
8536     '$CC '*)
8537       # Test whether the compiler implicitly links with -lc since on some
8538       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8539       # to ld, don't add -lc before -lgcc.
8540       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8541 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8542       $RM conftest*
8543       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8544
8545       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546   (eval $ac_compile) 2>&5
8547   ac_status=$?
8548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549   (exit $ac_status); } 2>conftest.err; then
8550         soname=conftest
8551         lib=conftest
8552         libobjs=conftest.$ac_objext
8553         deplibs=
8554         wl=$lt_prog_compiler_wl
8555         pic_flag=$lt_prog_compiler_pic
8556         compiler_flags=-v
8557         linker_flags=-v
8558         verstring=
8559         output_objdir=.
8560         libname=conftest
8561         lt_save_allow_undefined_flag=$allow_undefined_flag
8562         allow_undefined_flag=
8563         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8564   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8565   ac_status=$?
8566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567   (exit $ac_status); }
8568         then
8569           archive_cmds_need_lc=no
8570         else
8571           archive_cmds_need_lc=yes
8572         fi
8573         allow_undefined_flag=$lt_save_allow_undefined_flag
8574       else
8575         cat conftest.err 1>&5
8576       fi
8577       $RM conftest*
8578       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8579 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8580       ;;
8581     esac
8582   fi
8583   ;;
8584 esac
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742   { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8743 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8744
8745 if test "$GCC" = yes; then
8746   case $host_os in
8747     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8748     *) lt_awk_arg="/^libraries:/" ;;
8749   esac
8750   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8751   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8752     # if the path contains ";" then we assume it to be the separator
8753     # otherwise default to the standard path separator (i.e. ":") - it is
8754     # assumed that no part of a normal pathname contains ";" but that should
8755     # okay in the real world where ";" in dirpaths is itself problematic.
8756     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8757   else
8758     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8759   fi
8760   # Ok, now we have the path, separated by spaces, we can step through it
8761   # and add multilib dir if necessary.
8762   lt_tmp_lt_search_path_spec=
8763   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8764   for lt_sys_path in $lt_search_path_spec; do
8765     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8766       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8767     else
8768       test -d "$lt_sys_path" && \
8769         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8770     fi
8771   done
8772   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8773 BEGIN {RS=" "; FS="/|\n";} {
8774   lt_foo="";
8775   lt_count=0;
8776   for (lt_i = NF; lt_i > 0; lt_i--) {
8777     if ($lt_i != "" && $lt_i != ".") {
8778       if ($lt_i == "..") {
8779         lt_count++;
8780       } else {
8781         if (lt_count == 0) {
8782           lt_foo="/" $lt_i lt_foo;
8783         } else {
8784           lt_count--;
8785         }
8786       }
8787     }
8788   }
8789   if (lt_foo != "") { lt_freq[lt_foo]++; }
8790   if (lt_freq[lt_foo] == 1) { print lt_foo; }
8791 }'`
8792   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8793 else
8794   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8795 fi
8796 library_names_spec=
8797 libname_spec='lib$name'
8798 soname_spec=
8799 shrext_cmds=".so"
8800 postinstall_cmds=
8801 postuninstall_cmds=
8802 finish_cmds=
8803 finish_eval=
8804 shlibpath_var=
8805 shlibpath_overrides_runpath=unknown
8806 version_type=none
8807 dynamic_linker="$host_os ld.so"
8808 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8809 need_lib_prefix=unknown
8810 hardcode_into_libs=no
8811
8812 # when you set need_version to no, make sure it does not cause -set_version
8813 # flags to be left without arguments
8814 need_version=unknown
8815
8816 case $host_os in
8817 aix3*)
8818   version_type=linux
8819   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8820   shlibpath_var=LIBPATH
8821
8822   # AIX 3 has no versioning support, so we append a major version to the name.
8823   soname_spec='${libname}${release}${shared_ext}$major'
8824   ;;
8825
8826 aix[4-9]*)
8827   version_type=linux
8828   need_lib_prefix=no
8829   need_version=no
8830   hardcode_into_libs=yes
8831   if test "$host_cpu" = ia64; then
8832     # AIX 5 supports IA64
8833     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8834     shlibpath_var=LD_LIBRARY_PATH
8835   else
8836     # With GCC up to 2.95.x, collect2 would create an import file
8837     # for dependence libraries.  The import file would start with
8838     # the line `#! .'.  This would cause the generated library to
8839     # depend on `.', always an invalid library.  This was fixed in
8840     # development snapshots of GCC prior to 3.0.
8841     case $host_os in
8842       aix4 | aix4.[01] | aix4.[01].*)
8843       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8844            echo ' yes '
8845            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8846         :
8847       else
8848         can_build_shared=no
8849       fi
8850       ;;
8851     esac
8852     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8853     # soname into executable. Probably we can add versioning support to
8854     # collect2, so additional links can be useful in future.
8855     if test "$aix_use_runtimelinking" = yes; then
8856       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8857       # instead of lib<name>.a to let people know that these are not
8858       # typical AIX shared libraries.
8859       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8860     else
8861       # We preserve .a as extension for shared libraries through AIX4.2
8862       # and later when we are not doing run time linking.
8863       library_names_spec='${libname}${release}.a $libname.a'
8864       soname_spec='${libname}${release}${shared_ext}$major'
8865     fi
8866     shlibpath_var=LIBPATH
8867   fi
8868   ;;
8869
8870 amigaos*)
8871   if test "$host_cpu" = m68k; then
8872     library_names_spec='$libname.ixlibrary $libname.a'
8873     # Create ${libname}_ixlibrary.a entries in /sys/libs.
8874     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'
8875   else
8876     dynamic_linker=no
8877   fi
8878   ;;
8879
8880 beos*)
8881   library_names_spec='${libname}${shared_ext}'
8882   dynamic_linker="$host_os ld.so"
8883   shlibpath_var=LIBRARY_PATH
8884   ;;
8885
8886 bsdi[45]*)
8887   version_type=linux
8888   need_version=no
8889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8890   soname_spec='${libname}${release}${shared_ext}$major'
8891   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8892   shlibpath_var=LD_LIBRARY_PATH
8893   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8894   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8895   # the default ld.so.conf also contains /usr/contrib/lib and
8896   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8897   # libtool to hard-code these into programs
8898   ;;
8899
8900 cygwin* | mingw* | pw32*)
8901   version_type=windows
8902   shrext_cmds=".dll"
8903   need_version=no
8904   need_lib_prefix=no
8905
8906   case $GCC,$host_os in
8907   yes,cygwin* | yes,mingw* | yes,pw32*)
8908     library_names_spec='$libname.dll.a'
8909     # DLL is installed to $(libdir)/../bin by postinstall_cmds
8910     postinstall_cmds='base_file=`basename \${file}`~
8911       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8912       dldir=$destdir/`dirname \$dlpath`~
8913       test -d \$dldir || mkdir -p \$dldir~
8914       $install_prog $dir/$dlname \$dldir/$dlname~
8915       chmod a+x \$dldir/$dlname~
8916       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8917         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8918       fi'
8919     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8920       dlpath=$dir/\$dldll~
8921        $RM \$dlpath'
8922     shlibpath_overrides_runpath=yes
8923
8924     case $host_os in
8925     cygwin*)
8926       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8927       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8928       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8929       ;;
8930     mingw*)
8931       # MinGW DLLs use traditional 'lib' prefix
8932       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8933       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8934       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8935         # It is most probably a Windows format PATH printed by
8936         # mingw gcc, but we are running on Cygwin. Gcc prints its search
8937         # path with ; separators, and with drive letters. We can handle the
8938         # drive letters (cygwin fileutils understands them), so leave them,
8939         # especially as we might pass files found there to a mingw objdump,
8940         # which wouldn't understand a cygwinified path. Ahh.
8941         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8942       else
8943         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8944       fi
8945       ;;
8946     pw32*)
8947       # pw32 DLLs use 'pw' prefix rather than 'lib'
8948       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8949       ;;
8950     esac
8951     ;;
8952
8953   *)
8954     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8955     ;;
8956   esac
8957   dynamic_linker='Win32 ld.exe'
8958   # FIXME: first we should search . and the directory the executable is in
8959   shlibpath_var=PATH
8960   ;;
8961
8962 darwin* | rhapsody*)
8963   dynamic_linker="$host_os dyld"
8964   version_type=darwin
8965   need_lib_prefix=no
8966   need_version=no
8967   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8968   soname_spec='${libname}${release}${major}$shared_ext'
8969   shlibpath_overrides_runpath=yes
8970   shlibpath_var=DYLD_LIBRARY_PATH
8971   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8972
8973   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8974   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8975   ;;
8976
8977 dgux*)
8978   version_type=linux
8979   need_lib_prefix=no
8980   need_version=no
8981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8982   soname_spec='${libname}${release}${shared_ext}$major'
8983   shlibpath_var=LD_LIBRARY_PATH
8984   ;;
8985
8986 freebsd1*)
8987   dynamic_linker=no
8988   ;;
8989
8990 freebsd* | dragonfly*)
8991   # DragonFly does not have aout.  When/if they implement a new
8992   # versioning mechanism, adjust this.
8993   if test -x /usr/bin/objformat; then
8994     objformat=`/usr/bin/objformat`
8995   else
8996     case $host_os in
8997     freebsd[123]*) objformat=aout ;;
8998     *) objformat=elf ;;
8999     esac
9000   fi
9001   version_type=freebsd-$objformat
9002   case $version_type in
9003     freebsd-elf*)
9004       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9005       need_version=no
9006       need_lib_prefix=no
9007       ;;
9008     freebsd-*)
9009       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9010       need_version=yes
9011       ;;
9012   esac
9013   shlibpath_var=LD_LIBRARY_PATH
9014   case $host_os in
9015   freebsd2*)
9016     shlibpath_overrides_runpath=yes
9017     ;;
9018   freebsd3.[01]* | freebsdelf3.[01]*)
9019     shlibpath_overrides_runpath=yes
9020     hardcode_into_libs=yes
9021     ;;
9022   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9023   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9024     shlibpath_overrides_runpath=no
9025     hardcode_into_libs=yes
9026     ;;
9027   *) # from 4.6 on, and DragonFly
9028     shlibpath_overrides_runpath=yes
9029     hardcode_into_libs=yes
9030     ;;
9031   esac
9032   ;;
9033
9034 gnu*)
9035   version_type=linux
9036   need_lib_prefix=no
9037   need_version=no
9038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9039   soname_spec='${libname}${release}${shared_ext}$major'
9040   shlibpath_var=LD_LIBRARY_PATH
9041   hardcode_into_libs=yes
9042   ;;
9043
9044 hpux9* | hpux10* | hpux11*)
9045   # Give a soname corresponding to the major version so that dld.sl refuses to
9046   # link against other versions.
9047   version_type=sunos
9048   need_lib_prefix=no
9049   need_version=no
9050   case $host_cpu in
9051   ia64*)
9052     shrext_cmds='.so'
9053     hardcode_into_libs=yes
9054     dynamic_linker="$host_os dld.so"
9055     shlibpath_var=LD_LIBRARY_PATH
9056     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9057     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9058     soname_spec='${libname}${release}${shared_ext}$major'
9059     if test "X$HPUX_IA64_MODE" = X32; then
9060       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9061     else
9062       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9063     fi
9064     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9065     ;;
9066   hppa*64*)
9067     shrext_cmds='.sl'
9068     hardcode_into_libs=yes
9069     dynamic_linker="$host_os dld.sl"
9070     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9071     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9072     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9073     soname_spec='${libname}${release}${shared_ext}$major'
9074     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9075     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9076     ;;
9077   *)
9078     shrext_cmds='.sl'
9079     dynamic_linker="$host_os dld.sl"
9080     shlibpath_var=SHLIB_PATH
9081     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9082     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9083     soname_spec='${libname}${release}${shared_ext}$major'
9084     ;;
9085   esac
9086   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9087   postinstall_cmds='chmod 555 $lib'
9088   ;;
9089
9090 interix[3-9]*)
9091   version_type=linux
9092   need_lib_prefix=no
9093   need_version=no
9094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9095   soname_spec='${libname}${release}${shared_ext}$major'
9096   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9097   shlibpath_var=LD_LIBRARY_PATH
9098   shlibpath_overrides_runpath=no
9099   hardcode_into_libs=yes
9100   ;;
9101
9102 irix5* | irix6* | nonstopux*)
9103   case $host_os in
9104     nonstopux*) version_type=nonstopux ;;
9105     *)
9106         if test "$lt_cv_prog_gnu_ld" = yes; then
9107                 version_type=linux
9108         else
9109                 version_type=irix
9110         fi ;;
9111   esac
9112   need_lib_prefix=no
9113   need_version=no
9114   soname_spec='${libname}${release}${shared_ext}$major'
9115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9116   case $host_os in
9117   irix5* | nonstopux*)
9118     libsuff= shlibsuff=
9119     ;;
9120   *)
9121     case $LD in # libtool.m4 will add one of these switches to LD
9122     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9123       libsuff= shlibsuff= libmagic=32-bit;;
9124     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9125       libsuff=32 shlibsuff=N32 libmagic=N32;;
9126     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9127       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9128     *) libsuff= shlibsuff= libmagic=never-match;;
9129     esac
9130     ;;
9131   esac
9132   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9133   shlibpath_overrides_runpath=no
9134   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9135   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9136   hardcode_into_libs=yes
9137   ;;
9138
9139 # No shared lib support for Linux oldld, aout, or coff.
9140 linux*oldld* | linux*aout* | linux*coff*)
9141   dynamic_linker=no
9142   ;;
9143
9144 # This must be Linux ELF.
9145 linux* | k*bsd*-gnu)
9146   version_type=linux
9147   need_lib_prefix=no
9148   need_version=no
9149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9150   soname_spec='${libname}${release}${shared_ext}$major'
9151   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9152   shlibpath_var=LD_LIBRARY_PATH
9153   shlibpath_overrides_runpath=no
9154   # Some binutils ld are patched to set DT_RUNPATH
9155   save_LDFLAGS=$LDFLAGS
9156   save_libdir=$libdir
9157   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9158        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9159   cat >conftest.$ac_ext <<_ACEOF
9160 /* confdefs.h.  */
9161 _ACEOF
9162 cat confdefs.h >>conftest.$ac_ext
9163 cat >>conftest.$ac_ext <<_ACEOF
9164 /* end confdefs.h.  */
9165
9166 int
9167 main ()
9168 {
9169
9170   ;
9171   return 0;
9172 }
9173 _ACEOF
9174 rm -f conftest.$ac_objext conftest$ac_exeext
9175 if { (ac_try="$ac_link"
9176 case "(($ac_try" in
9177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9178   *) ac_try_echo=$ac_try;;
9179 esac
9180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9181   (eval "$ac_link") 2>conftest.er1
9182   ac_status=$?
9183   grep -v '^ *+' conftest.er1 >conftest.err
9184   rm -f conftest.er1
9185   cat conftest.err >&5
9186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187   (exit $ac_status); } && {
9188          test -z "$ac_c_werror_flag" ||
9189          test ! -s conftest.err
9190        } && test -s conftest$ac_exeext &&
9191        $as_test_x conftest$ac_exeext; then
9192   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9193   shlibpath_overrides_runpath=yes
9194 fi
9195
9196 else
9197   echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9199
9200
9201 fi
9202
9203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204       conftest$ac_exeext conftest.$ac_ext
9205   LDFLAGS=$save_LDFLAGS
9206   libdir=$save_libdir
9207
9208   # This implies no fast_install, which is unacceptable.
9209   # Some rework will be needed to allow for fast_install
9210   # before this can be enabled.
9211   hardcode_into_libs=yes
9212
9213   # Append ld.so.conf contents to the search path
9214   if test -f /etc/ld.so.conf; then
9215     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' ' '`
9216     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9217   fi
9218
9219   # We used to test for /lib/ld.so.1 and disable shared libraries on
9220   # powerpc, because MkLinux only supported shared libraries with the
9221   # GNU dynamic linker.  Since this was broken with cross compilers,
9222   # most powerpc-linux boxes support dynamic linking these days and
9223   # people can always --disable-shared, the test was removed, and we
9224   # assume the GNU/Linux dynamic linker is in use.
9225   dynamic_linker='GNU/Linux ld.so'
9226   ;;
9227
9228 netbsd*)
9229   version_type=sunos
9230   need_lib_prefix=no
9231   need_version=no
9232   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9233     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9234     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9235     dynamic_linker='NetBSD (a.out) ld.so'
9236   else
9237     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9238     soname_spec='${libname}${release}${shared_ext}$major'
9239     dynamic_linker='NetBSD ld.elf_so'
9240   fi
9241   shlibpath_var=LD_LIBRARY_PATH
9242   shlibpath_overrides_runpath=yes
9243   hardcode_into_libs=yes
9244   ;;
9245
9246 newsos6)
9247   version_type=linux
9248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9249   shlibpath_var=LD_LIBRARY_PATH
9250   shlibpath_overrides_runpath=yes
9251   ;;
9252
9253 *nto* | *qnx*)
9254   version_type=qnx
9255   need_lib_prefix=no
9256   need_version=no
9257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258   soname_spec='${libname}${release}${shared_ext}$major'
9259   shlibpath_var=LD_LIBRARY_PATH
9260   shlibpath_overrides_runpath=no
9261   hardcode_into_libs=yes
9262   dynamic_linker='ldqnx.so'
9263   ;;
9264
9265 openbsd*)
9266   version_type=sunos
9267   sys_lib_dlsearch_path_spec="/usr/lib"
9268   need_lib_prefix=no
9269   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9270   case $host_os in
9271     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9272     *)                          need_version=no  ;;
9273   esac
9274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9275   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9276   shlibpath_var=LD_LIBRARY_PATH
9277   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9278     case $host_os in
9279       openbsd2.[89] | openbsd2.[89].*)
9280         shlibpath_overrides_runpath=no
9281         ;;
9282       *)
9283         shlibpath_overrides_runpath=yes
9284         ;;
9285       esac
9286   else
9287     shlibpath_overrides_runpath=yes
9288   fi
9289   ;;
9290
9291 os2*)
9292   libname_spec='$name'
9293   shrext_cmds=".dll"
9294   need_lib_prefix=no
9295   library_names_spec='$libname${shared_ext} $libname.a'
9296   dynamic_linker='OS/2 ld.exe'
9297   shlibpath_var=LIBPATH
9298   ;;
9299
9300 osf3* | osf4* | osf5*)
9301   version_type=osf
9302   need_lib_prefix=no
9303   need_version=no
9304   soname_spec='${libname}${release}${shared_ext}$major'
9305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9306   shlibpath_var=LD_LIBRARY_PATH
9307   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9308   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9309   ;;
9310
9311 rdos*)
9312   dynamic_linker=no
9313   ;;
9314
9315 solaris*)
9316   version_type=linux
9317   need_lib_prefix=no
9318   need_version=no
9319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9320   soname_spec='${libname}${release}${shared_ext}$major'
9321   shlibpath_var=LD_LIBRARY_PATH
9322   shlibpath_overrides_runpath=yes
9323   hardcode_into_libs=yes
9324   # ldd complains unless libraries are executable
9325   postinstall_cmds='chmod +x $lib'
9326   ;;
9327
9328 sunos4*)
9329   version_type=sunos
9330   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9331   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9332   shlibpath_var=LD_LIBRARY_PATH
9333   shlibpath_overrides_runpath=yes
9334   if test "$with_gnu_ld" = yes; then
9335     need_lib_prefix=no
9336   fi
9337   need_version=yes
9338   ;;
9339
9340 sysv4 | sysv4.3*)
9341   version_type=linux
9342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9343   soname_spec='${libname}${release}${shared_ext}$major'
9344   shlibpath_var=LD_LIBRARY_PATH
9345   case $host_vendor in
9346     sni)
9347       shlibpath_overrides_runpath=no
9348       need_lib_prefix=no
9349       runpath_var=LD_RUN_PATH
9350       ;;
9351     siemens)
9352       need_lib_prefix=no
9353       ;;
9354     motorola)
9355       need_lib_prefix=no
9356       need_version=no
9357       shlibpath_overrides_runpath=no
9358       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9359       ;;
9360   esac
9361   ;;
9362
9363 sysv4*MP*)
9364   if test -d /usr/nec ;then
9365     version_type=linux
9366     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9367     soname_spec='$libname${shared_ext}.$major'
9368     shlibpath_var=LD_LIBRARY_PATH
9369   fi
9370   ;;
9371
9372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9373   version_type=freebsd-elf
9374   need_lib_prefix=no
9375   need_version=no
9376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9377   soname_spec='${libname}${release}${shared_ext}$major'
9378   shlibpath_var=LD_LIBRARY_PATH
9379   shlibpath_overrides_runpath=yes
9380   hardcode_into_libs=yes
9381   if test "$with_gnu_ld" = yes; then
9382     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9383   else
9384     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9385     case $host_os in
9386       sco3.2v5*)
9387         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9388         ;;
9389     esac
9390   fi
9391   sys_lib_dlsearch_path_spec='/usr/lib'
9392   ;;
9393
9394 tpf*)
9395   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9396   version_type=linux
9397   need_lib_prefix=no
9398   need_version=no
9399   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9400   shlibpath_var=LD_LIBRARY_PATH
9401   shlibpath_overrides_runpath=no
9402   hardcode_into_libs=yes
9403   ;;
9404
9405 uts4*)
9406   version_type=linux
9407   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9408   soname_spec='${libname}${release}${shared_ext}$major'
9409   shlibpath_var=LD_LIBRARY_PATH
9410   ;;
9411
9412 *)
9413   dynamic_linker=no
9414   ;;
9415 esac
9416 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9417 echo "${ECHO_T}$dynamic_linker" >&6; }
9418 test "$dynamic_linker" = no && can_build_shared=no
9419
9420 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9421 if test "$GCC" = yes; then
9422   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9423 fi
9424
9425 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9426   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9427 fi
9428 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9429   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9430 fi
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
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   { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9519 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9520 hardcode_action=
9521 if test -n "$hardcode_libdir_flag_spec" ||
9522    test -n "$runpath_var" ||
9523    test "X$hardcode_automatic" = "Xyes" ; then
9524
9525   # We can hardcode non-existent directories.
9526   if test "$hardcode_direct" != no &&
9527      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9528      # have to relink, otherwise we might link with an installed library
9529      # when we should be linking with a yet-to-be-installed one
9530      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9531      test "$hardcode_minus_L" != no; then
9532     # Linking always hardcodes the temporary library directory.
9533     hardcode_action=relink
9534   else
9535     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9536     hardcode_action=immediate
9537   fi
9538 else
9539   # We cannot hardcode anything, or else we can only hardcode existing
9540   # directories.
9541   hardcode_action=unsupported
9542 fi
9543 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9544 echo "${ECHO_T}$hardcode_action" >&6; }
9545
9546 if test "$hardcode_action" = relink ||
9547    test "$inherit_rpath" = yes; then
9548   # Fast installation is not supported
9549   enable_fast_install=no
9550 elif test "$shlibpath_overrides_runpath" = yes ||
9551      test "$enable_shared" = no; then
9552   # Fast installation is not necessary
9553   enable_fast_install=needless
9554 fi
9555
9556
9557
9558
9559
9560
9561   if test "x$enable_dlopen" != xyes; then
9562   enable_dlopen=unknown
9563   enable_dlopen_self=unknown
9564   enable_dlopen_self_static=unknown
9565 else
9566   lt_cv_dlopen=no
9567   lt_cv_dlopen_libs=
9568
9569   case $host_os in
9570   beos*)
9571     lt_cv_dlopen="load_add_on"
9572     lt_cv_dlopen_libs=
9573     lt_cv_dlopen_self=yes
9574     ;;
9575
9576   mingw* | pw32*)
9577     lt_cv_dlopen="LoadLibrary"
9578     lt_cv_dlopen_libs=
9579     ;;
9580
9581   cygwin*)
9582     lt_cv_dlopen="dlopen"
9583     lt_cv_dlopen_libs=
9584     ;;
9585
9586   darwin*)
9587   # if libdl is installed we need to link against it
9588     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9589 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9591   echo $ECHO_N "(cached) $ECHO_C" >&6
9592 else
9593   ac_check_lib_save_LIBS=$LIBS
9594 LIBS="-ldl  $LIBS"
9595 cat >conftest.$ac_ext <<_ACEOF
9596 /* confdefs.h.  */
9597 _ACEOF
9598 cat confdefs.h >>conftest.$ac_ext
9599 cat >>conftest.$ac_ext <<_ACEOF
9600 /* end confdefs.h.  */
9601
9602 /* Override any GCC internal prototype to avoid an error.
9603    Use char because int might match the return type of a GCC
9604    builtin and then its argument prototype would still apply.  */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char dlopen ();
9609 int
9610 main ()
9611 {
9612 return dlopen ();
9613   ;
9614   return 0;
9615 }
9616 _ACEOF
9617 rm -f conftest.$ac_objext conftest$ac_exeext
9618 if { (ac_try="$ac_link"
9619 case "(($ac_try" in
9620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9621   *) ac_try_echo=$ac_try;;
9622 esac
9623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9624   (eval "$ac_link") 2>conftest.er1
9625   ac_status=$?
9626   grep -v '^ *+' conftest.er1 >conftest.err
9627   rm -f conftest.er1
9628   cat conftest.err >&5
9629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630   (exit $ac_status); } && {
9631          test -z "$ac_c_werror_flag" ||
9632          test ! -s conftest.err
9633        } && test -s conftest$ac_exeext &&
9634        $as_test_x conftest$ac_exeext; then
9635   ac_cv_lib_dl_dlopen=yes
9636 else
9637   echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9639
9640         ac_cv_lib_dl_dlopen=no
9641 fi
9642
9643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9644       conftest$ac_exeext conftest.$ac_ext
9645 LIBS=$ac_check_lib_save_LIBS
9646 fi
9647 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9648 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9649 if test $ac_cv_lib_dl_dlopen = yes; then
9650   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9651 else
9652
9653     lt_cv_dlopen="dyld"
9654     lt_cv_dlopen_libs=
9655     lt_cv_dlopen_self=yes
9656
9657 fi
9658
9659     ;;
9660
9661   *)
9662     { echo "$as_me:$LINENO: checking for shl_load" >&5
9663 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9664 if test "${ac_cv_func_shl_load+set}" = set; then
9665   echo $ECHO_N "(cached) $ECHO_C" >&6
9666 else
9667   cat >conftest.$ac_ext <<_ACEOF
9668 /* confdefs.h.  */
9669 _ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h.  */
9673 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9675 #define shl_load innocuous_shl_load
9676
9677 /* System header to define __stub macros and hopefully few prototypes,
9678     which can conflict with char shl_load (); below.
9679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9680     <limits.h> exists even on freestanding compilers.  */
9681
9682 #ifdef __STDC__
9683 # include <limits.h>
9684 #else
9685 # include <assert.h>
9686 #endif
9687
9688 #undef shl_load
9689
9690 /* Override any GCC internal prototype to avoid an error.
9691    Use char because int might match the return type of a GCC
9692    builtin and then its argument prototype would still apply.  */
9693 #ifdef __cplusplus
9694 extern "C"
9695 #endif
9696 char shl_load ();
9697 /* The GNU C library defines this for functions which it implements
9698     to always fail with ENOSYS.  Some functions are actually named
9699     something starting with __ and the normal name is an alias.  */
9700 #if defined __stub_shl_load || defined __stub___shl_load
9701 choke me
9702 #endif
9703
9704 int
9705 main ()
9706 {
9707 return shl_load ();
9708   ;
9709   return 0;
9710 }
9711 _ACEOF
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (ac_try="$ac_link"
9714 case "(($ac_try" in
9715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716   *) ac_try_echo=$ac_try;;
9717 esac
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719   (eval "$ac_link") 2>conftest.er1
9720   ac_status=$?
9721   grep -v '^ *+' conftest.er1 >conftest.err
9722   rm -f conftest.er1
9723   cat conftest.err >&5
9724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725   (exit $ac_status); } && {
9726          test -z "$ac_c_werror_flag" ||
9727          test ! -s conftest.err
9728        } && test -s conftest$ac_exeext &&
9729        $as_test_x conftest$ac_exeext; then
9730   ac_cv_func_shl_load=yes
9731 else
9732   echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9734
9735         ac_cv_func_shl_load=no
9736 fi
9737
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739       conftest$ac_exeext conftest.$ac_ext
9740 fi
9741 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9742 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9743 if test $ac_cv_func_shl_load = yes; then
9744   lt_cv_dlopen="shl_load"
9745 else
9746   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9747 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9748 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9749   echo $ECHO_N "(cached) $ECHO_C" >&6
9750 else
9751   ac_check_lib_save_LIBS=$LIBS
9752 LIBS="-ldld  $LIBS"
9753 cat >conftest.$ac_ext <<_ACEOF
9754 /* confdefs.h.  */
9755 _ACEOF
9756 cat confdefs.h >>conftest.$ac_ext
9757 cat >>conftest.$ac_ext <<_ACEOF
9758 /* end confdefs.h.  */
9759
9760 /* Override any GCC internal prototype to avoid an error.
9761    Use char because int might match the return type of a GCC
9762    builtin and then its argument prototype would still apply.  */
9763 #ifdef __cplusplus
9764 extern "C"
9765 #endif
9766 char shl_load ();
9767 int
9768 main ()
9769 {
9770 return shl_load ();
9771   ;
9772   return 0;
9773 }
9774 _ACEOF
9775 rm -f conftest.$ac_objext conftest$ac_exeext
9776 if { (ac_try="$ac_link"
9777 case "(($ac_try" in
9778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779   *) ac_try_echo=$ac_try;;
9780 esac
9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782   (eval "$ac_link") 2>conftest.er1
9783   ac_status=$?
9784   grep -v '^ *+' conftest.er1 >conftest.err
9785   rm -f conftest.er1
9786   cat conftest.err >&5
9787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788   (exit $ac_status); } && {
9789          test -z "$ac_c_werror_flag" ||
9790          test ! -s conftest.err
9791        } && test -s conftest$ac_exeext &&
9792        $as_test_x conftest$ac_exeext; then
9793   ac_cv_lib_dld_shl_load=yes
9794 else
9795   echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.$ac_ext >&5
9797
9798         ac_cv_lib_dld_shl_load=no
9799 fi
9800
9801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9802       conftest$ac_exeext conftest.$ac_ext
9803 LIBS=$ac_check_lib_save_LIBS
9804 fi
9805 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9806 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9807 if test $ac_cv_lib_dld_shl_load = yes; then
9808   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9809 else
9810   { echo "$as_me:$LINENO: checking for dlopen" >&5
9811 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9812 if test "${ac_cv_func_dlopen+set}" = set; then
9813   echo $ECHO_N "(cached) $ECHO_C" >&6
9814 else
9815   cat >conftest.$ac_ext <<_ACEOF
9816 /* confdefs.h.  */
9817 _ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h.  */
9821 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9823 #define dlopen innocuous_dlopen
9824
9825 /* System header to define __stub macros and hopefully few prototypes,
9826     which can conflict with char dlopen (); below.
9827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9828     <limits.h> exists even on freestanding compilers.  */
9829
9830 #ifdef __STDC__
9831 # include <limits.h>
9832 #else
9833 # include <assert.h>
9834 #endif
9835
9836 #undef dlopen
9837
9838 /* Override any GCC internal prototype to avoid an error.
9839    Use char because int might match the return type of a GCC
9840    builtin and then its argument prototype would still apply.  */
9841 #ifdef __cplusplus
9842 extern "C"
9843 #endif
9844 char dlopen ();
9845 /* The GNU C library defines this for functions which it implements
9846     to always fail with ENOSYS.  Some functions are actually named
9847     something starting with __ and the normal name is an alias.  */
9848 #if defined __stub_dlopen || defined __stub___dlopen
9849 choke me
9850 #endif
9851
9852 int
9853 main ()
9854 {
9855 return dlopen ();
9856   ;
9857   return 0;
9858 }
9859 _ACEOF
9860 rm -f conftest.$ac_objext conftest$ac_exeext
9861 if { (ac_try="$ac_link"
9862 case "(($ac_try" in
9863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9864   *) ac_try_echo=$ac_try;;
9865 esac
9866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9867   (eval "$ac_link") 2>conftest.er1
9868   ac_status=$?
9869   grep -v '^ *+' conftest.er1 >conftest.err
9870   rm -f conftest.er1
9871   cat conftest.err >&5
9872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873   (exit $ac_status); } && {
9874          test -z "$ac_c_werror_flag" ||
9875          test ! -s conftest.err
9876        } && test -s conftest$ac_exeext &&
9877        $as_test_x conftest$ac_exeext; then
9878   ac_cv_func_dlopen=yes
9879 else
9880   echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9882
9883         ac_cv_func_dlopen=no
9884 fi
9885
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887       conftest$ac_exeext conftest.$ac_ext
9888 fi
9889 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9890 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9891 if test $ac_cv_func_dlopen = yes; then
9892   lt_cv_dlopen="dlopen"
9893 else
9894   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9897   echo $ECHO_N "(cached) $ECHO_C" >&6
9898 else
9899   ac_check_lib_save_LIBS=$LIBS
9900 LIBS="-ldl  $LIBS"
9901 cat >conftest.$ac_ext <<_ACEOF
9902 /* confdefs.h.  */
9903 _ACEOF
9904 cat confdefs.h >>conftest.$ac_ext
9905 cat >>conftest.$ac_ext <<_ACEOF
9906 /* end confdefs.h.  */
9907
9908 /* Override any GCC internal prototype to avoid an error.
9909    Use char because int might match the return type of a GCC
9910    builtin and then its argument prototype would still apply.  */
9911 #ifdef __cplusplus
9912 extern "C"
9913 #endif
9914 char dlopen ();
9915 int
9916 main ()
9917 {
9918 return dlopen ();
9919   ;
9920   return 0;
9921 }
9922 _ACEOF
9923 rm -f conftest.$ac_objext conftest$ac_exeext
9924 if { (ac_try="$ac_link"
9925 case "(($ac_try" in
9926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9927   *) ac_try_echo=$ac_try;;
9928 esac
9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930   (eval "$ac_link") 2>conftest.er1
9931   ac_status=$?
9932   grep -v '^ *+' conftest.er1 >conftest.err
9933   rm -f conftest.er1
9934   cat conftest.err >&5
9935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936   (exit $ac_status); } && {
9937          test -z "$ac_c_werror_flag" ||
9938          test ! -s conftest.err
9939        } && test -s conftest$ac_exeext &&
9940        $as_test_x conftest$ac_exeext; then
9941   ac_cv_lib_dl_dlopen=yes
9942 else
9943   echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.$ac_ext >&5
9945
9946         ac_cv_lib_dl_dlopen=no
9947 fi
9948
9949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9950       conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_lib_save_LIBS
9952 fi
9953 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9954 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9955 if test $ac_cv_lib_dl_dlopen = yes; then
9956   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9957 else
9958   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9959 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9960 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9961   echo $ECHO_N "(cached) $ECHO_C" >&6
9962 else
9963   ac_check_lib_save_LIBS=$LIBS
9964 LIBS="-lsvld  $LIBS"
9965 cat >conftest.$ac_ext <<_ACEOF
9966 /* confdefs.h.  */
9967 _ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h.  */
9971
9972 /* Override any GCC internal prototype to avoid an error.
9973    Use char because int might match the return type of a GCC
9974    builtin and then its argument prototype would still apply.  */
9975 #ifdef __cplusplus
9976 extern "C"
9977 #endif
9978 char dlopen ();
9979 int
9980 main ()
9981 {
9982 return dlopen ();
9983   ;
9984   return 0;
9985 }
9986 _ACEOF
9987 rm -f conftest.$ac_objext conftest$ac_exeext
9988 if { (ac_try="$ac_link"
9989 case "(($ac_try" in
9990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9991   *) ac_try_echo=$ac_try;;
9992 esac
9993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9994   (eval "$ac_link") 2>conftest.er1
9995   ac_status=$?
9996   grep -v '^ *+' conftest.er1 >conftest.err
9997   rm -f conftest.er1
9998   cat conftest.err >&5
9999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000   (exit $ac_status); } && {
10001          test -z "$ac_c_werror_flag" ||
10002          test ! -s conftest.err
10003        } && test -s conftest$ac_exeext &&
10004        $as_test_x conftest$ac_exeext; then
10005   ac_cv_lib_svld_dlopen=yes
10006 else
10007   echo "$as_me: failed program was:" >&5
10008 sed 's/^/| /' conftest.$ac_ext >&5
10009
10010         ac_cv_lib_svld_dlopen=no
10011 fi
10012
10013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10014       conftest$ac_exeext conftest.$ac_ext
10015 LIBS=$ac_check_lib_save_LIBS
10016 fi
10017 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10018 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10019 if test $ac_cv_lib_svld_dlopen = yes; then
10020   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10021 else
10022   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10023 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10024 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10025   echo $ECHO_N "(cached) $ECHO_C" >&6
10026 else
10027   ac_check_lib_save_LIBS=$LIBS
10028 LIBS="-ldld  $LIBS"
10029 cat >conftest.$ac_ext <<_ACEOF
10030 /* confdefs.h.  */
10031 _ACEOF
10032 cat confdefs.h >>conftest.$ac_ext
10033 cat >>conftest.$ac_ext <<_ACEOF
10034 /* end confdefs.h.  */
10035
10036 /* Override any GCC internal prototype to avoid an error.
10037    Use char because int might match the return type of a GCC
10038    builtin and then its argument prototype would still apply.  */
10039 #ifdef __cplusplus
10040 extern "C"
10041 #endif
10042 char dld_link ();
10043 int
10044 main ()
10045 {
10046 return dld_link ();
10047   ;
10048   return 0;
10049 }
10050 _ACEOF
10051 rm -f conftest.$ac_objext conftest$ac_exeext
10052 if { (ac_try="$ac_link"
10053 case "(($ac_try" in
10054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10055   *) ac_try_echo=$ac_try;;
10056 esac
10057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10058   (eval "$ac_link") 2>conftest.er1
10059   ac_status=$?
10060   grep -v '^ *+' conftest.er1 >conftest.err
10061   rm -f conftest.er1
10062   cat conftest.err >&5
10063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064   (exit $ac_status); } && {
10065          test -z "$ac_c_werror_flag" ||
10066          test ! -s conftest.err
10067        } && test -s conftest$ac_exeext &&
10068        $as_test_x conftest$ac_exeext; then
10069   ac_cv_lib_dld_dld_link=yes
10070 else
10071   echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10073
10074         ac_cv_lib_dld_dld_link=no
10075 fi
10076
10077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10078       conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_lib_save_LIBS
10080 fi
10081 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10082 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10083 if test $ac_cv_lib_dld_dld_link = yes; then
10084   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10085 fi
10086
10087
10088 fi
10089
10090
10091 fi
10092
10093
10094 fi
10095
10096
10097 fi
10098
10099
10100 fi
10101
10102     ;;
10103   esac
10104
10105   if test "x$lt_cv_dlopen" != xno; then
10106     enable_dlopen=yes
10107   else
10108     enable_dlopen=no
10109   fi
10110
10111   case $lt_cv_dlopen in
10112   dlopen)
10113     save_CPPFLAGS="$CPPFLAGS"
10114     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10115
10116     save_LDFLAGS="$LDFLAGS"
10117     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10118
10119     save_LIBS="$LIBS"
10120     LIBS="$lt_cv_dlopen_libs $LIBS"
10121
10122     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10123 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10124 if test "${lt_cv_dlopen_self+set}" = set; then
10125   echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else
10127           if test "$cross_compiling" = yes; then :
10128   lt_cv_dlopen_self=cross
10129 else
10130   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10131   lt_status=$lt_dlunknown
10132   cat > conftest.$ac_ext <<_LT_EOF
10133 #line 10133 "configure"
10134 #include "confdefs.h"
10135
10136 #if HAVE_DLFCN_H
10137 #include <dlfcn.h>
10138 #endif
10139
10140 #include <stdio.h>
10141
10142 #ifdef RTLD_GLOBAL
10143 #  define LT_DLGLOBAL           RTLD_GLOBAL
10144 #else
10145 #  ifdef DL_GLOBAL
10146 #    define LT_DLGLOBAL         DL_GLOBAL
10147 #  else
10148 #    define LT_DLGLOBAL         0
10149 #  endif
10150 #endif
10151
10152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10153    find out it does not work in some platform. */
10154 #ifndef LT_DLLAZY_OR_NOW
10155 #  ifdef RTLD_LAZY
10156 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10157 #  else
10158 #    ifdef DL_LAZY
10159 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10160 #    else
10161 #      ifdef RTLD_NOW
10162 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10163 #      else
10164 #        ifdef DL_NOW
10165 #          define LT_DLLAZY_OR_NOW      DL_NOW
10166 #        else
10167 #          define LT_DLLAZY_OR_NOW      0
10168 #        endif
10169 #      endif
10170 #    endif
10171 #  endif
10172 #endif
10173
10174 #ifdef __cplusplus
10175 extern "C" void exit (int);
10176 #endif
10177
10178 void fnord() { int i=42;}
10179 int main ()
10180 {
10181   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10182   int status = $lt_dlunknown;
10183
10184   if (self)
10185     {
10186       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10187       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10188       /* dlclose (self); */
10189     }
10190   else
10191     puts (dlerror ());
10192
10193     exit (status);
10194 }
10195 _LT_EOF
10196   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10197   (eval $ac_link) 2>&5
10198   ac_status=$?
10199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10201     (./conftest; exit; ) >&5 2>/dev/null
10202     lt_status=$?
10203     case x$lt_status in
10204       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10205       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10206       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10207     esac
10208   else :
10209     # compilation failed
10210     lt_cv_dlopen_self=no
10211   fi
10212 fi
10213 rm -fr conftest*
10214
10215
10216 fi
10217 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10218 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10219
10220     if test "x$lt_cv_dlopen_self" = xyes; then
10221       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10222       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10223 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10224 if test "${lt_cv_dlopen_self_static+set}" = set; then
10225   echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227           if test "$cross_compiling" = yes; then :
10228   lt_cv_dlopen_self_static=cross
10229 else
10230   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10231   lt_status=$lt_dlunknown
10232   cat > conftest.$ac_ext <<_LT_EOF
10233 #line 10233 "configure"
10234 #include "confdefs.h"
10235
10236 #if HAVE_DLFCN_H
10237 #include <dlfcn.h>
10238 #endif
10239
10240 #include <stdio.h>
10241
10242 #ifdef RTLD_GLOBAL
10243 #  define LT_DLGLOBAL           RTLD_GLOBAL
10244 #else
10245 #  ifdef DL_GLOBAL
10246 #    define LT_DLGLOBAL         DL_GLOBAL
10247 #  else
10248 #    define LT_DLGLOBAL         0
10249 #  endif
10250 #endif
10251
10252 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10253    find out it does not work in some platform. */
10254 #ifndef LT_DLLAZY_OR_NOW
10255 #  ifdef RTLD_LAZY
10256 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10257 #  else
10258 #    ifdef DL_LAZY
10259 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10260 #    else
10261 #      ifdef RTLD_NOW
10262 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10263 #      else
10264 #        ifdef DL_NOW
10265 #          define LT_DLLAZY_OR_NOW      DL_NOW
10266 #        else
10267 #          define LT_DLLAZY_OR_NOW      0
10268 #        endif
10269 #      endif
10270 #    endif
10271 #  endif
10272 #endif
10273
10274 #ifdef __cplusplus
10275 extern "C" void exit (int);
10276 #endif
10277
10278 void fnord() { int i=42;}
10279 int main ()
10280 {
10281   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10282   int status = $lt_dlunknown;
10283
10284   if (self)
10285     {
10286       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10287       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10288       /* dlclose (self); */
10289     }
10290   else
10291     puts (dlerror ());
10292
10293     exit (status);
10294 }
10295 _LT_EOF
10296   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10297   (eval $ac_link) 2>&5
10298   ac_status=$?
10299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10301     (./conftest; exit; ) >&5 2>/dev/null
10302     lt_status=$?
10303     case x$lt_status in
10304       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10305       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10306       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10307     esac
10308   else :
10309     # compilation failed
10310     lt_cv_dlopen_self_static=no
10311   fi
10312 fi
10313 rm -fr conftest*
10314
10315
10316 fi
10317 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10318 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10319     fi
10320
10321     CPPFLAGS="$save_CPPFLAGS"
10322     LDFLAGS="$save_LDFLAGS"
10323     LIBS="$save_LIBS"
10324     ;;
10325   esac
10326
10327   case $lt_cv_dlopen_self in
10328   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10329   *) enable_dlopen_self=unknown ;;
10330   esac
10331
10332   case $lt_cv_dlopen_self_static in
10333   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10334   *) enable_dlopen_self_static=unknown ;;
10335   esac
10336 fi
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354 striplib=
10355 old_striplib=
10356 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10357 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10358 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10359   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10360   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10361   { echo "$as_me:$LINENO: result: yes" >&5
10362 echo "${ECHO_T}yes" >&6; }
10363 else
10364 # FIXME - insert some real tests, host_os isn't really good enough
10365   case $host_os in
10366   darwin*)
10367     if test -n "$STRIP" ; then
10368       striplib="$STRIP -x"
10369       old_striplib="$STRIP -S"
10370       { echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6; }
10372     else
10373       { echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6; }
10375     fi
10376     ;;
10377   *)
10378     { echo "$as_me:$LINENO: result: no" >&5
10379 echo "${ECHO_T}no" >&6; }
10380     ;;
10381   esac
10382 fi
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395   # Report which library types will actually be built
10396   { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10397 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10398   { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10399 echo "${ECHO_T}$can_build_shared" >&6; }
10400
10401   { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10402 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10403   test "$can_build_shared" = "no" && enable_shared=no
10404
10405   # On AIX, shared libraries and static libraries use the same namespace, and
10406   # are all built from PIC.
10407   case $host_os in
10408   aix3*)
10409     test "$enable_shared" = yes && enable_static=no
10410     if test -n "$RANLIB"; then
10411       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10412       postinstall_cmds='$RANLIB $lib'
10413     fi
10414     ;;
10415
10416   aix[4-9]*)
10417     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10418       test "$enable_shared" = yes && enable_static=no
10419     fi
10420     ;;
10421   esac
10422   { echo "$as_me:$LINENO: result: $enable_shared" >&5
10423 echo "${ECHO_T}$enable_shared" >&6; }
10424
10425   { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10426 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10427   # Make sure either enable_shared or enable_static is yes.
10428   test "$enable_shared" = yes || enable_static=yes
10429   { echo "$as_me:$LINENO: result: $enable_static" >&5
10430 echo "${ECHO_T}$enable_static" >&6; }
10431
10432
10433
10434
10435 fi
10436 ac_ext=c
10437 ac_cpp='$CPP $CPPFLAGS'
10438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10441
10442 CC="$lt_save_CC"
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456         ac_config_commands="$ac_config_commands libtool"
10457
10458
10459
10460
10461 # Only expand once:
10462
10463
10464
10465 { echo "$as_me:$LINENO: checking for size_t" >&5
10466 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
10467 if test "${ac_cv_type_size_t+set}" = set; then
10468   echo $ECHO_N "(cached) $ECHO_C" >&6
10469 else
10470   cat >conftest.$ac_ext <<_ACEOF
10471 /* confdefs.h.  */
10472 _ACEOF
10473 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h.  */
10476 $ac_includes_default
10477 typedef size_t ac__type_new_;
10478 int
10479 main ()
10480 {
10481 if ((ac__type_new_ *) 0)
10482   return 0;
10483 if (sizeof (ac__type_new_))
10484   return 0;
10485   ;
10486   return 0;
10487 }
10488 _ACEOF
10489 rm -f conftest.$ac_objext
10490 if { (ac_try="$ac_compile"
10491 case "(($ac_try" in
10492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10493   *) ac_try_echo=$ac_try;;
10494 esac
10495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10496   (eval "$ac_compile") 2>conftest.er1
10497   ac_status=$?
10498   grep -v '^ *+' conftest.er1 >conftest.err
10499   rm -f conftest.er1
10500   cat conftest.err >&5
10501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502   (exit $ac_status); } && {
10503          test -z "$ac_c_werror_flag" ||
10504          test ! -s conftest.err
10505        } && test -s conftest.$ac_objext; then
10506   ac_cv_type_size_t=yes
10507 else
10508   echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10510
10511         ac_cv_type_size_t=no
10512 fi
10513
10514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10515 fi
10516 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10517 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10518 if test $ac_cv_type_size_t = yes; then
10519   :
10520 else
10521
10522 cat >>confdefs.h <<_ACEOF
10523 #define size_t unsigned int
10524 _ACEOF
10525
10526 fi
10527
10528 { echo "$as_me:$LINENO: checking for working volatile" >&5
10529 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
10530 if test "${ac_cv_c_volatile+set}" = set; then
10531   echo $ECHO_N "(cached) $ECHO_C" >&6
10532 else
10533   cat >conftest.$ac_ext <<_ACEOF
10534 /* confdefs.h.  */
10535 _ACEOF
10536 cat confdefs.h >>conftest.$ac_ext
10537 cat >>conftest.$ac_ext <<_ACEOF
10538 /* end confdefs.h.  */
10539
10540 int
10541 main ()
10542 {
10543
10544 volatile int x;
10545 int * volatile y = (int *) 0;
10546 return !x && !y;
10547   ;
10548   return 0;
10549 }
10550 _ACEOF
10551 rm -f conftest.$ac_objext
10552 if { (ac_try="$ac_compile"
10553 case "(($ac_try" in
10554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10555   *) ac_try_echo=$ac_try;;
10556 esac
10557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10558   (eval "$ac_compile") 2>conftest.er1
10559   ac_status=$?
10560   grep -v '^ *+' conftest.er1 >conftest.err
10561   rm -f conftest.er1
10562   cat conftest.err >&5
10563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564   (exit $ac_status); } && {
10565          test -z "$ac_c_werror_flag" ||
10566          test ! -s conftest.err
10567        } && test -s conftest.$ac_objext; then
10568   ac_cv_c_volatile=yes
10569 else
10570   echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.$ac_ext >&5
10572
10573         ac_cv_c_volatile=no
10574 fi
10575
10576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10577 fi
10578 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10579 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
10580 if test $ac_cv_c_volatile = no; then
10581
10582 cat >>confdefs.h <<\_ACEOF
10583 #define volatile
10584 _ACEOF
10585
10586 fi
10587
10588 { echo "$as_me:$LINENO: checking for inline" >&5
10589 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
10590 if test "${ac_cv_c_inline+set}" = set; then
10591   echo $ECHO_N "(cached) $ECHO_C" >&6
10592 else
10593   ac_cv_c_inline=no
10594 for ac_kw in inline __inline__ __inline; do
10595   cat >conftest.$ac_ext <<_ACEOF
10596 /* confdefs.h.  */
10597 _ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h.  */
10601 #ifndef __cplusplus
10602 typedef int foo_t;
10603 static $ac_kw foo_t static_foo () {return 0; }
10604 $ac_kw foo_t foo () {return 0; }
10605 #endif
10606
10607 _ACEOF
10608 rm -f conftest.$ac_objext
10609 if { (ac_try="$ac_compile"
10610 case "(($ac_try" in
10611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612   *) ac_try_echo=$ac_try;;
10613 esac
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615   (eval "$ac_compile") 2>conftest.er1
10616   ac_status=$?
10617   grep -v '^ *+' conftest.er1 >conftest.err
10618   rm -f conftest.er1
10619   cat conftest.err >&5
10620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621   (exit $ac_status); } && {
10622          test -z "$ac_c_werror_flag" ||
10623          test ! -s conftest.err
10624        } && test -s conftest.$ac_objext; then
10625   ac_cv_c_inline=$ac_kw
10626 else
10627   echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10629
10630
10631 fi
10632
10633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10634   test "$ac_cv_c_inline" != no && break
10635 done
10636
10637 fi
10638 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10639 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10640
10641
10642 case $ac_cv_c_inline in
10643   inline | yes) ;;
10644   *)
10645     case $ac_cv_c_inline in
10646       no) ac_val=;;
10647       *) ac_val=$ac_cv_c_inline;;
10648     esac
10649     cat >>confdefs.h <<_ACEOF
10650 #ifndef __cplusplus
10651 #define inline $ac_val
10652 #endif
10653 _ACEOF
10654     ;;
10655 esac
10656
10657
10658 { echo "$as_me:$LINENO: checking whether char is unsigned" >&5
10659 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
10660 if test "${ac_cv_c_char_unsigned+set}" = set; then
10661   echo $ECHO_N "(cached) $ECHO_C" >&6
10662 else
10663   cat >conftest.$ac_ext <<_ACEOF
10664 /* confdefs.h.  */
10665 _ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h.  */
10669 $ac_includes_default
10670 int
10671 main ()
10672 {
10673 static int test_array [1 - 2 * !(((char) -1) < 0)];
10674 test_array [0] = 0
10675
10676   ;
10677   return 0;
10678 }
10679 _ACEOF
10680 rm -f conftest.$ac_objext
10681 if { (ac_try="$ac_compile"
10682 case "(($ac_try" in
10683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10684   *) ac_try_echo=$ac_try;;
10685 esac
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687   (eval "$ac_compile") 2>conftest.er1
10688   ac_status=$?
10689   grep -v '^ *+' conftest.er1 >conftest.err
10690   rm -f conftest.er1
10691   cat conftest.err >&5
10692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693   (exit $ac_status); } && {
10694          test -z "$ac_c_werror_flag" ||
10695          test ! -s conftest.err
10696        } && test -s conftest.$ac_objext; then
10697   ac_cv_c_char_unsigned=no
10698 else
10699   echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10701
10702         ac_cv_c_char_unsigned=yes
10703 fi
10704
10705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10706 fi
10707 { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
10708 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
10709 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
10710   cat >>confdefs.h <<\_ACEOF
10711 #define __CHAR_UNSIGNED__ 1
10712 _ACEOF
10713
10714 fi
10715
10716
10717 GSL_CFLAGS="-I$includedir"
10718 GSL_LIBS="-L$libdir -lgsl"
10719
10720
10721
10722
10723 { echo "$as_me:$LINENO: checking for extern inline" >&5
10724 echo $ECHO_N "checking for extern inline... $ECHO_C" >&6; }
10725 if test "${ac_cv_c_extern_inline+set}" = set; then
10726   echo $ECHO_N "(cached) $ECHO_C" >&6
10727 else
10728   ac_cv_c_extern_inline=no
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h.  */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h.  */
10735 extern $ac_cv_c_inline double foo(double x);
10736 extern $ac_cv_c_inline double foo(double x) { return x + 1.0 ; } ;
10737 double foo (double x) { return x + 1.0 ; };
10738 int
10739 main ()
10740 {
10741   foo(1.0)
10742   ;
10743   return 0;
10744 }
10745 _ACEOF
10746 rm -f conftest.$ac_objext
10747 if { (ac_try="$ac_compile"
10748 case "(($ac_try" in
10749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10750   *) ac_try_echo=$ac_try;;
10751 esac
10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10753   (eval "$ac_compile") 2>conftest.er1
10754   ac_status=$?
10755   grep -v '^ *+' conftest.er1 >conftest.err
10756   rm -f conftest.er1
10757   cat conftest.err >&5
10758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759   (exit $ac_status); } && {
10760          test -z "$ac_c_werror_flag" ||
10761          test ! -s conftest.err
10762        } && test -s conftest.$ac_objext; then
10763   ac_cv_c_extern_inline="yes"
10764 else
10765   echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10767
10768
10769 fi
10770
10771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10772
10773 fi
10774 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_inline" >&5
10775 echo "${ECHO_T}$ac_cv_c_extern_inline" >&6; }
10776
10777 if test "$ac_cv_c_extern_inline" != no ; then
10778
10779 cat >>confdefs.h <<\_ACEOF
10780 #define HAVE_INLINE
10781 _ACEOF
10782
10783 fi
10784
10785
10786 for ac_header in ieeefp.h
10787 do
10788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10790   { echo "$as_me:$LINENO: checking for $ac_header" >&5
10791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10793   echo $ECHO_N "(cached) $ECHO_C" >&6
10794 fi
10795 ac_res=`eval echo '${'$as_ac_Header'}'`
10796                { echo "$as_me:$LINENO: result: $ac_res" >&5
10797 echo "${ECHO_T}$ac_res" >&6; }
10798 else
10799   # Is the header compilable?
10800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10802 cat >conftest.$ac_ext <<_ACEOF
10803 /* confdefs.h.  */
10804 _ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h.  */
10808 $ac_includes_default
10809 #include <$ac_header>
10810 _ACEOF
10811 rm -f conftest.$ac_objext
10812 if { (ac_try="$ac_compile"
10813 case "(($ac_try" in
10814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10815   *) ac_try_echo=$ac_try;;
10816 esac
10817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10818   (eval "$ac_compile") 2>conftest.er1
10819   ac_status=$?
10820   grep -v '^ *+' conftest.er1 >conftest.err
10821   rm -f conftest.er1
10822   cat conftest.err >&5
10823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824   (exit $ac_status); } && {
10825          test -z "$ac_c_werror_flag" ||
10826          test ! -s conftest.err
10827        } && test -s conftest.$ac_objext; then
10828   ac_header_compiler=yes
10829 else
10830   echo "$as_me: failed program was:" >&5
10831 sed 's/^/| /' conftest.$ac_ext >&5
10832
10833         ac_header_compiler=no
10834 fi
10835
10836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10837 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10838 echo "${ECHO_T}$ac_header_compiler" >&6; }
10839
10840 # Is the header present?
10841 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10843 cat >conftest.$ac_ext <<_ACEOF
10844 /* confdefs.h.  */
10845 _ACEOF
10846 cat confdefs.h >>conftest.$ac_ext
10847 cat >>conftest.$ac_ext <<_ACEOF
10848 /* end confdefs.h.  */
10849 #include <$ac_header>
10850 _ACEOF
10851 if { (ac_try="$ac_cpp conftest.$ac_ext"
10852 case "(($ac_try" in
10853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10854   *) ac_try_echo=$ac_try;;
10855 esac
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10858   ac_status=$?
10859   grep -v '^ *+' conftest.er1 >conftest.err
10860   rm -f conftest.er1
10861   cat conftest.err >&5
10862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863   (exit $ac_status); } >/dev/null && {
10864          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10865          test ! -s conftest.err
10866        }; then
10867   ac_header_preproc=yes
10868 else
10869   echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.$ac_ext >&5
10871
10872   ac_header_preproc=no
10873 fi
10874
10875 rm -f conftest.err conftest.$ac_ext
10876 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10877 echo "${ECHO_T}$ac_header_preproc" >&6; }
10878
10879 # So?  What about this header?
10880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10881   yes:no: )
10882     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10884     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10886     ac_header_preproc=yes
10887     ;;
10888   no:yes:* )
10889     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10891     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10892 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10893     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10895     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10896 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10899     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10901
10902     ;;
10903 esac
10904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10907   echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10909   eval "$as_ac_Header=\$ac_header_preproc"
10910 fi
10911 ac_res=`eval echo '${'$as_ac_Header'}'`
10912                { echo "$as_me:$LINENO: result: $ac_res" >&5
10913 echo "${ECHO_T}$ac_res" >&6; }
10914
10915 fi
10916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10917   cat >>confdefs.h <<_ACEOF
10918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10919 _ACEOF
10920
10921 fi
10922
10923 done
10924
10925
10926
10927 case "$host_os" in
10928      *mingw*)
10929         MINGW=true
10930         ;;
10931 esac
10932
10933  if test "$MINGW" = "true"; then
10934   MINGW32_HOST_TRUE=
10935   MINGW32_HOST_FALSE='#'
10936 else
10937   MINGW32_HOST_TRUE='#'
10938   MINGW32_HOST_FALSE=
10939 fi
10940
10941
10942
10943
10944 for ac_func in vprintf
10945 do
10946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10950   echo $ECHO_N "(cached) $ECHO_C" >&6
10951 else
10952   cat >conftest.$ac_ext <<_ACEOF
10953 /* confdefs.h.  */
10954 _ACEOF
10955 cat confdefs.h >>conftest.$ac_ext
10956 cat >>conftest.$ac_ext <<_ACEOF
10957 /* end confdefs.h.  */
10958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10960 #define $ac_func innocuous_$ac_func
10961
10962 /* System header to define __stub macros and hopefully few prototypes,
10963     which can conflict with char $ac_func (); below.
10964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10965     <limits.h> exists even on freestanding compilers.  */
10966
10967 #ifdef __STDC__
10968 # include <limits.h>
10969 #else
10970 # include <assert.h>
10971 #endif
10972
10973 #undef $ac_func
10974
10975 /* Override any GCC internal prototype to avoid an error.
10976    Use char because int might match the return type of a GCC
10977    builtin and then its argument prototype would still apply.  */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char $ac_func ();
10982 /* The GNU C library defines this for functions which it implements
10983     to always fail with ENOSYS.  Some functions are actually named
10984     something starting with __ and the normal name is an alias.  */
10985 #if defined __stub_$ac_func || defined __stub___$ac_func
10986 choke me
10987 #endif
10988
10989 int
10990 main ()
10991 {
10992 return $ac_func ();
10993   ;
10994   return 0;
10995 }
10996 _ACEOF
10997 rm -f conftest.$ac_objext conftest$ac_exeext
10998 if { (ac_try="$ac_link"
10999 case "(($ac_try" in
11000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11001   *) ac_try_echo=$ac_try;;
11002 esac
11003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11004   (eval "$ac_link") 2>conftest.er1
11005   ac_status=$?
11006   grep -v '^ *+' conftest.er1 >conftest.err
11007   rm -f conftest.er1
11008   cat conftest.err >&5
11009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010   (exit $ac_status); } && {
11011          test -z "$ac_c_werror_flag" ||
11012          test ! -s conftest.err
11013        } && test -s conftest$ac_exeext &&
11014        $as_test_x conftest$ac_exeext; then
11015   eval "$as_ac_var=yes"
11016 else
11017   echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11019
11020         eval "$as_ac_var=no"
11021 fi
11022
11023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11024       conftest$ac_exeext conftest.$ac_ext
11025 fi
11026 ac_res=`eval echo '${'$as_ac_var'}'`
11027                { echo "$as_me:$LINENO: result: $ac_res" >&5
11028 echo "${ECHO_T}$ac_res" >&6; }
11029 if test `eval echo '${'$as_ac_var'}'` = yes; then
11030   cat >>confdefs.h <<_ACEOF
11031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11032 _ACEOF
11033
11034 { echo "$as_me:$LINENO: checking for _doprnt" >&5
11035 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
11036 if test "${ac_cv_func__doprnt+set}" = set; then
11037   echo $ECHO_N "(cached) $ECHO_C" >&6
11038 else
11039   cat >conftest.$ac_ext <<_ACEOF
11040 /* confdefs.h.  */
11041 _ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h.  */
11045 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11047 #define _doprnt innocuous__doprnt
11048
11049 /* System header to define __stub macros and hopefully few prototypes,
11050     which can conflict with char _doprnt (); below.
11051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11052     <limits.h> exists even on freestanding compilers.  */
11053
11054 #ifdef __STDC__
11055 # include <limits.h>
11056 #else
11057 # include <assert.h>
11058 #endif
11059
11060 #undef _doprnt
11061
11062 /* Override any GCC internal prototype to avoid an error.
11063    Use char because int might match the return type of a GCC
11064    builtin and then its argument prototype would still apply.  */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char _doprnt ();
11069 /* The GNU C library defines this for functions which it implements
11070     to always fail with ENOSYS.  Some functions are actually named
11071     something starting with __ and the normal name is an alias.  */
11072 #if defined __stub__doprnt || defined __stub____doprnt
11073 choke me
11074 #endif
11075
11076 int
11077 main ()
11078 {
11079 return _doprnt ();
11080   ;
11081   return 0;
11082 }
11083 _ACEOF
11084 rm -f conftest.$ac_objext conftest$ac_exeext
11085 if { (ac_try="$ac_link"
11086 case "(($ac_try" in
11087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11088   *) ac_try_echo=$ac_try;;
11089 esac
11090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11091   (eval "$ac_link") 2>conftest.er1
11092   ac_status=$?
11093   grep -v '^ *+' conftest.er1 >conftest.err
11094   rm -f conftest.er1
11095   cat conftest.err >&5
11096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097   (exit $ac_status); } && {
11098          test -z "$ac_c_werror_flag" ||
11099          test ! -s conftest.err
11100        } && test -s conftest$ac_exeext &&
11101        $as_test_x conftest$ac_exeext; then
11102   ac_cv_func__doprnt=yes
11103 else
11104   echo "$as_me: failed program was:" >&5
11105 sed 's/^/| /' conftest.$ac_ext >&5
11106
11107         ac_cv_func__doprnt=no
11108 fi
11109
11110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11111       conftest$ac_exeext conftest.$ac_ext
11112 fi
11113 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11114 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
11115 if test $ac_cv_func__doprnt = yes; then
11116
11117 cat >>confdefs.h <<\_ACEOF
11118 #define HAVE_DOPRNT 1
11119 _ACEOF
11120
11121 fi
11122
11123 fi
11124 done
11125
11126
11127
11128
11129
11130
11131
11132
11133 for ac_func in memcpy memmove strdup strtol strtoul
11134 do
11135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11139   echo $ECHO_N "(cached) $ECHO_C" >&6
11140 else
11141   cat >conftest.$ac_ext <<_ACEOF
11142 /* confdefs.h.  */
11143 _ACEOF
11144 cat confdefs.h >>conftest.$ac_ext
11145 cat >>conftest.$ac_ext <<_ACEOF
11146 /* end confdefs.h.  */
11147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11149 #define $ac_func innocuous_$ac_func
11150
11151 /* System header to define __stub macros and hopefully few prototypes,
11152     which can conflict with char $ac_func (); below.
11153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11154     <limits.h> exists even on freestanding compilers.  */
11155
11156 #ifdef __STDC__
11157 # include <limits.h>
11158 #else
11159 # include <assert.h>
11160 #endif
11161
11162 #undef $ac_func
11163
11164 /* Override any GCC internal prototype to avoid an error.
11165    Use char because int might match the return type of a GCC
11166    builtin and then its argument prototype would still apply.  */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char $ac_func ();
11171 /* The GNU C library defines this for functions which it implements
11172     to always fail with ENOSYS.  Some functions are actually named
11173     something starting with __ and the normal name is an alias.  */
11174 #if defined __stub_$ac_func || defined __stub___$ac_func
11175 choke me
11176 #endif
11177
11178 int
11179 main ()
11180 {
11181 return $ac_func ();
11182   ;
11183   return 0;
11184 }
11185 _ACEOF
11186 rm -f conftest.$ac_objext conftest$ac_exeext
11187 if { (ac_try="$ac_link"
11188 case "(($ac_try" in
11189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11190   *) ac_try_echo=$ac_try;;
11191 esac
11192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11193   (eval "$ac_link") 2>conftest.er1
11194   ac_status=$?
11195   grep -v '^ *+' conftest.er1 >conftest.err
11196   rm -f conftest.er1
11197   cat conftest.err >&5
11198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199   (exit $ac_status); } && {
11200          test -z "$ac_c_werror_flag" ||
11201          test ! -s conftest.err
11202        } && test -s conftest$ac_exeext &&
11203        $as_test_x conftest$ac_exeext; then
11204   eval "$as_ac_var=yes"
11205 else
11206   echo "$as_me: failed program was:" >&5
11207 sed 's/^/| /' conftest.$ac_ext >&5
11208
11209         eval "$as_ac_var=no"
11210 fi
11211
11212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11213       conftest$ac_exeext conftest.$ac_ext
11214 fi
11215 ac_res=`eval echo '${'$as_ac_var'}'`
11216                { echo "$as_me:$LINENO: result: $ac_res" >&5
11217 echo "${ECHO_T}$ac_res" >&6; }
11218 if test `eval echo '${'$as_ac_var'}'` = yes; then
11219   cat >>confdefs.h <<_ACEOF
11220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11221 _ACEOF
11222
11223 else
11224   case " $LIBOBJS " in
11225   *" $ac_func.$ac_objext "* ) ;;
11226   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
11227  ;;
11228 esac
11229
11230 fi
11231 done
11232
11233
11234
11235 { echo "$as_me:$LINENO: checking for EXIT_SUCCESS and EXIT_FAILURE" >&5
11236 echo $ECHO_N "checking for EXIT_SUCCESS and EXIT_FAILURE... $ECHO_C" >&6; }
11237 if test "${ac_cv_decl_exit_success_and_failure+set}" = set; then
11238   echo $ECHO_N "(cached) $ECHO_C" >&6
11239 else
11240   cat >conftest.$ac_ext <<_ACEOF
11241 /* confdefs.h.  */
11242 _ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h.  */
11246
11247 #include <stdlib.h>
11248 #ifdef EXIT_SUCCESS
11249 yes
11250 #endif
11251
11252 _ACEOF
11253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11254   $EGREP "yes" >/dev/null 2>&1; then
11255   ac_cv_decl_exit_success_and_failure=yes
11256 else
11257   ac_cv_decl_exit_success_and_failure=no
11258 fi
11259 rm -f conftest*
11260
11261
11262 fi
11263 { echo "$as_me:$LINENO: result: $ac_cv_decl_exit_success_and_failure" >&5
11264 echo "${ECHO_T}$ac_cv_decl_exit_success_and_failure" >&6; }
11265
11266 if test "$ac_cv_decl_exit_success_and_failure" = yes ; then
11267
11268 cat >>confdefs.h <<\_ACEOF
11269 #define HAVE_EXIT_SUCCESS_AND_FAILURE 1
11270 _ACEOF
11271
11272 fi ;
11273
11274
11275 if test "x$LIBS" = "x" ; then
11276
11277 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
11278 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
11279 if test "${ac_cv_lib_m_cos+set}" = set; then
11280   echo $ECHO_N "(cached) $ECHO_C" >&6
11281 else
11282   ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lm  $LIBS"
11284 cat >conftest.$ac_ext <<_ACEOF
11285 /* confdefs.h.  */
11286 _ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h.  */
11290
11291 /* Override any GCC internal prototype to avoid an error.
11292    Use char because int might match the return type of a GCC
11293    builtin and then its argument prototype would still apply.  */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char cos ();
11298 int
11299 main ()
11300 {
11301 return cos ();
11302   ;
11303   return 0;
11304 }
11305 _ACEOF
11306 rm -f conftest.$ac_objext conftest$ac_exeext
11307 if { (ac_try="$ac_link"
11308 case "(($ac_try" in
11309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11310   *) ac_try_echo=$ac_try;;
11311 esac
11312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11313   (eval "$ac_link") 2>conftest.er1
11314   ac_status=$?
11315   grep -v '^ *+' conftest.er1 >conftest.err
11316   rm -f conftest.er1
11317   cat conftest.err >&5
11318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319   (exit $ac_status); } && {
11320          test -z "$ac_c_werror_flag" ||
11321          test ! -s conftest.err
11322        } && test -s conftest$ac_exeext &&
11323        $as_test_x conftest$ac_exeext; then
11324   ac_cv_lib_m_cos=yes
11325 else
11326   echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.$ac_ext >&5
11328
11329         ac_cv_lib_m_cos=no
11330 fi
11331
11332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11333       conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11335 fi
11336 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
11337 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
11338 if test $ac_cv_lib_m_cos = yes; then
11339   cat >>confdefs.h <<_ACEOF
11340 #define HAVE_LIBM 1
11341 _ACEOF
11342
11343   LIBS="-lm $LIBS"
11344
11345 fi
11346
11347 fi
11348
11349 { echo "$as_me:$LINENO: checking whether feenableexcept is declared" >&5
11350 echo $ECHO_N "checking whether feenableexcept is declared... $ECHO_C" >&6; }
11351 if test "${ac_cv_have_decl_feenableexcept+set}" = set; then
11352   echo $ECHO_N "(cached) $ECHO_C" >&6
11353 else
11354   cat >conftest.$ac_ext <<_ACEOF
11355 /* confdefs.h.  */
11356 _ACEOF
11357 cat confdefs.h >>conftest.$ac_ext
11358 cat >>conftest.$ac_ext <<_ACEOF
11359 /* end confdefs.h.  */
11360 #define _GNU_SOURCE 1
11361 #include <fenv.h>
11362
11363 int
11364 main ()
11365 {
11366 #ifndef feenableexcept
11367   (void) feenableexcept;
11368 #endif
11369
11370   ;
11371   return 0;
11372 }
11373 _ACEOF
11374 rm -f conftest.$ac_objext
11375 if { (ac_try="$ac_compile"
11376 case "(($ac_try" in
11377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11378   *) ac_try_echo=$ac_try;;
11379 esac
11380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381   (eval "$ac_compile") 2>conftest.er1
11382   ac_status=$?
11383   grep -v '^ *+' conftest.er1 >conftest.err
11384   rm -f conftest.er1
11385   cat conftest.err >&5
11386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387   (exit $ac_status); } && {
11388          test -z "$ac_c_werror_flag" ||
11389          test ! -s conftest.err
11390        } && test -s conftest.$ac_objext; then
11391   ac_cv_have_decl_feenableexcept=yes
11392 else
11393   echo "$as_me: failed program was:" >&5
11394 sed 's/^/| /' conftest.$ac_ext >&5
11395
11396         ac_cv_have_decl_feenableexcept=no
11397 fi
11398
11399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11400 fi
11401 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feenableexcept" >&5
11402 echo "${ECHO_T}$ac_cv_have_decl_feenableexcept" >&6; }
11403 if test $ac_cv_have_decl_feenableexcept = yes; then
11404
11405 cat >>confdefs.h <<_ACEOF
11406 #define HAVE_DECL_FEENABLEEXCEPT 1
11407 _ACEOF
11408
11409
11410 else
11411   cat >>confdefs.h <<_ACEOF
11412 #define HAVE_DECL_FEENABLEEXCEPT 0
11413 _ACEOF
11414
11415
11416 fi
11417
11418
11419 { echo "$as_me:$LINENO: checking whether fesettrapenable is declared" >&5
11420 echo $ECHO_N "checking whether fesettrapenable is declared... $ECHO_C" >&6; }
11421 if test "${ac_cv_have_decl_fesettrapenable+set}" = set; then
11422   echo $ECHO_N "(cached) $ECHO_C" >&6
11423 else
11424   cat >conftest.$ac_ext <<_ACEOF
11425 /* confdefs.h.  */
11426 _ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h.  */
11430 #define _GNU_SOURCE 1
11431 #include <fenv.h>
11432
11433 int
11434 main ()
11435 {
11436 #ifndef fesettrapenable
11437   (void) fesettrapenable;
11438 #endif
11439
11440   ;
11441   return 0;
11442 }
11443 _ACEOF
11444 rm -f conftest.$ac_objext
11445 if { (ac_try="$ac_compile"
11446 case "(($ac_try" in
11447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11448   *) ac_try_echo=$ac_try;;
11449 esac
11450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451   (eval "$ac_compile") 2>conftest.er1
11452   ac_status=$?
11453   grep -v '^ *+' conftest.er1 >conftest.err
11454   rm -f conftest.er1
11455   cat conftest.err >&5
11456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457   (exit $ac_status); } && {
11458          test -z "$ac_c_werror_flag" ||
11459          test ! -s conftest.err
11460        } && test -s conftest.$ac_objext; then
11461   ac_cv_have_decl_fesettrapenable=yes
11462 else
11463   echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11465
11466         ac_cv_have_decl_fesettrapenable=no
11467 fi
11468
11469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11470 fi
11471 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fesettrapenable" >&5
11472 echo "${ECHO_T}$ac_cv_have_decl_fesettrapenable" >&6; }
11473 if test $ac_cv_have_decl_fesettrapenable = yes; then
11474
11475 cat >>confdefs.h <<_ACEOF
11476 #define HAVE_DECL_FESETTRAPENABLE 1
11477 _ACEOF
11478
11479
11480 else
11481   cat >>confdefs.h <<_ACEOF
11482 #define HAVE_DECL_FESETTRAPENABLE 0
11483 _ACEOF
11484
11485
11486 fi
11487
11488
11489 { echo "$as_me:$LINENO: checking whether hypot is declared" >&5
11490 echo $ECHO_N "checking whether hypot is declared... $ECHO_C" >&6; }
11491 if test "${ac_cv_have_decl_hypot+set}" = set; then
11492   echo $ECHO_N "(cached) $ECHO_C" >&6
11493 else
11494   cat >conftest.$ac_ext <<_ACEOF
11495 /* confdefs.h.  */
11496 _ACEOF
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h.  */
11500 #include <math.h>
11501
11502 int
11503 main ()
11504 {
11505 #ifndef hypot
11506   (void) hypot;
11507 #endif
11508
11509   ;
11510   return 0;
11511 }
11512 _ACEOF
11513 rm -f conftest.$ac_objext
11514 if { (ac_try="$ac_compile"
11515 case "(($ac_try" in
11516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11517   *) ac_try_echo=$ac_try;;
11518 esac
11519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520   (eval "$ac_compile") 2>conftest.er1
11521   ac_status=$?
11522   grep -v '^ *+' conftest.er1 >conftest.err
11523   rm -f conftest.er1
11524   cat conftest.err >&5
11525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526   (exit $ac_status); } && {
11527          test -z "$ac_c_werror_flag" ||
11528          test ! -s conftest.err
11529        } && test -s conftest.$ac_objext; then
11530   ac_cv_have_decl_hypot=yes
11531 else
11532   echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.$ac_ext >&5
11534
11535         ac_cv_have_decl_hypot=no
11536 fi
11537
11538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11539 fi
11540 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_hypot" >&5
11541 echo "${ECHO_T}$ac_cv_have_decl_hypot" >&6; }
11542 if test $ac_cv_have_decl_hypot = yes; then
11543
11544 cat >>confdefs.h <<_ACEOF
11545 #define HAVE_DECL_HYPOT 1
11546 _ACEOF
11547
11548
11549 else
11550   cat >>confdefs.h <<_ACEOF
11551 #define HAVE_DECL_HYPOT 0
11552 _ACEOF
11553
11554
11555 fi
11556
11557
11558 { echo "$as_me:$LINENO: checking whether expm1 is declared" >&5
11559 echo $ECHO_N "checking whether expm1 is declared... $ECHO_C" >&6; }
11560 if test "${ac_cv_have_decl_expm1+set}" = set; then
11561   echo $ECHO_N "(cached) $ECHO_C" >&6
11562 else
11563   cat >conftest.$ac_ext <<_ACEOF
11564 /* confdefs.h.  */
11565 _ACEOF
11566 cat confdefs.h >>conftest.$ac_ext
11567 cat >>conftest.$ac_ext <<_ACEOF
11568 /* end confdefs.h.  */
11569 #include <math.h>
11570
11571 int
11572 main ()
11573 {
11574 #ifndef expm1
11575   (void) expm1;
11576 #endif
11577
11578   ;
11579   return 0;
11580 }
11581 _ACEOF
11582 rm -f conftest.$ac_objext
11583 if { (ac_try="$ac_compile"
11584 case "(($ac_try" in
11585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586   *) ac_try_echo=$ac_try;;
11587 esac
11588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11589   (eval "$ac_compile") 2>conftest.er1
11590   ac_status=$?
11591   grep -v '^ *+' conftest.er1 >conftest.err
11592   rm -f conftest.er1
11593   cat conftest.err >&5
11594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595   (exit $ac_status); } && {
11596          test -z "$ac_c_werror_flag" ||
11597          test ! -s conftest.err
11598        } && test -s conftest.$ac_objext; then
11599   ac_cv_have_decl_expm1=yes
11600 else
11601   echo "$as_me: failed program was:" >&5
11602 sed 's/^/| /' conftest.$ac_ext >&5
11603
11604         ac_cv_have_decl_expm1=no
11605 fi
11606
11607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11608 fi
11609 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_expm1" >&5
11610 echo "${ECHO_T}$ac_cv_have_decl_expm1" >&6; }
11611 if test $ac_cv_have_decl_expm1 = yes; then
11612
11613 cat >>confdefs.h <<_ACEOF
11614 #define HAVE_DECL_EXPM1 1
11615 _ACEOF
11616
11617
11618 else
11619   cat >>confdefs.h <<_ACEOF
11620 #define HAVE_DECL_EXPM1 0
11621 _ACEOF
11622
11623
11624 fi
11625
11626
11627 { echo "$as_me:$LINENO: checking whether acosh is declared" >&5
11628 echo $ECHO_N "checking whether acosh is declared... $ECHO_C" >&6; }
11629 if test "${ac_cv_have_decl_acosh+set}" = set; then
11630   echo $ECHO_N "(cached) $ECHO_C" >&6
11631 else
11632   cat >conftest.$ac_ext <<_ACEOF
11633 /* confdefs.h.  */
11634 _ACEOF
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h.  */
11638 #include <math.h>
11639
11640 int
11641 main ()
11642 {
11643 #ifndef acosh
11644   (void) acosh;
11645 #endif
11646
11647   ;
11648   return 0;
11649 }
11650 _ACEOF
11651 rm -f conftest.$ac_objext
11652 if { (ac_try="$ac_compile"
11653 case "(($ac_try" in
11654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11655   *) ac_try_echo=$ac_try;;
11656 esac
11657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11658   (eval "$ac_compile") 2>conftest.er1
11659   ac_status=$?
11660   grep -v '^ *+' conftest.er1 >conftest.err
11661   rm -f conftest.er1
11662   cat conftest.err >&5
11663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664   (exit $ac_status); } && {
11665          test -z "$ac_c_werror_flag" ||
11666          test ! -s conftest.err
11667        } && test -s conftest.$ac_objext; then
11668   ac_cv_have_decl_acosh=yes
11669 else
11670   echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11672
11673         ac_cv_have_decl_acosh=no
11674 fi
11675
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11677 fi
11678 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_acosh" >&5
11679 echo "${ECHO_T}$ac_cv_have_decl_acosh" >&6; }
11680 if test $ac_cv_have_decl_acosh = yes; then
11681
11682 cat >>confdefs.h <<_ACEOF
11683 #define HAVE_DECL_ACOSH 1
11684 _ACEOF
11685
11686
11687 else
11688   cat >>confdefs.h <<_ACEOF
11689 #define HAVE_DECL_ACOSH 0
11690 _ACEOF
11691
11692
11693 fi
11694
11695
11696 { echo "$as_me:$LINENO: checking whether asinh is declared" >&5
11697 echo $ECHO_N "checking whether asinh is declared... $ECHO_C" >&6; }
11698 if test "${ac_cv_have_decl_asinh+set}" = set; then
11699   echo $ECHO_N "(cached) $ECHO_C" >&6
11700 else
11701   cat >conftest.$ac_ext <<_ACEOF
11702 /* confdefs.h.  */
11703 _ACEOF
11704 cat confdefs.h >>conftest.$ac_ext
11705 cat >>conftest.$ac_ext <<_ACEOF
11706 /* end confdefs.h.  */
11707 #include <math.h>
11708
11709 int
11710 main ()
11711 {
11712 #ifndef asinh
11713   (void) asinh;
11714 #endif
11715
11716   ;
11717   return 0;
11718 }
11719 _ACEOF
11720 rm -f conftest.$ac_objext
11721 if { (ac_try="$ac_compile"
11722 case "(($ac_try" in
11723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11724   *) ac_try_echo=$ac_try;;
11725 esac
11726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11727   (eval "$ac_compile") 2>conftest.er1
11728   ac_status=$?
11729   grep -v '^ *+' conftest.er1 >conftest.err
11730   rm -f conftest.er1
11731   cat conftest.err >&5
11732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733   (exit $ac_status); } && {
11734          test -z "$ac_c_werror_flag" ||
11735          test ! -s conftest.err
11736        } && test -s conftest.$ac_objext; then
11737   ac_cv_have_decl_asinh=yes
11738 else
11739   echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11741
11742         ac_cv_have_decl_asinh=no
11743 fi
11744
11745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11746 fi
11747 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_asinh" >&5
11748 echo "${ECHO_T}$ac_cv_have_decl_asinh" >&6; }
11749 if test $ac_cv_have_decl_asinh = yes; then
11750
11751 cat >>confdefs.h <<_ACEOF
11752 #define HAVE_DECL_ASINH 1
11753 _ACEOF
11754
11755
11756 else
11757   cat >>confdefs.h <<_ACEOF
11758 #define HAVE_DECL_ASINH 0
11759 _ACEOF
11760
11761
11762 fi
11763
11764
11765 { echo "$as_me:$LINENO: checking whether atanh is declared" >&5
11766 echo $ECHO_N "checking whether atanh is declared... $ECHO_C" >&6; }
11767 if test "${ac_cv_have_decl_atanh+set}" = set; then
11768   echo $ECHO_N "(cached) $ECHO_C" >&6
11769 else
11770   cat >conftest.$ac_ext <<_ACEOF
11771 /* confdefs.h.  */
11772 _ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h.  */
11776 #include <math.h>
11777
11778 int
11779 main ()
11780 {
11781 #ifndef atanh
11782   (void) atanh;
11783 #endif
11784
11785   ;
11786   return 0;
11787 }
11788 _ACEOF
11789 rm -f conftest.$ac_objext
11790 if { (ac_try="$ac_compile"
11791 case "(($ac_try" in
11792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11793   *) ac_try_echo=$ac_try;;
11794 esac
11795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11796   (eval "$ac_compile") 2>conftest.er1
11797   ac_status=$?
11798   grep -v '^ *+' conftest.er1 >conftest.err
11799   rm -f conftest.er1
11800   cat conftest.err >&5
11801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802   (exit $ac_status); } && {
11803          test -z "$ac_c_werror_flag" ||
11804          test ! -s conftest.err
11805        } && test -s conftest.$ac_objext; then
11806   ac_cv_have_decl_atanh=yes
11807 else
11808   echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.$ac_ext >&5
11810
11811         ac_cv_have_decl_atanh=no
11812 fi
11813
11814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11815 fi
11816 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_atanh" >&5
11817 echo "${ECHO_T}$ac_cv_have_decl_atanh" >&6; }
11818 if test $ac_cv_have_decl_atanh = yes; then
11819
11820 cat >>confdefs.h <<_ACEOF
11821 #define HAVE_DECL_ATANH 1
11822 _ACEOF
11823
11824
11825 else
11826   cat >>confdefs.h <<_ACEOF
11827 #define HAVE_DECL_ATANH 0
11828 _ACEOF
11829
11830
11831 fi
11832
11833
11834 { echo "$as_me:$LINENO: checking whether ldexp is declared" >&5
11835 echo $ECHO_N "checking whether ldexp is declared... $ECHO_C" >&6; }
11836 if test "${ac_cv_have_decl_ldexp+set}" = set; then
11837   echo $ECHO_N "(cached) $ECHO_C" >&6
11838 else
11839   cat >conftest.$ac_ext <<_ACEOF
11840 /* confdefs.h.  */
11841 _ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h.  */
11845 #include <math.h>
11846
11847 int
11848 main ()
11849 {
11850 #ifndef ldexp
11851   (void) ldexp;
11852 #endif
11853
11854   ;
11855   return 0;
11856 }
11857 _ACEOF
11858 rm -f conftest.$ac_objext
11859 if { (ac_try="$ac_compile"
11860 case "(($ac_try" in
11861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11862   *) ac_try_echo=$ac_try;;
11863 esac
11864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11865   (eval "$ac_compile") 2>conftest.er1
11866   ac_status=$?
11867   grep -v '^ *+' conftest.er1 >conftest.err
11868   rm -f conftest.er1
11869   cat conftest.err >&5
11870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871   (exit $ac_status); } && {
11872          test -z "$ac_c_werror_flag" ||
11873          test ! -s conftest.err
11874        } && test -s conftest.$ac_objext; then
11875   ac_cv_have_decl_ldexp=yes
11876 else
11877   echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11879
11880         ac_cv_have_decl_ldexp=no
11881 fi
11882
11883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11884 fi
11885 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldexp" >&5
11886 echo "${ECHO_T}$ac_cv_have_decl_ldexp" >&6; }
11887 if test $ac_cv_have_decl_ldexp = yes; then
11888
11889 cat >>confdefs.h <<_ACEOF
11890 #define HAVE_DECL_LDEXP 1
11891 _ACEOF
11892
11893
11894 else
11895   cat >>confdefs.h <<_ACEOF
11896 #define HAVE_DECL_LDEXP 0
11897 _ACEOF
11898
11899
11900 fi
11901
11902
11903 { echo "$as_me:$LINENO: checking whether frexp is declared" >&5
11904 echo $ECHO_N "checking whether frexp is declared... $ECHO_C" >&6; }
11905 if test "${ac_cv_have_decl_frexp+set}" = set; then
11906   echo $ECHO_N "(cached) $ECHO_C" >&6
11907 else
11908   cat >conftest.$ac_ext <<_ACEOF
11909 /* confdefs.h.  */
11910 _ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h.  */
11914 #include <math.h>
11915
11916 int
11917 main ()
11918 {
11919 #ifndef frexp
11920   (void) frexp;
11921 #endif
11922
11923   ;
11924   return 0;
11925 }
11926 _ACEOF
11927 rm -f conftest.$ac_objext
11928 if { (ac_try="$ac_compile"
11929 case "(($ac_try" in
11930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11931   *) ac_try_echo=$ac_try;;
11932 esac
11933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11934   (eval "$ac_compile") 2>conftest.er1
11935   ac_status=$?
11936   grep -v '^ *+' conftest.er1 >conftest.err
11937   rm -f conftest.er1
11938   cat conftest.err >&5
11939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940   (exit $ac_status); } && {
11941          test -z "$ac_c_werror_flag" ||
11942          test ! -s conftest.err
11943        } && test -s conftest.$ac_objext; then
11944   ac_cv_have_decl_frexp=yes
11945 else
11946   echo "$as_me: failed program was:" >&5
11947 sed 's/^/| /' conftest.$ac_ext >&5
11948
11949         ac_cv_have_decl_frexp=no
11950 fi
11951
11952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11953 fi
11954 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_frexp" >&5
11955 echo "${ECHO_T}$ac_cv_have_decl_frexp" >&6; }
11956 if test $ac_cv_have_decl_frexp = yes; then
11957
11958 cat >>confdefs.h <<_ACEOF
11959 #define HAVE_DECL_FREXP 1
11960 _ACEOF
11961
11962
11963 else
11964   cat >>confdefs.h <<_ACEOF
11965 #define HAVE_DECL_FREXP 0
11966 _ACEOF
11967
11968
11969 fi
11970
11971
11972 { echo "$as_me:$LINENO: checking whether isinf is declared" >&5
11973 echo $ECHO_N "checking whether isinf is declared... $ECHO_C" >&6; }
11974 if test "${ac_cv_have_decl_isinf+set}" = set; then
11975   echo $ECHO_N "(cached) $ECHO_C" >&6
11976 else
11977   cat >conftest.$ac_ext <<_ACEOF
11978 /* confdefs.h.  */
11979 _ACEOF
11980 cat confdefs.h >>conftest.$ac_ext
11981 cat >>conftest.$ac_ext <<_ACEOF
11982 /* end confdefs.h.  */
11983 #include <math.h>
11984
11985 int
11986 main ()
11987 {
11988 #ifndef isinf
11989   (void) isinf;
11990 #endif
11991
11992   ;
11993   return 0;
11994 }
11995 _ACEOF
11996 rm -f conftest.$ac_objext
11997 if { (ac_try="$ac_compile"
11998 case "(($ac_try" in
11999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12000   *) ac_try_echo=$ac_try;;
12001 esac
12002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12003   (eval "$ac_compile") 2>conftest.er1
12004   ac_status=$?
12005   grep -v '^ *+' conftest.er1 >conftest.err
12006   rm -f conftest.er1
12007   cat conftest.err >&5
12008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009   (exit $ac_status); } && {
12010          test -z "$ac_c_werror_flag" ||
12011          test ! -s conftest.err
12012        } && test -s conftest.$ac_objext; then
12013   ac_cv_have_decl_isinf=yes
12014 else
12015   echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12017
12018         ac_cv_have_decl_isinf=no
12019 fi
12020
12021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12022 fi
12023 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_isinf" >&5
12024 echo "${ECHO_T}$ac_cv_have_decl_isinf" >&6; }
12025 if test $ac_cv_have_decl_isinf = yes; then
12026
12027 cat >>confdefs.h <<_ACEOF
12028 #define HAVE_DECL_ISINF 1
12029 _ACEOF
12030
12031
12032 else
12033   cat >>confdefs.h <<_ACEOF
12034 #define HAVE_DECL_ISINF 0
12035 _ACEOF
12036
12037
12038 fi
12039
12040
12041 { echo "$as_me:$LINENO: checking whether isfinite is declared" >&5
12042 echo $ECHO_N "checking whether isfinite is declared... $ECHO_C" >&6; }
12043 if test "${ac_cv_have_decl_isfinite+set}" = set; then
12044   echo $ECHO_N "(cached) $ECHO_C" >&6
12045 else
12046   cat >conftest.$ac_ext <<_ACEOF
12047 /* confdefs.h.  */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h.  */
12052 #include <math.h>
12053
12054 int
12055 main ()
12056 {
12057 #ifndef isfinite
12058   (void) isfinite;
12059 #endif
12060
12061   ;
12062   return 0;
12063 }
12064 _ACEOF
12065 rm -f conftest.$ac_objext
12066 if { (ac_try="$ac_compile"
12067 case "(($ac_try" in
12068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12069   *) ac_try_echo=$ac_try;;
12070 esac
12071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12072   (eval "$ac_compile") 2>conftest.er1
12073   ac_status=$?
12074   grep -v '^ *+' conftest.er1 >conftest.err
12075   rm -f conftest.er1
12076   cat conftest.err >&5
12077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078   (exit $ac_status); } && {
12079          test -z "$ac_c_werror_flag" ||
12080          test ! -s conftest.err
12081        } && test -s conftest.$ac_objext; then
12082   ac_cv_have_decl_isfinite=yes
12083 else
12084   echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087         ac_cv_have_decl_isfinite=no
12088 fi
12089
12090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12091 fi
12092 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_isfinite" >&5
12093 echo "${ECHO_T}$ac_cv_have_decl_isfinite" >&6; }
12094 if test $ac_cv_have_decl_isfinite = yes; then
12095
12096 cat >>confdefs.h <<_ACEOF
12097 #define HAVE_DECL_ISFINITE 1
12098 _ACEOF
12099
12100
12101 else
12102   cat >>confdefs.h <<_ACEOF
12103 #define HAVE_DECL_ISFINITE 0
12104 _ACEOF
12105
12106
12107 fi
12108
12109
12110 { echo "$as_me:$LINENO: checking whether finite is declared" >&5
12111 echo $ECHO_N "checking whether finite is declared... $ECHO_C" >&6; }
12112 if test "${ac_cv_have_decl_finite+set}" = set; then
12113   echo $ECHO_N "(cached) $ECHO_C" >&6
12114 else
12115   cat >conftest.$ac_ext <<_ACEOF
12116 /* confdefs.h.  */
12117 _ACEOF
12118 cat confdefs.h >>conftest.$ac_ext
12119 cat >>conftest.$ac_ext <<_ACEOF
12120 /* end confdefs.h.  */
12121 #include <math.h>
12122 #if HAVE_IEEEFP_H
12123 #include <ieeefp.h>
12124 #endif
12125
12126 int
12127 main ()
12128 {
12129 #ifndef finite
12130   (void) finite;
12131 #endif
12132
12133   ;
12134   return 0;
12135 }
12136 _ACEOF
12137 rm -f conftest.$ac_objext
12138 if { (ac_try="$ac_compile"
12139 case "(($ac_try" in
12140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12141   *) ac_try_echo=$ac_try;;
12142 esac
12143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12144   (eval "$ac_compile") 2>conftest.er1
12145   ac_status=$?
12146   grep -v '^ *+' conftest.er1 >conftest.err
12147   rm -f conftest.er1
12148   cat conftest.err >&5
12149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150   (exit $ac_status); } && {
12151          test -z "$ac_c_werror_flag" ||
12152          test ! -s conftest.err
12153        } && test -s conftest.$ac_objext; then
12154   ac_cv_have_decl_finite=yes
12155 else
12156   echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12158
12159         ac_cv_have_decl_finite=no
12160 fi
12161
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12163 fi
12164 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_finite" >&5
12165 echo "${ECHO_T}$ac_cv_have_decl_finite" >&6; }
12166 if test $ac_cv_have_decl_finite = yes; then
12167
12168 cat >>confdefs.h <<_ACEOF
12169 #define HAVE_DECL_FINITE 1
12170 _ACEOF
12171
12172
12173 else
12174   cat >>confdefs.h <<_ACEOF
12175 #define HAVE_DECL_FINITE 0
12176 _ACEOF
12177
12178
12179 fi
12180
12181
12182 { echo "$as_me:$LINENO: checking whether isnan is declared" >&5
12183 echo $ECHO_N "checking whether isnan is declared... $ECHO_C" >&6; }
12184 if test "${ac_cv_have_decl_isnan+set}" = set; then
12185   echo $ECHO_N "(cached) $ECHO_C" >&6
12186 else
12187   cat >conftest.$ac_ext <<_ACEOF
12188 /* confdefs.h.  */
12189 _ACEOF
12190 cat confdefs.h >>conftest.$ac_ext
12191 cat >>conftest.$ac_ext <<_ACEOF
12192 /* end confdefs.h.  */
12193 #include <math.h>
12194
12195 int
12196 main ()
12197 {
12198 #ifndef isnan
12199   (void) isnan;
12200 #endif
12201
12202   ;
12203   return 0;
12204 }
12205 _ACEOF
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210   *) ac_try_echo=$ac_try;;
12211 esac
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213   (eval "$ac_compile") 2>conftest.er1
12214   ac_status=$?
12215   grep -v '^ *+' conftest.er1 >conftest.err
12216   rm -f conftest.er1
12217   cat conftest.err >&5
12218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219   (exit $ac_status); } && {
12220          test -z "$ac_c_werror_flag" ||
12221          test ! -s conftest.err
12222        } && test -s conftest.$ac_objext; then
12223   ac_cv_have_decl_isnan=yes
12224 else
12225   echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12227
12228         ac_cv_have_decl_isnan=no
12229 fi
12230
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12232 fi
12233 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_isnan" >&5
12234 echo "${ECHO_T}$ac_cv_have_decl_isnan" >&6; }
12235 if test $ac_cv_have_decl_isnan = yes; then
12236
12237 cat >>confdefs.h <<_ACEOF
12238 #define HAVE_DECL_ISNAN 1
12239 _ACEOF
12240
12241
12242 else
12243   cat >>confdefs.h <<_ACEOF
12244 #define HAVE_DECL_ISNAN 0
12245 _ACEOF
12246
12247
12248 fi
12249
12250
12251
12252 case "$host" in
12253     *-*-*openbsd*)
12254        { echo "$as_me:$LINENO: result: avoiding OpenBSD system log1p - using gsl version" >&5
12255 echo "${ECHO_T}avoiding OpenBSD system log1p - using gsl version" >&6; }
12256        ;;
12257     *)
12258         { echo "$as_me:$LINENO: checking whether log1p is declared" >&5
12259 echo $ECHO_N "checking whether log1p is declared... $ECHO_C" >&6; }
12260 if test "${ac_cv_have_decl_log1p+set}" = set; then
12261   echo $ECHO_N "(cached) $ECHO_C" >&6
12262 else
12263   cat >conftest.$ac_ext <<_ACEOF
12264 /* confdefs.h.  */
12265 _ACEOF
12266 cat confdefs.h >>conftest.$ac_ext
12267 cat >>conftest.$ac_ext <<_ACEOF
12268 /* end confdefs.h.  */
12269 #include <math.h>
12270
12271 int
12272 main ()
12273 {
12274 #ifndef log1p
12275   (void) log1p;
12276 #endif
12277
12278   ;
12279   return 0;
12280 }
12281 _ACEOF
12282 rm -f conftest.$ac_objext
12283 if { (ac_try="$ac_compile"
12284 case "(($ac_try" in
12285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12286   *) ac_try_echo=$ac_try;;
12287 esac
12288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12289   (eval "$ac_compile") 2>conftest.er1
12290   ac_status=$?
12291   grep -v '^ *+' conftest.er1 >conftest.err
12292   rm -f conftest.er1
12293   cat conftest.err >&5
12294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295   (exit $ac_status); } && {
12296          test -z "$ac_c_werror_flag" ||
12297          test ! -s conftest.err
12298        } && test -s conftest.$ac_objext; then
12299   ac_cv_have_decl_log1p=yes
12300 else
12301   echo "$as_me: failed program was:" >&5
12302 sed 's/^/| /' conftest.$ac_ext >&5
12303
12304         ac_cv_have_decl_log1p=no
12305 fi
12306
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 fi
12309 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_log1p" >&5
12310 echo "${ECHO_T}$ac_cv_have_decl_log1p" >&6; }
12311 if test $ac_cv_have_decl_log1p = yes; then
12312
12313 cat >>confdefs.h <<_ACEOF
12314 #define HAVE_DECL_LOG1P 1
12315 _ACEOF
12316
12317
12318 else
12319   cat >>confdefs.h <<_ACEOF
12320 #define HAVE_DECL_LOG1P 0
12321 _ACEOF
12322
12323
12324 fi
12325
12326
12327        ;;
12328 esac
12329
12330 { echo "$as_me:$LINENO: checking for long double stdio" >&5
12331 echo $ECHO_N "checking for long double stdio... $ECHO_C" >&6; }
12332 if test "${ac_cv_func_printf_longdouble+set}" = set; then
12333   echo $ECHO_N "(cached) $ECHO_C" >&6
12334 else
12335   if test "$cross_compiling" = yes; then
12336   ac_cv_func_printf_longdouble="no"
12337 else
12338   cat >conftest.$ac_ext <<_ACEOF
12339 /* confdefs.h.  */
12340 _ACEOF
12341 cat confdefs.h >>conftest.$ac_ext
12342 cat >>conftest.$ac_ext <<_ACEOF
12343 /* end confdefs.h.  */
12344
12345 #include <stdlib.h>
12346 #include <stdio.h>
12347 int main (void)
12348 {
12349 const char * s = "5678.25"; long double x = 1.234 ;
12350 fprintf(stderr,"%Lg\n",x) ;
12351 sscanf(s, "%Lg", &x);
12352 if (x == 5678.25) {exit (0);} else {exit(1); };
12353 }
12354 _ACEOF
12355 rm -f conftest$ac_exeext
12356 if { (ac_try="$ac_link"
12357 case "(($ac_try" in
12358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12359   *) ac_try_echo=$ac_try;;
12360 esac
12361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12362   (eval "$ac_link") 2>&5
12363   ac_status=$?
12364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12366   { (case "(($ac_try" in
12367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12368   *) ac_try_echo=$ac_try;;
12369 esac
12370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12371   (eval "$ac_try") 2>&5
12372   ac_status=$?
12373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374   (exit $ac_status); }; }; then
12375   ac_cv_func_printf_longdouble="yes"
12376 else
12377   echo "$as_me: program exited with status $ac_status" >&5
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.$ac_ext >&5
12380
12381 ( exit $ac_status )
12382 ac_cv_func_printf_longdouble="no"
12383 fi
12384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12385 fi
12386
12387
12388 fi
12389 { echo "$as_me:$LINENO: result: $ac_cv_func_printf_longdouble" >&5
12390 echo "${ECHO_T}$ac_cv_func_printf_longdouble" >&6; }
12391
12392 if test "$ac_cv_func_printf_longdouble" != no; then
12393
12394 cat >>confdefs.h <<\_ACEOF
12395 #define HAVE_PRINTF_LONGDOUBLE 1
12396 _ACEOF
12397
12398 fi
12399
12400 { echo "$as_me:$LINENO: checking for extended floating point registers" >&5
12401 echo $ECHO_N "checking for extended floating point registers... $ECHO_C" >&6; }
12402 if test "${ac_cv_c_extended_fp+set}" = set; then
12403   echo $ECHO_N "(cached) $ECHO_C" >&6
12404 else
12405   case "$host" in
12406     *sparc*-*-*)
12407         ac_cv_c_extended_fp=no
12408         ;;
12409     *powerpc*-*-*)
12410         ac_cv_c_extended_fp=no
12411         ;;
12412     *hppa*-*-*)
12413         ac_cv_c_extended_fp=no
12414         ;;
12415     *alpha*-*-*)
12416         ac_cv_c_extended_fp=no
12417         ;;
12418     *68k*-*-*)
12419         ac_cv_c_extended_fp=yes
12420         ;;
12421     *86-*-*)
12422         ac_cv_c_extended_fp=yes
12423         ;;
12424     x86_64-*-*)
12425         ac_cv_c_extended_fp=yes
12426         ;;
12427     *)
12428         ac_cv_c_extended_fp=unknown
12429         ;;
12430 esac
12431
12432 fi
12433 { echo "$as_me:$LINENO: result: $ac_cv_c_extended_fp" >&5
12434 echo "${ECHO_T}$ac_cv_c_extended_fp" >&6; }
12435
12436 if test $ac_cv_c_extended_fp != "no" ; then
12437
12438 cat >>confdefs.h <<\_ACEOF
12439 #define HAVE_EXTENDED_PRECISION_REGISTERS 1
12440 _ACEOF
12441
12442 fi
12443
12444 { echo "$as_me:$LINENO: checking for IEEE arithmetic interface type" >&5
12445 echo $ECHO_N "checking for IEEE arithmetic interface type... $ECHO_C" >&6; }
12446 if test "${ac_cv_c_ieee_interface+set}" = set; then
12447   echo $ECHO_N "(cached) $ECHO_C" >&6
12448 else
12449   case "$host" in
12450     sparc-*-linux*)
12451         ac_cv_c_ieee_interface=gnusparc
12452         ;;
12453     m68k-*-linux*)
12454         ac_cv_c_ieee_interface=gnum68k
12455         ;;
12456     powerpc-*-linux*)
12457         ac_cv_c_ieee_interface=gnuppc
12458         ;;
12459     *86-*-gnu | *86_64-*-gnu | *86-*-linux* | *86_64-*-linux*)
12460         ac_cv_c_ieee_interface=gnux86
12461         ;;
12462     *-*-sunos4*)
12463         ac_cv_c_ieee_interface=sunos4
12464         ;;
12465     *-*-solaris*)
12466         ac_cv_c_ieee_interface=solaris
12467         ;;
12468     *-*-hpux11*)
12469         ac_cv_c_ieee_interface=hpux11
12470         ;;
12471     *-*-hpux*)
12472         ac_cv_c_ieee_interface=hpux
12473         ;;
12474     *-*-osf*)
12475         ac_cv_c_ieee_interface=tru64
12476         ;;
12477     *-*-aix*)
12478         ac_cv_c_ieee_interface=aix
12479         ;;
12480     *-*-irix*)
12481         ac_cv_c_ieee_interface=irix
12482         ;;
12483     powerpc-*-*darwin*)
12484         ac_cv_c_ieee_interface=darwin
12485         ;;
12486     *86-*-*darwin*)
12487         ac_cv_c_ieee_interface=darwin86
12488         ;;
12489     *-*-*netbsd*)
12490         ac_cv_c_ieee_interface=netbsd
12491         ;;
12492     *-*-*openbsd*)
12493         ac_cv_c_ieee_interface=openbsd
12494         ;;
12495     *-*-*bsd*)
12496         ac_cv_c_ieee_interface=freebsd
12497         ;;
12498     *-*-os2*)
12499         ac_cv_c_ieee_interface=os2emx
12500         ;;
12501     *)
12502         ac_cv_c_ieee_interface=unknown
12503         ;;
12504 esac
12505
12506 fi
12507 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_interface" >&5
12508 echo "${ECHO_T}$ac_cv_c_ieee_interface" >&6; }
12509
12510 if test "$ac_cv_c_ieee_interface" = "gnux86" ; then
12511     { echo "$as_me:$LINENO: checking for FPU_SETCW" >&5
12512 echo $ECHO_N "checking for FPU_SETCW... $ECHO_C" >&6; }
12513 if test "${ac_cv_c_fpu_setcw+set}" = set; then
12514   echo $ECHO_N "(cached) $ECHO_C" >&6
12515 else
12516   ac_cv_c_fpu_setcw=no
12517     cat >conftest.$ac_ext <<_ACEOF
12518 /* confdefs.h.  */
12519 _ACEOF
12520 cat confdefs.h >>conftest.$ac_ext
12521 cat >>conftest.$ac_ext <<_ACEOF
12522 /* end confdefs.h.  */
12523 #include <fpu_control.h>
12524 #ifndef _FPU_SETCW
12525 #include <i386/fpu_control.h>
12526 #define _FPU_SETCW(cw) __setfpucw(cw)
12527 #endif
12528
12529 int
12530 main ()
12531 {
12532  unsigned short mode = 0 ; _FPU_SETCW(mode);
12533   ;
12534   return 0;
12535 }
12536 _ACEOF
12537 rm -f conftest.$ac_objext
12538 if { (ac_try="$ac_compile"
12539 case "(($ac_try" in
12540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12541   *) ac_try_echo=$ac_try;;
12542 esac
12543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12544   (eval "$ac_compile") 2>conftest.er1
12545   ac_status=$?
12546   grep -v '^ *+' conftest.er1 >conftest.err
12547   rm -f conftest.er1
12548   cat conftest.err >&5
12549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550   (exit $ac_status); } && {
12551          test -z "$ac_c_werror_flag" ||
12552          test ! -s conftest.err
12553        } && test -s conftest.$ac_objext; then
12554   ac_cv_c_fpu_setcw="yes"
12555 else
12556   echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.$ac_ext >&5
12558
12559         ac_cv_c_ieee_interface=unknown
12560 fi
12561
12562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12563
12564 fi
12565 { echo "$as_me:$LINENO: result: $ac_cv_c_fpu_setcw" >&5
12566 echo "${ECHO_T}$ac_cv_c_fpu_setcw" >&6; }
12567 fi
12568
12569 if test "$ac_cv_c_ieee_interface" = "gnux86" ; then
12570     { echo "$as_me:$LINENO: checking for SSE extensions" >&5
12571 echo $ECHO_N "checking for SSE extensions... $ECHO_C" >&6; }
12572 if test "${ac_cv_c_fpu_sse+set}" = set; then
12573   echo $ECHO_N "(cached) $ECHO_C" >&6
12574 else
12575   ac_cv_c_fpu_sse=no
12576     if test "$cross_compiling" = yes; then
12577   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12578 See \`config.log' for more details." >&5
12579 echo "$as_me: error: cannot run test program while cross compiling
12580 See \`config.log' for more details." >&2;}
12581    { (exit 1); exit 1; }; }
12582 else
12583   cat >conftest.$ac_ext <<_ACEOF
12584 /* confdefs.h.  */
12585 _ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h.  */
12589
12590 #include <stdlib.h>
12591 #define _FPU_SETMXCSR(cw_sse) asm volatile ("ldmxcsr %0" : : "m" (*&cw_sse))
12592
12593 int
12594 main ()
12595 {
12596  unsigned int mode = 0x1f80 ; _FPU_SETMXCSR(mode); exit(0);
12597   ;
12598   return 0;
12599 }
12600 _ACEOF
12601 rm -f conftest$ac_exeext
12602 if { (ac_try="$ac_link"
12603 case "(($ac_try" in
12604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12605   *) ac_try_echo=$ac_try;;
12606 esac
12607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12608   (eval "$ac_link") 2>&5
12609   ac_status=$?
12610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12612   { (case "(($ac_try" in
12613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12614   *) ac_try_echo=$ac_try;;
12615 esac
12616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12617   (eval "$ac_try") 2>&5
12618   ac_status=$?
12619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620   (exit $ac_status); }; }; then
12621   ac_cv_c_fpu_sse="yes"
12622 else
12623   echo "$as_me: program exited with status $ac_status" >&5
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12626
12627 fi
12628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12629 fi
12630
12631
12632
12633 fi
12634 { echo "$as_me:$LINENO: result: $ac_cv_c_fpu_sse" >&5
12635 echo "${ECHO_T}$ac_cv_c_fpu_sse" >&6; }
12636     if test $ac_cv_c_fpu_sse = yes; then
12637
12638 cat >>confdefs.h <<\_ACEOF
12639 #define HAVE_FPU_X86_SSE 1
12640 _ACEOF
12641
12642    fi
12643 fi
12644
12645 ac_tr_ieee_interface=HAVE_`echo $ac_cv_c_ieee_interface | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`_IEEE_INTERFACE
12646
12647 cat >>confdefs.h <<_ACEOF
12648 #define $ac_tr_ieee_interface 1
12649 _ACEOF
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671 save_cflags="$CFLAGS"
12672 { echo "$as_me:$LINENO: checking for IEEE compiler flags" >&5
12673 echo $ECHO_N "checking for IEEE compiler flags... $ECHO_C" >&6; }
12674 if test "${ac_cv_c_ieee_flags+set}" = set; then
12675   echo $ECHO_N "(cached) $ECHO_C" >&6
12676 else
12677
12678 case "$host" in
12679     alpha*-*-*)
12680         if test X"$GCC" = Xyes ; then
12681             ieee_flags='-mieee -mfp-rounding-mode=d'
12682         else
12683             # This assumes Compaq's C compiler.
12684             ieee_flags='-ieee -fprm d'
12685         fi
12686         ;;
12687 esac
12688 if test X"$ieee_flags" != X ; then
12689   CFLAGS="$ieee_flags $CFLAGS"
12690   cat >conftest.$ac_ext <<_ACEOF
12691 /* confdefs.h.  */
12692 _ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h.  */
12696
12697 int
12698 main ()
12699 {
12700 int foo;
12701   ;
12702   return 0;
12703 }
12704 _ACEOF
12705 rm -f conftest.$ac_objext
12706 if { (ac_try="$ac_compile"
12707 case "(($ac_try" in
12708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12709   *) ac_try_echo=$ac_try;;
12710 esac
12711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712   (eval "$ac_compile") 2>conftest.er1
12713   ac_status=$?
12714   grep -v '^ *+' conftest.er1 >conftest.err
12715   rm -f conftest.er1
12716   cat conftest.err >&5
12717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718   (exit $ac_status); } && {
12719          test -z "$ac_c_werror_flag" ||
12720          test ! -s conftest.err
12721        } && test -s conftest.$ac_objext; then
12722   ac_cv_c_ieee_flags="$ieee_flags"
12723 else
12724   echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727         ac_cv_c_ieee_flags="none"
12728 fi
12729
12730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12731 else
12732   ac_cv_c_ieee_flags="none"
12733 fi
12734 fi
12735 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_flags" >&5
12736 echo "${ECHO_T}$ac_cv_c_ieee_flags" >&6; }
12737
12738 if test "$ac_cv_c_ieee_flags" != "none" ; then
12739    CFLAGS="$ac_cv_c_ieee_flags $save_cflags"
12740 else
12741    CFLAGS="$save_cflags"
12742 fi
12743
12744 { echo "$as_me:$LINENO: checking for IEEE comparisons" >&5
12745 echo $ECHO_N "checking for IEEE comparisons... $ECHO_C" >&6; }
12746 if test "${ac_cv_c_ieee_comparisons+set}" = set; then
12747   echo $ECHO_N "(cached) $ECHO_C" >&6
12748 else
12749   if test "$cross_compiling" = yes; then
12750   ac_cv_c_ieee_comparisons="yes"
12751 else
12752   cat >conftest.$ac_ext <<_ACEOF
12753 /* confdefs.h.  */
12754 _ACEOF
12755 cat confdefs.h >>conftest.$ac_ext
12756 cat >>conftest.$ac_ext <<_ACEOF
12757 /* end confdefs.h.  */
12758
12759 #include <math.h>
12760 int main (void)
12761 {
12762    int status; double inf, nan;
12763    inf = exp(1.0e10);
12764    nan = inf / inf ;
12765    status = (nan == nan);
12766    exit (status);
12767 }
12768 _ACEOF
12769 rm -f conftest$ac_exeext
12770 if { (ac_try="$ac_link"
12771 case "(($ac_try" in
12772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12773   *) ac_try_echo=$ac_try;;
12774 esac
12775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12776   (eval "$ac_link") 2>&5
12777   ac_status=$?
12778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12780   { (case "(($ac_try" in
12781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782   *) ac_try_echo=$ac_try;;
12783 esac
12784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12785   (eval "$ac_try") 2>&5
12786   ac_status=$?
12787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788   (exit $ac_status); }; }; then
12789   ac_cv_c_ieee_comparisons="yes"
12790 else
12791   echo "$as_me: program exited with status $ac_status" >&5
12792 echo "$as_me: failed program was:" >&5
12793 sed 's/^/| /' conftest.$ac_ext >&5
12794
12795 ( exit $ac_status )
12796 ac_cv_c_ieee_comparisons="no"
12797 fi
12798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12799 fi
12800
12801
12802
12803 fi
12804 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_comparisons" >&5
12805 echo "${ECHO_T}$ac_cv_c_ieee_comparisons" >&6; }
12806
12807 if test "$ac_cv_c_ieee_comparisons" != no ; then
12808
12809 cat >>confdefs.h <<\_ACEOF
12810 #define HAVE_IEEE_COMPARISONS 1
12811 _ACEOF
12812
12813 fi
12814
12815 { echo "$as_me:$LINENO: checking for IEEE denormalized values" >&5
12816 echo $ECHO_N "checking for IEEE denormalized values... $ECHO_C" >&6; }
12817 if test "${ac_cv_c_ieee_denormals+set}" = set; then
12818   echo $ECHO_N "(cached) $ECHO_C" >&6
12819 else
12820   if test "$cross_compiling" = yes; then
12821   ac_cv_c_ieee_denormals="yes"
12822 else
12823   cat >conftest.$ac_ext <<_ACEOF
12824 /* confdefs.h.  */
12825 _ACEOF
12826 cat confdefs.h >>conftest.$ac_ext
12827 cat >>conftest.$ac_ext <<_ACEOF
12828 /* end confdefs.h.  */
12829
12830 #include <math.h>
12831 int main (void)
12832 {
12833    int i, status;
12834    volatile double z = 1e-308;
12835    for (i = 0; i < 5; i++) { z = z / 10.0 ; };
12836    for (i = 0; i < 5; i++) { z = z * 10.0 ; };
12837    status = (z == 0.0);
12838    exit (status);
12839 }
12840 _ACEOF
12841 rm -f conftest$ac_exeext
12842 if { (ac_try="$ac_link"
12843 case "(($ac_try" in
12844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12845   *) ac_try_echo=$ac_try;;
12846 esac
12847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848   (eval "$ac_link") 2>&5
12849   ac_status=$?
12850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12852   { (case "(($ac_try" in
12853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854   *) ac_try_echo=$ac_try;;
12855 esac
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857   (eval "$ac_try") 2>&5
12858   ac_status=$?
12859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860   (exit $ac_status); }; }; then
12861   ac_cv_c_ieee_denormals="yes"
12862 else
12863   echo "$as_me: program exited with status $ac_status" >&5
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12866
12867 ( exit $ac_status )
12868 ac_cv_c_ieee_denormals="no"
12869 fi
12870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12871 fi
12872
12873
12874
12875 fi
12876 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_denormals" >&5
12877 echo "${ECHO_T}$ac_cv_c_ieee_denormals" >&6; }
12878
12879 if test "$ac_cv_c_ieee_denormals" != no ; then
12880
12881 cat >>confdefs.h <<\_ACEOF
12882 #define HAVE_IEEE_DENORMALS 1
12883 _ACEOF
12884
12885 fi
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911 ac_config_files="$ac_config_files gsl-config gsl.pc gsl_version.h gsl.spec gsl/Makefile test/Makefile err/Makefile sys/Makefile utils/Makefile const/Makefile min/Makefile multimin/Makefile ieee-utils/Makefile fft/Makefile specfunc/Makefile dht/Makefile fit/Makefile multifit/Makefile bspline/Makefile statistics/Makefile sum/Makefile roots/Makefile multiroots/Makefile ntuple/Makefile poly/Makefile qrng/Makefile rng/Makefile randist/Makefile siman/Makefile integration/Makefile interpolation/Makefile doc/Makefile block/Makefile vector/Makefile matrix/Makefile histogram/Makefile monte/Makefile ode-initval/Makefile cblas/Makefile blas/Makefile linalg/Makefile eigen/Makefile permutation/Makefile combination/Makefile sort/Makefile complex/Makefile diff/Makefile deriv/Makefile cheb/Makefile cdf/Makefile wavelet/Makefile Makefile"
12912
12913 cat >confcache <<\_ACEOF
12914 # This file is a shell script that caches the results of configure
12915 # tests run on this system so they can be shared between configure
12916 # scripts and configure runs, see configure's option --config-cache.
12917 # It is not useful on other systems.  If it contains results you don't
12918 # want to keep, you may remove or edit it.
12919 #
12920 # config.status only pays attention to the cache file if you give it
12921 # the --recheck option to rerun configure.
12922 #
12923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12925 # following values.
12926
12927 _ACEOF
12928
12929 # The following way of writing the cache mishandles newlines in values,
12930 # but we know of no workaround that is simple, portable, and efficient.
12931 # So, we kill variables containing newlines.
12932 # Ultrix sh set writes to stderr and can't be redirected directly,
12933 # and sets the high bit in the cache file unless we assign to the vars.
12934 (
12935   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12936     eval ac_val=\$$ac_var
12937     case $ac_val in #(
12938     *${as_nl}*)
12939       case $ac_var in #(
12940       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12942       esac
12943       case $ac_var in #(
12944       _ | IFS | as_nl) ;; #(
12945       *) $as_unset $ac_var ;;
12946       esac ;;
12947     esac
12948   done
12949
12950   (set) 2>&1 |
12951     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12952     *${as_nl}ac_space=\ *)
12953       # `set' does not quote correctly, so add quotes (double-quote
12954       # substitution turns \\\\ into \\, and sed turns \\ into \).
12955       sed -n \
12956         "s/'/'\\\\''/g;
12957           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12958       ;; #(
12959     *)
12960       # `set' quotes correctly as required by POSIX, so do not add quotes.
12961       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12962       ;;
12963     esac |
12964     sort
12965 ) |
12966   sed '
12967      /^ac_cv_env_/b end
12968      t clear
12969      :clear
12970      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12971      t end
12972      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12973      :end' >>confcache
12974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12975   if test -w "$cache_file"; then
12976     test "x$cache_file" != "x/dev/null" &&
12977       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12978 echo "$as_me: updating cache $cache_file" >&6;}
12979     cat confcache >$cache_file
12980   else
12981     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12983   fi
12984 fi
12985 rm -f confcache
12986
12987 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12988 # Let make expand exec_prefix.
12989 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12990
12991 DEFS=-DHAVE_CONFIG_H
12992
12993 ac_libobjs=
12994 ac_ltlibobjs=
12995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12996   # 1. Remove the extension, and $U if already installed.
12997   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12998   ac_i=`echo "$ac_i" | sed "$ac_script"`
12999   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13000   #    will be set to the directory where LIBOBJS objects are built.
13001   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13002   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13003 done
13004 LIBOBJS=$ac_libobjs
13005
13006 LTLIBOBJS=$ac_ltlibobjs
13007
13008
13009 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13010   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13011 Usually this means the macro was only invoked conditionally." >&5
13012 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13013 Usually this means the macro was only invoked conditionally." >&2;}
13014    { (exit 1); exit 1; }; }
13015 fi
13016 if test -z "${MINGW32_HOST_TRUE}" && test -z "${MINGW32_HOST_FALSE}"; then
13017   { { echo "$as_me:$LINENO: error: conditional \"MINGW32_HOST\" was never defined.
13018 Usually this means the macro was only invoked conditionally." >&5
13019 echo "$as_me: error: conditional \"MINGW32_HOST\" was never defined.
13020 Usually this means the macro was only invoked conditionally." >&2;}
13021    { (exit 1); exit 1; }; }
13022 fi
13023
13024 : ${CONFIG_STATUS=./config.status}
13025 ac_clean_files_save=$ac_clean_files
13026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13027 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13028 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13029 cat >$CONFIG_STATUS <<_ACEOF
13030 #! $SHELL
13031 # Generated by $as_me.
13032 # Run this file to recreate the current configuration.
13033 # Compiler output produced by configure, useful for debugging
13034 # configure, is in config.log if it exists.
13035
13036 debug=false
13037 ac_cs_recheck=false
13038 ac_cs_silent=false
13039 SHELL=\${CONFIG_SHELL-$SHELL}
13040 _ACEOF
13041
13042 cat >>$CONFIG_STATUS <<\_ACEOF
13043 ## --------------------- ##
13044 ## M4sh Initialization.  ##
13045 ## --------------------- ##
13046
13047 # Be more Bourne compatible
13048 DUALCASE=1; export DUALCASE # for MKS sh
13049 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13050   emulate sh
13051   NULLCMD=:
13052   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13053   # is contrary to our usage.  Disable this feature.
13054   alias -g '${1+"$@"}'='"$@"'
13055   setopt NO_GLOB_SUBST
13056 else
13057   case `(set -o) 2>/dev/null` in
13058   *posix*) set -o posix ;;
13059 esac
13060
13061 fi
13062
13063
13064
13065
13066 # PATH needs CR
13067 # Avoid depending upon Character Ranges.
13068 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13069 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13070 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13071 as_cr_digits='0123456789'
13072 as_cr_alnum=$as_cr_Letters$as_cr_digits
13073
13074 # The user is always right.
13075 if test "${PATH_SEPARATOR+set}" != set; then
13076   echo "#! /bin/sh" >conf$$.sh
13077   echo  "exit 0"   >>conf$$.sh
13078   chmod +x conf$$.sh
13079   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13080     PATH_SEPARATOR=';'
13081   else
13082     PATH_SEPARATOR=:
13083   fi
13084   rm -f conf$$.sh
13085 fi
13086
13087 # Support unset when possible.
13088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13089   as_unset=unset
13090 else
13091   as_unset=false
13092 fi
13093
13094
13095 # IFS
13096 # We need space, tab and new line, in precisely that order.  Quoting is
13097 # there to prevent editors from complaining about space-tab.
13098 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13099 # splitting by setting IFS to empty value.)
13100 as_nl='
13101 '
13102 IFS=" ""        $as_nl"
13103
13104 # Find who we are.  Look in the path if we contain no directory separator.
13105 case $0 in
13106   *[\\/]* ) as_myself=$0 ;;
13107   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13108 for as_dir in $PATH
13109 do
13110   IFS=$as_save_IFS
13111   test -z "$as_dir" && as_dir=.
13112   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13113 done
13114 IFS=$as_save_IFS
13115
13116      ;;
13117 esac
13118 # We did not find ourselves, most probably we were run as `sh COMMAND'
13119 # in which case we are not to be found in the path.
13120 if test "x$as_myself" = x; then
13121   as_myself=$0
13122 fi
13123 if test ! -f "$as_myself"; then
13124   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13125   { (exit 1); exit 1; }
13126 fi
13127
13128 # Work around bugs in pre-3.0 UWIN ksh.
13129 for as_var in ENV MAIL MAILPATH
13130 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13131 done
13132 PS1='$ '
13133 PS2='> '
13134 PS4='+ '
13135
13136 # NLS nuisances.
13137 for as_var in \
13138   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13139   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13140   LC_TELEPHONE LC_TIME
13141 do
13142   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13143     eval $as_var=C; export $as_var
13144   else
13145     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13146   fi
13147 done
13148
13149 # Required to use basename.
13150 if expr a : '\(a\)' >/dev/null 2>&1 &&
13151    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13152   as_expr=expr
13153 else
13154   as_expr=false
13155 fi
13156
13157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13158   as_basename=basename
13159 else
13160   as_basename=false
13161 fi
13162
13163
13164 # Name of the executable.
13165 as_me=`$as_basename -- "$0" ||
13166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13167          X"$0" : 'X\(//\)$' \| \
13168          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13169 echo X/"$0" |
13170     sed '/^.*\/\([^/][^/]*\)\/*$/{
13171             s//\1/
13172             q
13173           }
13174           /^X\/\(\/\/\)$/{
13175             s//\1/
13176             q
13177           }
13178           /^X\/\(\/\).*/{
13179             s//\1/
13180             q
13181           }
13182           s/.*/./; q'`
13183
13184 # CDPATH.
13185 $as_unset CDPATH
13186
13187
13188
13189   as_lineno_1=$LINENO
13190   as_lineno_2=$LINENO
13191   test "x$as_lineno_1" != "x$as_lineno_2" &&
13192   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13193
13194   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13195   # uniformly replaced by the line number.  The first 'sed' inserts a
13196   # line-number line after each line using $LINENO; the second 'sed'
13197   # does the real work.  The second script uses 'N' to pair each
13198   # line-number line with the line containing $LINENO, and appends
13199   # trailing '-' during substitution so that $LINENO is not a special
13200   # case at line end.
13201   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13202   # scripts with optimization help from Paolo Bonzini.  Blame Lee
13203   # E. McMahon (1931-1989) for sed's syntax.  :-)
13204   sed -n '
13205     p
13206     /[$]LINENO/=
13207   ' <$as_myself |
13208     sed '
13209       s/[$]LINENO.*/&-/
13210       t lineno
13211       b
13212       :lineno
13213       N
13214       :loop
13215       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13216       t loop
13217       s/-\n.*//
13218     ' >$as_me.lineno &&
13219   chmod +x "$as_me.lineno" ||
13220     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13221    { (exit 1); exit 1; }; }
13222
13223   # Don't try to exec as it changes $[0], causing all sort of problems
13224   # (the dirname of $[0] is not the place where we might find the
13225   # original and so on.  Autoconf is especially sensitive to this).
13226   . "./$as_me.lineno"
13227   # Exit status is that of the last command.
13228   exit
13229 }
13230
13231
13232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13233   as_dirname=dirname
13234 else
13235   as_dirname=false
13236 fi
13237
13238 ECHO_C= ECHO_N= ECHO_T=
13239 case `echo -n x` in
13240 -n*)
13241   case `echo 'x\c'` in
13242   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13243   *)   ECHO_C='\c';;
13244   esac;;
13245 *)
13246   ECHO_N='-n';;
13247 esac
13248
13249 if expr a : '\(a\)' >/dev/null 2>&1 &&
13250    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13251   as_expr=expr
13252 else
13253   as_expr=false
13254 fi
13255
13256 rm -f conf$$ conf$$.exe conf$$.file
13257 if test -d conf$$.dir; then
13258   rm -f conf$$.dir/conf$$.file
13259 else
13260   rm -f conf$$.dir
13261   mkdir conf$$.dir
13262 fi
13263 echo >conf$$.file
13264 if ln -s conf$$.file conf$$ 2>/dev/null; then
13265   as_ln_s='ln -s'
13266   # ... but there are two gotchas:
13267   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13268   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13269   # In both cases, we have to default to `cp -p'.
13270   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13271     as_ln_s='cp -p'
13272 elif ln conf$$.file conf$$ 2>/dev/null; then
13273   as_ln_s=ln
13274 else
13275   as_ln_s='cp -p'
13276 fi
13277 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13278 rmdir conf$$.dir 2>/dev/null
13279
13280 if mkdir -p . 2>/dev/null; then
13281   as_mkdir_p=:
13282 else
13283   test -d ./-p && rmdir ./-p
13284   as_mkdir_p=false
13285 fi
13286
13287 if test -x / >/dev/null 2>&1; then
13288   as_test_x='test -x'
13289 else
13290   if ls -dL / >/dev/null 2>&1; then
13291     as_ls_L_option=L
13292   else
13293     as_ls_L_option=
13294   fi
13295   as_test_x='
13296     eval sh -c '\''
13297       if test -d "$1"; then
13298         test -d "$1/.";
13299       else
13300         case $1 in
13301         -*)set "./$1";;
13302         esac;
13303         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13304         ???[sx]*):;;*)false;;esac;fi
13305     '\'' sh
13306   '
13307 fi
13308 as_executable_p=$as_test_x
13309
13310 # Sed expression to map a string onto a valid CPP name.
13311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13312
13313 # Sed expression to map a string onto a valid variable name.
13314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13315
13316
13317 exec 6>&1
13318
13319 # Save the log message, to keep $[0] and so on meaningful, and to
13320 # report actual input values of CONFIG_FILES etc. instead of their
13321 # values after options handling.
13322 ac_log="
13323 This file was extended by gsl $as_me 1.11, which was
13324 generated by GNU Autoconf 2.61.  Invocation command line was
13325
13326   CONFIG_FILES    = $CONFIG_FILES
13327   CONFIG_HEADERS  = $CONFIG_HEADERS
13328   CONFIG_LINKS    = $CONFIG_LINKS
13329   CONFIG_COMMANDS = $CONFIG_COMMANDS
13330   $ $0 $@
13331
13332 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13333 "
13334
13335 _ACEOF
13336
13337 cat >>$CONFIG_STATUS <<_ACEOF
13338 # Files that config.status was made for.
13339 config_files="$ac_config_files"
13340 config_headers="$ac_config_headers"
13341 config_commands="$ac_config_commands"
13342
13343 _ACEOF
13344
13345 cat >>$CONFIG_STATUS <<\_ACEOF
13346 ac_cs_usage="\
13347 \`$as_me' instantiates files from templates according to the
13348 current configuration.
13349
13350 Usage: $0 [OPTIONS] [FILE]...
13351
13352   -h, --help       print this help, then exit
13353   -V, --version    print version number and configuration settings, then exit
13354   -q, --quiet      do not print progress messages
13355   -d, --debug      don't remove temporary files
13356       --recheck    update $as_me by reconfiguring in the same conditions
13357   --file=FILE[:TEMPLATE]
13358                    instantiate the configuration file FILE
13359   --header=FILE[:TEMPLATE]
13360                    instantiate the configuration header FILE
13361
13362 Configuration files:
13363 $config_files
13364
13365 Configuration headers:
13366 $config_headers
13367
13368 Configuration commands:
13369 $config_commands
13370
13371 Report bugs to <bug-autoconf@gnu.org>."
13372
13373 _ACEOF
13374 cat >>$CONFIG_STATUS <<_ACEOF
13375 ac_cs_version="\\
13376 gsl config.status 1.11
13377 configured by $0, generated by GNU Autoconf 2.61,
13378   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13379
13380 Copyright (C) 2006 Free Software Foundation, Inc.
13381 This config.status script is free software; the Free Software Foundation
13382 gives unlimited permission to copy, distribute and modify it."
13383
13384 ac_pwd='$ac_pwd'
13385 srcdir='$srcdir'
13386 INSTALL='$INSTALL'
13387 MKDIR_P='$MKDIR_P'
13388 _ACEOF
13389
13390 cat >>$CONFIG_STATUS <<\_ACEOF
13391 # If no file are specified by the user, then we need to provide default
13392 # value.  By we need to know if files were specified by the user.
13393 ac_need_defaults=:
13394 while test $# != 0
13395 do
13396   case $1 in
13397   --*=*)
13398     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13399     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13400     ac_shift=:
13401     ;;
13402   *)
13403     ac_option=$1
13404     ac_optarg=$2
13405     ac_shift=shift
13406     ;;
13407   esac
13408
13409   case $ac_option in
13410   # Handling of the options.
13411   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13412     ac_cs_recheck=: ;;
13413   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13414     echo "$ac_cs_version"; exit ;;
13415   --debug | --debu | --deb | --de | --d | -d )
13416     debug=: ;;
13417   --file | --fil | --fi | --f )
13418     $ac_shift
13419     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13420     ac_need_defaults=false;;
13421   --header | --heade | --head | --hea )
13422     $ac_shift
13423     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13424     ac_need_defaults=false;;
13425   --he | --h)
13426     # Conflict between --help and --header
13427     { echo "$as_me: error: ambiguous option: $1
13428 Try \`$0 --help' for more information." >&2
13429    { (exit 1); exit 1; }; };;
13430   --help | --hel | -h )
13431     echo "$ac_cs_usage"; exit ;;
13432   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13433   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13434     ac_cs_silent=: ;;
13435
13436   # This is an error.
13437   -*) { echo "$as_me: error: unrecognized option: $1
13438 Try \`$0 --help' for more information." >&2
13439    { (exit 1); exit 1; }; } ;;
13440
13441   *) ac_config_targets="$ac_config_targets $1"
13442      ac_need_defaults=false ;;
13443
13444   esac
13445   shift
13446 done
13447
13448 ac_configure_extra_args=
13449
13450 if $ac_cs_silent; then
13451   exec 6>/dev/null
13452   ac_configure_extra_args="$ac_configure_extra_args --silent"
13453 fi
13454
13455 _ACEOF
13456 cat >>$CONFIG_STATUS <<_ACEOF
13457 if \$ac_cs_recheck; then
13458   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13459   CONFIG_SHELL=$SHELL
13460   export CONFIG_SHELL
13461   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13462 fi
13463
13464 _ACEOF
13465 cat >>$CONFIG_STATUS <<\_ACEOF
13466 exec 5>>config.log
13467 {
13468   echo
13469   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13470 ## Running $as_me. ##
13471 _ASBOX
13472   echo "$ac_log"
13473 } >&5
13474
13475 _ACEOF
13476 cat >>$CONFIG_STATUS <<_ACEOF
13477 #
13478 # INIT-COMMANDS
13479 #
13480
13481
13482 # The HP-UX ksh and POSIX shell print the target directory to stdout
13483 # if CDPATH is set.
13484 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13485
13486 sed_quote_subst='$sed_quote_subst'
13487 double_quote_subst='$double_quote_subst'
13488 delay_variable_subst='$delay_variable_subst'
13489 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13490 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13491 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13492 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13493 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13494 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13495 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13496 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13497 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13498 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13499 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13500 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13501 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13502 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13503 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13504 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13505 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13506 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13507 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13508 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13509 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13510 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13511 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13512 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13513 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13514 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13515 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13516 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13517 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13518 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13519 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13520 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13521 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13522 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13523 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13524 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13525 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13526 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13527 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13528 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13529 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13530 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13531 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13532 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"`'
13533 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"`'
13534 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13535 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13536 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13537 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13538 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13539 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13540 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13541 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13542 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13543 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13544 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13545 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13546 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13547 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13549 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13550 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13551 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13552 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13553 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13554 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13555 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13556 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13557 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13558 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13559 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13560 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13561 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13562 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13563 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13564 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13565 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13566 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13567 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13568 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13569 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13570 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13571 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13572 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13573 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13574 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13575 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13576 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13577 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13578 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13579 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13580 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13581 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13582 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13583 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13584 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13585 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13586 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13587 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13588 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13589 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13590 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13591 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13592 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13593 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13594 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13595 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13596 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13597 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13598 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13599 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13600 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13601 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13602 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13603
13604 LTCC='$LTCC'
13605 LTCFLAGS='$LTCFLAGS'
13606 compiler='$compiler_DEFAULT'
13607
13608 # Quote evaled strings.
13609 for var in SED \
13610 GREP \
13611 EGREP \
13612 FGREP \
13613 LD \
13614 NM \
13615 LN_S \
13616 lt_SP2NL \
13617 lt_NL2SP \
13618 reload_flag \
13619 deplibs_check_method \
13620 file_magic_cmd \
13621 AR \
13622 AR_FLAGS \
13623 STRIP \
13624 RANLIB \
13625 CC \
13626 CFLAGS \
13627 compiler \
13628 lt_cv_sys_global_symbol_pipe \
13629 lt_cv_sys_global_symbol_to_cdecl \
13630 lt_cv_sys_global_symbol_to_c_name_address \
13631 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13632 SHELL \
13633 ECHO \
13634 lt_prog_compiler_no_builtin_flag \
13635 lt_prog_compiler_wl \
13636 lt_prog_compiler_pic \
13637 lt_prog_compiler_static \
13638 lt_cv_prog_compiler_c_o \
13639 need_locks \
13640 DSYMUTIL \
13641 NMEDIT \
13642 shrext_cmds \
13643 export_dynamic_flag_spec \
13644 whole_archive_flag_spec \
13645 compiler_needs_object \
13646 with_gnu_ld \
13647 allow_undefined_flag \
13648 no_undefined_flag \
13649 hardcode_libdir_flag_spec \
13650 hardcode_libdir_flag_spec_ld \
13651 hardcode_libdir_separator \
13652 fix_srcfile_path \
13653 exclude_expsyms \
13654 include_expsyms \
13655 file_list_spec \
13656 variables_saved_for_relink \
13657 libname_spec \
13658 library_names_spec \
13659 soname_spec \
13660 finish_eval \
13661 old_striplib \
13662 striplib; do
13663     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13664     *[\\\\\\\`\\"\\\$]*)
13665       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13666       ;;
13667     *)
13668       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13669       ;;
13670     esac
13671 done
13672
13673 # Double-quote double-evaled strings.
13674 for var in reload_cmds \
13675 old_postinstall_cmds \
13676 old_postuninstall_cmds \
13677 old_archive_cmds \
13678 extract_expsyms_cmds \
13679 old_archive_from_new_cmds \
13680 old_archive_from_expsyms_cmds \
13681 archive_cmds \
13682 archive_expsym_cmds \
13683 module_cmds \
13684 module_expsym_cmds \
13685 export_symbols_cmds \
13686 prelink_cmds \
13687 postinstall_cmds \
13688 postuninstall_cmds \
13689 finish_cmds \
13690 sys_lib_search_path_spec \
13691 sys_lib_dlsearch_path_spec; do
13692     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13693     *[\\\\\\\`\\"\\\$]*)
13694       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13695       ;;
13696     *)
13697       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13698       ;;
13699     esac
13700 done
13701
13702 # Fix-up fallback echo if it was mangled by the above quoting rules.
13703 case \$lt_ECHO in
13704 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13705   ;;
13706 esac
13707
13708 ac_aux_dir='$ac_aux_dir'
13709 xsi_shell='$xsi_shell'
13710 lt_shell_append='$lt_shell_append'
13711
13712 # See if we are running on zsh, and set the options which allow our
13713 # commands through without removal of \ escapes INIT.
13714 if test -n "\${ZSH_VERSION+set}" ; then
13715    setopt NO_GLOB_SUBST
13716 fi
13717
13718
13719     PACKAGE='$PACKAGE'
13720     VERSION='$VERSION'
13721     TIMESTAMP='$TIMESTAMP'
13722     RM='$RM'
13723     ofile='$ofile'
13724
13725
13726
13727
13728 _ACEOF
13729
13730 cat >>$CONFIG_STATUS <<\_ACEOF
13731
13732 # Handling of arguments.
13733 for ac_config_target in $ac_config_targets
13734 do
13735   case $ac_config_target in
13736     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13737     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13738     "gsl-config") CONFIG_FILES="$CONFIG_FILES gsl-config" ;;
13739     "gsl.pc") CONFIG_FILES="$CONFIG_FILES gsl.pc" ;;
13740     "gsl_version.h") CONFIG_FILES="$CONFIG_FILES gsl_version.h" ;;
13741     "gsl.spec") CONFIG_FILES="$CONFIG_FILES gsl.spec" ;;
13742     "gsl/Makefile") CONFIG_FILES="$CONFIG_FILES gsl/Makefile" ;;
13743     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13744     "err/Makefile") CONFIG_FILES="$CONFIG_FILES err/Makefile" ;;
13745     "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
13746     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
13747     "const/Makefile") CONFIG_FILES="$CONFIG_FILES const/Makefile" ;;
13748     "min/Makefile") CONFIG_FILES="$CONFIG_FILES min/Makefile" ;;
13749     "multimin/Makefile") CONFIG_FILES="$CONFIG_FILES multimin/Makefile" ;;
13750     "ieee-utils/Makefile") CONFIG_FILES="$CONFIG_FILES ieee-utils/Makefile" ;;
13751     "fft/Makefile") CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
13752     "specfunc/Makefile") CONFIG_FILES="$CONFIG_FILES specfunc/Makefile" ;;
13753     "dht/Makefile") CONFIG_FILES="$CONFIG_FILES dht/Makefile" ;;
13754     "fit/Makefile") CONFIG_FILES="$CONFIG_FILES fit/Makefile" ;;
13755     "multifit/Makefile") CONFIG_FILES="$CONFIG_FILES multifit/Makefile" ;;
13756     "bspline/Makefile") CONFIG_FILES="$CONFIG_FILES bspline/Makefile" ;;
13757     "statistics/Makefile") CONFIG_FILES="$CONFIG_FILES statistics/Makefile" ;;
13758     "sum/Makefile") CONFIG_FILES="$CONFIG_FILES sum/Makefile" ;;
13759     "roots/Makefile") CONFIG_FILES="$CONFIG_FILES roots/Makefile" ;;
13760     "multiroots/Makefile") CONFIG_FILES="$CONFIG_FILES multiroots/Makefile" ;;
13761     "ntuple/Makefile") CONFIG_FILES="$CONFIG_FILES ntuple/Makefile" ;;
13762     "poly/Makefile") CONFIG_FILES="$CONFIG_FILES poly/Makefile" ;;
13763     "qrng/Makefile") CONFIG_FILES="$CONFIG_FILES qrng/Makefile" ;;
13764     "rng/Makefile") CONFIG_FILES="$CONFIG_FILES rng/Makefile" ;;
13765     "randist/Makefile") CONFIG_FILES="$CONFIG_FILES randist/Makefile" ;;
13766     "siman/Makefile") CONFIG_FILES="$CONFIG_FILES siman/Makefile" ;;
13767     "integration/Makefile") CONFIG_FILES="$CONFIG_FILES integration/Makefile" ;;
13768     "interpolation/Makefile") CONFIG_FILES="$CONFIG_FILES interpolation/Makefile" ;;
13769     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13770     "block/Makefile") CONFIG_FILES="$CONFIG_FILES block/Makefile" ;;
13771     "vector/Makefile") CONFIG_FILES="$CONFIG_FILES vector/Makefile" ;;
13772     "matrix/Makefile") CONFIG_FILES="$CONFIG_FILES matrix/Makefile" ;;
13773     "histogram/Makefile") CONFIG_FILES="$CONFIG_FILES histogram/Makefile" ;;
13774     "monte/Makefile") CONFIG_FILES="$CONFIG_FILES monte/Makefile" ;;
13775     "ode-initval/Makefile") CONFIG_FILES="$CONFIG_FILES ode-initval/Makefile" ;;
13776     "cblas/Makefile") CONFIG_FILES="$CONFIG_FILES cblas/Makefile" ;;
13777     "blas/Makefile") CONFIG_FILES="$CONFIG_FILES blas/Makefile" ;;
13778     "linalg/Makefile") CONFIG_FILES="$CONFIG_FILES linalg/Makefile" ;;
13779     "eigen/Makefile") CONFIG_FILES="$CONFIG_FILES eigen/Makefile" ;;
13780     "permutation/Makefile") CONFIG_FILES="$CONFIG_FILES permutation/Makefile" ;;
13781     "combination/Makefile") CONFIG_FILES="$CONFIG_FILES combination/Makefile" ;;
13782     "sort/Makefile") CONFIG_FILES="$CONFIG_FILES sort/Makefile" ;;
13783     "complex/Makefile") CONFIG_FILES="$CONFIG_FILES complex/Makefile" ;;
13784     "diff/Makefile") CONFIG_FILES="$CONFIG_FILES diff/Makefile" ;;
13785     "deriv/Makefile") CONFIG_FILES="$CONFIG_FILES deriv/Makefile" ;;
13786     "cheb/Makefile") CONFIG_FILES="$CONFIG_FILES cheb/Makefile" ;;
13787     "cdf/Makefile") CONFIG_FILES="$CONFIG_FILES cdf/Makefile" ;;
13788     "wavelet/Makefile") CONFIG_FILES="$CONFIG_FILES wavelet/Makefile" ;;
13789     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13790
13791   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13792 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13793    { (exit 1); exit 1; }; };;
13794   esac
13795 done
13796
13797
13798 # If the user did not use the arguments to specify the items to instantiate,
13799 # then the envvar interface is used.  Set only those that are not.
13800 # We use the long form for the default assignment because of an extremely
13801 # bizarre bug on SunOS 4.1.3.
13802 if $ac_need_defaults; then
13803   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13804   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13805   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13806 fi
13807
13808 # Have a temporary directory for convenience.  Make it in the build tree
13809 # simply because there is no reason against having it here, and in addition,
13810 # creating and moving files from /tmp can sometimes cause problems.
13811 # Hook for its removal unless debugging.
13812 # Note that there is a small window in which the directory will not be cleaned:
13813 # after its creation but before its name has been assigned to `$tmp'.
13814 $debug ||
13815 {
13816   tmp=
13817   trap 'exit_status=$?
13818   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13819 ' 0
13820   trap '{ (exit 1); exit 1; }' 1 2 13 15
13821 }
13822 # Create a (secure) tmp directory for tmp files.
13823
13824 {
13825   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13826   test -n "$tmp" && test -d "$tmp"
13827 }  ||
13828 {
13829   tmp=./conf$$-$RANDOM
13830   (umask 077 && mkdir "$tmp")
13831 } ||
13832 {
13833    echo "$me: cannot create a temporary directory in ." >&2
13834    { (exit 1); exit 1; }
13835 }
13836
13837 #
13838 # Set up the sed scripts for CONFIG_FILES section.
13839 #
13840
13841 # No need to generate the scripts if there are no CONFIG_FILES.
13842 # This happens for instance when ./config.status config.h
13843 if test -n "$CONFIG_FILES"; then
13844
13845 _ACEOF
13846
13847
13848
13849 ac_delim='%!_!# '
13850 for ac_last_try in false false false false false :; do
13851   cat >conf$$subs.sed <<_ACEOF
13852 SHELL!$SHELL$ac_delim
13853 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13854 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13855 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13856 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13857 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13858 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13859 exec_prefix!$exec_prefix$ac_delim
13860 prefix!$prefix$ac_delim
13861 program_transform_name!$program_transform_name$ac_delim
13862 bindir!$bindir$ac_delim
13863 sbindir!$sbindir$ac_delim
13864 libexecdir!$libexecdir$ac_delim
13865 datarootdir!$datarootdir$ac_delim
13866 datadir!$datadir$ac_delim
13867 sysconfdir!$sysconfdir$ac_delim
13868 sharedstatedir!$sharedstatedir$ac_delim
13869 localstatedir!$localstatedir$ac_delim
13870 includedir!$includedir$ac_delim
13871 oldincludedir!$oldincludedir$ac_delim
13872 docdir!$docdir$ac_delim
13873 infodir!$infodir$ac_delim
13874 htmldir!$htmldir$ac_delim
13875 dvidir!$dvidir$ac_delim
13876 pdfdir!$pdfdir$ac_delim
13877 psdir!$psdir$ac_delim
13878 libdir!$libdir$ac_delim
13879 localedir!$localedir$ac_delim
13880 mandir!$mandir$ac_delim
13881 DEFS!$DEFS$ac_delim
13882 ECHO_C!$ECHO_C$ac_delim
13883 ECHO_N!$ECHO_N$ac_delim
13884 ECHO_T!$ECHO_T$ac_delim
13885 LIBS!$LIBS$ac_delim
13886 build_alias!$build_alias$ac_delim
13887 host_alias!$host_alias$ac_delim
13888 target_alias!$target_alias$ac_delim
13889 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13890 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13891 INSTALL_DATA!$INSTALL_DATA$ac_delim
13892 am__isrc!$am__isrc$ac_delim
13893 CYGPATH_W!$CYGPATH_W$ac_delim
13894 PACKAGE!$PACKAGE$ac_delim
13895 VERSION!$VERSION$ac_delim
13896 ACLOCAL!$ACLOCAL$ac_delim
13897 AUTOCONF!$AUTOCONF$ac_delim
13898 AUTOMAKE!$AUTOMAKE$ac_delim
13899 AUTOHEADER!$AUTOHEADER$ac_delim
13900 MAKEINFO!$MAKEINFO$ac_delim
13901 install_sh!$install_sh$ac_delim
13902 STRIP!$STRIP$ac_delim
13903 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13904 mkdir_p!$mkdir_p$ac_delim
13905 AWK!$AWK$ac_delim
13906 SET_MAKE!$SET_MAKE$ac_delim
13907 am__leading_dot!$am__leading_dot$ac_delim
13908 AMTAR!$AMTAR$ac_delim
13909 am__tar!$am__tar$ac_delim
13910 am__untar!$am__untar$ac_delim
13911 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13912 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13913 MAINT!$MAINT$ac_delim
13914 GSL_LT_VERSION!$GSL_LT_VERSION$ac_delim
13915 GSL_LT_CBLAS_VERSION!$GSL_LT_CBLAS_VERSION$ac_delim
13916 build!$build$ac_delim
13917 build_cpu!$build_cpu$ac_delim
13918 build_vendor!$build_vendor$ac_delim
13919 build_os!$build_os$ac_delim
13920 host!$host$ac_delim
13921 host_cpu!$host_cpu$ac_delim
13922 host_vendor!$host_vendor$ac_delim
13923 host_os!$host_os$ac_delim
13924 CC!$CC$ac_delim
13925 CFLAGS!$CFLAGS$ac_delim
13926 LDFLAGS!$LDFLAGS$ac_delim
13927 CPPFLAGS!$CPPFLAGS$ac_delim
13928 ac_ct_CC!$ac_ct_CC$ac_delim
13929 EXEEXT!$EXEEXT$ac_delim
13930 OBJEXT!$OBJEXT$ac_delim
13931 CPP!$CPP$ac_delim
13932 LN_S!$LN_S$ac_delim
13933 LIBTOOL!$LIBTOOL$ac_delim
13934 SED!$SED$ac_delim
13935 GREP!$GREP$ac_delim
13936 EGREP!$EGREP$ac_delim
13937 FGREP!$FGREP$ac_delim
13938 LD!$LD$ac_delim
13939 DUMPBIN!$DUMPBIN$ac_delim
13940 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13941 NM!$NM$ac_delim
13942 AR!$AR$ac_delim
13943 RANLIB!$RANLIB$ac_delim
13944 lt_ECHO!$lt_ECHO$ac_delim
13945 DSYMUTIL!$DSYMUTIL$ac_delim
13946 NMEDIT!$NMEDIT$ac_delim
13947 GSL_CFLAGS!$GSL_CFLAGS$ac_delim
13948 GSL_LIBS!$GSL_LIBS$ac_delim
13949 _ACEOF
13950
13951   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13952     break
13953   elif $ac_last_try; then
13954     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13955 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13956    { (exit 1); exit 1; }; }
13957   else
13958     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13959   fi
13960 done
13961
13962 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13963 if test -n "$ac_eof"; then
13964   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13965   ac_eof=`expr $ac_eof + 1`
13966 fi
13967
13968 cat >>$CONFIG_STATUS <<_ACEOF
13969 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13971 _ACEOF
13972 sed '
13973 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13974 s/^/s,@/; s/!/@,|#_!!_#|/
13975 :n
13976 t n
13977 s/'"$ac_delim"'$/,g/; t
13978 s/$/\\/; p
13979 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13980 ' >>$CONFIG_STATUS <conf$$subs.sed
13981 rm -f conf$$subs.sed
13982 cat >>$CONFIG_STATUS <<_ACEOF
13983 CEOF$ac_eof
13984 _ACEOF
13985
13986
13987 ac_delim='%!_!# '
13988 for ac_last_try in false false false false false :; do
13989   cat >conf$$subs.sed <<_ACEOF
13990 MINGW32_HOST_TRUE!$MINGW32_HOST_TRUE$ac_delim
13991 MINGW32_HOST_FALSE!$MINGW32_HOST_FALSE$ac_delim
13992 LIBOBJS!$LIBOBJS$ac_delim
13993 HAVE_GNUSPARC_IEEE_INTERFACE!$HAVE_GNUSPARC_IEEE_INTERFACE$ac_delim
13994 HAVE_GNUM68K_IEEE_INTERFACE!$HAVE_GNUM68K_IEEE_INTERFACE$ac_delim
13995 HAVE_GNUPPC_IEEE_INTERFACE!$HAVE_GNUPPC_IEEE_INTERFACE$ac_delim
13996 HAVE_GNUX86_IEEE_INTERFACE!$HAVE_GNUX86_IEEE_INTERFACE$ac_delim
13997 HAVE_SUNOS4_IEEE_INTERFACE!$HAVE_SUNOS4_IEEE_INTERFACE$ac_delim
13998 HAVE_SOLARIS_IEEE_INTERFACE!$HAVE_SOLARIS_IEEE_INTERFACE$ac_delim
13999 HAVE_HPUX11_IEEE_INTERFACE!$HAVE_HPUX11_IEEE_INTERFACE$ac_delim
14000 HAVE_HPUX_IEEE_INTERFACE!$HAVE_HPUX_IEEE_INTERFACE$ac_delim
14001 HAVE_TRU64_IEEE_INTERFACE!$HAVE_TRU64_IEEE_INTERFACE$ac_delim
14002 HAVE_IRIX_IEEE_INTERFACE!$HAVE_IRIX_IEEE_INTERFACE$ac_delim
14003 HAVE_AIX_IEEE_INTERFACE!$HAVE_AIX_IEEE_INTERFACE$ac_delim
14004 HAVE_FREEBSD_IEEE_INTERFACE!$HAVE_FREEBSD_IEEE_INTERFACE$ac_delim
14005 HAVE_OS2EMX_IEEE_INTERFACE!$HAVE_OS2EMX_IEEE_INTERFACE$ac_delim
14006 HAVE_NETBSD_IEEE_INTERFACE!$HAVE_NETBSD_IEEE_INTERFACE$ac_delim
14007 HAVE_OPENBSD_IEEE_INTERFACE!$HAVE_OPENBSD_IEEE_INTERFACE$ac_delim
14008 HAVE_DARWIN_IEEE_INTERFACE!$HAVE_DARWIN_IEEE_INTERFACE$ac_delim
14009 HAVE_DARWIN86_IEEE_INTERFACE!$HAVE_DARWIN86_IEEE_INTERFACE$ac_delim
14010 LTLIBOBJS!$LTLIBOBJS$ac_delim
14011 _ACEOF
14012
14013   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
14014     break
14015   elif $ac_last_try; then
14016     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14017 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14018    { (exit 1); exit 1; }; }
14019   else
14020     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14021   fi
14022 done
14023
14024 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14025 if test -n "$ac_eof"; then
14026   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14027   ac_eof=`expr $ac_eof + 1`
14028 fi
14029
14030 cat >>$CONFIG_STATUS <<_ACEOF
14031 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14033 _ACEOF
14034 sed '
14035 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14036 s/^/s,@/; s/!/@,|#_!!_#|/
14037 :n
14038 t n
14039 s/'"$ac_delim"'$/,g/; t
14040 s/$/\\/; p
14041 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14042 ' >>$CONFIG_STATUS <conf$$subs.sed
14043 rm -f conf$$subs.sed
14044 cat >>$CONFIG_STATUS <<_ACEOF
14045 :end
14046 s/|#_!!_#|//g
14047 CEOF$ac_eof
14048 _ACEOF
14049
14050
14051 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14052 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14053 # trailing colons and then remove the whole line if VPATH becomes empty
14054 # (actually we leave an empty line to preserve line numbers).
14055 if test "x$srcdir" = x.; then
14056   ac_vpsub='/^[  ]*VPATH[        ]*=/{
14057 s/:*\$(srcdir):*/:/
14058 s/:*\${srcdir}:*/:/
14059 s/:*@srcdir@:*/:/
14060 s/^\([^=]*=[     ]*\):*/\1/
14061 s/:*$//
14062 s/^[^=]*=[       ]*$//
14063 }'
14064 fi
14065
14066 cat >>$CONFIG_STATUS <<\_ACEOF
14067 fi # test -n "$CONFIG_FILES"
14068
14069
14070 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
14071 do
14072   case $ac_tag in
14073   :[FHLC]) ac_mode=$ac_tag; continue;;
14074   esac
14075   case $ac_mode$ac_tag in
14076   :[FHL]*:*);;
14077   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14078 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14079    { (exit 1); exit 1; }; };;
14080   :[FH]-) ac_tag=-:-;;
14081   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14082   esac
14083   ac_save_IFS=$IFS
14084   IFS=:
14085   set x $ac_tag
14086   IFS=$ac_save_IFS
14087   shift
14088   ac_file=$1
14089   shift
14090
14091   case $ac_mode in
14092   :L) ac_source=$1;;
14093   :[FH])
14094     ac_file_inputs=
14095     for ac_f
14096     do
14097       case $ac_f in
14098       -) ac_f="$tmp/stdin";;
14099       *) # Look for the file first in the build tree, then in the source tree
14100          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14101          # because $ac_f cannot contain `:'.
14102          test -f "$ac_f" ||
14103            case $ac_f in
14104            [\\/$]*) false;;
14105            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14106            esac ||
14107            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14108 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14109    { (exit 1); exit 1; }; };;
14110       esac
14111       ac_file_inputs="$ac_file_inputs $ac_f"
14112     done
14113
14114     # Let's still pretend it is `configure' which instantiates (i.e., don't
14115     # use $as_me), people would be surprised to read:
14116     #    /* config.h.  Generated by config.status.  */
14117     configure_input="Generated from "`IFS=:
14118           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14119     if test x"$ac_file" != x-; then
14120       configure_input="$ac_file.  $configure_input"
14121       { echo "$as_me:$LINENO: creating $ac_file" >&5
14122 echo "$as_me: creating $ac_file" >&6;}
14123     fi
14124
14125     case $ac_tag in
14126     *:-:* | *:-) cat >"$tmp/stdin";;
14127     esac
14128     ;;
14129   esac
14130
14131   ac_dir=`$as_dirname -- "$ac_file" ||
14132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14133          X"$ac_file" : 'X\(//\)[^/]' \| \
14134          X"$ac_file" : 'X\(//\)$' \| \
14135          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14136 echo X"$ac_file" |
14137     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14138             s//\1/
14139             q
14140           }
14141           /^X\(\/\/\)[^/].*/{
14142             s//\1/
14143             q
14144           }
14145           /^X\(\/\/\)$/{
14146             s//\1/
14147             q
14148           }
14149           /^X\(\/\).*/{
14150             s//\1/
14151             q
14152           }
14153           s/.*/./; q'`
14154   { as_dir="$ac_dir"
14155   case $as_dir in #(
14156   -*) as_dir=./$as_dir;;
14157   esac
14158   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14159     as_dirs=
14160     while :; do
14161       case $as_dir in #(
14162       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14163       *) as_qdir=$as_dir;;
14164       esac
14165       as_dirs="'$as_qdir' $as_dirs"
14166       as_dir=`$as_dirname -- "$as_dir" ||
14167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14168          X"$as_dir" : 'X\(//\)[^/]' \| \
14169          X"$as_dir" : 'X\(//\)$' \| \
14170          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14171 echo X"$as_dir" |
14172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14173             s//\1/
14174             q
14175           }
14176           /^X\(\/\/\)[^/].*/{
14177             s//\1/
14178             q
14179           }
14180           /^X\(\/\/\)$/{
14181             s//\1/
14182             q
14183           }
14184           /^X\(\/\).*/{
14185             s//\1/
14186             q
14187           }
14188           s/.*/./; q'`
14189       test -d "$as_dir" && break
14190     done
14191     test -z "$as_dirs" || eval "mkdir $as_dirs"
14192   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14193 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14194    { (exit 1); exit 1; }; }; }
14195   ac_builddir=.
14196
14197 case "$ac_dir" in
14198 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14199 *)
14200   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14201   # A ".." for each directory in $ac_dir_suffix.
14202   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14203   case $ac_top_builddir_sub in
14204   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14205   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14206   esac ;;
14207 esac
14208 ac_abs_top_builddir=$ac_pwd
14209 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14210 # for backward compatibility:
14211 ac_top_builddir=$ac_top_build_prefix
14212
14213 case $srcdir in
14214   .)  # We are building in place.
14215     ac_srcdir=.
14216     ac_top_srcdir=$ac_top_builddir_sub
14217     ac_abs_top_srcdir=$ac_pwd ;;
14218   [\\/]* | ?:[\\/]* )  # Absolute name.
14219     ac_srcdir=$srcdir$ac_dir_suffix;
14220     ac_top_srcdir=$srcdir
14221     ac_abs_top_srcdir=$srcdir ;;
14222   *) # Relative name.
14223     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14224     ac_top_srcdir=$ac_top_build_prefix$srcdir
14225     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14226 esac
14227 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14228
14229
14230   case $ac_mode in
14231   :F)
14232   #
14233   # CONFIG_FILE
14234   #
14235
14236   case $INSTALL in
14237   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14238   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14239   esac
14240   ac_MKDIR_P=$MKDIR_P
14241   case $MKDIR_P in
14242   [\\/$]* | ?:[\\/]* ) ;;
14243   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14244   esac
14245 _ACEOF
14246
14247 cat >>$CONFIG_STATUS <<\_ACEOF
14248 # If the template does not know about datarootdir, expand it.
14249 # FIXME: This hack should be removed a few years after 2.60.
14250 ac_datarootdir_hack=; ac_datarootdir_seen=
14251
14252 case `sed -n '/datarootdir/ {
14253   p
14254   q
14255 }
14256 /@datadir@/p
14257 /@docdir@/p
14258 /@infodir@/p
14259 /@localedir@/p
14260 /@mandir@/p
14261 ' $ac_file_inputs` in
14262 *datarootdir*) ac_datarootdir_seen=yes;;
14263 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14264   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14265 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14266 _ACEOF
14267 cat >>$CONFIG_STATUS <<_ACEOF
14268   ac_datarootdir_hack='
14269   s&@datadir@&$datadir&g
14270   s&@docdir@&$docdir&g
14271   s&@infodir@&$infodir&g
14272   s&@localedir@&$localedir&g
14273   s&@mandir@&$mandir&g
14274     s&\\\${datarootdir}&$datarootdir&g' ;;
14275 esac
14276 _ACEOF
14277
14278 # Neutralize VPATH when `$srcdir' = `.'.
14279 # Shell code in configure.ac might set extrasub.
14280 # FIXME: do we really want to maintain this feature?
14281 cat >>$CONFIG_STATUS <<_ACEOF
14282   sed "$ac_vpsub
14283 $extrasub
14284 _ACEOF
14285 cat >>$CONFIG_STATUS <<\_ACEOF
14286 :t
14287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14288 s&@configure_input@&$configure_input&;t t
14289 s&@top_builddir@&$ac_top_builddir_sub&;t t
14290 s&@srcdir@&$ac_srcdir&;t t
14291 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14292 s&@top_srcdir@&$ac_top_srcdir&;t t
14293 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14294 s&@builddir@&$ac_builddir&;t t
14295 s&@abs_builddir@&$ac_abs_builddir&;t t
14296 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14297 s&@INSTALL@&$ac_INSTALL&;t t
14298 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14299 $ac_datarootdir_hack
14300 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14301
14302 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14303   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14304   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14305   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14306 which seems to be undefined.  Please make sure it is defined." >&5
14307 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14308 which seems to be undefined.  Please make sure it is defined." >&2;}
14309
14310   rm -f "$tmp/stdin"
14311   case $ac_file in
14312   -) cat "$tmp/out"; rm -f "$tmp/out";;
14313   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14314   esac
14315  ;;
14316   :H)
14317   #
14318   # CONFIG_HEADER
14319   #
14320 _ACEOF
14321
14322 # Transform confdefs.h into a sed script `conftest.defines', that
14323 # substitutes the proper values into config.h.in to produce config.h.
14324 rm -f conftest.defines conftest.tail
14325 # First, append a space to every undef/define line, to ease matching.
14326 echo 's/$/ /' >conftest.defines
14327 # Then, protect against being on the right side of a sed subst, or in
14328 # an unquoted here document, in config.status.  If some macros were
14329 # called several times there might be several #defines for the same
14330 # symbol, which is useless.  But do not sort them, since the last
14331 # AC_DEFINE must be honored.
14332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14333 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14334 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14335 # PARAMS is the parameter list in the macro definition--in most cases, it's
14336 # just an empty string.
14337 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
14338 ac_dB='\\)[      (].*,\\1define\\2'
14339 ac_dC=' '
14340 ac_dD=' ,'
14341
14342 uniq confdefs.h |
14343   sed -n '
14344         t rset
14345         :rset
14346         s/^[     ]*#[    ]*define[       ][      ]*//
14347         t ok
14348         d
14349         :ok
14350         s/[\\&,]/\\&/g
14351         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14352         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14353   ' >>conftest.defines
14354
14355 # Remove the space that was appended to ease matching.
14356 # Then replace #undef with comments.  This is necessary, for
14357 # example, in the case of _POSIX_SOURCE, which is predefined and required
14358 # on some systems where configure will not decide to define it.
14359 # (The regexp can be short, since the line contains either #define or #undef.)
14360 echo 's/ $//
14361 s,^[     #]*u.*,/* & */,' >>conftest.defines
14362
14363 # Break up conftest.defines:
14364 ac_max_sed_lines=50
14365
14366 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14367 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14368 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14369 # et cetera.
14370 ac_in='$ac_file_inputs'
14371 ac_out='"$tmp/out1"'
14372 ac_nxt='"$tmp/out2"'
14373
14374 while :
14375 do
14376   # Write a here document:
14377     cat >>$CONFIG_STATUS <<_ACEOF
14378     # First, check the format of the line:
14379     cat >"\$tmp/defines.sed" <<\\CEOF
14380 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
14381 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
14382 b
14383 :def
14384 _ACEOF
14385   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14386   echo 'CEOF
14387     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14388   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14389   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14390   grep . conftest.tail >/dev/null || break
14391   rm -f conftest.defines
14392   mv conftest.tail conftest.defines
14393 done
14394 rm -f conftest.defines conftest.tail
14395
14396 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14397 cat >>$CONFIG_STATUS <<\_ACEOF
14398   if test x"$ac_file" != x-; then
14399     echo "/* $configure_input  */" >"$tmp/config.h"
14400     cat "$ac_result" >>"$tmp/config.h"
14401     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14402       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14403 echo "$as_me: $ac_file is unchanged" >&6;}
14404     else
14405       rm -f $ac_file
14406       mv "$tmp/config.h" $ac_file
14407     fi
14408   else
14409     echo "/* $configure_input  */"
14410     cat "$ac_result"
14411   fi
14412   rm -f "$tmp/out12"
14413 # Compute $ac_file's index in $config_headers.
14414 _am_arg=$ac_file
14415 _am_stamp_count=1
14416 for _am_header in $config_headers :; do
14417   case $_am_header in
14418     $_am_arg | $_am_arg:* )
14419       break ;;
14420     * )
14421       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14422   esac
14423 done
14424 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14425 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14426          X"$_am_arg" : 'X\(//\)[^/]' \| \
14427          X"$_am_arg" : 'X\(//\)$' \| \
14428          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14429 echo X"$_am_arg" |
14430     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14431             s//\1/
14432             q
14433           }
14434           /^X\(\/\/\)[^/].*/{
14435             s//\1/
14436             q
14437           }
14438           /^X\(\/\/\)$/{
14439             s//\1/
14440             q
14441           }
14442           /^X\(\/\).*/{
14443             s//\1/
14444             q
14445           }
14446           s/.*/./; q'`/stamp-h$_am_stamp_count
14447  ;;
14448
14449   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14450 echo "$as_me: executing $ac_file commands" >&6;}
14451  ;;
14452   esac
14453
14454
14455   case $ac_file$ac_mode in
14456     "libtool":C)
14457
14458     # See if we are running on zsh, and set the options which allow our
14459     # commands through without removal of \ escapes.
14460     if test -n "${ZSH_VERSION+set}" ; then
14461       setopt NO_GLOB_SUBST
14462     fi
14463
14464     cfgfile="${ofile}T"
14465     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14466     $RM "$cfgfile"
14467
14468     cat <<_LT_EOF >> "$cfgfile"
14469 #! $SHELL
14470
14471 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14472 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
14473 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14474 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14475 #
14476 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14477 #                 2006, 2007, 2008 Free Software Foundation, Inc.
14478 #   Written by Gordon Matzigkeit, 1996
14479 #
14480 #   This file is part of GNU Libtool.
14481 #
14482 # GNU Libtool is free software; you can redistribute it and/or
14483 # modify it under the terms of the GNU General Public License as
14484 # published by the Free Software Foundation; either version 2 of
14485 # the License, or (at your option) any later version.
14486 #
14487 # As a special exception to the GNU General Public License,
14488 # if you distribute this file as part of a program or library that
14489 # is built using GNU Libtool, you may include this file under the
14490 # same distribution terms that you use for the rest of that program.
14491 #
14492 # GNU Libtool is distributed in the hope that it will be useful,
14493 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14494 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14495 # GNU General Public License for more details.
14496 #
14497 # You should have received a copy of the GNU General Public License
14498 # along with GNU Libtool; see the file COPYING.  If not, a copy
14499 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14500 # obtained by writing to the Free Software Foundation, Inc.,
14501 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14502
14503
14504 # The names of the tagged configurations supported by this script.
14505 available_tags=""
14506
14507 # ### BEGIN LIBTOOL CONFIG
14508
14509 # Which release of libtool.m4 was used?
14510 macro_version=$macro_version
14511 macro_revision=$macro_revision
14512
14513 # Whether or not to build shared libraries.
14514 build_libtool_libs=$enable_shared
14515
14516 # Whether or not to build static libraries.
14517 build_old_libs=$enable_static
14518
14519 # What type of objects to build.
14520 pic_mode=$pic_mode
14521
14522 # Whether or not to optimize for fast installation.
14523 fast_install=$enable_fast_install
14524
14525 # The host system.
14526 host_alias=$host_alias
14527 host=$host
14528 host_os=$host_os
14529
14530 # The build system.
14531 build_alias=$build_alias
14532 build=$build
14533 build_os=$build_os
14534
14535 # A sed program that does not truncate output.
14536 SED=$lt_SED
14537
14538 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14539 Xsed="\$SED -e 1s/^X//"
14540
14541 # A grep program that handles long lines.
14542 GREP=$lt_GREP
14543
14544 # An ERE matcher.
14545 EGREP=$lt_EGREP
14546
14547 # A literal string matcher.
14548 FGREP=$lt_FGREP
14549
14550 # A BSD- or MS-compatible name lister.
14551 NM=$lt_NM
14552
14553 # Whether we need soft or hard links.
14554 LN_S=$lt_LN_S
14555
14556 # What is the maximum length of a command?
14557 max_cmd_len=$max_cmd_len
14558
14559 # Object file suffix (normally "o").
14560 objext=$ac_objext
14561
14562 # Executable file suffix (normally "").
14563 exeext=$exeext
14564
14565 # whether the shell understands "unset".
14566 lt_unset=$lt_unset
14567
14568 # turn spaces into newlines.
14569 SP2NL=$lt_lt_SP2NL
14570
14571 # turn newlines into spaces.
14572 NL2SP=$lt_lt_NL2SP
14573
14574 # How to create reloadable object files.
14575 reload_flag=$lt_reload_flag
14576 reload_cmds=$lt_reload_cmds
14577
14578 # Method to check whether dependent libraries are shared objects.
14579 deplibs_check_method=$lt_deplibs_check_method
14580
14581 # Command to use when deplibs_check_method == "file_magic".
14582 file_magic_cmd=$lt_file_magic_cmd
14583
14584 # The archiver.
14585 AR=$lt_AR
14586 AR_FLAGS=$lt_AR_FLAGS
14587
14588 # A symbol stripping program.
14589 STRIP=$lt_STRIP
14590
14591 # Commands used to install an old-style archive.
14592 RANLIB=$lt_RANLIB
14593 old_postinstall_cmds=$lt_old_postinstall_cmds
14594 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14595
14596 # A C compiler.
14597 LTCC=$lt_CC
14598
14599 # LTCC compiler flags.
14600 LTCFLAGS=$lt_CFLAGS
14601
14602 # Take the output of nm and produce a listing of raw symbols and C names.
14603 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14604
14605 # Transform the output of nm in a proper C declaration.
14606 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14607
14608 # Transform the output of nm in a C name address pair.
14609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14610
14611 # Transform the output of nm in a C name address pair when lib prefix is needed.
14612 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14613
14614 # The name of the directory that contains temporary libtool files.
14615 objdir=$objdir
14616
14617 # Shell to use when invoking shell scripts.
14618 SHELL=$lt_SHELL
14619
14620 # An echo program that does not interpret backslashes.
14621 ECHO=$lt_ECHO
14622
14623 # Used to examine libraries when file_magic_cmd begins with "file".
14624 MAGIC_CMD=$MAGIC_CMD
14625
14626 # Must we lock files when doing compilation?
14627 need_locks=$lt_need_locks
14628
14629 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14630 DSYMUTIL=$lt_DSYMUTIL
14631
14632 # Tool to change global to local symbols on Mac OS X.
14633 NMEDIT=$lt_NMEDIT
14634
14635 # Old archive suffix (normally "a").
14636 libext=$libext
14637
14638 # Shared library suffix (normally ".so").
14639 shrext_cmds=$lt_shrext_cmds
14640
14641 # The commands to extract the exported symbol list from a shared archive.
14642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14643
14644 # Variables whose values should be saved in libtool wrapper scripts and
14645 # restored at link time.
14646 variables_saved_for_relink=$lt_variables_saved_for_relink
14647
14648 # Do we need the "lib" prefix for modules?
14649 need_lib_prefix=$need_lib_prefix
14650
14651 # Do we need a version for libraries?
14652 need_version=$need_version
14653
14654 # Library versioning type.
14655 version_type=$version_type
14656
14657 # Shared library runtime path variable.
14658 runpath_var=$runpath_var
14659
14660 # Shared library path variable.
14661 shlibpath_var=$shlibpath_var
14662
14663 # Is shlibpath searched before the hard-coded library search path?
14664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14665
14666 # Format of library name prefix.
14667 libname_spec=$lt_libname_spec
14668
14669 # List of archive names.  First name is the real one, the rest are links.
14670 # The last name is the one that the linker finds with -lNAME
14671 library_names_spec=$lt_library_names_spec
14672
14673 # The coded name of the library, if different from the real name.
14674 soname_spec=$lt_soname_spec
14675
14676 # Command to use after installation of a shared archive.
14677 postinstall_cmds=$lt_postinstall_cmds
14678
14679 # Command to use after uninstallation of a shared archive.
14680 postuninstall_cmds=$lt_postuninstall_cmds
14681
14682 # Commands used to finish a libtool library installation in a directory.
14683 finish_cmds=$lt_finish_cmds
14684
14685 # As "finish_cmds", except a single script fragment to be evaled but
14686 # not shown.
14687 finish_eval=$lt_finish_eval
14688
14689 # Whether we should hardcode library paths into libraries.
14690 hardcode_into_libs=$hardcode_into_libs
14691
14692 # Compile-time system search path for libraries.
14693 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14694
14695 # Run-time system search path for libraries.
14696 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14697
14698 # Whether dlopen is supported.
14699 dlopen_support=$enable_dlopen
14700
14701 # Whether dlopen of programs is supported.
14702 dlopen_self=$enable_dlopen_self
14703
14704 # Whether dlopen of statically linked programs is supported.
14705 dlopen_self_static=$enable_dlopen_self_static
14706
14707 # Commands to strip libraries.
14708 old_striplib=$lt_old_striplib
14709 striplib=$lt_striplib
14710
14711
14712 # The linker used to build libraries.
14713 LD=$lt_LD
14714
14715 # Commands used to build an old-style archive.
14716 old_archive_cmds=$lt_old_archive_cmds
14717
14718 # A language specific compiler.
14719 CC=$lt_compiler
14720
14721 # Is the compiler the GNU compiler?
14722 with_gcc=$GCC
14723
14724 # Compiler flag to turn off builtin functions.
14725 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14726
14727 # How to pass a linker flag through the compiler.
14728 wl=$lt_lt_prog_compiler_wl
14729
14730 # Additional compiler flags for building library objects.
14731 pic_flag=$lt_lt_prog_compiler_pic
14732
14733 # Compiler flag to prevent dynamic linking.
14734 link_static_flag=$lt_lt_prog_compiler_static
14735
14736 # Does compiler simultaneously support -c and -o options?
14737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14738
14739 # Whether or not to add -lc for building shared libraries.
14740 build_libtool_need_lc=$archive_cmds_need_lc
14741
14742 # Whether or not to disallow shared libs when runtime libs are static.
14743 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14744
14745 # Compiler flag to allow reflexive dlopens.
14746 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14747
14748 # Compiler flag to generate shared objects directly from archives.
14749 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14750
14751 # Whether the compiler copes with passing no objects directly.
14752 compiler_needs_object=$lt_compiler_needs_object
14753
14754 # Create an old-style archive from a shared archive.
14755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14756
14757 # Create a temporary old-style archive to link instead of a shared archive.
14758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14759
14760 # Commands used to build a shared archive.
14761 archive_cmds=$lt_archive_cmds
14762 archive_expsym_cmds=$lt_archive_expsym_cmds
14763
14764 # Commands used to build a loadable module if different from building
14765 # a shared archive.
14766 module_cmds=$lt_module_cmds
14767 module_expsym_cmds=$lt_module_expsym_cmds
14768
14769 # Whether we are building with GNU ld or not.
14770 with_gnu_ld=$lt_with_gnu_ld
14771
14772 # Flag that allows shared libraries with undefined symbols to be built.
14773 allow_undefined_flag=$lt_allow_undefined_flag
14774
14775 # Flag that enforces no undefined symbols.
14776 no_undefined_flag=$lt_no_undefined_flag
14777
14778 # Flag to hardcode \$libdir into a binary during linking.
14779 # This must work even if \$libdir does not exist
14780 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14781
14782 # If ld is used when linking, flag to hardcode \$libdir into a binary
14783 # during linking.  This must work even if \$libdir does not exist.
14784 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14785
14786 # Whether we need a single "-rpath" flag with a separated argument.
14787 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14788
14789 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14790 # DIR into the resulting binary.
14791 hardcode_direct=$hardcode_direct
14792
14793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14794 # DIR into the resulting binary and the resulting library dependency is
14795 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14796 # library is relocated.
14797 hardcode_direct_absolute=$hardcode_direct_absolute
14798
14799 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14800 # into the resulting binary.
14801 hardcode_minus_L=$hardcode_minus_L
14802
14803 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14804 # into the resulting binary.
14805 hardcode_shlibpath_var=$hardcode_shlibpath_var
14806
14807 # Set to "yes" if building a shared library automatically hardcodes DIR
14808 # into the library and all subsequent libraries and executables linked
14809 # against it.
14810 hardcode_automatic=$hardcode_automatic
14811
14812 # Set to yes if linker adds runtime paths of dependent libraries
14813 # to runtime path list.
14814 inherit_rpath=$inherit_rpath
14815
14816 # Whether libtool must link a program against all its dependency libraries.
14817 link_all_deplibs=$link_all_deplibs
14818
14819 # Fix the shell variable \$srcfile for the compiler.
14820 fix_srcfile_path=$lt_fix_srcfile_path
14821
14822 # Set to "yes" if exported symbols are required.
14823 always_export_symbols=$always_export_symbols
14824
14825 # The commands to list exported symbols.
14826 export_symbols_cmds=$lt_export_symbols_cmds
14827
14828 # Symbols that should not be listed in the preloaded symbols.
14829 exclude_expsyms=$lt_exclude_expsyms
14830
14831 # Symbols that must always be exported.
14832 include_expsyms=$lt_include_expsyms
14833
14834 # Commands necessary for linking programs (against libraries) with templates.
14835 prelink_cmds=$lt_prelink_cmds
14836
14837 # Specify filename containing input files.
14838 file_list_spec=$lt_file_list_spec
14839
14840 # How to hardcode a shared library path into an executable.
14841 hardcode_action=$hardcode_action
14842
14843 # ### END LIBTOOL CONFIG
14844
14845 _LT_EOF
14846
14847   case $host_os in
14848   aix3*)
14849     cat <<\_LT_EOF >> "$cfgfile"
14850 # AIX sometimes has problems with the GCC collect2 program.  For some
14851 # reason, if we set the COLLECT_NAMES environment variable, the problems
14852 # vanish in a puff of smoke.
14853 if test "X${COLLECT_NAMES+set}" != Xset; then
14854   COLLECT_NAMES=
14855   export COLLECT_NAMES
14856 fi
14857 _LT_EOF
14858     ;;
14859   esac
14860
14861
14862 ltmain="$ac_aux_dir/ltmain.sh"
14863
14864
14865   # We use sed instead of cat because bash on DJGPP gets confused if
14866   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14867   # text mode, it properly converts lines to CR/LF.  This bash problem
14868   # is reportedly fixed, but why not run on old versions too?
14869   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14870     || (rm -f "$cfgfile"; exit 1)
14871
14872   case $xsi_shell in
14873   yes)
14874     cat << \_LT_EOF >> "$cfgfile"
14875 # func_dirname file append nondir_replacement
14876 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14877 # otherwise set result to NONDIR_REPLACEMENT.
14878 func_dirname ()
14879 {
14880   case ${1} in
14881     */*) func_dirname_result="${1%/*}${2}" ;;
14882     *  ) func_dirname_result="${3}" ;;
14883   esac
14884 }
14885
14886 # func_basename file
14887 func_basename ()
14888 {
14889   func_basename_result="${1##*/}"
14890 }
14891
14892 # func_dirname_and_basename file append nondir_replacement
14893 # perform func_basename and func_dirname in a single function
14894 # call:
14895 #   dirname:  Compute the dirname of FILE.  If nonempty,
14896 #             add APPEND to the result, otherwise set result
14897 #             to NONDIR_REPLACEMENT.
14898 #             value returned in "$func_dirname_result"
14899 #   basename: Compute filename of FILE.
14900 #             value retuned in "$func_basename_result"
14901 # Implementation must be kept synchronized with func_dirname
14902 # and func_basename. For efficiency, we do not delegate to
14903 # those functions but instead duplicate the functionality here.
14904 func_dirname_and_basename ()
14905 {
14906   case ${1} in
14907     */*) func_dirname_result="${1%/*}${2}" ;;
14908     *  ) func_dirname_result="${3}" ;;
14909   esac
14910   func_basename_result="${1##*/}"
14911 }
14912
14913 # func_stripname prefix suffix name
14914 # strip PREFIX and SUFFIX off of NAME.
14915 # PREFIX and SUFFIX must not contain globbing or regex special
14916 # characters, hashes, percent signs, but SUFFIX may contain a leading
14917 # dot (in which case that matches only a dot).
14918 func_stripname ()
14919 {
14920   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14921   # positional parameters, so assign one to ordinary parameter first.
14922   func_stripname_result=${3}
14923   func_stripname_result=${func_stripname_result#"${1}"}
14924   func_stripname_result=${func_stripname_result%"${2}"}
14925 }
14926
14927 # func_opt_split
14928 func_opt_split ()
14929 {
14930   func_opt_split_opt=${1%%=*}
14931   func_opt_split_arg=${1#*=}
14932 }
14933
14934 # func_lo2o object
14935 func_lo2o ()
14936 {
14937   case ${1} in
14938     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14939     *)    func_lo2o_result=${1} ;;
14940   esac
14941 }
14942 _LT_EOF
14943     ;;
14944   *) # Bourne compatible functions.
14945     cat << \_LT_EOF >> "$cfgfile"
14946 # func_dirname file append nondir_replacement
14947 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14948 # otherwise set result to NONDIR_REPLACEMENT.
14949 func_dirname ()
14950 {
14951   # Extract subdirectory from the argument.
14952   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14953   if test "X$func_dirname_result" = "X${1}"; then
14954     func_dirname_result="${3}"
14955   else
14956     func_dirname_result="$func_dirname_result${2}"
14957   fi
14958 }
14959
14960 # func_basename file
14961 func_basename ()
14962 {
14963   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14964 }
14965
14966 # func_dirname_and_basename file append nondir_replacement
14967 # perform func_basename and func_dirname in a single function
14968 # call:
14969 #   dirname:  Compute the dirname of FILE.  If nonempty,
14970 #             add APPEND to the result, otherwise set result
14971 #             to NONDIR_REPLACEMENT.
14972 #             value returned in "$func_dirname_result"
14973 #   basename: Compute filename of FILE.
14974 #             value retuned in "$func_basename_result"
14975 # Implementation must be kept synchronized with func_dirname
14976 # and func_basename. For efficiency, we do not delegate to
14977 # those functions but instead duplicate the functionality here.
14978 func_dirname_and_basename ()
14979 {
14980   # Extract subdirectory from the argument.
14981   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14982   if test "X$func_dirname_result" = "X${1}"; then
14983     func_dirname_result="${3}"
14984   else
14985     func_dirname_result="$func_dirname_result${2}"
14986   fi
14987   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14988 }
14989
14990 # func_stripname prefix suffix name
14991 # strip PREFIX and SUFFIX off of NAME.
14992 # PREFIX and SUFFIX must not contain globbing or regex special
14993 # characters, hashes, percent signs, but SUFFIX may contain a leading
14994 # dot (in which case that matches only a dot).
14995 # func_strip_suffix prefix name
14996 func_stripname ()
14997 {
14998   case ${2} in
14999     .*) func_stripname_result=`$ECHO "X${3}" \
15000            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15001     *)  func_stripname_result=`$ECHO "X${3}" \
15002            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15003   esac
15004 }
15005
15006 # sed scripts:
15007 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15008 my_sed_long_arg='1s/^-[^=]*=//'
15009
15010 # func_opt_split
15011 func_opt_split ()
15012 {
15013   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15014   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15015 }
15016
15017 # func_lo2o object
15018 func_lo2o ()
15019 {
15020   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15021 }
15022 _LT_EOF
15023 esac
15024
15025 case $lt_shell_append in
15026   yes)
15027     cat << \_LT_EOF >> "$cfgfile"
15028
15029 # func_append var value
15030 # Append VALUE to the end of shell variable VAR.
15031 func_append ()
15032 {
15033   eval "$1+=\$2"
15034 }
15035 _LT_EOF
15036     ;;
15037   *)
15038     cat << \_LT_EOF >> "$cfgfile"
15039
15040 # func_append var value
15041 # Append VALUE to the end of shell variable VAR.
15042 func_append ()
15043 {
15044   eval "$1=\$$1\$2"
15045 }
15046 _LT_EOF
15047     ;;
15048   esac
15049
15050
15051   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15052     || (rm -f "$cfgfile"; exit 1)
15053
15054   mv -f "$cfgfile" "$ofile" ||
15055     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15056   chmod +x "$ofile"
15057
15058  ;;
15059
15060   esac
15061 done # for ac_tag
15062
15063
15064 { (exit 0); exit 0; }
15065 _ACEOF
15066 chmod +x $CONFIG_STATUS
15067 ac_clean_files=$ac_clean_files_save
15068
15069
15070 # configure is writing to config.log, and then calls config.status.
15071 # config.status does its own redirection, appending to config.log.
15072 # Unfortunately, on DOS this fails, as config.log is still kept open
15073 # by configure, so config.status won't be able to write to it; its
15074 # output is simply discarded.  So we exec the FD to /dev/null,
15075 # effectively closing config.log, so it can be properly (re)opened and
15076 # appended to by config.status.  When coming back to configure, we
15077 # need to make the FD available again.
15078 if test "$no_create" != yes; then
15079   ac_cs_success=:
15080   ac_config_status_args=
15081   test "$silent" = yes &&
15082     ac_config_status_args="$ac_config_status_args --quiet"
15083   exec 5>/dev/null
15084   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15085   exec 5>>config.log
15086   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15087   # would make configure fail if this is the last instruction.
15088   $ac_cs_success || { (exit 1); exit 1; }
15089 fi
15090