aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/embryo/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/embryo/configure')
-rwxr-xr-xlibraries/embryo/configure15821
1 files changed, 15821 insertions, 0 deletions
diff --git a/libraries/embryo/configure b/libraries/embryo/configure
new file mode 100755
index 0000000..466326f
--- /dev/null
+++ b/libraries/embryo/configure
@@ -0,0 +1,15821 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for embryo 1.1.0.
4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103IFS=$as_save_IFS
104
105 ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110 as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there. '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152esac
153fi
154"
155 as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169 exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234$0: enlightenment-devel@lists.sourceforge.net about your
235$0: system, including any error possibly output before this
236$0: message. Then install a modern shell, or manually run
237$0: the script under such a shell if you do have one."
238 fi
239 exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257 { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266 return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274 set +e
275 as_fn_set_status $1
276 exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\).*/{
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359fi # as_fn_arith
360
361
362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with STATUS, using 1 if that was 0.
367as_fn_error ()
368{
369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$4"; then
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381else
382 as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387else
388 as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393else
394 as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
404 q
405 }
406 /^X\/\(\/\/\)$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\).*/{
411 s//\1/
412 q
413 }
414 s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '
430 p
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
436 b
437 :lineno
438 N
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
464*)
465 ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471else
472 rm -f conf$$.dir
473 mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s='ln -s'
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
488 fi
489else
490 as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
497else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
509 fi
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
521 '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540 ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
546 shift
547elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
549 :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
552 :
553else
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
560 shift
561 cat <<_LT_EOF
562$*
563_LT_EOF
564 exit 0
565fi
566
567# The HP-UX ksh and POSIX shell print the target directory to stdout
568# if CDPATH is set.
569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578 then
579 break
580 fi
581 done
582 fi
583
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
587 :
588 else
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
592 #
593 # So, first we look for a working echo in the user's PATH.
594
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
597 IFS="$lt_save_ifs"
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
602 ECHO="$dir/echo"
603 break
604 fi
605 done
606 IFS="$lt_save_ifs"
607
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
614 ECHO='print -r'
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
621 export CONFIG_SHELL
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 else
624 # Try using printf.
625 ECHO='printf %s\n'
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
629 # Cool, printf works
630 :
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636 export CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
638 export SHELL
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
645 else
646 # maybe with a smaller string...
647 prev=:
648
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651 then
652 break
653 fi
654 prev="$cmd"
655 done
656
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 else
662 # Oops. We lost completely, so just stick with echo.
663 ECHO=echo
664 fi
665 fi
666 fi
667 fi
668 fi
669fi
670
671# Copy echo and quote the copy suitably for passing to libtool from
672# the Makefile, instead of quoting the original, which is used later.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1
683
684# Name of the host.
685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIBOBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='embryo'
703PACKAGE_TARNAME='embryo'
704PACKAGE_VERSION='1.1.0'
705PACKAGE_STRING='embryo 1.1.0'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL=''
708
709ac_unique_file="configure.ac"
710# Factoring default headers for most tests.
711ac_includes_default="\
712#include <stdio.h>
713#ifdef HAVE_SYS_TYPES_H
714# include <sys/types.h>
715#endif
716#ifdef HAVE_SYS_STAT_H
717# include <sys/stat.h>
718#endif
719#ifdef STDC_HEADERS
720# include <stdlib.h>
721# include <stddef.h>
722#else
723# ifdef HAVE_STDLIB_H
724# include <stdlib.h>
725# endif
726#endif
727#ifdef HAVE_STRING_H
728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729# include <memory.h>
730# endif
731# include <string.h>
732#endif
733#ifdef HAVE_STRINGS_H
734# include <strings.h>
735#endif
736#ifdef HAVE_INTTYPES_H
737# include <inttypes.h>
738#endif
739#ifdef HAVE_STDINT_H
740# include <stdint.h>
741#endif
742#ifdef HAVE_UNISTD_H
743# include <unistd.h>
744#endif"
745
746ac_subst_vars='am__EXEEXT_FALSE
747am__EXEEXT_TRUE
748LTLIBOBJS
749LIBOBJS
750embryoincludedir
751requirement_embryo
752EFL_FNMATCH_LIBS
753ALLOCA
754lt_enable_auto_import
755EMBRYO_CFLAGS
756EMBRYO_CPPFLAGS
757EINA_LIBS
758EINA_CFLAGS
759EFL_EMBRYO_BUILD
760EVIL_LIBS
761EVIL_CFLAGS
762pkgconfig_requires_private
763PKG_CONFIG_LIBDIR
764PKG_CONFIG_PATH
765PKG_CONFIG
766EFL_BUILD_DOC_FALSE
767EFL_BUILD_DOC_TRUE
768efl_doxygen
769efl_have_doxygen
770BUILD_EMBRYO_CC_FALSE
771BUILD_EMBRYO_CC_TRUE
772EMBRYO_CC_PRG
773VMAJ
774release_info
775version_info
776CPP
777OTOOL64
778OTOOL
779LIPO
780NMEDIT
781DSYMUTIL
782lt_ECHO
783RANLIB
784AR
785LN_S
786NM
787ac_ct_DUMPBIN
788DUMPBIN
789LD
790FGREP
791EGREP
792GREP
793SED
794am__fastdepCC_FALSE
795am__fastdepCC_TRUE
796CCDEPMODE
797AMDEPBACKSLASH
798AMDEP_FALSE
799AMDEP_TRUE
800am__quote
801am__include
802DEPDIR
803OBJEXT
804EXEEXT
805ac_ct_CC
806CPPFLAGS
807LDFLAGS
808CFLAGS
809CC
810LIBTOOL
811OBJDUMP
812DLLTOOL
813AS
814host_os
815host_vendor
816host_cpu
817host
818build_os
819build_vendor
820build_cpu
821build
822AM_BACKSLASH
823AM_DEFAULT_VERBOSITY
824am__untar
825am__tar
826AMTAR
827am__leading_dot
828SET_MAKE
829AWK
830mkdir_p
831MKDIR_P
832INSTALL_STRIP_PROGRAM
833STRIP
834install_sh
835MAKEINFO
836AUTOHEADER
837AUTOMAKE
838AUTOCONF
839ACLOCAL
840VERSION
841PACKAGE
842CYGPATH_W
843am__isrc
844INSTALL_DATA
845INSTALL_SCRIPT
846INSTALL_PROGRAM
847target_alias
848host_alias
849build_alias
850LIBS
851ECHO_T
852ECHO_N
853ECHO_C
854DEFS
855mandir
856localedir
857libdir
858psdir
859pdfdir
860dvidir
861htmldir
862infodir
863docdir
864oldincludedir
865includedir
866localstatedir
867sharedstatedir
868sysconfdir
869datadir
870datarootdir
871libexecdir
872sbindir
873bindir
874program_transform_name
875prefix
876exec_prefix
877PACKAGE_URL
878PACKAGE_BUGREPORT
879PACKAGE_STRING
880PACKAGE_VERSION
881PACKAGE_TARNAME
882PACKAGE_NAME
883PATH_SEPARATOR
884SHELL'
885ac_subst_files=''
886ac_user_opts='
887enable_option_checking
888enable_silent_rules
889enable_shared
890enable_static
891with_pic
892enable_fast_install
893enable_dependency_tracking
894with_gnu_ld
895enable_libtool_lock
896enable_embryo_cc
897enable_doc
898with_doxygen
899'
900 ac_precious_vars='build_alias
901host_alias
902target_alias
903CC
904CFLAGS
905LDFLAGS
906LIBS
907CPPFLAGS
908CPP
909PKG_CONFIG
910PKG_CONFIG_PATH
911PKG_CONFIG_LIBDIR
912EVIL_CFLAGS
913EVIL_LIBS
914EINA_CFLAGS
915EINA_LIBS'
916
917
918# Initialize some variables set by options.
919ac_init_help=
920ac_init_version=false
921ac_unrecognized_opts=
922ac_unrecognized_sep=
923# The variables have the same names as the options, with
924# dashes changed to underlines.
925cache_file=/dev/null
926exec_prefix=NONE
927no_create=
928no_recursion=
929prefix=NONE
930program_prefix=NONE
931program_suffix=NONE
932program_transform_name=s,x,x,
933silent=
934site=
935srcdir=
936verbose=
937x_includes=NONE
938x_libraries=NONE
939
940# Installation directory options.
941# These are left unexpanded so users can "make install exec_prefix=/foo"
942# and all the variables that are supposed to be based on exec_prefix
943# by default will actually change.
944# Use braces instead of parens because sh, perl, etc. also accept them.
945# (The list follows the same order as the GNU Coding Standards.)
946bindir='${exec_prefix}/bin'
947sbindir='${exec_prefix}/sbin'
948libexecdir='${exec_prefix}/libexec'
949datarootdir='${prefix}/share'
950datadir='${datarootdir}'
951sysconfdir='${prefix}/etc'
952sharedstatedir='${prefix}/com'
953localstatedir='${prefix}/var'
954includedir='${prefix}/include'
955oldincludedir='/usr/include'
956docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
957infodir='${datarootdir}/info'
958htmldir='${docdir}'
959dvidir='${docdir}'
960pdfdir='${docdir}'
961psdir='${docdir}'
962libdir='${exec_prefix}/lib'
963localedir='${datarootdir}/locale'
964mandir='${datarootdir}/man'
965
966ac_prev=
967ac_dashdash=
968for ac_option
969do
970 # If the previous option needs an argument, assign it.
971 if test -n "$ac_prev"; then
972 eval $ac_prev=\$ac_option
973 ac_prev=
974 continue
975 fi
976
977 case $ac_option in
978 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
979 *=) ac_optarg= ;;
980 *) ac_optarg=yes ;;
981 esac
982
983 # Accept the important Cygnus configure options, so we can diagnose typos.
984
985 case $ac_dashdash$ac_option in
986 --)
987 ac_dashdash=yes ;;
988
989 -bindir | --bindir | --bindi | --bind | --bin | --bi)
990 ac_prev=bindir ;;
991 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
992 bindir=$ac_optarg ;;
993
994 -build | --build | --buil | --bui | --bu)
995 ac_prev=build_alias ;;
996 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
997 build_alias=$ac_optarg ;;
998
999 -cache-file | --cache-file | --cache-fil | --cache-fi \
1000 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1001 ac_prev=cache_file ;;
1002 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1003 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1004 cache_file=$ac_optarg ;;
1005
1006 --config-cache | -C)
1007 cache_file=config.cache ;;
1008
1009 -datadir | --datadir | --datadi | --datad)
1010 ac_prev=datadir ;;
1011 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1012 datadir=$ac_optarg ;;
1013
1014 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1015 | --dataroo | --dataro | --datar)
1016 ac_prev=datarootdir ;;
1017 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1018 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1019 datarootdir=$ac_optarg ;;
1020
1021 -disable-* | --disable-*)
1022 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error $? "invalid feature name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1029 *"
1030"enable_$ac_useropt"
1031"*) ;;
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1034 esac
1035 eval enable_$ac_useropt=no ;;
1036
1037 -docdir | --docdir | --docdi | --doc | --do)
1038 ac_prev=docdir ;;
1039 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1040 docdir=$ac_optarg ;;
1041
1042 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1043 ac_prev=dvidir ;;
1044 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1045 dvidir=$ac_optarg ;;
1046
1047 -enable-* | --enable-*)
1048 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051 as_fn_error $? "invalid feature name: $ac_useropt"
1052 ac_useropt_orig=$ac_useropt
1053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1055 *"
1056"enable_$ac_useropt"
1057"*) ;;
1058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1059 ac_unrecognized_sep=', ';;
1060 esac
1061 eval enable_$ac_useropt=\$ac_optarg ;;
1062
1063 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1064 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1065 | --exec | --exe | --ex)
1066 ac_prev=exec_prefix ;;
1067 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1068 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1069 | --exec=* | --exe=* | --ex=*)
1070 exec_prefix=$ac_optarg ;;
1071
1072 -gas | --gas | --ga | --g)
1073 # Obsolete; use --with-gas.
1074 with_gas=yes ;;
1075
1076 -help | --help | --hel | --he | -h)
1077 ac_init_help=long ;;
1078 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1079 ac_init_help=recursive ;;
1080 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1081 ac_init_help=short ;;
1082
1083 -host | --host | --hos | --ho)
1084 ac_prev=host_alias ;;
1085 -host=* | --host=* | --hos=* | --ho=*)
1086 host_alias=$ac_optarg ;;
1087
1088 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1089 ac_prev=htmldir ;;
1090 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1091 | --ht=*)
1092 htmldir=$ac_optarg ;;
1093
1094 -includedir | --includedir | --includedi | --included | --include \
1095 | --includ | --inclu | --incl | --inc)
1096 ac_prev=includedir ;;
1097 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1098 | --includ=* | --inclu=* | --incl=* | --inc=*)
1099 includedir=$ac_optarg ;;
1100
1101 -infodir | --infodir | --infodi | --infod | --info | --inf)
1102 ac_prev=infodir ;;
1103 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1104 infodir=$ac_optarg ;;
1105
1106 -libdir | --libdir | --libdi | --libd)
1107 ac_prev=libdir ;;
1108 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1109 libdir=$ac_optarg ;;
1110
1111 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1112 | --libexe | --libex | --libe)
1113 ac_prev=libexecdir ;;
1114 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1115 | --libexe=* | --libex=* | --libe=*)
1116 libexecdir=$ac_optarg ;;
1117
1118 -localedir | --localedir | --localedi | --localed | --locale)
1119 ac_prev=localedir ;;
1120 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1121 localedir=$ac_optarg ;;
1122
1123 -localstatedir | --localstatedir | --localstatedi | --localstated \
1124 | --localstate | --localstat | --localsta | --localst | --locals)
1125 ac_prev=localstatedir ;;
1126 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1127 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1128 localstatedir=$ac_optarg ;;
1129
1130 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1131 ac_prev=mandir ;;
1132 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1133 mandir=$ac_optarg ;;
1134
1135 -nfp | --nfp | --nf)
1136 # Obsolete; use --without-fp.
1137 with_fp=no ;;
1138
1139 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1140 | --no-cr | --no-c | -n)
1141 no_create=yes ;;
1142
1143 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1144 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1145 no_recursion=yes ;;
1146
1147 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1148 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1149 | --oldin | --oldi | --old | --ol | --o)
1150 ac_prev=oldincludedir ;;
1151 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1152 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1153 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1154 oldincludedir=$ac_optarg ;;
1155
1156 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1157 ac_prev=prefix ;;
1158 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1159 prefix=$ac_optarg ;;
1160
1161 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1162 | --program-pre | --program-pr | --program-p)
1163 ac_prev=program_prefix ;;
1164 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1165 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1166 program_prefix=$ac_optarg ;;
1167
1168 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1169 | --program-suf | --program-su | --program-s)
1170 ac_prev=program_suffix ;;
1171 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1172 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1173 program_suffix=$ac_optarg ;;
1174
1175 -program-transform-name | --program-transform-name \
1176 | --program-transform-nam | --program-transform-na \
1177 | --program-transform-n | --program-transform- \
1178 | --program-transform | --program-transfor \
1179 | --program-transfo | --program-transf \
1180 | --program-trans | --program-tran \
1181 | --progr-tra | --program-tr | --program-t)
1182 ac_prev=program_transform_name ;;
1183 -program-transform-name=* | --program-transform-name=* \
1184 | --program-transform-nam=* | --program-transform-na=* \
1185 | --program-transform-n=* | --program-transform-=* \
1186 | --program-transform=* | --program-transfor=* \
1187 | --program-transfo=* | --program-transf=* \
1188 | --program-trans=* | --program-tran=* \
1189 | --progr-tra=* | --program-tr=* | --program-t=*)
1190 program_transform_name=$ac_optarg ;;
1191
1192 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1193 ac_prev=pdfdir ;;
1194 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1195 pdfdir=$ac_optarg ;;
1196
1197 -psdir | --psdir | --psdi | --psd | --ps)
1198 ac_prev=psdir ;;
1199 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1200 psdir=$ac_optarg ;;
1201
1202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1203 | -silent | --silent | --silen | --sile | --sil)
1204 silent=yes ;;
1205
1206 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1207 ac_prev=sbindir ;;
1208 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1209 | --sbi=* | --sb=*)
1210 sbindir=$ac_optarg ;;
1211
1212 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1213 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1214 | --sharedst | --shareds | --shared | --share | --shar \
1215 | --sha | --sh)
1216 ac_prev=sharedstatedir ;;
1217 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1218 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1219 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1220 | --sha=* | --sh=*)
1221 sharedstatedir=$ac_optarg ;;
1222
1223 -site | --site | --sit)
1224 ac_prev=site ;;
1225 -site=* | --site=* | --sit=*)
1226 site=$ac_optarg ;;
1227
1228 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1229 ac_prev=srcdir ;;
1230 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1231 srcdir=$ac_optarg ;;
1232
1233 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1234 | --syscon | --sysco | --sysc | --sys | --sy)
1235 ac_prev=sysconfdir ;;
1236 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1237 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1238 sysconfdir=$ac_optarg ;;
1239
1240 -target | --target | --targe | --targ | --tar | --ta | --t)
1241 ac_prev=target_alias ;;
1242 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1243 target_alias=$ac_optarg ;;
1244
1245 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1246 verbose=yes ;;
1247
1248 -version | --version | --versio | --versi | --vers | -V)
1249 ac_init_version=: ;;
1250
1251 -with-* | --with-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error $? "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1259 *"
1260"with_$ac_useropt"
1261"*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=\$ac_optarg ;;
1266
1267 -without-* | --without-*)
1268 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1271 as_fn_error $? "invalid package name: $ac_useropt"
1272 ac_useropt_orig=$ac_useropt
1273 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1275 *"
1276"with_$ac_useropt"
1277"*) ;;
1278 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1279 ac_unrecognized_sep=', ';;
1280 esac
1281 eval with_$ac_useropt=no ;;
1282
1283 --x)
1284 # Obsolete; use --with-x.
1285 with_x=yes ;;
1286
1287 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1288 | --x-incl | --x-inc | --x-in | --x-i)
1289 ac_prev=x_includes ;;
1290 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1291 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1292 x_includes=$ac_optarg ;;
1293
1294 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1295 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1296 ac_prev=x_libraries ;;
1297 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1298 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1299 x_libraries=$ac_optarg ;;
1300
1301 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1302Try \`$0 --help' for more information"
1303 ;;
1304
1305 *=*)
1306 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1307 # Reject names that are not valid shell variable names.
1308 case $ac_envvar in #(
1309 '' | [0-9]* | *[!_$as_cr_alnum]* )
1310 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1311 esac
1312 eval $ac_envvar=\$ac_optarg
1313 export $ac_envvar ;;
1314
1315 *)
1316 # FIXME: should be removed in autoconf 3.0.
1317 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1318 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1319 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1320 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1321 ;;
1322
1323 esac
1324done
1325
1326if test -n "$ac_prev"; then
1327 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1328 as_fn_error $? "missing argument to $ac_option"
1329fi
1330
1331if test -n "$ac_unrecognized_opts"; then
1332 case $enable_option_checking in
1333 no) ;;
1334 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1335 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336 esac
1337fi
1338
1339# Check all directory arguments for consistency.
1340for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1341 datadir sysconfdir sharedstatedir localstatedir includedir \
1342 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1343 libdir localedir mandir
1344do
1345 eval ac_val=\$$ac_var
1346 # Remove trailing slashes.
1347 case $ac_val in
1348 */ )
1349 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1350 eval $ac_var=\$ac_val;;
1351 esac
1352 # Be sure to have absolute directory names.
1353 case $ac_val in
1354 [\\/$]* | ?:[\\/]* ) continue;;
1355 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1356 esac
1357 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1358done
1359
1360# There might be people who depend on the old broken behavior: `$host'
1361# used to hold the argument of --host etc.
1362# FIXME: To remove some day.
1363build=$build_alias
1364host=$host_alias
1365target=$target_alias
1366
1367# FIXME: To remove some day.
1368if test "x$host_alias" != x; then
1369 if test "x$build_alias" = x; then
1370 cross_compiling=maybe
1371 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1372 If a cross compiler is detected then cross compile mode will be used" >&2
1373 elif test "x$build_alias" != "x$host_alias"; then
1374 cross_compiling=yes
1375 fi
1376fi
1377
1378ac_tool_prefix=
1379test -n "$host_alias" && ac_tool_prefix=$host_alias-
1380
1381test "$silent" = yes && exec 6>/dev/null
1382
1383
1384ac_pwd=`pwd` && test -n "$ac_pwd" &&
1385ac_ls_di=`ls -di .` &&
1386ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1387 as_fn_error $? "working directory cannot be determined"
1388test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 as_fn_error $? "pwd does not report name of working directory"
1390
1391
1392# Find the source files, if location was not specified.
1393if test -z "$srcdir"; then
1394 ac_srcdir_defaulted=yes
1395 # Try the directory containing this script, then the parent directory.
1396 ac_confdir=`$as_dirname -- "$as_myself" ||
1397$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398 X"$as_myself" : 'X\(//\)[^/]' \| \
1399 X"$as_myself" : 'X\(//\)$' \| \
1400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1401$as_echo X"$as_myself" |
1402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403 s//\1/
1404 q
1405 }
1406 /^X\(\/\/\)[^/].*/{
1407 s//\1/
1408 q
1409 }
1410 /^X\(\/\/\)$/{
1411 s//\1/
1412 q
1413 }
1414 /^X\(\/\).*/{
1415 s//\1/
1416 q
1417 }
1418 s/.*/./; q'`
1419 srcdir=$ac_confdir
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 srcdir=..
1422 fi
1423else
1424 ac_srcdir_defaulted=no
1425fi
1426if test ! -r "$srcdir/$ac_unique_file"; then
1427 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1428 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1429fi
1430ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431ac_abs_confdir=`(
1432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1433 pwd)`
1434# When building in place, set srcdir=.
1435if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 srcdir=.
1437fi
1438# Remove unnecessary trailing slashes from srcdir.
1439# Double slashes in file names in object file debugging info
1440# mess up M-x gdb in Emacs.
1441case $srcdir in
1442*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443esac
1444for ac_var in $ac_precious_vars; do
1445 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1446 eval ac_env_${ac_var}_value=\$${ac_var}
1447 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1448 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1449done
1450
1451#
1452# Report the --help message.
1453#
1454if test "$ac_init_help" = "long"; then
1455 # Omit some internal or obsolete options to make the list less imposing.
1456 # This message is too long to be a string in the A/UX 3.1 sh.
1457 cat <<_ACEOF
1458\`configure' configures embryo 1.1.0 to adapt to many kinds of systems.
1459
1460Usage: $0 [OPTION]... [VAR=VALUE]...
1461
1462To assign environment variables (e.g., CC, CFLAGS...), specify them as
1463VAR=VALUE. See below for descriptions of some of the useful variables.
1464
1465Defaults for the options are specified in brackets.
1466
1467Configuration:
1468 -h, --help display this help and exit
1469 --help=short display options specific to this package
1470 --help=recursive display the short help of all the included packages
1471 -V, --version display version information and exit
1472 -q, --quiet, --silent do not print \`checking ...' messages
1473 --cache-file=FILE cache test results in FILE [disabled]
1474 -C, --config-cache alias for \`--cache-file=config.cache'
1475 -n, --no-create do not create output files
1476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477
1478Installation directories:
1479 --prefix=PREFIX install architecture-independent files in PREFIX
1480 [$ac_default_prefix]
1481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 [PREFIX]
1483
1484By default, \`make install' will install all the files in
1485\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1486an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1487for instance \`--prefix=\$HOME'.
1488
1489For better control, use the options below.
1490
1491Fine tuning of the installation directories:
1492 --bindir=DIR user executables [EPREFIX/bin]
1493 --sbindir=DIR system admin executables [EPREFIX/sbin]
1494 --libexecdir=DIR program executables [EPREFIX/libexec]
1495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1498 --libdir=DIR object code libraries [EPREFIX/lib]
1499 --includedir=DIR C header files [PREFIX/include]
1500 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1501 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1502 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1503 --infodir=DIR info documentation [DATAROOTDIR/info]
1504 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1505 --mandir=DIR man documentation [DATAROOTDIR/man]
1506 --docdir=DIR documentation root [DATAROOTDIR/doc/embryo]
1507 --htmldir=DIR html documentation [DOCDIR]
1508 --dvidir=DIR dvi documentation [DOCDIR]
1509 --pdfdir=DIR pdf documentation [DOCDIR]
1510 --psdir=DIR ps documentation [DOCDIR]
1511_ACEOF
1512
1513 cat <<\_ACEOF
1514
1515Program names:
1516 --program-prefix=PREFIX prepend PREFIX to installed program names
1517 --program-suffix=SUFFIX append SUFFIX to installed program names
1518 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1519
1520System types:
1521 --build=BUILD configure for building on BUILD [guessed]
1522 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1523_ACEOF
1524fi
1525
1526if test -n "$ac_init_help"; then
1527 case $ac_init_help in
1528 short | recursive ) echo "Configuration of embryo 1.1.0:";;
1529 esac
1530 cat <<\_ACEOF
1531
1532Optional Features:
1533 --disable-option-checking ignore unrecognized --enable/--with options
1534 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1535 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1536 --enable-silent-rules less verbose build output (undo: `make V=1')
1537 --disable-silent-rules verbose build output (undo: `make V=0')
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-static[=PKGS] build static libraries [default=yes]
1540 --enable-fast-install[=PKGS]
1541 optimize for fast installation [default=yes]
1542 --disable-dependency-tracking speeds up one-time build
1543 --enable-dependency-tracking do not reject slow dependency extractors
1544 --disable-libtool-lock avoid locking (might break parallel builds)
1545 --disable-embryo-cc disable building of embryo_cc
1546 --disable-doc Disable documentation build [default=enabled]
1547
1548Optional Packages:
1549 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1550 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1551 --with-pic try to use only PIC/non-PIC objects [default=use
1552 both]
1553 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1554 --with-doxygen=FILE doxygen program to use [default=doxygen]
1555
1556Some influential environment variables:
1557 CC C compiler command
1558 CFLAGS C compiler flags
1559 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1560 nonstandard directory <lib dir>
1561 LIBS libraries to pass to the linker, e.g. -l<library>
1562 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1563 you have headers in a nonstandard directory <include dir>
1564 CPP C preprocessor
1565 PKG_CONFIG path to pkg-config utility
1566 PKG_CONFIG_PATH
1567 directories to add to pkg-config's search path
1568 PKG_CONFIG_LIBDIR
1569 path overriding pkg-config's built-in search path
1570 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1571 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1572 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1573 EINA_LIBS linker flags for EINA, overriding pkg-config
1574
1575Use these variables to override the choices made by `configure' or to help
1576it to find libraries and programs with nonstandard names/locations.
1577
1578Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1579_ACEOF
1580ac_status=$?
1581fi
1582
1583if test "$ac_init_help" = "recursive"; then
1584 # If there are subdirs, report their specific --help.
1585 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586 test -d "$ac_dir" ||
1587 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588 continue
1589 ac_builddir=.
1590
1591case "$ac_dir" in
1592.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593*)
1594 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1600 esac ;;
1601esac
1602ac_abs_top_builddir=$ac_pwd
1603ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604# for backward compatibility:
1605ac_top_builddir=$ac_top_build_prefix
1606
1607case $srcdir in
1608 .) # We are building in place.
1609 ac_srcdir=.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1616 *) # Relative name.
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1620esac
1621ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1622
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1626 echo &&
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1629 echo &&
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1631 else
1632 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1633 fi || ac_status=$?
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1635 done
1636fi
1637
1638test -n "$ac_init_help" && exit $ac_status
1639if $ac_init_version; then
1640 cat <<\_ACEOF
1641embryo configure 1.1.0
1642generated by GNU Autoconf 2.67
1643
1644Copyright (C) 2010 Free Software Foundation, Inc.
1645This configure script is free software; the Free Software Foundation
1646gives unlimited permission to copy, distribute and modify it.
1647_ACEOF
1648 exit
1649fi
1650
1651## ------------------------ ##
1652## Autoconf initialization. ##
1653## ------------------------ ##
1654
1655# ac_fn_c_try_compile LINENO
1656# --------------------------
1657# Try to compile conftest.$ac_ext, and return whether this succeeded.
1658ac_fn_c_try_compile ()
1659{
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext
1662 if { { ac_try="$ac_compile"
1663case "(($ac_try" in
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1666esac
1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668$as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1670 ac_status=$?
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1675 fi
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.$ac_objext; then :
1681 ac_retval=0
1682else
1683 $as_echo "$as_me: failed program was:" >&5
1684sed 's/^/| /' conftest.$ac_ext >&5
1685
1686 ac_retval=1
1687fi
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 as_fn_set_status $ac_retval
1690
1691} # ac_fn_c_try_compile
1692
1693# ac_fn_c_try_link LINENO
1694# -----------------------
1695# Try to link conftest.$ac_ext, and return whether this succeeded.
1696ac_fn_c_try_link ()
1697{
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext conftest$ac_exeext
1700 if { { ac_try="$ac_link"
1701case "(($ac_try" in
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1704esac
1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706$as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_link") 2>conftest.err
1708 ac_status=$?
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1713 fi
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest$ac_exeext && {
1719 test "$cross_compiling" = yes ||
1720 $as_test_x conftest$ac_exeext
1721 }; then :
1722 ac_retval=0
1723else
1724 $as_echo "$as_me: failed program was:" >&5
1725sed 's/^/| /' conftest.$ac_ext >&5
1726
1727 ac_retval=1
1728fi
1729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731 # interfere with the next link command; also delete a directory that is
1732 # left behind by Apple's compiler. We do this before executing the actions.
1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 as_fn_set_status $ac_retval
1736
1737} # ac_fn_c_try_link
1738
1739# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1740# -------------------------------------------------------
1741# Tests whether HEADER exists and can be compiled using the include files in
1742# INCLUDES, setting the cache variable VAR accordingly.
1743ac_fn_c_check_header_compile ()
1744{
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747$as_echo_n "checking for $2... " >&6; }
1748if eval "test \"\${$3+set}\"" = set; then :
1749 $as_echo_n "(cached) " >&6
1750else
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752/* end confdefs.h. */
1753$4
1754#include <$2>
1755_ACEOF
1756if ac_fn_c_try_compile "$LINENO"; then :
1757 eval "$3=yes"
1758else
1759 eval "$3=no"
1760fi
1761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762fi
1763eval ac_res=\$$3
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765$as_echo "$ac_res" >&6; }
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1767
1768} # ac_fn_c_check_header_compile
1769
1770# ac_fn_c_try_cpp LINENO
1771# ----------------------
1772# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1773ac_fn_c_try_cpp ()
1774{
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 if { { ac_try="$ac_cpp conftest.$ac_ext"
1777case "(($ac_try" in
1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1780esac
1781eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782$as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1784 ac_status=$?
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1789 fi
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } > conftest.i && {
1792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 }; then :
1795 ac_retval=0
1796else
1797 $as_echo "$as_me: failed program was:" >&5
1798sed 's/^/| /' conftest.$ac_ext >&5
1799
1800 ac_retval=1
1801fi
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803 as_fn_set_status $ac_retval
1804
1805} # ac_fn_c_try_cpp
1806
1807# ac_fn_c_try_run LINENO
1808# ----------------------
1809# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1810# that executables *can* be run.
1811ac_fn_c_try_run ()
1812{
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 if { { ac_try="$ac_link"
1815case "(($ac_try" in
1816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1818esac
1819eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820$as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_link") 2>&5
1822 ac_status=$?
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1825 { { case "(($ac_try" in
1826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1827 *) ac_try_echo=$ac_try;;
1828esac
1829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830$as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_try") 2>&5
1832 ac_status=$?
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; }; }; then :
1835 ac_retval=0
1836else
1837 $as_echo "$as_me: program exited with status $ac_status" >&5
1838 $as_echo "$as_me: failed program was:" >&5
1839sed 's/^/| /' conftest.$ac_ext >&5
1840
1841 ac_retval=$ac_status
1842fi
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 as_fn_set_status $ac_retval
1846
1847} # ac_fn_c_try_run
1848
1849# ac_fn_c_check_func LINENO FUNC VAR
1850# ----------------------------------
1851# Tests whether FUNC exists, setting the cache variable VAR accordingly
1852ac_fn_c_check_func ()
1853{
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856$as_echo_n "checking for $2... " >&6; }
1857if eval "test \"\${$3+set}\"" = set; then :
1858 $as_echo_n "(cached) " >&6
1859else
1860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861/* end confdefs.h. */
1862/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1864#define $2 innocuous_$2
1865
1866/* System header to define __stub macros and hopefully few prototypes,
1867 which can conflict with char $2 (); below.
1868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1869 <limits.h> exists even on freestanding compilers. */
1870
1871#ifdef __STDC__
1872# include <limits.h>
1873#else
1874# include <assert.h>
1875#endif
1876
1877#undef $2
1878
1879/* Override any GCC internal prototype to avoid an error.
1880 Use char because int might match the return type of a GCC
1881 builtin and then its argument prototype would still apply. */
1882#ifdef __cplusplus
1883extern "C"
1884#endif
1885char $2 ();
1886/* The GNU C library defines this for functions which it implements
1887 to always fail with ENOSYS. Some functions are actually named
1888 something starting with __ and the normal name is an alias. */
1889#if defined __stub_$2 || defined __stub___$2
1890choke me
1891#endif
1892
1893int
1894main ()
1895{
1896return $2 ();
1897 ;
1898 return 0;
1899}
1900_ACEOF
1901if ac_fn_c_try_link "$LINENO"; then :
1902 eval "$3=yes"
1903else
1904 eval "$3=no"
1905fi
1906rm -f core conftest.err conftest.$ac_objext \
1907 conftest$ac_exeext conftest.$ac_ext
1908fi
1909eval ac_res=\$$3
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911$as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913
1914} # ac_fn_c_check_func
1915
1916# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1917# -------------------------------------------------------
1918# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1919# the include files in INCLUDES and setting the cache variable VAR
1920# accordingly.
1921ac_fn_c_check_header_mongrel ()
1922{
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 if eval "test \"\${$3+set}\"" = set; then :
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926$as_echo_n "checking for $2... " >&6; }
1927if eval "test \"\${$3+set}\"" = set; then :
1928 $as_echo_n "(cached) " >&6
1929fi
1930eval ac_res=\$$3
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932$as_echo "$ac_res" >&6; }
1933else
1934 # Is the header compilable?
1935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1936$as_echo_n "checking $2 usability... " >&6; }
1937cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938/* end confdefs.h. */
1939$4
1940#include <$2>
1941_ACEOF
1942if ac_fn_c_try_compile "$LINENO"; then :
1943 ac_header_compiler=yes
1944else
1945 ac_header_compiler=no
1946fi
1947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1949$as_echo "$ac_header_compiler" >&6; }
1950
1951# Is the header present?
1952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1953$as_echo_n "checking $2 presence... " >&6; }
1954cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955/* end confdefs.h. */
1956#include <$2>
1957_ACEOF
1958if ac_fn_c_try_cpp "$LINENO"; then :
1959 ac_header_preproc=yes
1960else
1961 ac_header_preproc=no
1962fi
1963rm -f conftest.err conftest.i conftest.$ac_ext
1964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1965$as_echo "$ac_header_preproc" >&6; }
1966
1967# So? What about this header?
1968case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1969 yes:no: )
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1971$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1973$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1974 ;;
1975 no:yes:* )
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1977$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1979$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1981$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1983$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1985$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1986( $as_echo "## -------------------------------------------------------- ##
1987## Report this to enlightenment-devel@lists.sourceforge.net ##
1988## -------------------------------------------------------- ##"
1989 ) | sed "s/^/$as_me: WARNING: /" >&2
1990 ;;
1991esac
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993$as_echo_n "checking for $2... " >&6; }
1994if eval "test \"\${$3+set}\"" = set; then :
1995 $as_echo_n "(cached) " >&6
1996else
1997 eval "$3=\$ac_header_compiler"
1998fi
1999eval ac_res=\$$3
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001$as_echo "$ac_res" >&6; }
2002fi
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2004
2005} # ac_fn_c_check_header_mongrel
2006cat >config.log <<_ACEOF
2007This file contains any messages produced by compilers while
2008running configure, to aid debugging if configure makes a mistake.
2009
2010It was created by embryo $as_me 1.1.0, which was
2011generated by GNU Autoconf 2.67. Invocation command line was
2012
2013 $ $0 $@
2014
2015_ACEOF
2016exec 5>>config.log
2017{
2018cat <<_ASUNAME
2019## --------- ##
2020## Platform. ##
2021## --------- ##
2022
2023hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2024uname -m = `(uname -m) 2>/dev/null || echo unknown`
2025uname -r = `(uname -r) 2>/dev/null || echo unknown`
2026uname -s = `(uname -s) 2>/dev/null || echo unknown`
2027uname -v = `(uname -v) 2>/dev/null || echo unknown`
2028
2029/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2030/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2031
2032/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2033/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2034/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2035/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2036/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2037/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2038/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2039
2040_ASUNAME
2041
2042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 $as_echo "PATH: $as_dir"
2048 done
2049IFS=$as_save_IFS
2050
2051} >&5
2052
2053cat >&5 <<_ACEOF
2054
2055
2056## ----------- ##
2057## Core tests. ##
2058## ----------- ##
2059
2060_ACEOF
2061
2062
2063# Keep a trace of the command line.
2064# Strip out --no-create and --no-recursion so they do not pile up.
2065# Strip out --silent because we don't want to record it for future runs.
2066# Also quote any args containing shell meta-characters.
2067# Make two passes to allow for proper duplicate-argument suppression.
2068ac_configure_args=
2069ac_configure_args0=
2070ac_configure_args1=
2071ac_must_keep_next=false
2072for ac_pass in 1 2
2073do
2074 for ac_arg
2075 do
2076 case $ac_arg in
2077 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2079 | -silent | --silent | --silen | --sile | --sil)
2080 continue ;;
2081 *\'*)
2082 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2083 esac
2084 case $ac_pass in
2085 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2086 2)
2087 as_fn_append ac_configure_args1 " '$ac_arg'"
2088 if test $ac_must_keep_next = true; then
2089 ac_must_keep_next=false # Got value, back to normal.
2090 else
2091 case $ac_arg in
2092 *=* | --config-cache | -C | -disable-* | --disable-* \
2093 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2094 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2095 | -with-* | --with-* | -without-* | --without-* | --x)
2096 case "$ac_configure_args0 " in
2097 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2098 esac
2099 ;;
2100 -* ) ac_must_keep_next=true ;;
2101 esac
2102 fi
2103 as_fn_append ac_configure_args " '$ac_arg'"
2104 ;;
2105 esac
2106 done
2107done
2108{ ac_configure_args0=; unset ac_configure_args0;}
2109{ ac_configure_args1=; unset ac_configure_args1;}
2110
2111# When interrupted or exit'd, cleanup temporary files, and complete
2112# config.log. We remove comments because anyway the quotes in there
2113# would cause problems or look ugly.
2114# WARNING: Use '\'' to represent an apostrophe within the trap.
2115# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2116trap 'exit_status=$?
2117 # Save into config.log some information that might help in debugging.
2118 {
2119 echo
2120
2121 $as_echo "## ---------------- ##
2122## Cache variables. ##
2123## ---------------- ##"
2124 echo
2125 # The following way of writing the cache mishandles newlines in values,
2126(
2127 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2128 eval ac_val=\$$ac_var
2129 case $ac_val in #(
2130 *${as_nl}*)
2131 case $ac_var in #(
2132 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2133$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2134 esac
2135 case $ac_var in #(
2136 _ | IFS | as_nl) ;; #(
2137 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2138 *) { eval $ac_var=; unset $ac_var;} ;;
2139 esac ;;
2140 esac
2141 done
2142 (set) 2>&1 |
2143 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2144 *${as_nl}ac_space=\ *)
2145 sed -n \
2146 "s/'\''/'\''\\\\'\'''\''/g;
2147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2148 ;; #(
2149 *)
2150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2151 ;;
2152 esac |
2153 sort
2154)
2155 echo
2156
2157 $as_echo "## ----------------- ##
2158## Output variables. ##
2159## ----------------- ##"
2160 echo
2161 for ac_var in $ac_subst_vars
2162 do
2163 eval ac_val=\$$ac_var
2164 case $ac_val in
2165 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2166 esac
2167 $as_echo "$ac_var='\''$ac_val'\''"
2168 done | sort
2169 echo
2170
2171 if test -n "$ac_subst_files"; then
2172 $as_echo "## ------------------- ##
2173## File substitutions. ##
2174## ------------------- ##"
2175 echo
2176 for ac_var in $ac_subst_files
2177 do
2178 eval ac_val=\$$ac_var
2179 case $ac_val in
2180 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2181 esac
2182 $as_echo "$ac_var='\''$ac_val'\''"
2183 done | sort
2184 echo
2185 fi
2186
2187 if test -s confdefs.h; then
2188 $as_echo "## ----------- ##
2189## confdefs.h. ##
2190## ----------- ##"
2191 echo
2192 cat confdefs.h
2193 echo
2194 fi
2195 test "$ac_signal" != 0 &&
2196 $as_echo "$as_me: caught signal $ac_signal"
2197 $as_echo "$as_me: exit $exit_status"
2198 } >&5
2199 rm -f core *.core core.conftest.* &&
2200 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2201 exit $exit_status
2202' 0
2203for ac_signal in 1 2 13 15; do
2204 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2205done
2206ac_signal=0
2207
2208# confdefs.h avoids OS command line length limits that DEFS can exceed.
2209rm -f -r conftest* confdefs.h
2210
2211$as_echo "/* confdefs.h */" > confdefs.h
2212
2213# Predefined preprocessor variables.
2214
2215cat >>confdefs.h <<_ACEOF
2216#define PACKAGE_NAME "$PACKAGE_NAME"
2217_ACEOF
2218
2219cat >>confdefs.h <<_ACEOF
2220#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2221_ACEOF
2222
2223cat >>confdefs.h <<_ACEOF
2224#define PACKAGE_VERSION "$PACKAGE_VERSION"
2225_ACEOF
2226
2227cat >>confdefs.h <<_ACEOF
2228#define PACKAGE_STRING "$PACKAGE_STRING"
2229_ACEOF
2230
2231cat >>confdefs.h <<_ACEOF
2232#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2233_ACEOF
2234
2235cat >>confdefs.h <<_ACEOF
2236#define PACKAGE_URL "$PACKAGE_URL"
2237_ACEOF
2238
2239
2240# Let the site file select an alternate cache file if it wants to.
2241# Prefer an explicitly selected file to automatically selected ones.
2242ac_site_file1=NONE
2243ac_site_file2=NONE
2244if test -n "$CONFIG_SITE"; then
2245 # We do not want a PATH search for config.site.
2246 case $CONFIG_SITE in #((
2247 -*) ac_site_file1=./$CONFIG_SITE;;
2248 */*) ac_site_file1=$CONFIG_SITE;;
2249 *) ac_site_file1=./$CONFIG_SITE;;
2250 esac
2251elif test "x$prefix" != xNONE; then
2252 ac_site_file1=$prefix/share/config.site
2253 ac_site_file2=$prefix/etc/config.site
2254else
2255 ac_site_file1=$ac_default_prefix/share/config.site
2256 ac_site_file2=$ac_default_prefix/etc/config.site
2257fi
2258for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2259do
2260 test "x$ac_site_file" = xNONE && continue
2261 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2263$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2264 sed 's/^/| /' "$ac_site_file" >&5
2265 . "$ac_site_file" \
2266 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268as_fn_error $? "failed to load site script $ac_site_file
2269See \`config.log' for more details" "$LINENO" 5 ; }
2270 fi
2271done
2272
2273if test -r "$cache_file"; then
2274 # Some versions of bash will fail to source /dev/null (special files
2275 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2276 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2278$as_echo "$as_me: loading cache $cache_file" >&6;}
2279 case $cache_file in
2280 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2281 *) . "./$cache_file";;
2282 esac
2283 fi
2284else
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2286$as_echo "$as_me: creating cache $cache_file" >&6;}
2287 >$cache_file
2288fi
2289
2290# Check that the precious variables saved in the cache have kept the same
2291# value.
2292ac_cache_corrupted=false
2293for ac_var in $ac_precious_vars; do
2294 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2295 eval ac_new_set=\$ac_env_${ac_var}_set
2296 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2297 eval ac_new_val=\$ac_env_${ac_var}_value
2298 case $ac_old_set,$ac_new_set in
2299 set,)
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2301$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2302 ac_cache_corrupted=: ;;
2303 ,set)
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2305$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2306 ac_cache_corrupted=: ;;
2307 ,);;
2308 *)
2309 if test "x$ac_old_val" != "x$ac_new_val"; then
2310 # differences in whitespace do not lead to failure.
2311 ac_old_val_w=`echo x $ac_old_val`
2312 ac_new_val_w=`echo x $ac_new_val`
2313 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2315$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2316 ac_cache_corrupted=:
2317 else
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2319$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2320 eval $ac_var=\$ac_old_val
2321 fi
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2323$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2325$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2326 fi;;
2327 esac
2328 # Pass precious variables to config.status.
2329 if test "$ac_new_set" = set; then
2330 case $ac_new_val in
2331 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2332 *) ac_arg=$ac_var=$ac_new_val ;;
2333 esac
2334 case " $ac_configure_args " in
2335 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2336 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2337 esac
2338 fi
2339done
2340if $ac_cache_corrupted; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2344$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2345 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2346fi
2347## -------------------- ##
2348## Main body of script. ##
2349## -------------------- ##
2350
2351ac_ext=c
2352ac_cpp='$CPP $CPPFLAGS'
2353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355ac_compiler_gnu=$ac_cv_c_compiler_gnu
2356
2357
2358
2359
2360
2361
2362ac_config_headers="$ac_config_headers config.h"
2363
2364
2365
2366
2367am__api_version='1.11'
2368
2369ac_aux_dir=
2370for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2371 if test -f "$ac_dir/install-sh"; then
2372 ac_aux_dir=$ac_dir
2373 ac_install_sh="$ac_aux_dir/install-sh -c"
2374 break
2375 elif test -f "$ac_dir/install.sh"; then
2376 ac_aux_dir=$ac_dir
2377 ac_install_sh="$ac_aux_dir/install.sh -c"
2378 break
2379 elif test -f "$ac_dir/shtool"; then
2380 ac_aux_dir=$ac_dir
2381 ac_install_sh="$ac_aux_dir/shtool install -c"
2382 break
2383 fi
2384done
2385if test -z "$ac_aux_dir"; then
2386 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2387fi
2388
2389# These three variables are undocumented and unsupported,
2390# and are intended to be withdrawn in a future Autoconf release.
2391# They can cause serious problems if a builder's source tree is in a directory
2392# whose full name contains unusual characters.
2393ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396
2397
2398# Find a good install program. We prefer a C program (faster),
2399# so one script is as good as another. But avoid the broken or
2400# incompatible versions:
2401# SysV /etc/install, /usr/sbin/install
2402# SunOS /usr/etc/install
2403# IRIX /sbin/install
2404# AIX /bin/install
2405# AmigaOS /C/install, which installs bootblocks on floppy discs
2406# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2407# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2408# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2409# OS/2's system install, which has a completely different semantic
2410# ./install, which can be erroneously created by make from ./install.sh.
2411# Reject install programs that cannot install multiple files.
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2413$as_echo_n "checking for a BSD-compatible install... " >&6; }
2414if test -z "$INSTALL"; then
2415if test "${ac_cv_path_install+set}" = set; then :
2416 $as_echo_n "(cached) " >&6
2417else
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419for as_dir in $PATH
2420do
2421 IFS=$as_save_IFS
2422 test -z "$as_dir" && as_dir=.
2423 # Account for people who put trailing slashes in PATH elements.
2424case $as_dir/ in #((
2425 ./ | .// | /[cC]/* | \
2426 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2427 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2428 /usr/ucb/* ) ;;
2429 *)
2430 # OSF1 and SCO ODT 3.0 have their own names for install.
2431 # Don't use installbsd from OSF since it installs stuff as root
2432 # by default.
2433 for ac_prog in ginstall scoinst install; do
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2436 if test $ac_prog = install &&
2437 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2438 # AIX install. It has an incompatible calling convention.
2439 :
2440 elif test $ac_prog = install &&
2441 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2442 # program-specific install script used by HP pwplus--don't use.
2443 :
2444 else
2445 rm -rf conftest.one conftest.two conftest.dir
2446 echo one > conftest.one
2447 echo two > conftest.two
2448 mkdir conftest.dir
2449 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2450 test -s conftest.one && test -s conftest.two &&
2451 test -s conftest.dir/conftest.one &&
2452 test -s conftest.dir/conftest.two
2453 then
2454 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2455 break 3
2456 fi
2457 fi
2458 fi
2459 done
2460 done
2461 ;;
2462esac
2463
2464 done
2465IFS=$as_save_IFS
2466
2467rm -rf conftest.one conftest.two conftest.dir
2468
2469fi
2470 if test "${ac_cv_path_install+set}" = set; then
2471 INSTALL=$ac_cv_path_install
2472 else
2473 # As a last resort, use the slow shell script. Don't cache a
2474 # value for INSTALL within a source directory, because that will
2475 # break other packages using the cache if that directory is
2476 # removed, or if the value is a relative name.
2477 INSTALL=$ac_install_sh
2478 fi
2479fi
2480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2481$as_echo "$INSTALL" >&6; }
2482
2483# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2484# It thinks the first close brace ends the variable substitution.
2485test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2486
2487test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2488
2489test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2490
2491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2492$as_echo_n "checking whether build environment is sane... " >&6; }
2493# Just in case
2494sleep 1
2495echo timestamp > conftest.file
2496# Reject unsafe characters in $srcdir or the absolute working directory
2497# name. Accept space and tab only in the latter.
2498am_lf='
2499'
2500case `pwd` in
2501 *[\\\"\#\$\&\'\`$am_lf]*)
2502 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2503esac
2504case $srcdir in
2505 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2506 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2507esac
2508
2509# Do `set' in a subshell so we don't clobber the current shell's
2510# arguments. Must try -L first in case configure is actually a
2511# symlink; some systems play weird games with the mod time of symlinks
2512# (eg FreeBSD returns the mod time of the symlink's containing
2513# directory).
2514if (
2515 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2516 if test "$*" = "X"; then
2517 # -L didn't work.
2518 set X `ls -t "$srcdir/configure" conftest.file`
2519 fi
2520 rm -f conftest.file
2521 if test "$*" != "X $srcdir/configure conftest.file" \
2522 && test "$*" != "X conftest.file $srcdir/configure"; then
2523
2524 # If neither matched, then we have a broken ls. This can happen
2525 # if, for instance, CONFIG_SHELL is bash and it inherits a
2526 # broken ls alias from the environment. This has actually
2527 # happened. Such a system could not be considered "sane".
2528 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2529alias in your environment" "$LINENO" 5
2530 fi
2531
2532 test "$2" = conftest.file
2533 )
2534then
2535 # Ok.
2536 :
2537else
2538 as_fn_error $? "newly created file is older than distributed files!
2539Check your system clock" "$LINENO" 5
2540fi
2541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2542$as_echo "yes" >&6; }
2543test "$program_prefix" != NONE &&
2544 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2545# Use a double $ so make ignores it.
2546test "$program_suffix" != NONE &&
2547 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2548# Double any \ or $.
2549# By default was `s,x,x', remove it if useless.
2550ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2551program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2552
2553# expand $ac_aux_dir to an absolute path
2554am_aux_dir=`cd $ac_aux_dir && pwd`
2555
2556if test x"${MISSING+set}" != xset; then
2557 case $am_aux_dir in
2558 *\ * | *\ *)
2559 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2560 *)
2561 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2562 esac
2563fi
2564# Use eval to expand $SHELL
2565if eval "$MISSING --run true"; then
2566 am_missing_run="$MISSING --run "
2567else
2568 am_missing_run=
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2570$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2571fi
2572
2573if test x"${install_sh}" != xset; then
2574 case $am_aux_dir in
2575 *\ * | *\ *)
2576 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2577 *)
2578 install_sh="\${SHELL} $am_aux_dir/install-sh"
2579 esac
2580fi
2581
2582# Installed binaries are usually stripped using `strip' when the user
2583# run `make install-strip'. However `strip' might not be the right
2584# tool to use in cross-compilation environments, therefore Automake
2585# will honor the `STRIP' environment variable to overrule this program.
2586if test "$cross_compiling" != no; then
2587 if test -n "$ac_tool_prefix"; then
2588 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2589set dummy ${ac_tool_prefix}strip; ac_word=$2
2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591$as_echo_n "checking for $ac_word... " >&6; }
2592if test "${ac_cv_prog_STRIP+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2594else
2595 if test -n "$STRIP"; then
2596 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2597else
2598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599for as_dir in $PATH
2600do
2601 IFS=$as_save_IFS
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 break 2
2608 fi
2609done
2610 done
2611IFS=$as_save_IFS
2612
2613fi
2614fi
2615STRIP=$ac_cv_prog_STRIP
2616if test -n "$STRIP"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2618$as_echo "$STRIP" >&6; }
2619else
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621$as_echo "no" >&6; }
2622fi
2623
2624
2625fi
2626if test -z "$ac_cv_prog_STRIP"; then
2627 ac_ct_STRIP=$STRIP
2628 # Extract the first word of "strip", so it can be a program name with args.
2629set dummy strip; ac_word=$2
2630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631$as_echo_n "checking for $ac_word... " >&6; }
2632if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2633 $as_echo_n "(cached) " >&6
2634else
2635 if test -n "$ac_ct_STRIP"; then
2636 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2637else
2638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639for as_dir in $PATH
2640do
2641 IFS=$as_save_IFS
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645 ac_cv_prog_ac_ct_STRIP="strip"
2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 break 2
2648 fi
2649done
2650 done
2651IFS=$as_save_IFS
2652
2653fi
2654fi
2655ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2656if test -n "$ac_ct_STRIP"; then
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2658$as_echo "$ac_ct_STRIP" >&6; }
2659else
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661$as_echo "no" >&6; }
2662fi
2663
2664 if test "x$ac_ct_STRIP" = x; then
2665 STRIP=":"
2666 else
2667 case $cross_compiling:$ac_tool_warned in
2668yes:)
2669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2671ac_tool_warned=yes ;;
2672esac
2673 STRIP=$ac_ct_STRIP
2674 fi
2675else
2676 STRIP="$ac_cv_prog_STRIP"
2677fi
2678
2679fi
2680INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2681
2682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2683$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2684if test -z "$MKDIR_P"; then
2685 if test "${ac_cv_path_mkdir+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2687else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2690do
2691 IFS=$as_save_IFS
2692 test -z "$as_dir" && as_dir=.
2693 for ac_prog in mkdir gmkdir; do
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2696 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2697 'mkdir (GNU coreutils) '* | \
2698 'mkdir (coreutils) '* | \
2699 'mkdir (fileutils) '4.1*)
2700 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2701 break 3;;
2702 esac
2703 done
2704 done
2705 done
2706IFS=$as_save_IFS
2707
2708fi
2709
2710 test -d ./--version && rmdir ./--version
2711 if test "${ac_cv_path_mkdir+set}" = set; then
2712 MKDIR_P="$ac_cv_path_mkdir -p"
2713 else
2714 # As a last resort, use the slow shell script. Don't cache a
2715 # value for MKDIR_P within a source directory, because that will
2716 # break other packages using the cache if that directory is
2717 # removed, or if the value is a relative name.
2718 MKDIR_P="$ac_install_sh -d"
2719 fi
2720fi
2721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2722$as_echo "$MKDIR_P" >&6; }
2723
2724mkdir_p="$MKDIR_P"
2725case $mkdir_p in
2726 [\\/$]* | ?:[\\/]*) ;;
2727 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2728esac
2729
2730for ac_prog in gawk mawk nawk awk
2731do
2732 # Extract the first word of "$ac_prog", so it can be a program name with args.
2733set dummy $ac_prog; ac_word=$2
2734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735$as_echo_n "checking for $ac_word... " >&6; }
2736if test "${ac_cv_prog_AWK+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2738else
2739 if test -n "$AWK"; then
2740 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2741else
2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743for as_dir in $PATH
2744do
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_AWK="$ac_prog"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 break 2
2752 fi
2753done
2754 done
2755IFS=$as_save_IFS
2756
2757fi
2758fi
2759AWK=$ac_cv_prog_AWK
2760if test -n "$AWK"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2762$as_echo "$AWK" >&6; }
2763else
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765$as_echo "no" >&6; }
2766fi
2767
2768
2769 test -n "$AWK" && break
2770done
2771
2772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2773$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2774set x ${MAKE-make}
2775ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2776if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2777 $as_echo_n "(cached) " >&6
2778else
2779 cat >conftest.make <<\_ACEOF
2780SHELL = /bin/sh
2781all:
2782 @echo '@@@%%%=$(MAKE)=@@@%%%'
2783_ACEOF
2784# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2785case `${MAKE-make} -f conftest.make 2>/dev/null` in
2786 *@@@%%%=?*=@@@%%%*)
2787 eval ac_cv_prog_make_${ac_make}_set=yes;;
2788 *)
2789 eval ac_cv_prog_make_${ac_make}_set=no;;
2790esac
2791rm -f conftest.make
2792fi
2793if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2795$as_echo "yes" >&6; }
2796 SET_MAKE=
2797else
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799$as_echo "no" >&6; }
2800 SET_MAKE="MAKE=${MAKE-make}"
2801fi
2802
2803rm -rf .tst 2>/dev/null
2804mkdir .tst 2>/dev/null
2805if test -d .tst; then
2806 am__leading_dot=.
2807else
2808 am__leading_dot=_
2809fi
2810rmdir .tst 2>/dev/null
2811
2812if test "`cd $srcdir && pwd`" != "`pwd`"; then
2813 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2814 # is not polluted with repeated "-I."
2815 am__isrc=' -I$(srcdir)'
2816 # test to see if srcdir already configured
2817 if test -f $srcdir/config.status; then
2818 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2819 fi
2820fi
2821
2822# test whether we have cygpath
2823if test -z "$CYGPATH_W"; then
2824 if (cygpath --version) >/dev/null 2>/dev/null; then
2825 CYGPATH_W='cygpath -w'
2826 else
2827 CYGPATH_W=echo
2828 fi
2829fi
2830
2831
2832# Define the identity of the package.
2833 PACKAGE='embryo'
2834 VERSION='1.1.0'
2835
2836
2837cat >>confdefs.h <<_ACEOF
2838#define PACKAGE "$PACKAGE"
2839_ACEOF
2840
2841
2842cat >>confdefs.h <<_ACEOF
2843#define VERSION "$VERSION"
2844_ACEOF
2845
2846# Some tools Automake needs.
2847
2848ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2849
2850
2851AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2852
2853
2854AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2855
2856
2857AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2858
2859
2860MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2861
2862# We need awk for the "check" target. The system "awk" is bad on
2863# some platforms.
2864# Always define AMTAR for backward compatibility.
2865
2866AMTAR=${AMTAR-"${am_missing_run}tar"}
2867
2868am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2869
2870
2871
2872
2873
2874# Check whether --enable-silent-rules was given.
2875if test "${enable_silent_rules+set}" = set; then :
2876 enableval=$enable_silent_rules;
2877fi
2878
2879case $enable_silent_rules in
2880yes) AM_DEFAULT_VERBOSITY=0;;
2881no) AM_DEFAULT_VERBOSITY=1;;
2882*) AM_DEFAULT_VERBOSITY=0;;
2883esac
2884AM_BACKSLASH='\'
2885
2886
2887# Make sure we can run config.sub.
2888$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2889 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2890
2891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2892$as_echo_n "checking build system type... " >&6; }
2893if test "${ac_cv_build+set}" = set; then :
2894 $as_echo_n "(cached) " >&6
2895else
2896 ac_build_alias=$build_alias
2897test "x$ac_build_alias" = x &&
2898 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2899test "x$ac_build_alias" = x &&
2900 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2901ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2902 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2903
2904fi
2905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2906$as_echo "$ac_cv_build" >&6; }
2907case $ac_cv_build in
2908*-*-*) ;;
2909*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2910esac
2911build=$ac_cv_build
2912ac_save_IFS=$IFS; IFS='-'
2913set x $ac_cv_build
2914shift
2915build_cpu=$1
2916build_vendor=$2
2917shift; shift
2918# Remember, the first character of IFS is used to create $*,
2919# except with old shells:
2920build_os=$*
2921IFS=$ac_save_IFS
2922case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2923
2924
2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2926$as_echo_n "checking host system type... " >&6; }
2927if test "${ac_cv_host+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929else
2930 if test "x$host_alias" = x; then
2931 ac_cv_host=$ac_cv_build
2932else
2933 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2934 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2935fi
2936
2937fi
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2939$as_echo "$ac_cv_host" >&6; }
2940case $ac_cv_host in
2941*-*-*) ;;
2942*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2943esac
2944host=$ac_cv_host
2945ac_save_IFS=$IFS; IFS='-'
2946set x $ac_cv_host
2947shift
2948host_cpu=$1
2949host_vendor=$2
2950shift; shift
2951# Remember, the first character of IFS is used to create $*,
2952# except with old shells:
2953host_os=$*
2954IFS=$ac_save_IFS
2955case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2956
2957
2958enable_win32_dll=yes
2959
2960case $host in
2961*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
2962 if test -n "$ac_tool_prefix"; then
2963 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2964set dummy ${ac_tool_prefix}as; ac_word=$2
2965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966$as_echo_n "checking for $ac_word... " >&6; }
2967if test "${ac_cv_prog_AS+set}" = set; then :
2968 $as_echo_n "(cached) " >&6
2969else
2970 if test -n "$AS"; then
2971 ac_cv_prog_AS="$AS" # Let the user override the test.
2972else
2973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974for as_dir in $PATH
2975do
2976 IFS=$as_save_IFS
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 ac_cv_prog_AS="${ac_tool_prefix}as"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 break 2
2983 fi
2984done
2985 done
2986IFS=$as_save_IFS
2987
2988fi
2989fi
2990AS=$ac_cv_prog_AS
2991if test -n "$AS"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2993$as_echo "$AS" >&6; }
2994else
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996$as_echo "no" >&6; }
2997fi
2998
2999
3000fi
3001if test -z "$ac_cv_prog_AS"; then
3002 ac_ct_AS=$AS
3003 # Extract the first word of "as", so it can be a program name with args.
3004set dummy as; ac_word=$2
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006$as_echo_n "checking for $ac_word... " >&6; }
3007if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3008 $as_echo_n "(cached) " >&6
3009else
3010 if test -n "$ac_ct_AS"; then
3011 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3012else
3013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014for as_dir in $PATH
3015do
3016 IFS=$as_save_IFS
3017 test -z "$as_dir" && as_dir=.
3018 for ac_exec_ext in '' $ac_executable_extensions; do
3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020 ac_cv_prog_ac_ct_AS="as"
3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 break 2
3023 fi
3024done
3025 done
3026IFS=$as_save_IFS
3027
3028fi
3029fi
3030ac_ct_AS=$ac_cv_prog_ac_ct_AS
3031if test -n "$ac_ct_AS"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3033$as_echo "$ac_ct_AS" >&6; }
3034else
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036$as_echo "no" >&6; }
3037fi
3038
3039 if test "x$ac_ct_AS" = x; then
3040 AS="false"
3041 else
3042 case $cross_compiling:$ac_tool_warned in
3043yes:)
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046ac_tool_warned=yes ;;
3047esac
3048 AS=$ac_ct_AS
3049 fi
3050else
3051 AS="$ac_cv_prog_AS"
3052fi
3053
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3056set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058$as_echo_n "checking for $ac_word... " >&6; }
3059if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3060 $as_echo_n "(cached) " >&6
3061else
3062 if test -n "$DLLTOOL"; then
3063 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3064else
3065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066for as_dir in $PATH
3067do
3068 IFS=$as_save_IFS
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 break 2
3075 fi
3076done
3077 done
3078IFS=$as_save_IFS
3079
3080fi
3081fi
3082DLLTOOL=$ac_cv_prog_DLLTOOL
3083if test -n "$DLLTOOL"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3085$as_echo "$DLLTOOL" >&6; }
3086else
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088$as_echo "no" >&6; }
3089fi
3090
3091
3092fi
3093if test -z "$ac_cv_prog_DLLTOOL"; then
3094 ac_ct_DLLTOOL=$DLLTOOL
3095 # Extract the first word of "dlltool", so it can be a program name with args.
3096set dummy dlltool; ac_word=$2
3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098$as_echo_n "checking for $ac_word... " >&6; }
3099if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3101else
3102 if test -n "$ac_ct_DLLTOOL"; then
3103 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3104else
3105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106for as_dir in $PATH
3107do
3108 IFS=$as_save_IFS
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 break 2
3115 fi
3116done
3117 done
3118IFS=$as_save_IFS
3119
3120fi
3121fi
3122ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3123if test -n "$ac_ct_DLLTOOL"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3125$as_echo "$ac_ct_DLLTOOL" >&6; }
3126else
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128$as_echo "no" >&6; }
3129fi
3130
3131 if test "x$ac_ct_DLLTOOL" = x; then
3132 DLLTOOL="false"
3133 else
3134 case $cross_compiling:$ac_tool_warned in
3135yes:)
3136{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138ac_tool_warned=yes ;;
3139esac
3140 DLLTOOL=$ac_ct_DLLTOOL
3141 fi
3142else
3143 DLLTOOL="$ac_cv_prog_DLLTOOL"
3144fi
3145
3146 if test -n "$ac_tool_prefix"; then
3147 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3148set dummy ${ac_tool_prefix}objdump; ac_word=$2
3149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150$as_echo_n "checking for $ac_word... " >&6; }
3151if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3152 $as_echo_n "(cached) " >&6
3153else
3154 if test -n "$OBJDUMP"; then
3155 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3156else
3157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158for as_dir in $PATH
3159do
3160 IFS=$as_save_IFS
3161 test -z "$as_dir" && as_dir=.
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 break 2
3167 fi
3168done
3169 done
3170IFS=$as_save_IFS
3171
3172fi
3173fi
3174OBJDUMP=$ac_cv_prog_OBJDUMP
3175if test -n "$OBJDUMP"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3177$as_echo "$OBJDUMP" >&6; }
3178else
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180$as_echo "no" >&6; }
3181fi
3182
3183
3184fi
3185if test -z "$ac_cv_prog_OBJDUMP"; then
3186 ac_ct_OBJDUMP=$OBJDUMP
3187 # Extract the first word of "objdump", so it can be a program name with args.
3188set dummy objdump; ac_word=$2
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190$as_echo_n "checking for $ac_word... " >&6; }
3191if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3192 $as_echo_n "(cached) " >&6
3193else
3194 if test -n "$ac_ct_OBJDUMP"; then
3195 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3196else
3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198for as_dir in $PATH
3199do
3200 IFS=$as_save_IFS
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 break 2
3207 fi
3208done
3209 done
3210IFS=$as_save_IFS
3211
3212fi
3213fi
3214ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3215if test -n "$ac_ct_OBJDUMP"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3217$as_echo "$ac_ct_OBJDUMP" >&6; }
3218else
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220$as_echo "no" >&6; }
3221fi
3222
3223 if test "x$ac_ct_OBJDUMP" = x; then
3224 OBJDUMP="false"
3225 else
3226 case $cross_compiling:$ac_tool_warned in
3227yes:)
3228{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3229$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3230ac_tool_warned=yes ;;
3231esac
3232 OBJDUMP=$ac_ct_OBJDUMP
3233 fi
3234else
3235 OBJDUMP="$ac_cv_prog_OBJDUMP"
3236fi
3237
3238 ;;
3239esac
3240
3241test -z "$AS" && AS=as
3242
3243
3244
3245
3246
3247test -z "$DLLTOOL" && DLLTOOL=dlltool
3248
3249
3250
3251
3252
3253test -z "$OBJDUMP" && OBJDUMP=objdump
3254
3255
3256
3257
3258
3259
3260
3261case `pwd` in
3262 *\ * | *\ *)
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3264$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3265esac
3266
3267
3268
3269macro_version='2.2.6b'
3270macro_revision='1.3017'
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284ltmain="$ac_aux_dir/ltmain.sh"
3285
3286DEPDIR="${am__leading_dot}deps"
3287
3288ac_config_commands="$ac_config_commands depfiles"
3289
3290
3291am_make=${MAKE-make}
3292cat > confinc << 'END'
3293am__doit:
3294 @echo this is the am__doit target
3295.PHONY: am__doit
3296END
3297# If we don't find an include directive, just comment out the code.
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3299$as_echo_n "checking for style of include used by $am_make... " >&6; }
3300am__include="#"
3301am__quote=
3302_am_result=none
3303# First try GNU make style include.
3304echo "include confinc" > confmf
3305# Ignore all kinds of additional output from `make'.
3306case `$am_make -s -f confmf 2> /dev/null` in #(
3307*the\ am__doit\ target*)
3308 am__include=include
3309 am__quote=
3310 _am_result=GNU
3311 ;;
3312esac
3313# Now try BSD make style include.
3314if test "$am__include" = "#"; then
3315 echo '.include "confinc"' > confmf
3316 case `$am_make -s -f confmf 2> /dev/null` in #(
3317 *the\ am__doit\ target*)
3318 am__include=.include
3319 am__quote="\""
3320 _am_result=BSD
3321 ;;
3322 esac
3323fi
3324
3325
3326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3327$as_echo "$_am_result" >&6; }
3328rm -f confinc confmf
3329
3330# Check whether --enable-dependency-tracking was given.
3331if test "${enable_dependency_tracking+set}" = set; then :
3332 enableval=$enable_dependency_tracking;
3333fi
3334
3335if test "x$enable_dependency_tracking" != xno; then
3336 am_depcomp="$ac_aux_dir/depcomp"
3337 AMDEPBACKSLASH='\'
3338fi
3339 if test "x$enable_dependency_tracking" != xno; then
3340 AMDEP_TRUE=
3341 AMDEP_FALSE='#'
3342else
3343 AMDEP_TRUE='#'
3344 AMDEP_FALSE=
3345fi
3346
3347
3348ac_ext=c
3349ac_cpp='$CPP $CPPFLAGS'
3350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352ac_compiler_gnu=$ac_cv_c_compiler_gnu
3353if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3355set dummy ${ac_tool_prefix}gcc; ac_word=$2
3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357$as_echo_n "checking for $ac_word... " >&6; }
3358if test "${ac_cv_prog_CC+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3360else
3361 if test -n "$CC"; then
3362 ac_cv_prog_CC="$CC" # Let the user override the test.
3363else
3364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365for as_dir in $PATH
3366do
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3374 fi
3375done
3376 done
3377IFS=$as_save_IFS
3378
3379fi
3380fi
3381CC=$ac_cv_prog_CC
3382if test -n "$CC"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3384$as_echo "$CC" >&6; }
3385else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387$as_echo "no" >&6; }
3388fi
3389
3390
3391fi
3392if test -z "$ac_cv_prog_CC"; then
3393 ac_ct_CC=$CC
3394 # Extract the first word of "gcc", so it can be a program name with args.
3395set dummy gcc; ac_word=$2
3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397$as_echo_n "checking for $ac_word... " >&6; }
3398if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400else
3401 if test -n "$ac_ct_CC"; then
3402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3403else
3404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405for as_dir in $PATH
3406do
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_CC="gcc"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3414 fi
3415done
3416 done
3417IFS=$as_save_IFS
3418
3419fi
3420fi
3421ac_ct_CC=$ac_cv_prog_ac_ct_CC
3422if test -n "$ac_ct_CC"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3424$as_echo "$ac_ct_CC" >&6; }
3425else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427$as_echo "no" >&6; }
3428fi
3429
3430 if test "x$ac_ct_CC" = x; then
3431 CC=""
3432 else
3433 case $cross_compiling:$ac_tool_warned in
3434yes:)
3435{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437ac_tool_warned=yes ;;
3438esac
3439 CC=$ac_ct_CC
3440 fi
3441else
3442 CC="$ac_cv_prog_CC"
3443fi
3444
3445if test -z "$CC"; then
3446 if test -n "$ac_tool_prefix"; then
3447 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3448set dummy ${ac_tool_prefix}cc; ac_word=$2
3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3450$as_echo_n "checking for $ac_word... " >&6; }
3451if test "${ac_cv_prog_CC+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453else
3454 if test -n "$CC"; then
3455 ac_cv_prog_CC="$CC" # Let the user override the test.
3456else
3457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458for as_dir in $PATH
3459do
3460 IFS=$as_save_IFS
3461 test -z "$as_dir" && as_dir=.
3462 for ac_exec_ext in '' $ac_executable_extensions; do
3463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3464 ac_cv_prog_CC="${ac_tool_prefix}cc"
3465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 break 2
3467 fi
3468done
3469 done
3470IFS=$as_save_IFS
3471
3472fi
3473fi
3474CC=$ac_cv_prog_CC
3475if test -n "$CC"; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3477$as_echo "$CC" >&6; }
3478else
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480$as_echo "no" >&6; }
3481fi
3482
3483
3484 fi
3485fi
3486if test -z "$CC"; then
3487 # Extract the first word of "cc", so it can be a program name with args.
3488set dummy cc; ac_word=$2
3489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490$as_echo_n "checking for $ac_word... " >&6; }
3491if test "${ac_cv_prog_CC+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493else
3494 if test -n "$CC"; then
3495 ac_cv_prog_CC="$CC" # Let the user override the test.
3496else
3497 ac_prog_rejected=no
3498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499for as_dir in $PATH
3500do
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3506 ac_prog_rejected=yes
3507 continue
3508 fi
3509 ac_cv_prog_CC="cc"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 break 2
3512 fi
3513done
3514 done
3515IFS=$as_save_IFS
3516
3517if test $ac_prog_rejected = yes; then
3518 # We found a bogon in the path, so make sure we never use it.
3519 set dummy $ac_cv_prog_CC
3520 shift
3521 if test $# != 0; then
3522 # We chose a different compiler from the bogus one.
3523 # However, it has the same basename, so the bogon will be chosen
3524 # first if we set CC to just the basename; use the full file name.
3525 shift
3526 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3527 fi
3528fi
3529fi
3530fi
3531CC=$ac_cv_prog_CC
3532if test -n "$CC"; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3534$as_echo "$CC" >&6; }
3535else
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537$as_echo "no" >&6; }
3538fi
3539
3540
3541fi
3542if test -z "$CC"; then
3543 if test -n "$ac_tool_prefix"; then
3544 for ac_prog in cl.exe
3545 do
3546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3547set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549$as_echo_n "checking for $ac_word... " >&6; }
3550if test "${ac_cv_prog_CC+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3552else
3553 if test -n "$CC"; then
3554 ac_cv_prog_CC="$CC" # Let the user override the test.
3555else
3556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557for as_dir in $PATH
3558do
3559 IFS=$as_save_IFS
3560 test -z "$as_dir" && as_dir=.
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 break 2
3566 fi
3567done
3568 done
3569IFS=$as_save_IFS
3570
3571fi
3572fi
3573CC=$ac_cv_prog_CC
3574if test -n "$CC"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3576$as_echo "$CC" >&6; }
3577else
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579$as_echo "no" >&6; }
3580fi
3581
3582
3583 test -n "$CC" && break
3584 done
3585fi
3586if test -z "$CC"; then
3587 ac_ct_CC=$CC
3588 for ac_prog in cl.exe
3589do
3590 # Extract the first word of "$ac_prog", so it can be a program name with args.
3591set dummy $ac_prog; ac_word=$2
3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593$as_echo_n "checking for $ac_word... " >&6; }
3594if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3596else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599else
3600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601for as_dir in $PATH
3602do
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CC="$ac_prog"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611done
3612 done
3613IFS=$as_save_IFS
3614
3615fi
3616fi
3617ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620$as_echo "$ac_ct_CC" >&6; }
3621else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623$as_echo "no" >&6; }
3624fi
3625
3626
3627 test -n "$ac_ct_CC" && break
3628done
3629
3630 if test "x$ac_ct_CC" = x; then
3631 CC=""
3632 else
3633 case $cross_compiling:$ac_tool_warned in
3634yes:)
3635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3637ac_tool_warned=yes ;;
3638esac
3639 CC=$ac_ct_CC
3640 fi
3641fi
3642
3643fi
3644
3645
3646test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3647$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3648as_fn_error $? "no acceptable C compiler found in \$PATH
3649See \`config.log' for more details" "$LINENO" 5 ; }
3650
3651# Provide some information about the compiler.
3652$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3653set X $ac_compile
3654ac_compiler=$2
3655for ac_option in --version -v -V -qversion; do
3656 { { ac_try="$ac_compiler $ac_option >&5"
3657case "(($ac_try" in
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3660esac
3661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662$as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3664 ac_status=$?
3665 if test -s conftest.err; then
3666 sed '10a\
3667... rest of stderr output deleted ...
3668 10q' conftest.err >conftest.er1
3669 cat conftest.er1 >&5
3670 fi
3671 rm -f conftest.er1 conftest.err
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }
3674done
3675
3676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677/* end confdefs.h. */
3678
3679int
3680main ()
3681{
3682
3683 ;
3684 return 0;
3685}
3686_ACEOF
3687ac_clean_files_save=$ac_clean_files
3688ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3689# Try to create an executable without -o first, disregard a.out.
3690# It will help us diagnose broken compilers, and finding out an intuition
3691# of exeext.
3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3693$as_echo_n "checking whether the C compiler works... " >&6; }
3694ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3695
3696# The possible output files:
3697ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3698
3699ac_rmfiles=
3700for ac_file in $ac_files
3701do
3702 case $ac_file in
3703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3704 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3705 esac
3706done
3707rm -f $ac_rmfiles
3708
3709if { { ac_try="$ac_link_default"
3710case "(($ac_try" in
3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3713esac
3714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715$as_echo "$ac_try_echo"; } >&5
3716 (eval "$ac_link_default") 2>&5
3717 ac_status=$?
3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 test $ac_status = 0; }; then :
3720 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3721# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3722# in a Makefile. We should not override ac_cv_exeext if it was cached,
3723# so that the user can short-circuit this test for compilers unknown to
3724# Autoconf.
3725for ac_file in $ac_files ''
3726do
3727 test -f "$ac_file" || continue
3728 case $ac_file in
3729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3730 ;;
3731 [ab].out )
3732 # We found the default executable, but exeext='' is most
3733 # certainly right.
3734 break;;
3735 *.* )
3736 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3737 then :; else
3738 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3739 fi
3740 # We set ac_cv_exeext here because the later test for it is not
3741 # safe: cross compilers may not add the suffix if given an `-o'
3742 # argument, so we may need to know it at that point already.
3743 # Even if this section looks crufty: it has the advantage of
3744 # actually working.
3745 break;;
3746 * )
3747 break;;
3748 esac
3749done
3750test "$ac_cv_exeext" = no && ac_cv_exeext=
3751
3752else
3753 ac_file=''
3754fi
3755if test -z "$ac_file"; then :
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757$as_echo "no" >&6; }
3758$as_echo "$as_me: failed program was:" >&5
3759sed 's/^/| /' conftest.$ac_ext >&5
3760
3761{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3762$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3763as_fn_error 77 "C compiler cannot create executables
3764See \`config.log' for more details" "$LINENO" 5 ; }
3765else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3767$as_echo "yes" >&6; }
3768fi
3769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3770$as_echo_n "checking for C compiler default output file name... " >&6; }
3771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3772$as_echo "$ac_file" >&6; }
3773ac_exeext=$ac_cv_exeext
3774
3775rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3776ac_clean_files=$ac_clean_files_save
3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3778$as_echo_n "checking for suffix of executables... " >&6; }
3779if { { ac_try="$ac_link"
3780case "(($ac_try" in
3781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3782 *) ac_try_echo=$ac_try;;
3783esac
3784eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3785$as_echo "$ac_try_echo"; } >&5
3786 (eval "$ac_link") 2>&5
3787 ac_status=$?
3788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3789 test $ac_status = 0; }; then :
3790 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3791# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3792# work properly (i.e., refer to `conftest.exe'), while it won't with
3793# `rm'.
3794for ac_file in conftest.exe conftest conftest.*; do
3795 test -f "$ac_file" || continue
3796 case $ac_file in
3797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3798 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3799 break;;
3800 * ) break;;
3801 esac
3802done
3803else
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3807See \`config.log' for more details" "$LINENO" 5 ; }
3808fi
3809rm -f conftest conftest$ac_cv_exeext
3810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3811$as_echo "$ac_cv_exeext" >&6; }
3812
3813rm -f conftest.$ac_ext
3814EXEEXT=$ac_cv_exeext
3815ac_exeext=$EXEEXT
3816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817/* end confdefs.h. */
3818#include <stdio.h>
3819int
3820main ()
3821{
3822FILE *f = fopen ("conftest.out", "w");
3823 return ferror (f) || fclose (f) != 0;
3824
3825 ;
3826 return 0;
3827}
3828_ACEOF
3829ac_clean_files="$ac_clean_files conftest.out"
3830# Check that the compiler produces executables we can run. If not, either
3831# the compiler is broken, or we cross compile.
3832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3833$as_echo_n "checking whether we are cross compiling... " >&6; }
3834if test "$cross_compiling" != yes; then
3835 { { ac_try="$ac_link"
3836case "(($ac_try" in
3837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3839esac
3840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3841$as_echo "$ac_try_echo"; } >&5
3842 (eval "$ac_link") 2>&5
3843 ac_status=$?
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }
3846 if { ac_try='./conftest$ac_cv_exeext'
3847 { { case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850esac
3851eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852$as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_try") 2>&5
3854 ac_status=$?
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }; }; then
3857 cross_compiling=no
3858 else
3859 if test "$cross_compiling" = maybe; then
3860 cross_compiling=yes
3861 else
3862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3863$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3864as_fn_error $? "cannot run C compiled programs.
3865If you meant to cross compile, use \`--host'.
3866See \`config.log' for more details" "$LINENO" 5 ; }
3867 fi
3868 fi
3869fi
3870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3871$as_echo "$cross_compiling" >&6; }
3872
3873rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3874ac_clean_files=$ac_clean_files_save
3875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3876$as_echo_n "checking for suffix of object files... " >&6; }
3877if test "${ac_cv_objext+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3879else
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881/* end confdefs.h. */
3882
3883int
3884main ()
3885{
3886
3887 ;
3888 return 0;
3889}
3890_ACEOF
3891rm -f conftest.o conftest.obj
3892if { { ac_try="$ac_compile"
3893case "(($ac_try" in
3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3895 *) ac_try_echo=$ac_try;;
3896esac
3897eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3898$as_echo "$ac_try_echo"; } >&5
3899 (eval "$ac_compile") 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 for ac_file in conftest.o conftest.obj conftest.*; do
3904 test -f "$ac_file" || continue;
3905 case $ac_file in
3906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3907 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3908 break;;
3909 esac
3910done
3911else
3912 $as_echo "$as_me: failed program was:" >&5
3913sed 's/^/| /' conftest.$ac_ext >&5
3914
3915{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917as_fn_error $? "cannot compute suffix of object files: cannot compile
3918See \`config.log' for more details" "$LINENO" 5 ; }
3919fi
3920rm -f conftest.$ac_cv_objext conftest.$ac_ext
3921fi
3922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3923$as_echo "$ac_cv_objext" >&6; }
3924OBJEXT=$ac_cv_objext
3925ac_objext=$OBJEXT
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3927$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3928if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3929 $as_echo_n "(cached) " >&6
3930else
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932/* end confdefs.h. */
3933
3934int
3935main ()
3936{
3937#ifndef __GNUC__
3938 choke me
3939#endif
3940
3941 ;
3942 return 0;
3943}
3944_ACEOF
3945if ac_fn_c_try_compile "$LINENO"; then :
3946 ac_compiler_gnu=yes
3947else
3948 ac_compiler_gnu=no
3949fi
3950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951ac_cv_c_compiler_gnu=$ac_compiler_gnu
3952
3953fi
3954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3955$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3956if test $ac_compiler_gnu = yes; then
3957 GCC=yes
3958else
3959 GCC=
3960fi
3961ac_test_CFLAGS=${CFLAGS+set}
3962ac_save_CFLAGS=$CFLAGS
3963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3964$as_echo_n "checking whether $CC accepts -g... " >&6; }
3965if test "${ac_cv_prog_cc_g+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3967else
3968 ac_save_c_werror_flag=$ac_c_werror_flag
3969 ac_c_werror_flag=yes
3970 ac_cv_prog_cc_g=no
3971 CFLAGS="-g"
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973/* end confdefs.h. */
3974
3975int
3976main ()
3977{
3978
3979 ;
3980 return 0;
3981}
3982_ACEOF
3983if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_cv_prog_cc_g=yes
3985else
3986 CFLAGS=""
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988/* end confdefs.h. */
3989
3990int
3991main ()
3992{
3993
3994 ;
3995 return 0;
3996}
3997_ACEOF
3998if ac_fn_c_try_compile "$LINENO"; then :
3999
4000else
4001 ac_c_werror_flag=$ac_save_c_werror_flag
4002 CFLAGS="-g"
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004/* end confdefs.h. */
4005
4006int
4007main ()
4008{
4009
4010 ;
4011 return 0;
4012}
4013_ACEOF
4014if ac_fn_c_try_compile "$LINENO"; then :
4015 ac_cv_prog_cc_g=yes
4016fi
4017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018fi
4019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020fi
4021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_c_werror_flag=$ac_save_c_werror_flag
4023fi
4024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4025$as_echo "$ac_cv_prog_cc_g" >&6; }
4026if test "$ac_test_CFLAGS" = set; then
4027 CFLAGS=$ac_save_CFLAGS
4028elif test $ac_cv_prog_cc_g = yes; then
4029 if test "$GCC" = yes; then
4030 CFLAGS="-g -O2"
4031 else
4032 CFLAGS="-g"
4033 fi
4034else
4035 if test "$GCC" = yes; then
4036 CFLAGS="-O2"
4037 else
4038 CFLAGS=
4039 fi
4040fi
4041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4042$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4043if test "${ac_cv_prog_cc_c89+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4045else
4046 ac_cv_prog_cc_c89=no
4047ac_save_CC=$CC
4048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049/* end confdefs.h. */
4050#include <stdarg.h>
4051#include <stdio.h>
4052#include <sys/types.h>
4053#include <sys/stat.h>
4054/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4055struct buf { int x; };
4056FILE * (*rcsopen) (struct buf *, struct stat *, int);
4057static char *e (p, i)
4058 char **p;
4059 int i;
4060{
4061 return p[i];
4062}
4063static char *f (char * (*g) (char **, int), char **p, ...)
4064{
4065 char *s;
4066 va_list v;
4067 va_start (v,p);
4068 s = g (p, va_arg (v,int));
4069 va_end (v);
4070 return s;
4071}
4072
4073/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4074 function prototypes and stuff, but not '\xHH' hex character constants.
4075 These don't provoke an error unfortunately, instead are silently treated
4076 as 'x'. The following induces an error, until -std is added to get
4077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4078 array size at least. It's necessary to write '\x00'==0 to get something
4079 that's true only with -std. */
4080int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4081
4082/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4083 inside strings and character constants. */
4084#define FOO(x) 'x'
4085int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4086
4087int test (int i, double x);
4088struct s1 {int (*f) (int a);};
4089struct s2 {int (*f) (double a);};
4090int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4091int argc;
4092char **argv;
4093int
4094main ()
4095{
4096return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4097 ;
4098 return 0;
4099}
4100_ACEOF
4101for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4103do
4104 CC="$ac_save_CC $ac_arg"
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106 ac_cv_prog_cc_c89=$ac_arg
4107fi
4108rm -f core conftest.err conftest.$ac_objext
4109 test "x$ac_cv_prog_cc_c89" != "xno" && break
4110done
4111rm -f conftest.$ac_ext
4112CC=$ac_save_CC
4113
4114fi
4115# AC_CACHE_VAL
4116case "x$ac_cv_prog_cc_c89" in
4117 x)
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4119$as_echo "none needed" >&6; } ;;
4120 xno)
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4122$as_echo "unsupported" >&6; } ;;
4123 *)
4124 CC="$CC $ac_cv_prog_cc_c89"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4126$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4127esac
4128if test "x$ac_cv_prog_cc_c89" != xno; then :
4129
4130fi
4131
4132ac_ext=c
4133ac_cpp='$CPP $CPPFLAGS'
4134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137
4138depcc="$CC" am_compiler_list=
4139
4140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4141$as_echo_n "checking dependency style of $depcc... " >&6; }
4142if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144else
4145 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4146 # We make a subdir and do the tests there. Otherwise we can end up
4147 # making bogus files that we don't know about and never remove. For
4148 # instance it was reported that on HP-UX the gcc test will end up
4149 # making a dummy file named `D' -- because `-MD' means `put the output
4150 # in D'.
4151 mkdir conftest.dir
4152 # Copy depcomp to subdir because otherwise we won't find it if we're
4153 # using a relative directory.
4154 cp "$am_depcomp" conftest.dir
4155 cd conftest.dir
4156 # We will build objects and dependencies in a subdirectory because
4157 # it helps to detect inapplicable dependency modes. For instance
4158 # both Tru64's cc and ICC support -MD to output dependencies as a
4159 # side effect of compilation, but ICC will put the dependencies in
4160 # the current directory while Tru64 will put them in the object
4161 # directory.
4162 mkdir sub
4163
4164 am_cv_CC_dependencies_compiler_type=none
4165 if test "$am_compiler_list" = ""; then
4166 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4167 fi
4168 am__universal=false
4169 case " $depcc " in #(
4170 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4171 esac
4172
4173 for depmode in $am_compiler_list; do
4174 # Setup a source with many dependencies, because some compilers
4175 # like to wrap large dependency lists on column 80 (with \), and
4176 # we should not choose a depcomp mode which is confused by this.
4177 #
4178 # We need to recreate these files for each test, as the compiler may
4179 # overwrite some of them when testing with obscure command lines.
4180 # This happens at least with the AIX C compiler.
4181 : > sub/conftest.c
4182 for i in 1 2 3 4 5 6; do
4183 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4184 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4185 # Solaris 8's {/usr,}/bin/sh.
4186 touch sub/conftst$i.h
4187 done
4188 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4189
4190 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4191 # mode. It turns out that the SunPro C++ compiler does not properly
4192 # handle `-M -o', and we need to detect this. Also, some Intel
4193 # versions had trouble with output in subdirs
4194 am__obj=sub/conftest.${OBJEXT-o}
4195 am__minus_obj="-o $am__obj"
4196 case $depmode in
4197 gcc)
4198 # This depmode causes a compiler race in universal mode.
4199 test "$am__universal" = false || continue
4200 ;;
4201 nosideeffect)
4202 # after this tag, mechanisms are not by side-effect, so they'll
4203 # only be used when explicitly requested
4204 if test "x$enable_dependency_tracking" = xyes; then
4205 continue
4206 else
4207 break
4208 fi
4209 ;;
4210 msvisualcpp | msvcmsys)
4211 # This compiler won't grok `-c -o', but also, the minuso test has
4212 # not run yet. These depmodes are late enough in the game, and
4213 # so weak that their functioning should not be impacted.
4214 am__obj=conftest.${OBJEXT-o}
4215 am__minus_obj=
4216 ;;
4217 none) break ;;
4218 esac
4219 if depmode=$depmode \
4220 source=sub/conftest.c object=$am__obj \
4221 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4222 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4223 >/dev/null 2>conftest.err &&
4224 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4225 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4226 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4227 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4228 # icc doesn't choke on unknown options, it will just issue warnings
4229 # or remarks (even with -Werror). So we grep stderr for any message
4230 # that says an option was ignored or not supported.
4231 # When given -MP, icc 7.0 and 7.1 complain thusly:
4232 # icc: Command line warning: ignoring option '-M'; no argument required
4233 # The diagnosis changed in icc 8.0:
4234 # icc: Command line remark: option '-MP' not supported
4235 if (grep 'ignoring option' conftest.err ||
4236 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4237 am_cv_CC_dependencies_compiler_type=$depmode
4238 break
4239 fi
4240 fi
4241 done
4242
4243 cd ..
4244 rm -rf conftest.dir
4245else
4246 am_cv_CC_dependencies_compiler_type=none
4247fi
4248
4249fi
4250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4251$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4252CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4253
4254 if
4255 test "x$enable_dependency_tracking" != xno \
4256 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4257 am__fastdepCC_TRUE=
4258 am__fastdepCC_FALSE='#'
4259else
4260 am__fastdepCC_TRUE='#'
4261 am__fastdepCC_FALSE=
4262fi
4263
4264
4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4266$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4267if test "${ac_cv_path_SED+set}" = set; then :
4268 $as_echo_n "(cached) " >&6
4269else
4270 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4271 for ac_i in 1 2 3 4 5 6 7; do
4272 ac_script="$ac_script$as_nl$ac_script"
4273 done
4274 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4275 { ac_script=; unset ac_script;}
4276 if test -z "$SED"; then
4277 ac_path_SED_found=false
4278 # Loop through the user's path and test for each of PROGNAME-LIST
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280for as_dir in $PATH
4281do
4282 IFS=$as_save_IFS
4283 test -z "$as_dir" && as_dir=.
4284 for ac_prog in sed gsed; do
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4287 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4288# Check for GNU ac_path_SED and select it if it is found.
4289 # Check for GNU $ac_path_SED
4290case `"$ac_path_SED" --version 2>&1` in
4291*GNU*)
4292 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4293*)
4294 ac_count=0
4295 $as_echo_n 0123456789 >"conftest.in"
4296 while :
4297 do
4298 cat "conftest.in" "conftest.in" >"conftest.tmp"
4299 mv "conftest.tmp" "conftest.in"
4300 cp "conftest.in" "conftest.nl"
4301 $as_echo '' >> "conftest.nl"
4302 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304 as_fn_arith $ac_count + 1 && ac_count=$as_val
4305 if test $ac_count -gt ${ac_path_SED_max-0}; then
4306 # Best one so far, save it but keep looking for a better one
4307 ac_cv_path_SED="$ac_path_SED"
4308 ac_path_SED_max=$ac_count
4309 fi
4310 # 10*(2^10) chars as input seems more than enough
4311 test $ac_count -gt 10 && break
4312 done
4313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314esac
4315
4316 $ac_path_SED_found && break 3
4317 done
4318 done
4319 done
4320IFS=$as_save_IFS
4321 if test -z "$ac_cv_path_SED"; then
4322 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4323 fi
4324else
4325 ac_cv_path_SED=$SED
4326fi
4327
4328fi
4329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4330$as_echo "$ac_cv_path_SED" >&6; }
4331 SED="$ac_cv_path_SED"
4332 rm -f conftest.sed
4333
4334test -z "$SED" && SED=sed
4335Xsed="$SED -e 1s/^X//"
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4348$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4349if test "${ac_cv_path_GREP+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4351else
4352 if test -z "$GREP"; then
4353 ac_path_GREP_found=false
4354 # Loop through the user's path and test for each of PROGNAME-LIST
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4357do
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_prog in grep ggrep; do
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4363 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4364# Check for GNU ac_path_GREP and select it if it is found.
4365 # Check for GNU $ac_path_GREP
4366case `"$ac_path_GREP" --version 2>&1` in
4367*GNU*)
4368 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4369*)
4370 ac_count=0
4371 $as_echo_n 0123456789 >"conftest.in"
4372 while :
4373 do
4374 cat "conftest.in" "conftest.in" >"conftest.tmp"
4375 mv "conftest.tmp" "conftest.in"
4376 cp "conftest.in" "conftest.nl"
4377 $as_echo 'GREP' >> "conftest.nl"
4378 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4380 as_fn_arith $ac_count + 1 && ac_count=$as_val
4381 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4382 # Best one so far, save it but keep looking for a better one
4383 ac_cv_path_GREP="$ac_path_GREP"
4384 ac_path_GREP_max=$ac_count
4385 fi
4386 # 10*(2^10) chars as input seems more than enough
4387 test $ac_count -gt 10 && break
4388 done
4389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4390esac
4391
4392 $ac_path_GREP_found && break 3
4393 done
4394 done
4395 done
4396IFS=$as_save_IFS
4397 if test -z "$ac_cv_path_GREP"; then
4398 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4399 fi
4400else
4401 ac_cv_path_GREP=$GREP
4402fi
4403
4404fi
4405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4406$as_echo "$ac_cv_path_GREP" >&6; }
4407 GREP="$ac_cv_path_GREP"
4408
4409
4410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4411$as_echo_n "checking for egrep... " >&6; }
4412if test "${ac_cv_path_EGREP+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414else
4415 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4416 then ac_cv_path_EGREP="$GREP -E"
4417 else
4418 if test -z "$EGREP"; then
4419 ac_path_EGREP_found=false
4420 # Loop through the user's path and test for each of PROGNAME-LIST
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4423do
4424 IFS=$as_save_IFS
4425 test -z "$as_dir" && as_dir=.
4426 for ac_prog in egrep; do
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4429 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4430# Check for GNU ac_path_EGREP and select it if it is found.
4431 # Check for GNU $ac_path_EGREP
4432case `"$ac_path_EGREP" --version 2>&1` in
4433*GNU*)
4434 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4435*)
4436 ac_count=0
4437 $as_echo_n 0123456789 >"conftest.in"
4438 while :
4439 do
4440 cat "conftest.in" "conftest.in" >"conftest.tmp"
4441 mv "conftest.tmp" "conftest.in"
4442 cp "conftest.in" "conftest.nl"
4443 $as_echo 'EGREP' >> "conftest.nl"
4444 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4446 as_fn_arith $ac_count + 1 && ac_count=$as_val
4447 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4448 # Best one so far, save it but keep looking for a better one
4449 ac_cv_path_EGREP="$ac_path_EGREP"
4450 ac_path_EGREP_max=$ac_count
4451 fi
4452 # 10*(2^10) chars as input seems more than enough
4453 test $ac_count -gt 10 && break
4454 done
4455 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4456esac
4457
4458 $ac_path_EGREP_found && break 3
4459 done
4460 done
4461 done
4462IFS=$as_save_IFS
4463 if test -z "$ac_cv_path_EGREP"; then
4464 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4465 fi
4466else
4467 ac_cv_path_EGREP=$EGREP
4468fi
4469
4470 fi
4471fi
4472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4473$as_echo "$ac_cv_path_EGREP" >&6; }
4474 EGREP="$ac_cv_path_EGREP"
4475
4476
4477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4478$as_echo_n "checking for fgrep... " >&6; }
4479if test "${ac_cv_path_FGREP+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4481else
4482 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4483 then ac_cv_path_FGREP="$GREP -F"
4484 else
4485 if test -z "$FGREP"; then
4486 ac_path_FGREP_found=false
4487 # Loop through the user's path and test for each of PROGNAME-LIST
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4490do
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_prog in fgrep; do
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4496 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4497# Check for GNU ac_path_FGREP and select it if it is found.
4498 # Check for GNU $ac_path_FGREP
4499case `"$ac_path_FGREP" --version 2>&1` in
4500*GNU*)
4501 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4502*)
4503 ac_count=0
4504 $as_echo_n 0123456789 >"conftest.in"
4505 while :
4506 do
4507 cat "conftest.in" "conftest.in" >"conftest.tmp"
4508 mv "conftest.tmp" "conftest.in"
4509 cp "conftest.in" "conftest.nl"
4510 $as_echo 'FGREP' >> "conftest.nl"
4511 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513 as_fn_arith $ac_count + 1 && ac_count=$as_val
4514 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4515 # Best one so far, save it but keep looking for a better one
4516 ac_cv_path_FGREP="$ac_path_FGREP"
4517 ac_path_FGREP_max=$ac_count
4518 fi
4519 # 10*(2^10) chars as input seems more than enough
4520 test $ac_count -gt 10 && break
4521 done
4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4523esac
4524
4525 $ac_path_FGREP_found && break 3
4526 done
4527 done
4528 done
4529IFS=$as_save_IFS
4530 if test -z "$ac_cv_path_FGREP"; then
4531 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4532 fi
4533else
4534 ac_cv_path_FGREP=$FGREP
4535fi
4536
4537 fi
4538fi
4539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4540$as_echo "$ac_cv_path_FGREP" >&6; }
4541 FGREP="$ac_cv_path_FGREP"
4542
4543
4544test -z "$GREP" && GREP=grep
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564# Check whether --with-gnu-ld was given.
4565if test "${with_gnu_ld+set}" = set; then :
4566 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4567else
4568 with_gnu_ld=no
4569fi
4570
4571ac_prog=ld
4572if test "$GCC" = yes; then
4573 # Check if gcc -print-prog-name=ld gives a path.
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4575$as_echo_n "checking for ld used by $CC... " >&6; }
4576 case $host in
4577 *-*-mingw*)
4578 # gcc leaves a trailing carriage return which upsets mingw
4579 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4580 *)
4581 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4582 esac
4583 case $ac_prog in
4584 # Accept absolute paths.
4585 [\\/]* | ?:[\\/]*)
4586 re_direlt='/[^/][^/]*/\.\./'
4587 # Canonicalize the pathname of ld
4588 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4589 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4590 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4591 done
4592 test -z "$LD" && LD="$ac_prog"
4593 ;;
4594 "")
4595 # If it fails, then pretend we aren't using GCC.
4596 ac_prog=ld
4597 ;;
4598 *)
4599 # If it is relative, then search for the first ld in PATH.
4600 with_gnu_ld=unknown
4601 ;;
4602 esac
4603elif test "$with_gnu_ld" = yes; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4605$as_echo_n "checking for GNU ld... " >&6; }
4606else
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4608$as_echo_n "checking for non-GNU ld... " >&6; }
4609fi
4610if test "${lt_cv_path_LD+set}" = set; then :
4611 $as_echo_n "(cached) " >&6
4612else
4613 if test -z "$LD"; then
4614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4615 for ac_dir in $PATH; do
4616 IFS="$lt_save_ifs"
4617 test -z "$ac_dir" && ac_dir=.
4618 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4619 lt_cv_path_LD="$ac_dir/$ac_prog"
4620 # Check to see if the program is GNU ld. I'd rather use --version,
4621 # but apparently some variants of GNU ld only accept -v.
4622 # Break only if it was the GNU/non-GNU ld that we prefer.
4623 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4624 *GNU* | *'with BFD'*)
4625 test "$with_gnu_ld" != no && break
4626 ;;
4627 *)
4628 test "$with_gnu_ld" != yes && break
4629 ;;
4630 esac
4631 fi
4632 done
4633 IFS="$lt_save_ifs"
4634else
4635 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4636fi
4637fi
4638
4639LD="$lt_cv_path_LD"
4640if test -n "$LD"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4642$as_echo "$LD" >&6; }
4643else
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645$as_echo "no" >&6; }
4646fi
4647test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4649$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4650if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4651 $as_echo_n "(cached) " >&6
4652else
4653 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4654case `$LD -v 2>&1 </dev/null` in
4655*GNU* | *'with BFD'*)
4656 lt_cv_prog_gnu_ld=yes
4657 ;;
4658*)
4659 lt_cv_prog_gnu_ld=no
4660 ;;
4661esac
4662fi
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4664$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4665with_gnu_ld=$lt_cv_prog_gnu_ld
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4676$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4677if test "${lt_cv_path_NM+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4679else
4680 if test -n "$NM"; then
4681 # Let the user override the test.
4682 lt_cv_path_NM="$NM"
4683else
4684 lt_nm_to_check="${ac_tool_prefix}nm"
4685 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4686 lt_nm_to_check="$lt_nm_to_check nm"
4687 fi
4688 for lt_tmp_nm in $lt_nm_to_check; do
4689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4690 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4691 IFS="$lt_save_ifs"
4692 test -z "$ac_dir" && ac_dir=.
4693 tmp_nm="$ac_dir/$lt_tmp_nm"
4694 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4695 # Check to see if the nm accepts a BSD-compat flag.
4696 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4697 # nm: unknown option "B" ignored
4698 # Tru64's nm complains that /dev/null is an invalid object file
4699 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4700 */dev/null* | *'Invalid file or object type'*)
4701 lt_cv_path_NM="$tmp_nm -B"
4702 break
4703 ;;
4704 *)
4705 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4706 */dev/null*)
4707 lt_cv_path_NM="$tmp_nm -p"
4708 break
4709 ;;
4710 *)
4711 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4712 continue # so that we can try to find one that supports BSD flags
4713 ;;
4714 esac
4715 ;;
4716 esac
4717 fi
4718 done
4719 IFS="$lt_save_ifs"
4720 done
4721 : ${lt_cv_path_NM=no}
4722fi
4723fi
4724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4725$as_echo "$lt_cv_path_NM" >&6; }
4726if test "$lt_cv_path_NM" != "no"; then
4727 NM="$lt_cv_path_NM"
4728else
4729 # Didn't find any BSD compatible name lister, look for dumpbin.
4730 if test -n "$ac_tool_prefix"; then
4731 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4732 do
4733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4734set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736$as_echo_n "checking for $ac_word... " >&6; }
4737if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4738 $as_echo_n "(cached) " >&6
4739else
4740 if test -n "$DUMPBIN"; then
4741 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4742else
4743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744for as_dir in $PATH
4745do
4746 IFS=$as_save_IFS
4747 test -z "$as_dir" && as_dir=.
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 break 2
4753 fi
4754done
4755 done
4756IFS=$as_save_IFS
4757
4758fi
4759fi
4760DUMPBIN=$ac_cv_prog_DUMPBIN
4761if test -n "$DUMPBIN"; then
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4763$as_echo "$DUMPBIN" >&6; }
4764else
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766$as_echo "no" >&6; }
4767fi
4768
4769
4770 test -n "$DUMPBIN" && break
4771 done
4772fi
4773if test -z "$DUMPBIN"; then
4774 ac_ct_DUMPBIN=$DUMPBIN
4775 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4776do
4777 # Extract the first word of "$ac_prog", so it can be a program name with args.
4778set dummy $ac_prog; ac_word=$2
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780$as_echo_n "checking for $ac_word... " >&6; }
4781if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4783else
4784 if test -n "$ac_ct_DUMPBIN"; then
4785 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4786else
4787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788for as_dir in $PATH
4789do
4790 IFS=$as_save_IFS
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 break 2
4797 fi
4798done
4799 done
4800IFS=$as_save_IFS
4801
4802fi
4803fi
4804ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4805if test -n "$ac_ct_DUMPBIN"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4807$as_echo "$ac_ct_DUMPBIN" >&6; }
4808else
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810$as_echo "no" >&6; }
4811fi
4812
4813
4814 test -n "$ac_ct_DUMPBIN" && break
4815done
4816
4817 if test "x$ac_ct_DUMPBIN" = x; then
4818 DUMPBIN=":"
4819 else
4820 case $cross_compiling:$ac_tool_warned in
4821yes:)
4822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4824ac_tool_warned=yes ;;
4825esac
4826 DUMPBIN=$ac_ct_DUMPBIN
4827 fi
4828fi
4829
4830
4831 if test "$DUMPBIN" != ":"; then
4832 NM="$DUMPBIN"
4833 fi
4834fi
4835test -z "$NM" && NM=nm
4836
4837
4838
4839
4840
4841
4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4843$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4844if test "${lt_cv_nm_interface+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4846else
4847 lt_cv_nm_interface="BSD nm"
4848 echo "int some_variable = 0;" > conftest.$ac_ext
4849 (eval echo "\"\$as_me:4849: $ac_compile\"" >&5)
4850 (eval "$ac_compile" 2>conftest.err)
4851 cat conftest.err >&5
4852 (eval echo "\"\$as_me:4852: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4853 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4854 cat conftest.err >&5
4855 (eval echo "\"\$as_me:4855: output\"" >&5)
4856 cat conftest.out >&5
4857 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4858 lt_cv_nm_interface="MS dumpbin"
4859 fi
4860 rm -f conftest*
4861fi
4862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4863$as_echo "$lt_cv_nm_interface" >&6; }
4864
4865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4866$as_echo_n "checking whether ln -s works... " >&6; }
4867LN_S=$as_ln_s
4868if test "$LN_S" = "ln -s"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4870$as_echo "yes" >&6; }
4871else
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4873$as_echo "no, using $LN_S" >&6; }
4874fi
4875
4876# find the maximum length of command line arguments
4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4878$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4879if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4881else
4882 i=0
4883 teststring="ABCD"
4884
4885 case $build_os in
4886 msdosdjgpp*)
4887 # On DJGPP, this test can blow up pretty badly due to problems in libc
4888 # (any single argument exceeding 2000 bytes causes a buffer overrun
4889 # during glob expansion). Even if it were fixed, the result of this
4890 # check would be larger than it should be.
4891 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4892 ;;
4893
4894 gnu*)
4895 # Under GNU Hurd, this test is not required because there is
4896 # no limit to the length of command line arguments.
4897 # Libtool will interpret -1 as no limit whatsoever
4898 lt_cv_sys_max_cmd_len=-1;
4899 ;;
4900
4901 cygwin* | mingw* | cegcc*)
4902 # On Win9x/ME, this test blows up -- it succeeds, but takes
4903 # about 5 minutes as the teststring grows exponentially.
4904 # Worse, since 9x/ME are not pre-emptively multitasking,
4905 # you end up with a "frozen" computer, even though with patience
4906 # the test eventually succeeds (with a max line length of 256k).
4907 # Instead, let's just punt: use the minimum linelength reported by
4908 # all of the supported platforms: 8192 (on NT/2K/XP).
4909 lt_cv_sys_max_cmd_len=8192;
4910 ;;
4911
4912 amigaos*)
4913 # On AmigaOS with pdksh, this test takes hours, literally.
4914 # So we just punt and use a minimum line length of 8192.
4915 lt_cv_sys_max_cmd_len=8192;
4916 ;;
4917
4918 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4919 # This has been around since 386BSD, at least. Likely further.
4920 if test -x /sbin/sysctl; then
4921 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4922 elif test -x /usr/sbin/sysctl; then
4923 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4924 else
4925 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4926 fi
4927 # And add a safety zone
4928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4930 ;;
4931
4932 interix*)
4933 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4934 lt_cv_sys_max_cmd_len=196608
4935 ;;
4936
4937 osf*)
4938 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4939 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4940 # nice to cause kernel panics so lets avoid the loop below.
4941 # First set a reasonable default.
4942 lt_cv_sys_max_cmd_len=16384
4943 #
4944 if test -x /sbin/sysconfig; then
4945 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4946 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4947 esac
4948 fi
4949 ;;
4950 sco3.2v5*)
4951 lt_cv_sys_max_cmd_len=102400
4952 ;;
4953 sysv5* | sco5v6* | sysv4.2uw2*)
4954 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4955 if test -n "$kargmax"; then
4956 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4957 else
4958 lt_cv_sys_max_cmd_len=32768
4959 fi
4960 ;;
4961 *)
4962 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4963 if test -n "$lt_cv_sys_max_cmd_len"; then
4964 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4966 else
4967 # Make teststring a little bigger before we do anything with it.
4968 # a 1K string should be a reasonable start.
4969 for i in 1 2 3 4 5 6 7 8 ; do
4970 teststring=$teststring$teststring
4971 done
4972 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4973 # If test is not a shell built-in, we'll probably end up computing a
4974 # maximum length that is only half of the actual maximum length, but
4975 # we can't tell.
4976 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4977 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4978 test $i != 17 # 1/2 MB should be enough
4979 do
4980 i=`expr $i + 1`
4981 teststring=$teststring$teststring
4982 done
4983 # Only check the string length outside the loop.
4984 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4985 teststring=
4986 # Add a significant safety factor because C++ compilers can tack on
4987 # massive amounts of additional arguments before passing them to the
4988 # linker. It appears as though 1/2 is a usable value.
4989 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4990 fi
4991 ;;
4992 esac
4993
4994fi
4995
4996if test -n $lt_cv_sys_max_cmd_len ; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4998$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4999else
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5001$as_echo "none" >&6; }
5002fi
5003max_cmd_len=$lt_cv_sys_max_cmd_len
5004
5005
5006
5007
5008
5009
5010: ${CP="cp -f"}
5011: ${MV="mv -f"}
5012: ${RM="rm -f"}
5013
5014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5015$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5016# Try some XSI features
5017xsi_shell=no
5018( _lt_dummy="a/b/c"
5019 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5020 = c,a/b,, \
5021 && eval 'test $(( 1 + 1 )) -eq 2 \
5022 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5023 && xsi_shell=yes
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5025$as_echo "$xsi_shell" >&6; }
5026
5027
5028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5029$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5030lt_shell_append=no
5031( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5032 >/dev/null 2>&1 \
5033 && lt_shell_append=yes
5034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5035$as_echo "$lt_shell_append" >&6; }
5036
5037
5038if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5039 lt_unset=unset
5040else
5041 lt_unset=false
5042fi
5043
5044
5045
5046
5047
5048# test EBCDIC or ASCII
5049case `echo X|tr X '\101'` in
5050 A) # ASCII based system
5051 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5052 lt_SP2NL='tr \040 \012'
5053 lt_NL2SP='tr \015\012 \040\040'
5054 ;;
5055 *) # EBCDIC based system
5056 lt_SP2NL='tr \100 \n'
5057 lt_NL2SP='tr \r\n \100\100'
5058 ;;
5059esac
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5070$as_echo_n "checking for $LD option to reload object files... " >&6; }
5071if test "${lt_cv_ld_reload_flag+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5073else
5074 lt_cv_ld_reload_flag='-r'
5075fi
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5077$as_echo "$lt_cv_ld_reload_flag" >&6; }
5078reload_flag=$lt_cv_ld_reload_flag
5079case $reload_flag in
5080"" | " "*) ;;
5081*) reload_flag=" $reload_flag" ;;
5082esac
5083reload_cmds='$LD$reload_flag -o $output$reload_objs'
5084case $host_os in
5085 darwin*)
5086 if test "$GCC" = yes; then
5087 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5088 else
5089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5090 fi
5091 ;;
5092esac
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5104set dummy ${ac_tool_prefix}objdump; ac_word=$2
5105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106$as_echo_n "checking for $ac_word... " >&6; }
5107if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109else
5110 if test -n "$OBJDUMP"; then
5111 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5112else
5113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114for as_dir in $PATH
5115do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124done
5125 done
5126IFS=$as_save_IFS
5127
5128fi
5129fi
5130OBJDUMP=$ac_cv_prog_OBJDUMP
5131if test -n "$OBJDUMP"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5133$as_echo "$OBJDUMP" >&6; }
5134else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136$as_echo "no" >&6; }
5137fi
5138
5139
5140fi
5141if test -z "$ac_cv_prog_OBJDUMP"; then
5142 ac_ct_OBJDUMP=$OBJDUMP
5143 # Extract the first word of "objdump", so it can be a program name with args.
5144set dummy objdump; ac_word=$2
5145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146$as_echo_n "checking for $ac_word... " >&6; }
5147if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149else
5150 if test -n "$ac_ct_OBJDUMP"; then
5151 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5152else
5153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154for as_dir in $PATH
5155do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164done
5165 done
5166IFS=$as_save_IFS
5167
5168fi
5169fi
5170ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5171if test -n "$ac_ct_OBJDUMP"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5173$as_echo "$ac_ct_OBJDUMP" >&6; }
5174else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176$as_echo "no" >&6; }
5177fi
5178
5179 if test "x$ac_ct_OBJDUMP" = x; then
5180 OBJDUMP="false"
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183yes:)
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186ac_tool_warned=yes ;;
5187esac
5188 OBJDUMP=$ac_ct_OBJDUMP
5189 fi
5190else
5191 OBJDUMP="$ac_cv_prog_OBJDUMP"
5192fi
5193
5194test -z "$OBJDUMP" && OBJDUMP=objdump
5195
5196
5197
5198
5199
5200
5201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5202$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5203if test "${lt_cv_deplibs_check_method+set}" = set; then :
5204 $as_echo_n "(cached) " >&6
5205else
5206 lt_cv_file_magic_cmd='$MAGIC_CMD'
5207lt_cv_file_magic_test_file=
5208lt_cv_deplibs_check_method='unknown'
5209# Need to set the preceding variable on all platforms that support
5210# interlibrary dependencies.
5211# 'none' -- dependencies not supported.
5212# `unknown' -- same as none, but documents that we really don't know.
5213# 'pass_all' -- all dependencies passed with no checks.
5214# 'test_compile' -- check by making test program.
5215# 'file_magic [[regex]]' -- check by looking for files in library path
5216# which responds to the $file_magic_cmd with a given extended regex.
5217# If you have `file' or equivalent on your system and you're not sure
5218# whether `pass_all' will *always* work, you probably want this one.
5219
5220case $host_os in
5221aix[4-9]*)
5222 lt_cv_deplibs_check_method=pass_all
5223 ;;
5224
5225beos*)
5226 lt_cv_deplibs_check_method=pass_all
5227 ;;
5228
5229bsdi[45]*)
5230 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5231 lt_cv_file_magic_cmd='/usr/bin/file -L'
5232 lt_cv_file_magic_test_file=/shlib/libc.so
5233 ;;
5234
5235cygwin*)
5236 # func_win32_libid is a shell function defined in ltmain.sh
5237 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5238 lt_cv_file_magic_cmd='func_win32_libid'
5239 ;;
5240
5241mingw* | pw32*)
5242 # Base MSYS/MinGW do not provide the 'file' command needed by
5243 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5244 # unless we find 'file', for example because we are cross-compiling.
5245 if ( file / ) >/dev/null 2>&1; then
5246 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5247 lt_cv_file_magic_cmd='func_win32_libid'
5248 else
5249 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5250 lt_cv_file_magic_cmd='$OBJDUMP -f'
5251 fi
5252 ;;
5253
5254cegcc)
5255 # use the weaker test based on 'objdump'. See mingw*.
5256 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5257 lt_cv_file_magic_cmd='$OBJDUMP -f'
5258 ;;
5259
5260darwin* | rhapsody*)
5261 lt_cv_deplibs_check_method=pass_all
5262 ;;
5263
5264freebsd* | dragonfly*)
5265 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5266 case $host_cpu in
5267 i*86 )
5268 # Not sure whether the presence of OpenBSD here was a mistake.
5269 # Let's accept both of them until this is cleared up.
5270 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5271 lt_cv_file_magic_cmd=/usr/bin/file
5272 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5273 ;;
5274 esac
5275 else
5276 lt_cv_deplibs_check_method=pass_all
5277 fi
5278 ;;
5279
5280gnu*)
5281 lt_cv_deplibs_check_method=pass_all
5282 ;;
5283
5284hpux10.20* | hpux11*)
5285 lt_cv_file_magic_cmd=/usr/bin/file
5286 case $host_cpu in
5287 ia64*)
5288 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5289 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5290 ;;
5291 hppa*64*)
5292 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]'
5293 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5294 ;;
5295 *)
5296 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5297 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5298 ;;
5299 esac
5300 ;;
5301
5302interix[3-9]*)
5303 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5304 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5305 ;;
5306
5307irix5* | irix6* | nonstopux*)
5308 case $LD in
5309 *-32|*"-32 ") libmagic=32-bit;;
5310 *-n32|*"-n32 ") libmagic=N32;;
5311 *-64|*"-64 ") libmagic=64-bit;;
5312 *) libmagic=never-match;;
5313 esac
5314 lt_cv_deplibs_check_method=pass_all
5315 ;;
5316
5317# This must be Linux ELF.
5318linux* | k*bsd*-gnu | kopensolaris*-gnu)
5319 lt_cv_deplibs_check_method=pass_all
5320 ;;
5321
5322netbsd* | netbsdelf*-gnu)
5323 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5324 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5325 else
5326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5327 fi
5328 ;;
5329
5330newos6*)
5331 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5332 lt_cv_file_magic_cmd=/usr/bin/file
5333 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5334 ;;
5335
5336*nto* | *qnx*)
5337 lt_cv_deplibs_check_method=pass_all
5338 ;;
5339
5340openbsd*)
5341 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5342 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5343 else
5344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5345 fi
5346 ;;
5347
5348osf3* | osf4* | osf5*)
5349 lt_cv_deplibs_check_method=pass_all
5350 ;;
5351
5352rdos*)
5353 lt_cv_deplibs_check_method=pass_all
5354 ;;
5355
5356solaris*)
5357 lt_cv_deplibs_check_method=pass_all
5358 ;;
5359
5360sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5361 lt_cv_deplibs_check_method=pass_all
5362 ;;
5363
5364sysv4 | sysv4.3*)
5365 case $host_vendor in
5366 motorola)
5367 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]'
5368 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5369 ;;
5370 ncr)
5371 lt_cv_deplibs_check_method=pass_all
5372 ;;
5373 sequent)
5374 lt_cv_file_magic_cmd='/bin/file'
5375 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5376 ;;
5377 sni)
5378 lt_cv_file_magic_cmd='/bin/file'
5379 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5380 lt_cv_file_magic_test_file=/lib/libc.so
5381 ;;
5382 siemens)
5383 lt_cv_deplibs_check_method=pass_all
5384 ;;
5385 pc)
5386 lt_cv_deplibs_check_method=pass_all
5387 ;;
5388 esac
5389 ;;
5390
5391tpf*)
5392 lt_cv_deplibs_check_method=pass_all
5393 ;;
5394esac
5395
5396fi
5397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5398$as_echo "$lt_cv_deplibs_check_method" >&6; }
5399file_magic_cmd=$lt_cv_file_magic_cmd
5400deplibs_check_method=$lt_cv_deplibs_check_method
5401test -z "$deplibs_check_method" && deplibs_check_method=unknown
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414if test -n "$ac_tool_prefix"; then
5415 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5416set dummy ${ac_tool_prefix}ar; ac_word=$2
5417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418$as_echo_n "checking for $ac_word... " >&6; }
5419if test "${ac_cv_prog_AR+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5421else
5422 if test -n "$AR"; then
5423 ac_cv_prog_AR="$AR" # Let the user override the test.
5424else
5425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426for as_dir in $PATH
5427do
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5432 ac_cv_prog_AR="${ac_tool_prefix}ar"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5435 fi
5436done
5437 done
5438IFS=$as_save_IFS
5439
5440fi
5441fi
5442AR=$ac_cv_prog_AR
5443if test -n "$AR"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5445$as_echo "$AR" >&6; }
5446else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448$as_echo "no" >&6; }
5449fi
5450
5451
5452fi
5453if test -z "$ac_cv_prog_AR"; then
5454 ac_ct_AR=$AR
5455 # Extract the first word of "ar", so it can be a program name with args.
5456set dummy ar; ac_word=$2
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458$as_echo_n "checking for $ac_word... " >&6; }
5459if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5460 $as_echo_n "(cached) " >&6
5461else
5462 if test -n "$ac_ct_AR"; then
5463 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5464else
5465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466for as_dir in $PATH
5467do
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5472 ac_cv_prog_ac_ct_AR="ar"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5475 fi
5476done
5477 done
5478IFS=$as_save_IFS
5479
5480fi
5481fi
5482ac_ct_AR=$ac_cv_prog_ac_ct_AR
5483if test -n "$ac_ct_AR"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5485$as_echo "$ac_ct_AR" >&6; }
5486else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488$as_echo "no" >&6; }
5489fi
5490
5491 if test "x$ac_ct_AR" = x; then
5492 AR="false"
5493 else
5494 case $cross_compiling:$ac_tool_warned in
5495yes:)
5496{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5497$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5498ac_tool_warned=yes ;;
5499esac
5500 AR=$ac_ct_AR
5501 fi
5502else
5503 AR="$ac_cv_prog_AR"
5504fi
5505
5506test -z "$AR" && AR=ar
5507test -z "$AR_FLAGS" && AR_FLAGS=cru
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5521set dummy ${ac_tool_prefix}strip; ac_word=$2
5522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523$as_echo_n "checking for $ac_word... " >&6; }
5524if test "${ac_cv_prog_STRIP+set}" = set; then :
5525 $as_echo_n "(cached) " >&6
5526else
5527 if test -n "$STRIP"; then
5528 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5529else
5530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531for as_dir in $PATH
5532do
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5540 fi
5541done
5542 done
5543IFS=$as_save_IFS
5544
5545fi
5546fi
5547STRIP=$ac_cv_prog_STRIP
5548if test -n "$STRIP"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5550$as_echo "$STRIP" >&6; }
5551else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553$as_echo "no" >&6; }
5554fi
5555
5556
5557fi
5558if test -z "$ac_cv_prog_STRIP"; then
5559 ac_ct_STRIP=$STRIP
5560 # Extract the first word of "strip", so it can be a program name with args.
5561set dummy strip; ac_word=$2
5562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563$as_echo_n "checking for $ac_word... " >&6; }
5564if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5566else
5567 if test -n "$ac_ct_STRIP"; then
5568 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5569else
5570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571for as_dir in $PATH
5572do
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_ac_ct_STRIP="strip"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5580 fi
5581done
5582 done
5583IFS=$as_save_IFS
5584
5585fi
5586fi
5587ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5588if test -n "$ac_ct_STRIP"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5590$as_echo "$ac_ct_STRIP" >&6; }
5591else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593$as_echo "no" >&6; }
5594fi
5595
5596 if test "x$ac_ct_STRIP" = x; then
5597 STRIP=":"
5598 else
5599 case $cross_compiling:$ac_tool_warned in
5600yes:)
5601{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603ac_tool_warned=yes ;;
5604esac
5605 STRIP=$ac_ct_STRIP
5606 fi
5607else
5608 STRIP="$ac_cv_prog_STRIP"
5609fi
5610
5611test -z "$STRIP" && STRIP=:
5612
5613
5614
5615
5616
5617
5618if test -n "$ac_tool_prefix"; then
5619 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5620set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622$as_echo_n "checking for $ac_word... " >&6; }
5623if test "${ac_cv_prog_RANLIB+set}" = set; then :
5624 $as_echo_n "(cached) " >&6
5625else
5626 if test -n "$RANLIB"; then
5627 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5628else
5629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630for as_dir in $PATH
5631do
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5636 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 break 2
5639 fi
5640done
5641 done
5642IFS=$as_save_IFS
5643
5644fi
5645fi
5646RANLIB=$ac_cv_prog_RANLIB
5647if test -n "$RANLIB"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5649$as_echo "$RANLIB" >&6; }
5650else
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652$as_echo "no" >&6; }
5653fi
5654
5655
5656fi
5657if test -z "$ac_cv_prog_RANLIB"; then
5658 ac_ct_RANLIB=$RANLIB
5659 # Extract the first word of "ranlib", so it can be a program name with args.
5660set dummy ranlib; ac_word=$2
5661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662$as_echo_n "checking for $ac_word... " >&6; }
5663if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5664 $as_echo_n "(cached) " >&6
5665else
5666 if test -n "$ac_ct_RANLIB"; then
5667 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5668else
5669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670for as_dir in $PATH
5671do
5672 IFS=$as_save_IFS
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5676 ac_cv_prog_ac_ct_RANLIB="ranlib"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 break 2
5679 fi
5680done
5681 done
5682IFS=$as_save_IFS
5683
5684fi
5685fi
5686ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5687if test -n "$ac_ct_RANLIB"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5689$as_echo "$ac_ct_RANLIB" >&6; }
5690else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692$as_echo "no" >&6; }
5693fi
5694
5695 if test "x$ac_ct_RANLIB" = x; then
5696 RANLIB=":"
5697 else
5698 case $cross_compiling:$ac_tool_warned in
5699yes:)
5700{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5701$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5702ac_tool_warned=yes ;;
5703esac
5704 RANLIB=$ac_ct_RANLIB
5705 fi
5706else
5707 RANLIB="$ac_cv_prog_RANLIB"
5708fi
5709
5710test -z "$RANLIB" && RANLIB=:
5711
5712
5713
5714
5715
5716
5717# Determine commands to create old-style static archives.
5718old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5719old_postinstall_cmds='chmod 644 $oldlib'
5720old_postuninstall_cmds=
5721
5722if test -n "$RANLIB"; then
5723 case $host_os in
5724 openbsd*)
5725 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5726 ;;
5727 *)
5728 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5729 ;;
5730 esac
5731 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5732fi
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767# If no C compiler was specified, use CC.
5768LTCC=${LTCC-"$CC"}
5769
5770# If no C compiler flags were specified, use CFLAGS.
5771LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5772
5773# Allow CC to be a program name with arguments.
5774compiler=$CC
5775
5776
5777# Check for command to grab the raw symbol name followed by C symbol from nm.
5778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5779$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5780if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782else
5783
5784# These are sane defaults that work on at least a few old systems.
5785# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5786
5787# Character class describing NM global symbol codes.
5788symcode='[BCDEGRST]'
5789
5790# Regexp to match symbols that can be accessed directly from C.
5791sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5792
5793# Define system-specific variables.
5794case $host_os in
5795aix*)
5796 symcode='[BCDT]'
5797 ;;
5798cygwin* | mingw* | pw32* | cegcc*)
5799 symcode='[ABCDGISTW]'
5800 ;;
5801hpux*)
5802 if test "$host_cpu" = ia64; then
5803 symcode='[ABCDEGRST]'
5804 fi
5805 ;;
5806irix* | nonstopux*)
5807 symcode='[BCDEGRST]'
5808 ;;
5809osf*)
5810 symcode='[BCDEGQRST]'
5811 ;;
5812solaris*)
5813 symcode='[BDRT]'
5814 ;;
5815sco3.2v5*)
5816 symcode='[DT]'
5817 ;;
5818sysv4.2uw2*)
5819 symcode='[DT]'
5820 ;;
5821sysv5* | sco5v6* | unixware* | OpenUNIX*)
5822 symcode='[ABDT]'
5823 ;;
5824sysv4)
5825 symcode='[DFNSTU]'
5826 ;;
5827esac
5828
5829# If we're using GNU nm, then use its standard symbol codes.
5830case `$NM -V 2>&1` in
5831*GNU* | *'with BFD'*)
5832 symcode='[ABCDGIRSTW]' ;;
5833esac
5834
5835# Transform an extracted symbol line into a proper C declaration.
5836# Some systems (esp. on ia64) link data and code symbols differently,
5837# so use this general approach.
5838lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5839
5840# Transform an extracted symbol line into symbol name and symbol address
5841lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5842lt_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'"
5843
5844# Handle CRLF in mingw tool chain
5845opt_cr=
5846case $build_os in
5847mingw*)
5848 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5849 ;;
5850esac
5851
5852# Try without a prefix underscore, then with it.
5853for ac_symprfx in "" "_"; do
5854
5855 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5856 symxfrm="\\1 $ac_symprfx\\2 \\2"
5857
5858 # Write the raw and C identifiers.
5859 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5860 # Fake it for dumpbin and say T for any non-static function
5861 # and D for any global variable.
5862 # Also find C++ and __fastcall symbols from MSVC++,
5863 # which start with @ or ?.
5864 lt_cv_sys_global_symbol_pipe="$AWK '"\
5865" {last_section=section; section=\$ 3};"\
5866" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5867" \$ 0!~/External *\|/{next};"\
5868" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5869" {if(hide[section]) next};"\
5870" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5871" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5872" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5873" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5874" ' prfx=^$ac_symprfx"
5875 else
5876 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5877 fi
5878
5879 # Check to see that the pipe works correctly.
5880 pipe_works=no
5881
5882 rm -f conftest*
5883 cat > conftest.$ac_ext <<_LT_EOF
5884#ifdef __cplusplus
5885extern "C" {
5886#endif
5887char nm_test_var;
5888void nm_test_func(void);
5889void nm_test_func(void){}
5890#ifdef __cplusplus
5891}
5892#endif
5893int main(){nm_test_var='a';nm_test_func();return(0);}
5894_LT_EOF
5895
5896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5897 (eval $ac_compile) 2>&5
5898 ac_status=$?
5899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5900 test $ac_status = 0; }; then
5901 # Now try to grab the symbols.
5902 nlist=conftest.nm
5903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5904 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5905 ac_status=$?
5906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5907 test $ac_status = 0; } && test -s "$nlist"; then
5908 # Try sorting and uniquifying the output.
5909 if sort "$nlist" | uniq > "$nlist"T; then
5910 mv -f "$nlist"T "$nlist"
5911 else
5912 rm -f "$nlist"T
5913 fi
5914
5915 # Make sure that we snagged all the symbols we need.
5916 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5917 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5918 cat <<_LT_EOF > conftest.$ac_ext
5919#ifdef __cplusplus
5920extern "C" {
5921#endif
5922
5923_LT_EOF
5924 # Now generate the symbol file.
5925 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5926
5927 cat <<_LT_EOF >> conftest.$ac_ext
5928
5929/* The mapping between symbol names and symbols. */
5930const struct {
5931 const char *name;
5932 void *address;
5933}
5934lt__PROGRAM__LTX_preloaded_symbols[] =
5935{
5936 { "@PROGRAM@", (void *) 0 },
5937_LT_EOF
5938 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5939 cat <<\_LT_EOF >> conftest.$ac_ext
5940 {0, (void *) 0}
5941};
5942
5943/* This works around a problem in FreeBSD linker */
5944#ifdef FREEBSD_WORKAROUND
5945static const void *lt_preloaded_setup() {
5946 return lt__PROGRAM__LTX_preloaded_symbols;
5947}
5948#endif
5949
5950#ifdef __cplusplus
5951}
5952#endif
5953_LT_EOF
5954 # Now try linking the two files.
5955 mv conftest.$ac_objext conftstm.$ac_objext
5956 lt_save_LIBS="$LIBS"
5957 lt_save_CFLAGS="$CFLAGS"
5958 LIBS="conftstm.$ac_objext"
5959 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5961 (eval $ac_link) 2>&5
5962 ac_status=$?
5963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5964 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5965 pipe_works=yes
5966 fi
5967 LIBS="$lt_save_LIBS"
5968 CFLAGS="$lt_save_CFLAGS"
5969 else
5970 echo "cannot find nm_test_func in $nlist" >&5
5971 fi
5972 else
5973 echo "cannot find nm_test_var in $nlist" >&5
5974 fi
5975 else
5976 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5977 fi
5978 else
5979 echo "$progname: failed program was:" >&5
5980 cat conftest.$ac_ext >&5
5981 fi
5982 rm -rf conftest* conftst*
5983
5984 # Do not use the global_symbol_pipe unless it works.
5985 if test "$pipe_works" = yes; then
5986 break
5987 else
5988 lt_cv_sys_global_symbol_pipe=
5989 fi
5990done
5991
5992fi
5993
5994if test -z "$lt_cv_sys_global_symbol_pipe"; then
5995 lt_cv_sys_global_symbol_to_cdecl=
5996fi
5997if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5999$as_echo "failed" >&6; }
6000else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6002$as_echo "ok" >&6; }
6003fi
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027# Check whether --enable-libtool-lock was given.
6028if test "${enable_libtool_lock+set}" = set; then :
6029 enableval=$enable_libtool_lock;
6030fi
6031
6032test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6033
6034# Some flags need to be propagated to the compiler or linker for good
6035# libtool support.
6036case $host in
6037ia64-*-hpux*)
6038 # Find out which ABI we are using.
6039 echo 'int i;' > conftest.$ac_ext
6040 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6041 (eval $ac_compile) 2>&5
6042 ac_status=$?
6043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6044 test $ac_status = 0; }; then
6045 case `/usr/bin/file conftest.$ac_objext` in
6046 *ELF-32*)
6047 HPUX_IA64_MODE="32"
6048 ;;
6049 *ELF-64*)
6050 HPUX_IA64_MODE="64"
6051 ;;
6052 esac
6053 fi
6054 rm -rf conftest*
6055 ;;
6056*-*-irix6*)
6057 # Find out which ABI we are using.
6058 echo '#line 6058 "configure"' > conftest.$ac_ext
6059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6060 (eval $ac_compile) 2>&5
6061 ac_status=$?
6062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6063 test $ac_status = 0; }; then
6064 if test "$lt_cv_prog_gnu_ld" = yes; then
6065 case `/usr/bin/file conftest.$ac_objext` in
6066 *32-bit*)
6067 LD="${LD-ld} -melf32bsmip"
6068 ;;
6069 *N32*)
6070 LD="${LD-ld} -melf32bmipn32"
6071 ;;
6072 *64-bit*)
6073 LD="${LD-ld} -melf64bmip"
6074 ;;
6075 esac
6076 else
6077 case `/usr/bin/file conftest.$ac_objext` in
6078 *32-bit*)
6079 LD="${LD-ld} -32"
6080 ;;
6081 *N32*)
6082 LD="${LD-ld} -n32"
6083 ;;
6084 *64-bit*)
6085 LD="${LD-ld} -64"
6086 ;;
6087 esac
6088 fi
6089 fi
6090 rm -rf conftest*
6091 ;;
6092
6093x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6094s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6095 # Find out which ABI we are using.
6096 echo 'int i;' > conftest.$ac_ext
6097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6098 (eval $ac_compile) 2>&5
6099 ac_status=$?
6100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101 test $ac_status = 0; }; then
6102 case `/usr/bin/file conftest.o` in
6103 *32-bit*)
6104 case $host in
6105 x86_64-*kfreebsd*-gnu)
6106 LD="${LD-ld} -m elf_i386_fbsd"
6107 ;;
6108 x86_64-*linux*)
6109 LD="${LD-ld} -m elf_i386"
6110 ;;
6111 ppc64-*linux*|powerpc64-*linux*)
6112 LD="${LD-ld} -m elf32ppclinux"
6113 ;;
6114 s390x-*linux*)
6115 LD="${LD-ld} -m elf_s390"
6116 ;;
6117 sparc64-*linux*)
6118 LD="${LD-ld} -m elf32_sparc"
6119 ;;
6120 esac
6121 ;;
6122 *64-bit*)
6123 case $host in
6124 x86_64-*kfreebsd*-gnu)
6125 LD="${LD-ld} -m elf_x86_64_fbsd"
6126 ;;
6127 x86_64-*linux*)
6128 LD="${LD-ld} -m elf_x86_64"
6129 ;;
6130 ppc*-*linux*|powerpc*-*linux*)
6131 LD="${LD-ld} -m elf64ppc"
6132 ;;
6133 s390*-*linux*|s390*-*tpf*)
6134 LD="${LD-ld} -m elf64_s390"
6135 ;;
6136 sparc*-*linux*)
6137 LD="${LD-ld} -m elf64_sparc"
6138 ;;
6139 esac
6140 ;;
6141 esac
6142 fi
6143 rm -rf conftest*
6144 ;;
6145
6146*-*-sco3.2v5*)
6147 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6148 SAVE_CFLAGS="$CFLAGS"
6149 CFLAGS="$CFLAGS -belf"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6151$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6152if test "${lt_cv_cc_needs_belf+set}" = set; then :
6153 $as_echo_n "(cached) " >&6
6154else
6155 ac_ext=c
6156ac_cpp='$CPP $CPPFLAGS'
6157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6159ac_compiler_gnu=$ac_cv_c_compiler_gnu
6160
6161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162/* end confdefs.h. */
6163
6164int
6165main ()
6166{
6167
6168 ;
6169 return 0;
6170}
6171_ACEOF
6172if ac_fn_c_try_link "$LINENO"; then :
6173 lt_cv_cc_needs_belf=yes
6174else
6175 lt_cv_cc_needs_belf=no
6176fi
6177rm -f core conftest.err conftest.$ac_objext \
6178 conftest$ac_exeext conftest.$ac_ext
6179 ac_ext=c
6180ac_cpp='$CPP $CPPFLAGS'
6181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6183ac_compiler_gnu=$ac_cv_c_compiler_gnu
6184
6185fi
6186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6187$as_echo "$lt_cv_cc_needs_belf" >&6; }
6188 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6189 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6190 CFLAGS="$SAVE_CFLAGS"
6191 fi
6192 ;;
6193sparc*-*solaris*)
6194 # Find out which ABI we are using.
6195 echo 'int i;' > conftest.$ac_ext
6196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6197 (eval $ac_compile) 2>&5
6198 ac_status=$?
6199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6200 test $ac_status = 0; }; then
6201 case `/usr/bin/file conftest.o` in
6202 *64-bit*)
6203 case $lt_cv_prog_gnu_ld in
6204 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6205 *)
6206 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6207 LD="${LD-ld} -64"
6208 fi
6209 ;;
6210 esac
6211 ;;
6212 esac
6213 fi
6214 rm -rf conftest*
6215 ;;
6216esac
6217
6218need_locks="$enable_libtool_lock"
6219
6220
6221 case $host_os in
6222 rhapsody* | darwin*)
6223 if test -n "$ac_tool_prefix"; then
6224 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6225set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227$as_echo_n "checking for $ac_word... " >&6; }
6228if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
6230else
6231 if test -n "$DSYMUTIL"; then
6232 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6233else
6234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235for as_dir in $PATH
6236do
6237 IFS=$as_save_IFS
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 break 2
6244 fi
6245done
6246 done
6247IFS=$as_save_IFS
6248
6249fi
6250fi
6251DSYMUTIL=$ac_cv_prog_DSYMUTIL
6252if test -n "$DSYMUTIL"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6254$as_echo "$DSYMUTIL" >&6; }
6255else
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257$as_echo "no" >&6; }
6258fi
6259
6260
6261fi
6262if test -z "$ac_cv_prog_DSYMUTIL"; then
6263 ac_ct_DSYMUTIL=$DSYMUTIL
6264 # Extract the first word of "dsymutil", so it can be a program name with args.
6265set dummy dsymutil; ac_word=$2
6266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267$as_echo_n "checking for $ac_word... " >&6; }
6268if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6269 $as_echo_n "(cached) " >&6
6270else
6271 if test -n "$ac_ct_DSYMUTIL"; then
6272 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6273else
6274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275for as_dir in $PATH
6276do
6277 IFS=$as_save_IFS
6278 test -z "$as_dir" && as_dir=.
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 break 2
6284 fi
6285done
6286 done
6287IFS=$as_save_IFS
6288
6289fi
6290fi
6291ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6292if test -n "$ac_ct_DSYMUTIL"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6294$as_echo "$ac_ct_DSYMUTIL" >&6; }
6295else
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297$as_echo "no" >&6; }
6298fi
6299
6300 if test "x$ac_ct_DSYMUTIL" = x; then
6301 DSYMUTIL=":"
6302 else
6303 case $cross_compiling:$ac_tool_warned in
6304yes:)
6305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6307ac_tool_warned=yes ;;
6308esac
6309 DSYMUTIL=$ac_ct_DSYMUTIL
6310 fi
6311else
6312 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6313fi
6314
6315 if test -n "$ac_tool_prefix"; then
6316 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6317set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319$as_echo_n "checking for $ac_word... " >&6; }
6320if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6321 $as_echo_n "(cached) " >&6
6322else
6323 if test -n "$NMEDIT"; then
6324 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6325else
6326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327for as_dir in $PATH
6328do
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 break 2
6336 fi
6337done
6338 done
6339IFS=$as_save_IFS
6340
6341fi
6342fi
6343NMEDIT=$ac_cv_prog_NMEDIT
6344if test -n "$NMEDIT"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6346$as_echo "$NMEDIT" >&6; }
6347else
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349$as_echo "no" >&6; }
6350fi
6351
6352
6353fi
6354if test -z "$ac_cv_prog_NMEDIT"; then
6355 ac_ct_NMEDIT=$NMEDIT
6356 # Extract the first word of "nmedit", so it can be a program name with args.
6357set dummy nmedit; ac_word=$2
6358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359$as_echo_n "checking for $ac_word... " >&6; }
6360if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6361 $as_echo_n "(cached) " >&6
6362else
6363 if test -n "$ac_ct_NMEDIT"; then
6364 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6365else
6366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367for as_dir in $PATH
6368do
6369 IFS=$as_save_IFS
6370 test -z "$as_dir" && as_dir=.
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6373 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 break 2
6376 fi
6377done
6378 done
6379IFS=$as_save_IFS
6380
6381fi
6382fi
6383ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6384if test -n "$ac_ct_NMEDIT"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6386$as_echo "$ac_ct_NMEDIT" >&6; }
6387else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389$as_echo "no" >&6; }
6390fi
6391
6392 if test "x$ac_ct_NMEDIT" = x; then
6393 NMEDIT=":"
6394 else
6395 case $cross_compiling:$ac_tool_warned in
6396yes:)
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6398$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6399ac_tool_warned=yes ;;
6400esac
6401 NMEDIT=$ac_ct_NMEDIT
6402 fi
6403else
6404 NMEDIT="$ac_cv_prog_NMEDIT"
6405fi
6406
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6409set dummy ${ac_tool_prefix}lipo; ac_word=$2
6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411$as_echo_n "checking for $ac_word... " >&6; }
6412if test "${ac_cv_prog_LIPO+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6414else
6415 if test -n "$LIPO"; then
6416 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6417else
6418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419for as_dir in $PATH
6420do
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6428 fi
6429done
6430 done
6431IFS=$as_save_IFS
6432
6433fi
6434fi
6435LIPO=$ac_cv_prog_LIPO
6436if test -n "$LIPO"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6438$as_echo "$LIPO" >&6; }
6439else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441$as_echo "no" >&6; }
6442fi
6443
6444
6445fi
6446if test -z "$ac_cv_prog_LIPO"; then
6447 ac_ct_LIPO=$LIPO
6448 # Extract the first word of "lipo", so it can be a program name with args.
6449set dummy lipo; ac_word=$2
6450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451$as_echo_n "checking for $ac_word... " >&6; }
6452if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454else
6455 if test -n "$ac_ct_LIPO"; then
6456 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6457else
6458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459for as_dir in $PATH
6460do
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_LIPO="lipo"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6468 fi
6469done
6470 done
6471IFS=$as_save_IFS
6472
6473fi
6474fi
6475ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6476if test -n "$ac_ct_LIPO"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6478$as_echo "$ac_ct_LIPO" >&6; }
6479else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481$as_echo "no" >&6; }
6482fi
6483
6484 if test "x$ac_ct_LIPO" = x; then
6485 LIPO=":"
6486 else
6487 case $cross_compiling:$ac_tool_warned in
6488yes:)
6489{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491ac_tool_warned=yes ;;
6492esac
6493 LIPO=$ac_ct_LIPO
6494 fi
6495else
6496 LIPO="$ac_cv_prog_LIPO"
6497fi
6498
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6501set dummy ${ac_tool_prefix}otool; ac_word=$2
6502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503$as_echo_n "checking for $ac_word... " >&6; }
6504if test "${ac_cv_prog_OTOOL+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506else
6507 if test -n "$OTOOL"; then
6508 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6509else
6510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511for as_dir in $PATH
6512do
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521done
6522 done
6523IFS=$as_save_IFS
6524
6525fi
6526fi
6527OTOOL=$ac_cv_prog_OTOOL
6528if test -n "$OTOOL"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6530$as_echo "$OTOOL" >&6; }
6531else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533$as_echo "no" >&6; }
6534fi
6535
6536
6537fi
6538if test -z "$ac_cv_prog_OTOOL"; then
6539 ac_ct_OTOOL=$OTOOL
6540 # Extract the first word of "otool", so it can be a program name with args.
6541set dummy otool; ac_word=$2
6542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543$as_echo_n "checking for $ac_word... " >&6; }
6544if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546else
6547 if test -n "$ac_ct_OTOOL"; then
6548 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6549else
6550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551for as_dir in $PATH
6552do
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_OTOOL="otool"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561done
6562 done
6563IFS=$as_save_IFS
6564
6565fi
6566fi
6567ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6568if test -n "$ac_ct_OTOOL"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6570$as_echo "$ac_ct_OTOOL" >&6; }
6571else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573$as_echo "no" >&6; }
6574fi
6575
6576 if test "x$ac_ct_OTOOL" = x; then
6577 OTOOL=":"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580yes:)
6581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583ac_tool_warned=yes ;;
6584esac
6585 OTOOL=$ac_ct_OTOOL
6586 fi
6587else
6588 OTOOL="$ac_cv_prog_OTOOL"
6589fi
6590
6591 if test -n "$ac_tool_prefix"; then
6592 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6593set dummy ${ac_tool_prefix}otool64; ac_word=$2
6594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595$as_echo_n "checking for $ac_word... " >&6; }
6596if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6597 $as_echo_n "(cached) " >&6
6598else
6599 if test -n "$OTOOL64"; then
6600 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6601else
6602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603for as_dir in $PATH
6604do
6605 IFS=$as_save_IFS
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 break 2
6612 fi
6613done
6614 done
6615IFS=$as_save_IFS
6616
6617fi
6618fi
6619OTOOL64=$ac_cv_prog_OTOOL64
6620if test -n "$OTOOL64"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6622$as_echo "$OTOOL64" >&6; }
6623else
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625$as_echo "no" >&6; }
6626fi
6627
6628
6629fi
6630if test -z "$ac_cv_prog_OTOOL64"; then
6631 ac_ct_OTOOL64=$OTOOL64
6632 # Extract the first word of "otool64", so it can be a program name with args.
6633set dummy otool64; ac_word=$2
6634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635$as_echo_n "checking for $ac_word... " >&6; }
6636if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6637 $as_echo_n "(cached) " >&6
6638else
6639 if test -n "$ac_ct_OTOOL64"; then
6640 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6641else
6642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643for as_dir in $PATH
6644do
6645 IFS=$as_save_IFS
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649 ac_cv_prog_ac_ct_OTOOL64="otool64"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651 break 2
6652 fi
6653done
6654 done
6655IFS=$as_save_IFS
6656
6657fi
6658fi
6659ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6660if test -n "$ac_ct_OTOOL64"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6662$as_echo "$ac_ct_OTOOL64" >&6; }
6663else
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665$as_echo "no" >&6; }
6666fi
6667
6668 if test "x$ac_ct_OTOOL64" = x; then
6669 OTOOL64=":"
6670 else
6671 case $cross_compiling:$ac_tool_warned in
6672yes:)
6673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675ac_tool_warned=yes ;;
6676esac
6677 OTOOL64=$ac_ct_OTOOL64
6678 fi
6679else
6680 OTOOL64="$ac_cv_prog_OTOOL64"
6681fi
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6710$as_echo_n "checking for -single_module linker flag... " >&6; }
6711if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6713else
6714 lt_cv_apple_cc_single_mod=no
6715 if test -z "${LT_MULTI_MODULE}"; then
6716 # By default we will add the -single_module flag. You can override
6717 # by either setting the environment variable LT_MULTI_MODULE
6718 # non-empty at configure time, or by adding -multi_module to the
6719 # link flags.
6720 rm -rf libconftest.dylib*
6721 echo "int foo(void){return 1;}" > conftest.c
6722 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6723-dynamiclib -Wl,-single_module conftest.c" >&5
6724 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6725 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6726 _lt_result=$?
6727 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6728 lt_cv_apple_cc_single_mod=yes
6729 else
6730 cat conftest.err >&5
6731 fi
6732 rm -rf libconftest.dylib*
6733 rm -f conftest.*
6734 fi
6735fi
6736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6737$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6739$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6740if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6741 $as_echo_n "(cached) " >&6
6742else
6743 lt_cv_ld_exported_symbols_list=no
6744 save_LDFLAGS=$LDFLAGS
6745 echo "_main" > conftest.sym
6746 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6748/* end confdefs.h. */
6749
6750int
6751main ()
6752{
6753
6754 ;
6755 return 0;
6756}
6757_ACEOF
6758if ac_fn_c_try_link "$LINENO"; then :
6759 lt_cv_ld_exported_symbols_list=yes
6760else
6761 lt_cv_ld_exported_symbols_list=no
6762fi
6763rm -f core conftest.err conftest.$ac_objext \
6764 conftest$ac_exeext conftest.$ac_ext
6765 LDFLAGS="$save_LDFLAGS"
6766
6767fi
6768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6769$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6770 case $host_os in
6771 rhapsody* | darwin1.[012])
6772 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6773 darwin1.*)
6774 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6775 darwin*) # darwin 5.x on
6776 # if running on 10.5 or later, the deployment target defaults
6777 # to the OS version, if on x86, and 10.4, the deployment
6778 # target defaults to 10.4. Don't you love it?
6779 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6780 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6781 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6782 10.[012]*)
6783 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6784 10.*)
6785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6786 esac
6787 ;;
6788 esac
6789 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6790 _lt_dar_single_mod='$single_module'
6791 fi
6792 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6793 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6794 else
6795 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6796 fi
6797 if test "$DSYMUTIL" != ":"; then
6798 _lt_dsymutil='~$DSYMUTIL $lib || :'
6799 else
6800 _lt_dsymutil=
6801 fi
6802 ;;
6803 esac
6804
6805ac_ext=c
6806ac_cpp='$CPP $CPPFLAGS'
6807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809ac_compiler_gnu=$ac_cv_c_compiler_gnu
6810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6811$as_echo_n "checking how to run the C preprocessor... " >&6; }
6812# On Suns, sometimes $CPP names a directory.
6813if test -n "$CPP" && test -d "$CPP"; then
6814 CPP=
6815fi
6816if test -z "$CPP"; then
6817 if test "${ac_cv_prog_CPP+set}" = set; then :
6818 $as_echo_n "(cached) " >&6
6819else
6820 # Double quotes because CPP needs to be expanded
6821 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6822 do
6823 ac_preproc_ok=false
6824for ac_c_preproc_warn_flag in '' yes
6825do
6826 # Use a header file that comes with gcc, so configuring glibc
6827 # with a fresh cross-compiler works.
6828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6829 # <limits.h> exists even on freestanding compilers.
6830 # On the NeXT, cc -E runs the code through the compiler's parser,
6831 # not just through cpp. "Syntax error" is here to catch this case.
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833/* end confdefs.h. */
6834#ifdef __STDC__
6835# include <limits.h>
6836#else
6837# include <assert.h>
6838#endif
6839 Syntax error
6840_ACEOF
6841if ac_fn_c_try_cpp "$LINENO"; then :
6842
6843else
6844 # Broken: fails on valid input.
6845continue
6846fi
6847rm -f conftest.err conftest.i conftest.$ac_ext
6848
6849 # OK, works on sane cases. Now check whether nonexistent headers
6850 # can be detected and how.
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852/* end confdefs.h. */
6853#include <ac_nonexistent.h>
6854_ACEOF
6855if ac_fn_c_try_cpp "$LINENO"; then :
6856 # Broken: success on invalid input.
6857continue
6858else
6859 # Passes both tests.
6860ac_preproc_ok=:
6861break
6862fi
6863rm -f conftest.err conftest.i conftest.$ac_ext
6864
6865done
6866# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6867rm -f conftest.i conftest.err conftest.$ac_ext
6868if $ac_preproc_ok; then :
6869 break
6870fi
6871
6872 done
6873 ac_cv_prog_CPP=$CPP
6874
6875fi
6876 CPP=$ac_cv_prog_CPP
6877else
6878 ac_cv_prog_CPP=$CPP
6879fi
6880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6881$as_echo "$CPP" >&6; }
6882ac_preproc_ok=false
6883for ac_c_preproc_warn_flag in '' yes
6884do
6885 # Use a header file that comes with gcc, so configuring glibc
6886 # with a fresh cross-compiler works.
6887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6888 # <limits.h> exists even on freestanding compilers.
6889 # On the NeXT, cc -E runs the code through the compiler's parser,
6890 # not just through cpp. "Syntax error" is here to catch this case.
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892/* end confdefs.h. */
6893#ifdef __STDC__
6894# include <limits.h>
6895#else
6896# include <assert.h>
6897#endif
6898 Syntax error
6899_ACEOF
6900if ac_fn_c_try_cpp "$LINENO"; then :
6901
6902else
6903 # Broken: fails on valid input.
6904continue
6905fi
6906rm -f conftest.err conftest.i conftest.$ac_ext
6907
6908 # OK, works on sane cases. Now check whether nonexistent headers
6909 # can be detected and how.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911/* end confdefs.h. */
6912#include <ac_nonexistent.h>
6913_ACEOF
6914if ac_fn_c_try_cpp "$LINENO"; then :
6915 # Broken: success on invalid input.
6916continue
6917else
6918 # Passes both tests.
6919ac_preproc_ok=:
6920break
6921fi
6922rm -f conftest.err conftest.i conftest.$ac_ext
6923
6924done
6925# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6926rm -f conftest.i conftest.err conftest.$ac_ext
6927if $ac_preproc_ok; then :
6928
6929else
6930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6931$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6932as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6933See \`config.log' for more details" "$LINENO" 5 ; }
6934fi
6935
6936ac_ext=c
6937ac_cpp='$CPP $CPPFLAGS'
6938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6940ac_compiler_gnu=$ac_cv_c_compiler_gnu
6941
6942
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6944$as_echo_n "checking for ANSI C header files... " >&6; }
6945if test "${ac_cv_header_stdc+set}" = set; then :
6946 $as_echo_n "(cached) " >&6
6947else
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949/* end confdefs.h. */
6950#include <stdlib.h>
6951#include <stdarg.h>
6952#include <string.h>
6953#include <float.h>
6954
6955int
6956main ()
6957{
6958
6959 ;
6960 return 0;
6961}
6962_ACEOF
6963if ac_fn_c_try_compile "$LINENO"; then :
6964 ac_cv_header_stdc=yes
6965else
6966 ac_cv_header_stdc=no
6967fi
6968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6969
6970if test $ac_cv_header_stdc = yes; then
6971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973/* end confdefs.h. */
6974#include <string.h>
6975
6976_ACEOF
6977if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6978 $EGREP "memchr" >/dev/null 2>&1; then :
6979
6980else
6981 ac_cv_header_stdc=no
6982fi
6983rm -f conftest*
6984
6985fi
6986
6987if test $ac_cv_header_stdc = yes; then
6988 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990/* end confdefs.h. */
6991#include <stdlib.h>
6992
6993_ACEOF
6994if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6995 $EGREP "free" >/dev/null 2>&1; then :
6996
6997else
6998 ac_cv_header_stdc=no
6999fi
7000rm -f conftest*
7001
7002fi
7003
7004if test $ac_cv_header_stdc = yes; then
7005 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7006 if test "$cross_compiling" = yes; then :
7007 :
7008else
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010/* end confdefs.h. */
7011#include <ctype.h>
7012#include <stdlib.h>
7013#if ((' ' & 0x0FF) == 0x020)
7014# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7015# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7016#else
7017# define ISLOWER(c) \
7018 (('a' <= (c) && (c) <= 'i') \
7019 || ('j' <= (c) && (c) <= 'r') \
7020 || ('s' <= (c) && (c) <= 'z'))
7021# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7022#endif
7023
7024#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7025int
7026main ()
7027{
7028 int i;
7029 for (i = 0; i < 256; i++)
7030 if (XOR (islower (i), ISLOWER (i))
7031 || toupper (i) != TOUPPER (i))
7032 return 2;
7033 return 0;
7034}
7035_ACEOF
7036if ac_fn_c_try_run "$LINENO"; then :
7037
7038else
7039 ac_cv_header_stdc=no
7040fi
7041rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7042 conftest.$ac_objext conftest.beam conftest.$ac_ext
7043fi
7044
7045fi
7046fi
7047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7048$as_echo "$ac_cv_header_stdc" >&6; }
7049if test $ac_cv_header_stdc = yes; then
7050
7051$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7052
7053fi
7054
7055# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7056for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7057 inttypes.h stdint.h unistd.h
7058do :
7059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7060ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7061"
7062if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7063 cat >>confdefs.h <<_ACEOF
7064#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7065_ACEOF
7066
7067fi
7068
7069done
7070
7071
7072for ac_header in dlfcn.h
7073do :
7074 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7075"
7076if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7077 cat >>confdefs.h <<_ACEOF
7078#define HAVE_DLFCN_H 1
7079_ACEOF
7080
7081fi
7082
7083done
7084
7085
7086
7087# Set options
7088
7089
7090
7091 enable_dlopen=no
7092
7093
7094
7095 # Check whether --enable-shared was given.
7096if test "${enable_shared+set}" = set; then :
7097 enableval=$enable_shared; p=${PACKAGE-default}
7098 case $enableval in
7099 yes) enable_shared=yes ;;
7100 no) enable_shared=no ;;
7101 *)
7102 enable_shared=no
7103 # Look at the argument we got. We use all the common list separators.
7104 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7105 for pkg in $enableval; do
7106 IFS="$lt_save_ifs"
7107 if test "X$pkg" = "X$p"; then
7108 enable_shared=yes
7109 fi
7110 done
7111 IFS="$lt_save_ifs"
7112 ;;
7113 esac
7114else
7115 enable_shared=yes
7116fi
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126 # Check whether --enable-static was given.
7127if test "${enable_static+set}" = set; then :
7128 enableval=$enable_static; p=${PACKAGE-default}
7129 case $enableval in
7130 yes) enable_static=yes ;;
7131 no) enable_static=no ;;
7132 *)
7133 enable_static=no
7134 # Look at the argument we got. We use all the common list separators.
7135 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7136 for pkg in $enableval; do
7137 IFS="$lt_save_ifs"
7138 if test "X$pkg" = "X$p"; then
7139 enable_static=yes
7140 fi
7141 done
7142 IFS="$lt_save_ifs"
7143 ;;
7144 esac
7145else
7146 enable_static=yes
7147fi
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158# Check whether --with-pic was given.
7159if test "${with_pic+set}" = set; then :
7160 withval=$with_pic; pic_mode="$withval"
7161else
7162 pic_mode=default
7163fi
7164
7165
7166test -z "$pic_mode" && pic_mode=default
7167
7168
7169
7170
7171
7172
7173
7174 # Check whether --enable-fast-install was given.
7175if test "${enable_fast_install+set}" = set; then :
7176 enableval=$enable_fast_install; p=${PACKAGE-default}
7177 case $enableval in
7178 yes) enable_fast_install=yes ;;
7179 no) enable_fast_install=no ;;
7180 *)
7181 enable_fast_install=no
7182 # Look at the argument we got. We use all the common list separators.
7183 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7184 for pkg in $enableval; do
7185 IFS="$lt_save_ifs"
7186 if test "X$pkg" = "X$p"; then
7187 enable_fast_install=yes
7188 fi
7189 done
7190 IFS="$lt_save_ifs"
7191 ;;
7192 esac
7193else
7194 enable_fast_install=yes
7195fi
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207# This can be used to rebuild libtool when needed
7208LIBTOOL_DEPS="$ltmain"
7209
7210# Always use our own libtool.
7211LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237test -z "$LN_S" && LN_S="ln -s"
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252if test -n "${ZSH_VERSION+set}" ; then
7253 setopt NO_GLOB_SUBST
7254fi
7255
7256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7257$as_echo_n "checking for objdir... " >&6; }
7258if test "${lt_cv_objdir+set}" = set; then :
7259 $as_echo_n "(cached) " >&6
7260else
7261 rm -f .libs 2>/dev/null
7262mkdir .libs 2>/dev/null
7263if test -d .libs; then
7264 lt_cv_objdir=.libs
7265else
7266 # MS-DOS does not allow filenames that begin with a dot.
7267 lt_cv_objdir=_libs
7268fi
7269rmdir .libs 2>/dev/null
7270fi
7271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7272$as_echo "$lt_cv_objdir" >&6; }
7273objdir=$lt_cv_objdir
7274
7275
7276
7277
7278
7279cat >>confdefs.h <<_ACEOF
7280#define LT_OBJDIR "$lt_cv_objdir/"
7281_ACEOF
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299case $host_os in
7300aix3*)
7301 # AIX sometimes has problems with the GCC collect2 program. For some
7302 # reason, if we set the COLLECT_NAMES environment variable, the problems
7303 # vanish in a puff of smoke.
7304 if test "X${COLLECT_NAMES+set}" != Xset; then
7305 COLLECT_NAMES=
7306 export COLLECT_NAMES
7307 fi
7308 ;;
7309esac
7310
7311# Sed substitution that helps us do robust quoting. It backslashifies
7312# metacharacters that are still active within double-quoted strings.
7313sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7314
7315# Same as above, but do not quote variable references.
7316double_quote_subst='s/\(["`\\]\)/\\\1/g'
7317
7318# Sed substitution to delay expansion of an escaped shell variable in a
7319# double_quote_subst'ed string.
7320delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7321
7322# Sed substitution to delay expansion of an escaped single quote.
7323delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7324
7325# Sed substitution to avoid accidental globbing in evaled expressions
7326no_glob_subst='s/\*/\\\*/g'
7327
7328# Global variables:
7329ofile=libtool
7330can_build_shared=yes
7331
7332# All known linkers require a `.a' archive for static linking (except MSVC,
7333# which needs '.lib').
7334libext=a
7335
7336with_gnu_ld="$lt_cv_prog_gnu_ld"
7337
7338old_CC="$CC"
7339old_CFLAGS="$CFLAGS"
7340
7341# Set sane defaults for various variables
7342test -z "$CC" && CC=cc
7343test -z "$LTCC" && LTCC=$CC
7344test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7345test -z "$LD" && LD=ld
7346test -z "$ac_objext" && ac_objext=o
7347
7348for cc_temp in $compiler""; do
7349 case $cc_temp in
7350 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7351 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7352 \-*) ;;
7353 *) break;;
7354 esac
7355done
7356cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7357
7358
7359# Only perform the check for file, if the check method requires it
7360test -z "$MAGIC_CMD" && MAGIC_CMD=file
7361case $deplibs_check_method in
7362file_magic*)
7363 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7365$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7366if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7367 $as_echo_n "(cached) " >&6
7368else
7369 case $MAGIC_CMD in
7370[\\/*] | ?:[\\/]*)
7371 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7372 ;;
7373*)
7374 lt_save_MAGIC_CMD="$MAGIC_CMD"
7375 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7376 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7377 for ac_dir in $ac_dummy; do
7378 IFS="$lt_save_ifs"
7379 test -z "$ac_dir" && ac_dir=.
7380 if test -f $ac_dir/${ac_tool_prefix}file; then
7381 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7382 if test -n "$file_magic_test_file"; then
7383 case $deplibs_check_method in
7384 "file_magic "*)
7385 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7386 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7387 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7388 $EGREP "$file_magic_regex" > /dev/null; then
7389 :
7390 else
7391 cat <<_LT_EOF 1>&2
7392
7393*** Warning: the command libtool uses to detect shared libraries,
7394*** $file_magic_cmd, produces output that libtool cannot recognize.
7395*** The result is that libtool may fail to recognize shared libraries
7396*** as such. This will affect the creation of libtool libraries that
7397*** depend on shared libraries, but programs linked with such libtool
7398*** libraries will work regardless of this problem. Nevertheless, you
7399*** may want to report the problem to your system manager and/or to
7400*** bug-libtool@gnu.org
7401
7402_LT_EOF
7403 fi ;;
7404 esac
7405 fi
7406 break
7407 fi
7408 done
7409 IFS="$lt_save_ifs"
7410 MAGIC_CMD="$lt_save_MAGIC_CMD"
7411 ;;
7412esac
7413fi
7414
7415MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7416if test -n "$MAGIC_CMD"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7418$as_echo "$MAGIC_CMD" >&6; }
7419else
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421$as_echo "no" >&6; }
7422fi
7423
7424
7425
7426
7427
7428if test -z "$lt_cv_path_MAGIC_CMD"; then
7429 if test -n "$ac_tool_prefix"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7431$as_echo_n "checking for file... " >&6; }
7432if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434else
7435 case $MAGIC_CMD in
7436[\\/*] | ?:[\\/]*)
7437 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7438 ;;
7439*)
7440 lt_save_MAGIC_CMD="$MAGIC_CMD"
7441 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7442 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7443 for ac_dir in $ac_dummy; do
7444 IFS="$lt_save_ifs"
7445 test -z "$ac_dir" && ac_dir=.
7446 if test -f $ac_dir/file; then
7447 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7448 if test -n "$file_magic_test_file"; then
7449 case $deplibs_check_method in
7450 "file_magic "*)
7451 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7452 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7453 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7454 $EGREP "$file_magic_regex" > /dev/null; then
7455 :
7456 else
7457 cat <<_LT_EOF 1>&2
7458
7459*** Warning: the command libtool uses to detect shared libraries,
7460*** $file_magic_cmd, produces output that libtool cannot recognize.
7461*** The result is that libtool may fail to recognize shared libraries
7462*** as such. This will affect the creation of libtool libraries that
7463*** depend on shared libraries, but programs linked with such libtool
7464*** libraries will work regardless of this problem. Nevertheless, you
7465*** may want to report the problem to your system manager and/or to
7466*** bug-libtool@gnu.org
7467
7468_LT_EOF
7469 fi ;;
7470 esac
7471 fi
7472 break
7473 fi
7474 done
7475 IFS="$lt_save_ifs"
7476 MAGIC_CMD="$lt_save_MAGIC_CMD"
7477 ;;
7478esac
7479fi
7480
7481MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7482if test -n "$MAGIC_CMD"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7484$as_echo "$MAGIC_CMD" >&6; }
7485else
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487$as_echo "no" >&6; }
7488fi
7489
7490
7491 else
7492 MAGIC_CMD=:
7493 fi
7494fi
7495
7496 fi
7497 ;;
7498esac
7499
7500# Use C for the default configuration in the libtool script
7501
7502lt_save_CC="$CC"
7503ac_ext=c
7504ac_cpp='$CPP $CPPFLAGS'
7505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7507ac_compiler_gnu=$ac_cv_c_compiler_gnu
7508
7509
7510# Source file extension for C test sources.
7511ac_ext=c
7512
7513# Object file extension for compiled C test sources.
7514objext=o
7515objext=$objext
7516
7517# Code to be used in simple compile tests
7518lt_simple_compile_test_code="int some_variable = 0;"
7519
7520# Code to be used in simple link tests
7521lt_simple_link_test_code='int main(){return(0);}'
7522
7523
7524
7525
7526
7527
7528
7529# If no C compiler was specified, use CC.
7530LTCC=${LTCC-"$CC"}
7531
7532# If no C compiler flags were specified, use CFLAGS.
7533LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7534
7535# Allow CC to be a program name with arguments.
7536compiler=$CC
7537
7538# Save the default compiler, since it gets overwritten when the other
7539# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7540compiler_DEFAULT=$CC
7541
7542# save warnings/boilerplate of simple test code
7543ac_outfile=conftest.$ac_objext
7544echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7545eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7546_lt_compiler_boilerplate=`cat conftest.err`
7547$RM conftest*
7548
7549ac_outfile=conftest.$ac_objext
7550echo "$lt_simple_link_test_code" >conftest.$ac_ext
7551eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7552_lt_linker_boilerplate=`cat conftest.err`
7553$RM -r conftest*
7554
7555
7556## CAVEAT EMPTOR:
7557## There is no encapsulation within the following macros, do not change
7558## the running order or otherwise move them around unless you know exactly
7559## what you are doing...
7560if test -n "$compiler"; then
7561
7562lt_prog_compiler_no_builtin_flag=
7563
7564if test "$GCC" = yes; then
7565 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7566
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7568$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7569if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7570 $as_echo_n "(cached) " >&6
7571else
7572 lt_cv_prog_compiler_rtti_exceptions=no
7573 ac_outfile=conftest.$ac_objext
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7575 lt_compiler_flag="-fno-rtti -fno-exceptions"
7576 # Insert the option either (1) after the last *FLAGS variable, or
7577 # (2) before a word containing "conftest.", or (3) at the end.
7578 # Note that $ac_compile itself does not contain backslashes and begins
7579 # with a dollar sign (not a hyphen), so the echo should work correctly.
7580 # The option is referenced via a variable to avoid confusing sed.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>conftest.err)
7587 ac_status=$?
7588 cat conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s "$ac_outfile"; then
7591 # The compiler can only warn and ignore the option if not recognized
7592 # So say no if there are warnings other than the usual output.
7593 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7596 lt_cv_prog_compiler_rtti_exceptions=yes
7597 fi
7598 fi
7599 $RM conftest*
7600
7601fi
7602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7603$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7604
7605if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7607else
7608 :
7609fi
7610
7611fi
7612
7613
7614
7615
7616
7617
7618 lt_prog_compiler_wl=
7619lt_prog_compiler_pic=
7620lt_prog_compiler_static=
7621
7622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7623$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7624
7625 if test "$GCC" = yes; then
7626 lt_prog_compiler_wl='-Wl,'
7627 lt_prog_compiler_static='-static'
7628
7629 case $host_os in
7630 aix*)
7631 # All AIX code is PIC.
7632 if test "$host_cpu" = ia64; then
7633 # AIX 5 now supports IA64 processor
7634 lt_prog_compiler_static='-Bstatic'
7635 fi
7636 ;;
7637
7638 amigaos*)
7639 case $host_cpu in
7640 powerpc)
7641 # see comment about AmigaOS4 .so support
7642 lt_prog_compiler_pic='-fPIC'
7643 ;;
7644 m68k)
7645 # FIXME: we need at least 68020 code to build shared libraries, but
7646 # adding the `-m68020' flag to GCC prevents building anything better,
7647 # like `-m68040'.
7648 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7649 ;;
7650 esac
7651 ;;
7652
7653 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7654 # PIC is the default for these OSes.
7655 ;;
7656
7657 mingw* | cygwin* | pw32* | os2* | cegcc*)
7658 # This hack is so that the source file can tell whether it is being
7659 # built for inclusion in a dll (and should export symbols for example).
7660 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7661 # (--disable-auto-import) libraries
7662 lt_prog_compiler_pic='-DDLL_EXPORT'
7663 ;;
7664
7665 darwin* | rhapsody*)
7666 # PIC is the default on this platform
7667 # Common symbols not allowed in MH_DYLIB files
7668 lt_prog_compiler_pic='-fno-common'
7669 ;;
7670
7671 hpux*)
7672 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7673 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7674 # sets the default TLS model and affects inlining.
7675 case $host_cpu in
7676 hppa*64*)
7677 # +Z the default
7678 ;;
7679 *)
7680 lt_prog_compiler_pic='-fPIC'
7681 ;;
7682 esac
7683 ;;
7684
7685 interix[3-9]*)
7686 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7687 # Instead, we relocate shared libraries at runtime.
7688 ;;
7689
7690 msdosdjgpp*)
7691 # Just because we use GCC doesn't mean we suddenly get shared libraries
7692 # on systems that don't support them.
7693 lt_prog_compiler_can_build_shared=no
7694 enable_shared=no
7695 ;;
7696
7697 *nto* | *qnx*)
7698 # QNX uses GNU C++, but need to define -shared option too, otherwise
7699 # it will coredump.
7700 lt_prog_compiler_pic='-fPIC -shared'
7701 ;;
7702
7703 sysv4*MP*)
7704 if test -d /usr/nec; then
7705 lt_prog_compiler_pic=-Kconform_pic
7706 fi
7707 ;;
7708
7709 *)
7710 lt_prog_compiler_pic='-fPIC'
7711 ;;
7712 esac
7713 else
7714 # PORTME Check for flag to pass linker flags through the system compiler.
7715 case $host_os in
7716 aix*)
7717 lt_prog_compiler_wl='-Wl,'
7718 if test "$host_cpu" = ia64; then
7719 # AIX 5 now supports IA64 processor
7720 lt_prog_compiler_static='-Bstatic'
7721 else
7722 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7723 fi
7724 ;;
7725
7726 mingw* | cygwin* | pw32* | os2* | cegcc*)
7727 # This hack is so that the source file can tell whether it is being
7728 # built for inclusion in a dll (and should export symbols for example).
7729 lt_prog_compiler_pic='-DDLL_EXPORT'
7730 ;;
7731
7732 hpux9* | hpux10* | hpux11*)
7733 lt_prog_compiler_wl='-Wl,'
7734 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7735 # not for PA HP-UX.
7736 case $host_cpu in
7737 hppa*64*|ia64*)
7738 # +Z the default
7739 ;;
7740 *)
7741 lt_prog_compiler_pic='+Z'
7742 ;;
7743 esac
7744 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7745 lt_prog_compiler_static='${wl}-a ${wl}archive'
7746 ;;
7747
7748 irix5* | irix6* | nonstopux*)
7749 lt_prog_compiler_wl='-Wl,'
7750 # PIC (with -KPIC) is the default.
7751 lt_prog_compiler_static='-non_shared'
7752 ;;
7753
7754 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7755 case $cc_basename in
7756 # old Intel for x86_64 which still supported -KPIC.
7757 ecc*)
7758 lt_prog_compiler_wl='-Wl,'
7759 lt_prog_compiler_pic='-KPIC'
7760 lt_prog_compiler_static='-static'
7761 ;;
7762 # icc used to be incompatible with GCC.
7763 # ICC 10 doesn't accept -KPIC any more.
7764 icc* | ifort*)
7765 lt_prog_compiler_wl='-Wl,'
7766 lt_prog_compiler_pic='-fPIC'
7767 lt_prog_compiler_static='-static'
7768 ;;
7769 # Lahey Fortran 8.1.
7770 lf95*)
7771 lt_prog_compiler_wl='-Wl,'
7772 lt_prog_compiler_pic='--shared'
7773 lt_prog_compiler_static='--static'
7774 ;;
7775 pgcc* | pgf77* | pgf90* | pgf95*)
7776 # Portland Group compilers (*not* the Pentium gcc compiler,
7777 # which looks to be a dead project)
7778 lt_prog_compiler_wl='-Wl,'
7779 lt_prog_compiler_pic='-fpic'
7780 lt_prog_compiler_static='-Bstatic'
7781 ;;
7782 ccc*)
7783 lt_prog_compiler_wl='-Wl,'
7784 # All Alpha code is PIC.
7785 lt_prog_compiler_static='-non_shared'
7786 ;;
7787 xl*)
7788 # IBM XL C 8.0/Fortran 10.1 on PPC
7789 lt_prog_compiler_wl='-Wl,'
7790 lt_prog_compiler_pic='-qpic'
7791 lt_prog_compiler_static='-qstaticlink'
7792 ;;
7793 *)
7794 case `$CC -V 2>&1 | sed 5q` in
7795 *Sun\ C*)
7796 # Sun C 5.9
7797 lt_prog_compiler_pic='-KPIC'
7798 lt_prog_compiler_static='-Bstatic'
7799 lt_prog_compiler_wl='-Wl,'
7800 ;;
7801 *Sun\ F*)
7802 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7803 lt_prog_compiler_pic='-KPIC'
7804 lt_prog_compiler_static='-Bstatic'
7805 lt_prog_compiler_wl=''
7806 ;;
7807 esac
7808 ;;
7809 esac
7810 ;;
7811
7812 newsos6)
7813 lt_prog_compiler_pic='-KPIC'
7814 lt_prog_compiler_static='-Bstatic'
7815 ;;
7816
7817 *nto* | *qnx*)
7818 # QNX uses GNU C++, but need to define -shared option too, otherwise
7819 # it will coredump.
7820 lt_prog_compiler_pic='-fPIC -shared'
7821 ;;
7822
7823 osf3* | osf4* | osf5*)
7824 lt_prog_compiler_wl='-Wl,'
7825 # All OSF/1 code is PIC.
7826 lt_prog_compiler_static='-non_shared'
7827 ;;
7828
7829 rdos*)
7830 lt_prog_compiler_static='-non_shared'
7831 ;;
7832
7833 solaris*)
7834 lt_prog_compiler_pic='-KPIC'
7835 lt_prog_compiler_static='-Bstatic'
7836 case $cc_basename in
7837 f77* | f90* | f95*)
7838 lt_prog_compiler_wl='-Qoption ld ';;
7839 *)
7840 lt_prog_compiler_wl='-Wl,';;
7841 esac
7842 ;;
7843
7844 sunos4*)
7845 lt_prog_compiler_wl='-Qoption ld '
7846 lt_prog_compiler_pic='-PIC'
7847 lt_prog_compiler_static='-Bstatic'
7848 ;;
7849
7850 sysv4 | sysv4.2uw2* | sysv4.3*)
7851 lt_prog_compiler_wl='-Wl,'
7852 lt_prog_compiler_pic='-KPIC'
7853 lt_prog_compiler_static='-Bstatic'
7854 ;;
7855
7856 sysv4*MP*)
7857 if test -d /usr/nec ;then
7858 lt_prog_compiler_pic='-Kconform_pic'
7859 lt_prog_compiler_static='-Bstatic'
7860 fi
7861 ;;
7862
7863 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7864 lt_prog_compiler_wl='-Wl,'
7865 lt_prog_compiler_pic='-KPIC'
7866 lt_prog_compiler_static='-Bstatic'
7867 ;;
7868
7869 unicos*)
7870 lt_prog_compiler_wl='-Wl,'
7871 lt_prog_compiler_can_build_shared=no
7872 ;;
7873
7874 uts4*)
7875 lt_prog_compiler_pic='-pic'
7876 lt_prog_compiler_static='-Bstatic'
7877 ;;
7878
7879 *)
7880 lt_prog_compiler_can_build_shared=no
7881 ;;
7882 esac
7883 fi
7884
7885case $host_os in
7886 # For platforms which do not support PIC, -DPIC is meaningless:
7887 *djgpp*)
7888 lt_prog_compiler_pic=
7889 ;;
7890 *)
7891 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7892 ;;
7893esac
7894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7895$as_echo "$lt_prog_compiler_pic" >&6; }
7896
7897
7898
7899
7900
7901
7902#
7903# Check to make sure the PIC flag actually works.
7904#
7905if test -n "$lt_prog_compiler_pic"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7907$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7908if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7909 $as_echo_n "(cached) " >&6
7910else
7911 lt_cv_prog_compiler_pic_works=no
7912 ac_outfile=conftest.$ac_objext
7913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7914 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7915 # Insert the option either (1) after the last *FLAGS variable, or
7916 # (2) before a word containing "conftest.", or (3) at the end.
7917 # Note that $ac_compile itself does not contain backslashes and begins
7918 # with a dollar sign (not a hyphen), so the echo should work correctly.
7919 # The option is referenced via a variable to avoid confusing sed.
7920 lt_compile=`echo "$ac_compile" | $SED \
7921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7923 -e 's:$: $lt_compiler_flag:'`
7924 (eval echo "\"\$as_me:7924: $lt_compile\"" >&5)
7925 (eval "$lt_compile" 2>conftest.err)
7926 ac_status=$?
7927 cat conftest.err >&5
7928 echo "$as_me:7928: \$? = $ac_status" >&5
7929 if (exit $ac_status) && test -s "$ac_outfile"; then
7930 # The compiler can only warn and ignore the option if not recognized
7931 # So say no if there are warnings other than the usual output.
7932 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7933 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7934 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7935 lt_cv_prog_compiler_pic_works=yes
7936 fi
7937 fi
7938 $RM conftest*
7939
7940fi
7941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7942$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7943
7944if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7945 case $lt_prog_compiler_pic in
7946 "" | " "*) ;;
7947 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7948 esac
7949else
7950 lt_prog_compiler_pic=
7951 lt_prog_compiler_can_build_shared=no
7952fi
7953
7954fi
7955
7956
7957
7958
7959
7960
7961#
7962# Check to make sure the static flag actually works.
7963#
7964wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7966$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7967if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7968 $as_echo_n "(cached) " >&6
7969else
7970 lt_cv_prog_compiler_static_works=no
7971 save_LDFLAGS="$LDFLAGS"
7972 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7973 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7974 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7975 # The linker can only warn and ignore the option if not recognized
7976 # So say no if there are warnings
7977 if test -s conftest.err; then
7978 # Append any errors to the config.log.
7979 cat conftest.err 1>&5
7980 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7981 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7982 if diff conftest.exp conftest.er2 >/dev/null; then
7983 lt_cv_prog_compiler_static_works=yes
7984 fi
7985 else
7986 lt_cv_prog_compiler_static_works=yes
7987 fi
7988 fi
7989 $RM -r conftest*
7990 LDFLAGS="$save_LDFLAGS"
7991
7992fi
7993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7994$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7995
7996if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7997 :
7998else
7999 lt_prog_compiler_static=
8000fi
8001
8002
8003
8004
8005
8006
8007
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8009$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8010if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8011 $as_echo_n "(cached) " >&6
8012else
8013 lt_cv_prog_compiler_c_o=no
8014 $RM -r conftest 2>/dev/null
8015 mkdir conftest
8016 cd conftest
8017 mkdir out
8018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8019
8020 lt_compiler_flag="-o out/conftest2.$ac_objext"
8021 # Insert the option either (1) after the last *FLAGS variable, or
8022 # (2) before a word containing "conftest.", or (3) at the end.
8023 # Note that $ac_compile itself does not contain backslashes and begins
8024 # with a dollar sign (not a hyphen), so the echo should work correctly.
8025 lt_compile=`echo "$ac_compile" | $SED \
8026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8028 -e 's:$: $lt_compiler_flag:'`
8029 (eval echo "\"\$as_me:8029: $lt_compile\"" >&5)
8030 (eval "$lt_compile" 2>out/conftest.err)
8031 ac_status=$?
8032 cat out/conftest.err >&5
8033 echo "$as_me:8033: \$? = $ac_status" >&5
8034 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8035 then
8036 # The compiler can only warn and ignore the option if not recognized
8037 # So say no if there are warnings
8038 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8039 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8040 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8041 lt_cv_prog_compiler_c_o=yes
8042 fi
8043 fi
8044 chmod u+w . 2>&5
8045 $RM conftest*
8046 # SGI C++ compiler will create directory out/ii_files/ for
8047 # template instantiation
8048 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8049 $RM out/* && rmdir out
8050 cd ..
8051 $RM -r conftest
8052 $RM conftest*
8053
8054fi
8055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8056$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8057
8058
8059
8060
8061
8062
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8064$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8065if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8066 $as_echo_n "(cached) " >&6
8067else
8068 lt_cv_prog_compiler_c_o=no
8069 $RM -r conftest 2>/dev/null
8070 mkdir conftest
8071 cd conftest
8072 mkdir out
8073 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8074
8075 lt_compiler_flag="-o out/conftest2.$ac_objext"
8076 # Insert the option either (1) after the last *FLAGS variable, or
8077 # (2) before a word containing "conftest.", or (3) at the end.
8078 # Note that $ac_compile itself does not contain backslashes and begins
8079 # with a dollar sign (not a hyphen), so the echo should work correctly.
8080 lt_compile=`echo "$ac_compile" | $SED \
8081 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8083 -e 's:$: $lt_compiler_flag:'`
8084 (eval echo "\"\$as_me:8084: $lt_compile\"" >&5)
8085 (eval "$lt_compile" 2>out/conftest.err)
8086 ac_status=$?
8087 cat out/conftest.err >&5
8088 echo "$as_me:8088: \$? = $ac_status" >&5
8089 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8090 then
8091 # The compiler can only warn and ignore the option if not recognized
8092 # So say no if there are warnings
8093 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8094 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8095 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8096 lt_cv_prog_compiler_c_o=yes
8097 fi
8098 fi
8099 chmod u+w . 2>&5
8100 $RM conftest*
8101 # SGI C++ compiler will create directory out/ii_files/ for
8102 # template instantiation
8103 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8104 $RM out/* && rmdir out
8105 cd ..
8106 $RM -r conftest
8107 $RM conftest*
8108
8109fi
8110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8111$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8112
8113
8114
8115
8116hard_links="nottested"
8117if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8118 # do not overwrite the value of need_locks provided by the user
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8120$as_echo_n "checking if we can lock with hard links... " >&6; }
8121 hard_links=yes
8122 $RM conftest*
8123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8124 touch conftest.a
8125 ln conftest.a conftest.b 2>&5 || hard_links=no
8126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8128$as_echo "$hard_links" >&6; }
8129 if test "$hard_links" = no; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8131$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8132 need_locks=warn
8133 fi
8134else
8135 need_locks=no
8136fi
8137
8138
8139
8140
8141
8142
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8144$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8145
8146 runpath_var=
8147 allow_undefined_flag=
8148 always_export_symbols=no
8149 archive_cmds=
8150 archive_expsym_cmds=
8151 compiler_needs_object=no
8152 enable_shared_with_static_runtimes=no
8153 export_dynamic_flag_spec=
8154 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8155 hardcode_automatic=no
8156 hardcode_direct=no
8157 hardcode_direct_absolute=no
8158 hardcode_libdir_flag_spec=
8159 hardcode_libdir_flag_spec_ld=
8160 hardcode_libdir_separator=
8161 hardcode_minus_L=no
8162 hardcode_shlibpath_var=unsupported
8163 inherit_rpath=no
8164 link_all_deplibs=unknown
8165 module_cmds=
8166 module_expsym_cmds=
8167 old_archive_from_new_cmds=
8168 old_archive_from_expsyms_cmds=
8169 thread_safe_flag_spec=
8170 whole_archive_flag_spec=
8171 # include_expsyms should be a list of space-separated symbols to be *always*
8172 # included in the symbol list
8173 include_expsyms=
8174 # exclude_expsyms can be an extended regexp of symbols to exclude
8175 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8176 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8177 # as well as any symbol that contains `d'.
8178 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8179 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8180 # platforms (ab)use it in PIC code, but their linkers get confused if
8181 # the symbol is explicitly referenced. Since portable code cannot
8182 # rely on this symbol name, it's probably fine to never include it in
8183 # preloaded symbol tables.
8184 # Exclude shared library initialization/finalization symbols.
8185 extract_expsyms_cmds=
8186
8187 case $host_os in
8188 cygwin* | mingw* | pw32* | cegcc*)
8189 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8190 # When not using gcc, we currently assume that we are using
8191 # Microsoft Visual C++.
8192 if test "$GCC" != yes; then
8193 with_gnu_ld=no
8194 fi
8195 ;;
8196 interix*)
8197 # we just hope/assume this is gcc and not c89 (= MSVC++)
8198 with_gnu_ld=yes
8199 ;;
8200 openbsd*)
8201 with_gnu_ld=no
8202 ;;
8203 linux* | k*bsd*-gnu)
8204 link_all_deplibs=no
8205 ;;
8206 esac
8207
8208 ld_shlibs=yes
8209 if test "$with_gnu_ld" = yes; then
8210 # If archive_cmds runs LD, not CC, wlarc should be empty
8211 wlarc='${wl}'
8212
8213 # Set some defaults for GNU ld with shared library support. These
8214 # are reset later if shared libraries are not supported. Putting them
8215 # here allows them to be overridden if necessary.
8216 runpath_var=LD_RUN_PATH
8217 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8218 export_dynamic_flag_spec='${wl}--export-dynamic'
8219 # ancient GNU ld didn't support --whole-archive et. al.
8220 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8221 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8222 else
8223 whole_archive_flag_spec=
8224 fi
8225 supports_anon_versioning=no
8226 case `$LD -v 2>&1` in
8227 *GNU\ gold*) supports_anon_versioning=yes ;;
8228 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8229 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8230 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8231 *\ 2.11.*) ;; # other 2.11 versions
8232 *) supports_anon_versioning=yes ;;
8233 esac
8234
8235 # See if GNU ld supports shared libraries.
8236 case $host_os in
8237 aix[3-9]*)
8238 # On AIX/PPC, the GNU linker is very broken
8239 if test "$host_cpu" != ia64; then
8240 ld_shlibs=no
8241 cat <<_LT_EOF 1>&2
8242
8243*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8244*** to be unable to reliably create shared libraries on AIX.
8245*** Therefore, libtool is disabling shared libraries support. If you
8246*** really care for shared libraries, you may want to modify your PATH
8247*** so that a non-GNU linker is found, and then restart.
8248
8249_LT_EOF
8250 fi
8251 ;;
8252
8253 amigaos*)
8254 case $host_cpu in
8255 powerpc)
8256 # see comment about AmigaOS4 .so support
8257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8258 archive_expsym_cmds=''
8259 ;;
8260 m68k)
8261 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)'
8262 hardcode_libdir_flag_spec='-L$libdir'
8263 hardcode_minus_L=yes
8264 ;;
8265 esac
8266 ;;
8267
8268 beos*)
8269 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8270 allow_undefined_flag=unsupported
8271 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8272 # support --undefined. This deserves some investigation. FIXME
8273 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8274 else
8275 ld_shlibs=no
8276 fi
8277 ;;
8278
8279 cygwin* | mingw* | pw32* | cegcc*)
8280 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8281 # as there is no search path for DLLs.
8282 hardcode_libdir_flag_spec='-L$libdir'
8283 allow_undefined_flag=unsupported
8284 always_export_symbols=no
8285 enable_shared_with_static_runtimes=yes
8286 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8287
8288 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8289 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8290 # If the export-symbols file already is a .def file (1st line
8291 # is EXPORTS), use it as is; otherwise, prepend...
8292 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8293 cp $export_symbols $output_objdir/$soname.def;
8294 else
8295 echo EXPORTS > $output_objdir/$soname.def;
8296 cat $export_symbols >> $output_objdir/$soname.def;
8297 fi~
8298 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8299 else
8300 ld_shlibs=no
8301 fi
8302 ;;
8303
8304 interix[3-9]*)
8305 hardcode_direct=no
8306 hardcode_shlibpath_var=no
8307 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8308 export_dynamic_flag_spec='${wl}-E'
8309 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8310 # Instead, shared libraries are loaded at an image base (0x10000000 by
8311 # default) and relocated if they conflict, which is a slow very memory
8312 # consuming and fragmenting process. To avoid this, we pick a random,
8313 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8314 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8315 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8316 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'
8317 ;;
8318
8319 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8320 tmp_diet=no
8321 if test "$host_os" = linux-dietlibc; then
8322 case $cc_basename in
8323 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8324 esac
8325 fi
8326 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8327 && test "$tmp_diet" = no
8328 then
8329 tmp_addflag=
8330 tmp_sharedflag='-shared'
8331 case $cc_basename,$host_cpu in
8332 pgcc*) # Portland Group C compiler
8333 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'
8334 tmp_addflag=' $pic_flag'
8335 ;;
8336 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8337 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'
8338 tmp_addflag=' $pic_flag -Mnomain' ;;
8339 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8340 tmp_addflag=' -i_dynamic' ;;
8341 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8342 tmp_addflag=' -i_dynamic -nofor_main' ;;
8343 ifc* | ifort*) # Intel Fortran compiler
8344 tmp_addflag=' -nofor_main' ;;
8345 lf95*) # Lahey Fortran 8.1
8346 whole_archive_flag_spec=
8347 tmp_sharedflag='--shared' ;;
8348 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8349 tmp_sharedflag='-qmkshrobj'
8350 tmp_addflag= ;;
8351 esac
8352 case `$CC -V 2>&1 | sed 5q` in
8353 *Sun\ C*) # Sun C 5.9
8354 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'
8355 compiler_needs_object=yes
8356 tmp_sharedflag='-G' ;;
8357 *Sun\ F*) # Sun Fortran 8.3
8358 tmp_sharedflag='-G' ;;
8359 esac
8360 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8361
8362 if test "x$supports_anon_versioning" = xyes; then
8363 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8364 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8365 echo "local: *; };" >> $output_objdir/$libname.ver~
8366 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8367 fi
8368
8369 case $cc_basename in
8370 xlf*)
8371 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8372 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8373 hardcode_libdir_flag_spec=
8374 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8375 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8376 if test "x$supports_anon_versioning" = xyes; then
8377 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8378 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8379 echo "local: *; };" >> $output_objdir/$libname.ver~
8380 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8381 fi
8382 ;;
8383 esac
8384 else
8385 ld_shlibs=no
8386 fi
8387 ;;
8388
8389 netbsd* | netbsdelf*-gnu)
8390 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8391 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8392 wlarc=
8393 else
8394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8395 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8396 fi
8397 ;;
8398
8399 solaris*)
8400 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8401 ld_shlibs=no
8402 cat <<_LT_EOF 1>&2
8403
8404*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8405*** create shared libraries on Solaris systems. Therefore, libtool
8406*** is disabling shared libraries support. We urge you to upgrade GNU
8407*** binutils to release 2.9.1 or newer. Another option is to modify
8408*** your PATH or compiler configuration so that the native linker is
8409*** used, and then restart.
8410
8411_LT_EOF
8412 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8413 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8414 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8415 else
8416 ld_shlibs=no
8417 fi
8418 ;;
8419
8420 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8421 case `$LD -v 2>&1` in
8422 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8423 ld_shlibs=no
8424 cat <<_LT_EOF 1>&2
8425
8426*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8427*** reliably create shared libraries on SCO systems. Therefore, libtool
8428*** is disabling shared libraries support. We urge you to upgrade GNU
8429*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8430*** your PATH or compiler configuration so that the native linker is
8431*** used, and then restart.
8432
8433_LT_EOF
8434 ;;
8435 *)
8436 # For security reasons, it is highly recommended that you always
8437 # use absolute paths for naming shared libraries, and exclude the
8438 # DT_RUNPATH tag from executables and libraries. But doing so
8439 # requires that you compile everything twice, which is a pain.
8440 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8441 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8442 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8443 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8444 else
8445 ld_shlibs=no
8446 fi
8447 ;;
8448 esac
8449 ;;
8450
8451 sunos4*)
8452 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8453 wlarc=
8454 hardcode_direct=yes
8455 hardcode_shlibpath_var=no
8456 ;;
8457
8458 *)
8459 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8460 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8461 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8462 else
8463 ld_shlibs=no
8464 fi
8465 ;;
8466 esac
8467
8468 if test "$ld_shlibs" = no; then
8469 runpath_var=
8470 hardcode_libdir_flag_spec=
8471 export_dynamic_flag_spec=
8472 whole_archive_flag_spec=
8473 fi
8474 else
8475 # PORTME fill in a description of your system's linker (not GNU ld)
8476 case $host_os in
8477 aix3*)
8478 allow_undefined_flag=unsupported
8479 always_export_symbols=yes
8480 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'
8481 # Note: this linker hardcodes the directories in LIBPATH if there
8482 # are no directories specified by -L.
8483 hardcode_minus_L=yes
8484 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8485 # Neither direct hardcoding nor static linking is supported with a
8486 # broken collect2.
8487 hardcode_direct=unsupported
8488 fi
8489 ;;
8490
8491 aix[4-9]*)
8492 if test "$host_cpu" = ia64; then
8493 # On IA64, the linker does run time linking by default, so we don't
8494 # have to do anything special.
8495 aix_use_runtimelinking=no
8496 exp_sym_flag='-Bexport'
8497 no_entry_flag=""
8498 else
8499 # If we're using GNU nm, then we don't want the "-C" option.
8500 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8501 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8502 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'
8503 else
8504 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'
8505 fi
8506 aix_use_runtimelinking=no
8507
8508 # Test if we are trying to use run time linking or normal
8509 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8510 # need to do runtime linking.
8511 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8512 for ld_flag in $LDFLAGS; do
8513 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8514 aix_use_runtimelinking=yes
8515 break
8516 fi
8517 done
8518 ;;
8519 esac
8520
8521 exp_sym_flag='-bexport'
8522 no_entry_flag='-bnoentry'
8523 fi
8524
8525 # When large executables or shared objects are built, AIX ld can
8526 # have problems creating the table of contents. If linking a library
8527 # or program results in "error TOC overflow" add -mminimal-toc to
8528 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8529 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8530
8531 archive_cmds=''
8532 hardcode_direct=yes
8533 hardcode_direct_absolute=yes
8534 hardcode_libdir_separator=':'
8535 link_all_deplibs=yes
8536 file_list_spec='${wl}-f,'
8537
8538 if test "$GCC" = yes; then
8539 case $host_os in aix4.[012]|aix4.[012].*)
8540 # We only want to do this on AIX 4.2 and lower, the check
8541 # below for broken collect2 doesn't work under 4.3+
8542 collect2name=`${CC} -print-prog-name=collect2`
8543 if test -f "$collect2name" &&
8544 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8545 then
8546 # We have reworked collect2
8547 :
8548 else
8549 # We have old collect2
8550 hardcode_direct=unsupported
8551 # It fails to find uninstalled libraries when the uninstalled
8552 # path is not listed in the libpath. Setting hardcode_minus_L
8553 # to unsupported forces relinking
8554 hardcode_minus_L=yes
8555 hardcode_libdir_flag_spec='-L$libdir'
8556 hardcode_libdir_separator=
8557 fi
8558 ;;
8559 esac
8560 shared_flag='-shared'
8561 if test "$aix_use_runtimelinking" = yes; then
8562 shared_flag="$shared_flag "'${wl}-G'
8563 fi
8564 link_all_deplibs=no
8565 else
8566 # not using gcc
8567 if test "$host_cpu" = ia64; then
8568 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8569 # chokes on -Wl,-G. The following line is correct:
8570 shared_flag='-G'
8571 else
8572 if test "$aix_use_runtimelinking" = yes; then
8573 shared_flag='${wl}-G'
8574 else
8575 shared_flag='${wl}-bM:SRE'
8576 fi
8577 fi
8578 fi
8579
8580 export_dynamic_flag_spec='${wl}-bexpall'
8581 # It seems that -bexpall does not export symbols beginning with
8582 # underscore (_), so it is better to generate a list of symbols to export.
8583 always_export_symbols=yes
8584 if test "$aix_use_runtimelinking" = yes; then
8585 # Warning - without using the other runtime loading flags (-brtl),
8586 # -berok will link without error, but may produce a broken library.
8587 allow_undefined_flag='-berok'
8588 # Determine the default libpath from the value encoded in an
8589 # empty executable.
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591/* end confdefs.h. */
8592
8593int
8594main ()
8595{
8596
8597 ;
8598 return 0;
8599}
8600_ACEOF
8601if ac_fn_c_try_link "$LINENO"; then :
8602
8603lt_aix_libpath_sed='
8604 /Import File Strings/,/^$/ {
8605 /^0/ {
8606 s/^0 *\(.*\)$/\1/
8607 p
8608 }
8609 }'
8610aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8611# Check for a 64-bit object if we didn't find anything.
8612if test -z "$aix_libpath"; then
8613 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8614fi
8615fi
8616rm -f core conftest.err conftest.$ac_objext \
8617 conftest$ac_exeext conftest.$ac_ext
8618if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8619
8620 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8621 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"
8622 else
8623 if test "$host_cpu" = ia64; then
8624 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8625 allow_undefined_flag="-z nodefs"
8626 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"
8627 else
8628 # Determine the default libpath from the value encoded in an
8629 # empty executable.
8630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631/* end confdefs.h. */
8632
8633int
8634main ()
8635{
8636
8637 ;
8638 return 0;
8639}
8640_ACEOF
8641if ac_fn_c_try_link "$LINENO"; then :
8642
8643lt_aix_libpath_sed='
8644 /Import File Strings/,/^$/ {
8645 /^0/ {
8646 s/^0 *\(.*\)$/\1/
8647 p
8648 }
8649 }'
8650aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8651# Check for a 64-bit object if we didn't find anything.
8652if test -z "$aix_libpath"; then
8653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8654fi
8655fi
8656rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8659
8660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8661 # Warning - without using the other run time loading flags,
8662 # -berok will link without error, but may produce a broken library.
8663 no_undefined_flag=' ${wl}-bernotok'
8664 allow_undefined_flag=' ${wl}-berok'
8665 # Exported symbols can be pulled into shared objects from archives
8666 whole_archive_flag_spec='$convenience'
8667 archive_cmds_need_lc=yes
8668 # This is similar to how AIX traditionally builds its shared libraries.
8669 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'
8670 fi
8671 fi
8672 ;;
8673
8674 amigaos*)
8675 case $host_cpu in
8676 powerpc)
8677 # see comment about AmigaOS4 .so support
8678 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8679 archive_expsym_cmds=''
8680 ;;
8681 m68k)
8682 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)'
8683 hardcode_libdir_flag_spec='-L$libdir'
8684 hardcode_minus_L=yes
8685 ;;
8686 esac
8687 ;;
8688
8689 bsdi[45]*)
8690 export_dynamic_flag_spec=-rdynamic
8691 ;;
8692
8693 cygwin* | mingw* | pw32* | cegcc*)
8694 # When not using gcc, we currently assume that we are using
8695 # Microsoft Visual C++.
8696 # hardcode_libdir_flag_spec is actually meaningless, as there is
8697 # no search path for DLLs.
8698 hardcode_libdir_flag_spec=' '
8699 allow_undefined_flag=unsupported
8700 # Tell ltmain to make .lib files, not .a files.
8701 libext=lib
8702 # Tell ltmain to make .dll files, not .so files.
8703 shrext_cmds=".dll"
8704 # FIXME: Setting linknames here is a bad hack.
8705 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8706 # The linker will automatically build a .lib file if we build a DLL.
8707 old_archive_from_new_cmds='true'
8708 # FIXME: Should let the user specify the lib program.
8709 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8710 fix_srcfile_path='`cygpath -w "$srcfile"`'
8711 enable_shared_with_static_runtimes=yes
8712 ;;
8713
8714 darwin* | rhapsody*)
8715
8716
8717 archive_cmds_need_lc=no
8718 hardcode_direct=no
8719 hardcode_automatic=yes
8720 hardcode_shlibpath_var=unsupported
8721 whole_archive_flag_spec=''
8722 link_all_deplibs=yes
8723 allow_undefined_flag="$_lt_dar_allow_undefined"
8724 case $cc_basename in
8725 ifort*) _lt_dar_can_shared=yes ;;
8726 *) _lt_dar_can_shared=$GCC ;;
8727 esac
8728 if test "$_lt_dar_can_shared" = "yes"; then
8729 output_verbose_link_cmd=echo
8730 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8731 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8732 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}"
8733 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}"
8734
8735 else
8736 ld_shlibs=no
8737 fi
8738
8739 ;;
8740
8741 dgux*)
8742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8743 hardcode_libdir_flag_spec='-L$libdir'
8744 hardcode_shlibpath_var=no
8745 ;;
8746
8747 freebsd1*)
8748 ld_shlibs=no
8749 ;;
8750
8751 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8752 # support. Future versions do this automatically, but an explicit c++rt0.o
8753 # does not break anything, and helps significantly (at the cost of a little
8754 # extra space).
8755 freebsd2.2*)
8756 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8757 hardcode_libdir_flag_spec='-R$libdir'
8758 hardcode_direct=yes
8759 hardcode_shlibpath_var=no
8760 ;;
8761
8762 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8763 freebsd2*)
8764 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8765 hardcode_direct=yes
8766 hardcode_minus_L=yes
8767 hardcode_shlibpath_var=no
8768 ;;
8769
8770 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8771 freebsd* | dragonfly*)
8772 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8773 hardcode_libdir_flag_spec='-R$libdir'
8774 hardcode_direct=yes
8775 hardcode_shlibpath_var=no
8776 ;;
8777
8778 hpux9*)
8779 if test "$GCC" = yes; then
8780 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'
8781 else
8782 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'
8783 fi
8784 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8785 hardcode_libdir_separator=:
8786 hardcode_direct=yes
8787
8788 # hardcode_minus_L: Not really in the search PATH,
8789 # but as the default location of the library.
8790 hardcode_minus_L=yes
8791 export_dynamic_flag_spec='${wl}-E'
8792 ;;
8793
8794 hpux10*)
8795 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8796 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8797 else
8798 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8799 fi
8800 if test "$with_gnu_ld" = no; then
8801 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8802 hardcode_libdir_flag_spec_ld='+b $libdir'
8803 hardcode_libdir_separator=:
8804 hardcode_direct=yes
8805 hardcode_direct_absolute=yes
8806 export_dynamic_flag_spec='${wl}-E'
8807 # hardcode_minus_L: Not really in the search PATH,
8808 # but as the default location of the library.
8809 hardcode_minus_L=yes
8810 fi
8811 ;;
8812
8813 hpux11*)
8814 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8815 case $host_cpu in
8816 hppa*64*)
8817 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8818 ;;
8819 ia64*)
8820 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8821 ;;
8822 *)
8823 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8824 ;;
8825 esac
8826 else
8827 case $host_cpu in
8828 hppa*64*)
8829 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8830 ;;
8831 ia64*)
8832 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8833 ;;
8834 *)
8835 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8836 ;;
8837 esac
8838 fi
8839 if test "$with_gnu_ld" = no; then
8840 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8841 hardcode_libdir_separator=:
8842
8843 case $host_cpu in
8844 hppa*64*|ia64*)
8845 hardcode_direct=no
8846 hardcode_shlibpath_var=no
8847 ;;
8848 *)
8849 hardcode_direct=yes
8850 hardcode_direct_absolute=yes
8851 export_dynamic_flag_spec='${wl}-E'
8852
8853 # hardcode_minus_L: Not really in the search PATH,
8854 # but as the default location of the library.
8855 hardcode_minus_L=yes
8856 ;;
8857 esac
8858 fi
8859 ;;
8860
8861 irix5* | irix6* | nonstopux*)
8862 if test "$GCC" = yes; then
8863 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'
8864 # Try to use the -exported_symbol ld option, if it does not
8865 # work, assume that -exports_file does not work either and
8866 # implicitly export all symbols.
8867 save_LDFLAGS="$LDFLAGS"
8868 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870/* end confdefs.h. */
8871int foo(void) {}
8872_ACEOF
8873if ac_fn_c_try_link "$LINENO"; then :
8874 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'
8875
8876fi
8877rm -f core conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8879 LDFLAGS="$save_LDFLAGS"
8880 else
8881 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'
8882 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'
8883 fi
8884 archive_cmds_need_lc='no'
8885 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8886 hardcode_libdir_separator=:
8887 inherit_rpath=yes
8888 link_all_deplibs=yes
8889 ;;
8890
8891 netbsd* | netbsdelf*-gnu)
8892 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8893 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8894 else
8895 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8896 fi
8897 hardcode_libdir_flag_spec='-R$libdir'
8898 hardcode_direct=yes
8899 hardcode_shlibpath_var=no
8900 ;;
8901
8902 newsos6)
8903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8904 hardcode_direct=yes
8905 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8906 hardcode_libdir_separator=:
8907 hardcode_shlibpath_var=no
8908 ;;
8909
8910 *nto* | *qnx*)
8911 ;;
8912
8913 openbsd*)
8914 if test -f /usr/libexec/ld.so; then
8915 hardcode_direct=yes
8916 hardcode_shlibpath_var=no
8917 hardcode_direct_absolute=yes
8918 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8919 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8920 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8921 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8922 export_dynamic_flag_spec='${wl}-E'
8923 else
8924 case $host_os in
8925 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8926 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8927 hardcode_libdir_flag_spec='-R$libdir'
8928 ;;
8929 *)
8930 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8931 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8932 ;;
8933 esac
8934 fi
8935 else
8936 ld_shlibs=no
8937 fi
8938 ;;
8939
8940 os2*)
8941 hardcode_libdir_flag_spec='-L$libdir'
8942 hardcode_minus_L=yes
8943 allow_undefined_flag=unsupported
8944 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'
8945 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8946 ;;
8947
8948 osf3*)
8949 if test "$GCC" = yes; then
8950 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8951 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'
8952 else
8953 allow_undefined_flag=' -expect_unresolved \*'
8954 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'
8955 fi
8956 archive_cmds_need_lc='no'
8957 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8958 hardcode_libdir_separator=:
8959 ;;
8960
8961 osf4* | osf5*) # as osf3* with the addition of -msym flag
8962 if test "$GCC" = yes; then
8963 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8964 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'
8965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8966 else
8967 allow_undefined_flag=' -expect_unresolved \*'
8968 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'
8969 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~
8970 $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'
8971
8972 # Both c and cxx compiler support -rpath directly
8973 hardcode_libdir_flag_spec='-rpath $libdir'
8974 fi
8975 archive_cmds_need_lc='no'
8976 hardcode_libdir_separator=:
8977 ;;
8978
8979 solaris*)
8980 no_undefined_flag=' -z defs'
8981 if test "$GCC" = yes; then
8982 wlarc='${wl}'
8983 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8985 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8986 else
8987 case `$CC -V 2>&1` in
8988 *"Compilers 5.0"*)
8989 wlarc=''
8990 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8992 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8993 ;;
8994 *)
8995 wlarc='${wl}'
8996 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8997 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8998 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8999 ;;
9000 esac
9001 fi
9002 hardcode_libdir_flag_spec='-R$libdir'
9003 hardcode_shlibpath_var=no
9004 case $host_os in
9005 solaris2.[0-5] | solaris2.[0-5].*) ;;
9006 *)
9007 # The compiler driver will combine and reorder linker options,
9008 # but understands `-z linker_flag'. GCC discards it without `$wl',
9009 # but is careful enough not to reorder.
9010 # Supported since Solaris 2.6 (maybe 2.5.1?)
9011 if test "$GCC" = yes; then
9012 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9013 else
9014 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9015 fi
9016 ;;
9017 esac
9018 link_all_deplibs=yes
9019 ;;
9020
9021 sunos4*)
9022 if test "x$host_vendor" = xsequent; then
9023 # Use $CC to link under sequent, because it throws in some extra .o
9024 # files that make .init and .fini sections work.
9025 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9026 else
9027 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9028 fi
9029 hardcode_libdir_flag_spec='-L$libdir'
9030 hardcode_direct=yes
9031 hardcode_minus_L=yes
9032 hardcode_shlibpath_var=no
9033 ;;
9034
9035 sysv4)
9036 case $host_vendor in
9037 sni)
9038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9039 hardcode_direct=yes # is this really true???
9040 ;;
9041 siemens)
9042 ## LD is ld it makes a PLAMLIB
9043 ## CC just makes a GrossModule.
9044 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9045 reload_cmds='$CC -r -o $output$reload_objs'
9046 hardcode_direct=no
9047 ;;
9048 motorola)
9049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9050 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9051 ;;
9052 esac
9053 runpath_var='LD_RUN_PATH'
9054 hardcode_shlibpath_var=no
9055 ;;
9056
9057 sysv4.3*)
9058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9059 hardcode_shlibpath_var=no
9060 export_dynamic_flag_spec='-Bexport'
9061 ;;
9062
9063 sysv4*MP*)
9064 if test -d /usr/nec; then
9065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9066 hardcode_shlibpath_var=no
9067 runpath_var=LD_RUN_PATH
9068 hardcode_runpath_var=yes
9069 ld_shlibs=yes
9070 fi
9071 ;;
9072
9073 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9074 no_undefined_flag='${wl}-z,text'
9075 archive_cmds_need_lc=no
9076 hardcode_shlibpath_var=no
9077 runpath_var='LD_RUN_PATH'
9078
9079 if test "$GCC" = yes; then
9080 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9081 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9082 else
9083 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9084 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9085 fi
9086 ;;
9087
9088 sysv5* | sco3.2v5* | sco5v6*)
9089 # Note: We can NOT use -z defs as we might desire, because we do not
9090 # link with -lc, and that would cause any symbols used from libc to
9091 # always be unresolved, which means just about no library would
9092 # ever link correctly. If we're not using GNU ld we use -z text
9093 # though, which does catch some bad symbols but isn't as heavy-handed
9094 # as -z defs.
9095 no_undefined_flag='${wl}-z,text'
9096 allow_undefined_flag='${wl}-z,nodefs'
9097 archive_cmds_need_lc=no
9098 hardcode_shlibpath_var=no
9099 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9100 hardcode_libdir_separator=':'
9101 link_all_deplibs=yes
9102 export_dynamic_flag_spec='${wl}-Bexport'
9103 runpath_var='LD_RUN_PATH'
9104
9105 if test "$GCC" = yes; then
9106 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9107 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9108 else
9109 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9110 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9111 fi
9112 ;;
9113
9114 uts4*)
9115 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9116 hardcode_libdir_flag_spec='-L$libdir'
9117 hardcode_shlibpath_var=no
9118 ;;
9119
9120 *)
9121 ld_shlibs=no
9122 ;;
9123 esac
9124
9125 if test x$host_vendor = xsni; then
9126 case $host in
9127 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9128 export_dynamic_flag_spec='${wl}-Blargedynsym'
9129 ;;
9130 esac
9131 fi
9132 fi
9133
9134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9135$as_echo "$ld_shlibs" >&6; }
9136test "$ld_shlibs" = no && can_build_shared=no
9137
9138with_gnu_ld=$with_gnu_ld
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154#
9155# Do we need to explicitly link libc?
9156#
9157case "x$archive_cmds_need_lc" in
9158x|xyes)
9159 # Assume -lc should be added
9160 archive_cmds_need_lc=yes
9161
9162 if test "$enable_shared" = yes && test "$GCC" = yes; then
9163 case $archive_cmds in
9164 *'~'*)
9165 # FIXME: we may have to deal with multi-command sequences.
9166 ;;
9167 '$CC '*)
9168 # Test whether the compiler implicitly links with -lc since on some
9169 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9170 # to ld, don't add -lc before -lgcc.
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9172$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9173 $RM conftest*
9174 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9175
9176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9177 (eval $ac_compile) 2>&5
9178 ac_status=$?
9179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9180 test $ac_status = 0; } 2>conftest.err; then
9181 soname=conftest
9182 lib=conftest
9183 libobjs=conftest.$ac_objext
9184 deplibs=
9185 wl=$lt_prog_compiler_wl
9186 pic_flag=$lt_prog_compiler_pic
9187 compiler_flags=-v
9188 linker_flags=-v
9189 verstring=
9190 output_objdir=.
9191 libname=conftest
9192 lt_save_allow_undefined_flag=$allow_undefined_flag
9193 allow_undefined_flag=
9194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9195 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9196 ac_status=$?
9197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9198 test $ac_status = 0; }
9199 then
9200 archive_cmds_need_lc=no
9201 else
9202 archive_cmds_need_lc=yes
9203 fi
9204 allow_undefined_flag=$lt_save_allow_undefined_flag
9205 else
9206 cat conftest.err 1>&5
9207 fi
9208 $RM conftest*
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9210$as_echo "$archive_cmds_need_lc" >&6; }
9211 ;;
9212 esac
9213 fi
9214 ;;
9215esac
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9374$as_echo_n "checking dynamic linker characteristics... " >&6; }
9375
9376if test "$GCC" = yes; then
9377 case $host_os in
9378 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9379 *) lt_awk_arg="/^libraries:/" ;;
9380 esac
9381 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9382 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9383 # if the path contains ";" then we assume it to be the separator
9384 # otherwise default to the standard path separator (i.e. ":") - it is
9385 # assumed that no part of a normal pathname contains ";" but that should
9386 # okay in the real world where ";" in dirpaths is itself problematic.
9387 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9388 else
9389 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9390 fi
9391 # Ok, now we have the path, separated by spaces, we can step through it
9392 # and add multilib dir if necessary.
9393 lt_tmp_lt_search_path_spec=
9394 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9395 for lt_sys_path in $lt_search_path_spec; do
9396 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9398 else
9399 test -d "$lt_sys_path" && \
9400 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9401 fi
9402 done
9403 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9404BEGIN {RS=" "; FS="/|\n";} {
9405 lt_foo="";
9406 lt_count=0;
9407 for (lt_i = NF; lt_i > 0; lt_i--) {
9408 if ($lt_i != "" && $lt_i != ".") {
9409 if ($lt_i == "..") {
9410 lt_count++;
9411 } else {
9412 if (lt_count == 0) {
9413 lt_foo="/" $lt_i lt_foo;
9414 } else {
9415 lt_count--;
9416 }
9417 }
9418 }
9419 }
9420 if (lt_foo != "") { lt_freq[lt_foo]++; }
9421 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9422}'`
9423 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9424else
9425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9426fi
9427library_names_spec=
9428libname_spec='lib$name'
9429soname_spec=
9430shrext_cmds=".so"
9431postinstall_cmds=
9432postuninstall_cmds=
9433finish_cmds=
9434finish_eval=
9435shlibpath_var=
9436shlibpath_overrides_runpath=unknown
9437version_type=none
9438dynamic_linker="$host_os ld.so"
9439sys_lib_dlsearch_path_spec="/lib /usr/lib"
9440need_lib_prefix=unknown
9441hardcode_into_libs=no
9442
9443# when you set need_version to no, make sure it does not cause -set_version
9444# flags to be left without arguments
9445need_version=unknown
9446
9447case $host_os in
9448aix3*)
9449 version_type=linux
9450 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9451 shlibpath_var=LIBPATH
9452
9453 # AIX 3 has no versioning support, so we append a major version to the name.
9454 soname_spec='${libname}${release}${shared_ext}$major'
9455 ;;
9456
9457aix[4-9]*)
9458 version_type=linux
9459 need_lib_prefix=no
9460 need_version=no
9461 hardcode_into_libs=yes
9462 if test "$host_cpu" = ia64; then
9463 # AIX 5 supports IA64
9464 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9465 shlibpath_var=LD_LIBRARY_PATH
9466 else
9467 # With GCC up to 2.95.x, collect2 would create an import file
9468 # for dependence libraries. The import file would start with
9469 # the line `#! .'. This would cause the generated library to
9470 # depend on `.', always an invalid library. This was fixed in
9471 # development snapshots of GCC prior to 3.0.
9472 case $host_os in
9473 aix4 | aix4.[01] | aix4.[01].*)
9474 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9475 echo ' yes '
9476 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9477 :
9478 else
9479 can_build_shared=no
9480 fi
9481 ;;
9482 esac
9483 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9484 # soname into executable. Probably we can add versioning support to
9485 # collect2, so additional links can be useful in future.
9486 if test "$aix_use_runtimelinking" = yes; then
9487 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9488 # instead of lib<name>.a to let people know that these are not
9489 # typical AIX shared libraries.
9490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9491 else
9492 # We preserve .a as extension for shared libraries through AIX4.2
9493 # and later when we are not doing run time linking.
9494 library_names_spec='${libname}${release}.a $libname.a'
9495 soname_spec='${libname}${release}${shared_ext}$major'
9496 fi
9497 shlibpath_var=LIBPATH
9498 fi
9499 ;;
9500
9501amigaos*)
9502 case $host_cpu in
9503 powerpc)
9504 # Since July 2007 AmigaOS4 officially supports .so libraries.
9505 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9507 ;;
9508 m68k)
9509 library_names_spec='$libname.ixlibrary $libname.a'
9510 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9511 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'
9512 ;;
9513 esac
9514 ;;
9515
9516beos*)
9517 library_names_spec='${libname}${shared_ext}'
9518 dynamic_linker="$host_os ld.so"
9519 shlibpath_var=LIBRARY_PATH
9520 ;;
9521
9522bsdi[45]*)
9523 version_type=linux
9524 need_version=no
9525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9526 soname_spec='${libname}${release}${shared_ext}$major'
9527 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9528 shlibpath_var=LD_LIBRARY_PATH
9529 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9530 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9531 # the default ld.so.conf also contains /usr/contrib/lib and
9532 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9533 # libtool to hard-code these into programs
9534 ;;
9535
9536cygwin* | mingw* | pw32* | cegcc*)
9537 version_type=windows
9538 shrext_cmds=".dll"
9539 need_version=no
9540 need_lib_prefix=no
9541
9542 case $GCC,$host_os in
9543 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9544 library_names_spec='$libname.dll.a'
9545 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9546 postinstall_cmds='base_file=`basename \${file}`~
9547 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9548 dldir=$destdir/`dirname \$dlpath`~
9549 test -d \$dldir || mkdir -p \$dldir~
9550 $install_prog $dir/$dlname \$dldir/$dlname~
9551 chmod a+x \$dldir/$dlname~
9552 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9553 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9554 fi'
9555 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9556 dlpath=$dir/\$dldll~
9557 $RM \$dlpath'
9558 shlibpath_overrides_runpath=yes
9559
9560 case $host_os in
9561 cygwin*)
9562 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9563 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9564 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9565 ;;
9566 mingw* | cegcc*)
9567 # MinGW DLLs use traditional 'lib' prefix
9568 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9569 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9570 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9571 # It is most probably a Windows format PATH printed by
9572 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9573 # path with ; separators, and with drive letters. We can handle the
9574 # drive letters (cygwin fileutils understands them), so leave them,
9575 # especially as we might pass files found there to a mingw objdump,
9576 # which wouldn't understand a cygwinified path. Ahh.
9577 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9578 else
9579 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9580 fi
9581 ;;
9582 pw32*)
9583 # pw32 DLLs use 'pw' prefix rather than 'lib'
9584 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9585 ;;
9586 esac
9587 ;;
9588
9589 *)
9590 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9591 ;;
9592 esac
9593 dynamic_linker='Win32 ld.exe'
9594 # FIXME: first we should search . and the directory the executable is in
9595 shlibpath_var=PATH
9596 ;;
9597
9598darwin* | rhapsody*)
9599 dynamic_linker="$host_os dyld"
9600 version_type=darwin
9601 need_lib_prefix=no
9602 need_version=no
9603 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9604 soname_spec='${libname}${release}${major}$shared_ext'
9605 shlibpath_overrides_runpath=yes
9606 shlibpath_var=DYLD_LIBRARY_PATH
9607 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9608
9609 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9610 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9611 ;;
9612
9613dgux*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 ;;
9621
9622freebsd1*)
9623 dynamic_linker=no
9624 ;;
9625
9626freebsd* | dragonfly*)
9627 # DragonFly does not have aout. When/if they implement a new
9628 # versioning mechanism, adjust this.
9629 if test -x /usr/bin/objformat; then
9630 objformat=`/usr/bin/objformat`
9631 else
9632 case $host_os in
9633 freebsd[123]*) objformat=aout ;;
9634 *) objformat=elf ;;
9635 esac
9636 fi
9637 version_type=freebsd-$objformat
9638 case $version_type in
9639 freebsd-elf*)
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9641 need_version=no
9642 need_lib_prefix=no
9643 ;;
9644 freebsd-*)
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9646 need_version=yes
9647 ;;
9648 esac
9649 shlibpath_var=LD_LIBRARY_PATH
9650 case $host_os in
9651 freebsd2*)
9652 shlibpath_overrides_runpath=yes
9653 ;;
9654 freebsd3.[01]* | freebsdelf3.[01]*)
9655 shlibpath_overrides_runpath=yes
9656 hardcode_into_libs=yes
9657 ;;
9658 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9659 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9660 shlibpath_overrides_runpath=no
9661 hardcode_into_libs=yes
9662 ;;
9663 *) # from 4.6 on, and DragonFly
9664 shlibpath_overrides_runpath=yes
9665 hardcode_into_libs=yes
9666 ;;
9667 esac
9668 ;;
9669
9670gnu*)
9671 version_type=linux
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 hardcode_into_libs=yes
9678 ;;
9679
9680hpux9* | hpux10* | hpux11*)
9681 # Give a soname corresponding to the major version so that dld.sl refuses to
9682 # link against other versions.
9683 version_type=sunos
9684 need_lib_prefix=no
9685 need_version=no
9686 case $host_cpu in
9687 ia64*)
9688 shrext_cmds='.so'
9689 hardcode_into_libs=yes
9690 dynamic_linker="$host_os dld.so"
9691 shlibpath_var=LD_LIBRARY_PATH
9692 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9694 soname_spec='${libname}${release}${shared_ext}$major'
9695 if test "X$HPUX_IA64_MODE" = X32; then
9696 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9697 else
9698 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9699 fi
9700 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9701 ;;
9702 hppa*64*)
9703 shrext_cmds='.sl'
9704 hardcode_into_libs=yes
9705 dynamic_linker="$host_os dld.sl"
9706 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9707 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9709 soname_spec='${libname}${release}${shared_ext}$major'
9710 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9711 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9712 ;;
9713 *)
9714 shrext_cmds='.sl'
9715 dynamic_linker="$host_os dld.sl"
9716 shlibpath_var=SHLIB_PATH
9717 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9719 soname_spec='${libname}${release}${shared_ext}$major'
9720 ;;
9721 esac
9722 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9723 postinstall_cmds='chmod 555 $lib'
9724 ;;
9725
9726interix[3-9]*)
9727 version_type=linux
9728 need_lib_prefix=no
9729 need_version=no
9730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9731 soname_spec='${libname}${release}${shared_ext}$major'
9732 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9733 shlibpath_var=LD_LIBRARY_PATH
9734 shlibpath_overrides_runpath=no
9735 hardcode_into_libs=yes
9736 ;;
9737
9738irix5* | irix6* | nonstopux*)
9739 case $host_os in
9740 nonstopux*) version_type=nonstopux ;;
9741 *)
9742 if test "$lt_cv_prog_gnu_ld" = yes; then
9743 version_type=linux
9744 else
9745 version_type=irix
9746 fi ;;
9747 esac
9748 need_lib_prefix=no
9749 need_version=no
9750 soname_spec='${libname}${release}${shared_ext}$major'
9751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9752 case $host_os in
9753 irix5* | nonstopux*)
9754 libsuff= shlibsuff=
9755 ;;
9756 *)
9757 case $LD in # libtool.m4 will add one of these switches to LD
9758 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9759 libsuff= shlibsuff= libmagic=32-bit;;
9760 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9761 libsuff=32 shlibsuff=N32 libmagic=N32;;
9762 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9763 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9764 *) libsuff= shlibsuff= libmagic=never-match;;
9765 esac
9766 ;;
9767 esac
9768 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9769 shlibpath_overrides_runpath=no
9770 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9771 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9772 hardcode_into_libs=yes
9773 ;;
9774
9775# No shared lib support for Linux oldld, aout, or coff.
9776linux*oldld* | linux*aout* | linux*coff*)
9777 dynamic_linker=no
9778 ;;
9779
9780# This must be Linux ELF.
9781linux* | k*bsd*-gnu | kopensolaris*-gnu)
9782 version_type=linux
9783 need_lib_prefix=no
9784 need_version=no
9785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9786 soname_spec='${libname}${release}${shared_ext}$major'
9787 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9788 shlibpath_var=LD_LIBRARY_PATH
9789 shlibpath_overrides_runpath=no
9790 # Some binutils ld are patched to set DT_RUNPATH
9791 save_LDFLAGS=$LDFLAGS
9792 save_libdir=$libdir
9793 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9794 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796/* end confdefs.h. */
9797
9798int
9799main ()
9800{
9801
9802 ;
9803 return 0;
9804}
9805_ACEOF
9806if ac_fn_c_try_link "$LINENO"; then :
9807 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9808 shlibpath_overrides_runpath=yes
9809fi
9810fi
9811rm -f core conftest.err conftest.$ac_objext \
9812 conftest$ac_exeext conftest.$ac_ext
9813 LDFLAGS=$save_LDFLAGS
9814 libdir=$save_libdir
9815
9816 # This implies no fast_install, which is unacceptable.
9817 # Some rework will be needed to allow for fast_install
9818 # before this can be enabled.
9819 hardcode_into_libs=yes
9820
9821 # Append ld.so.conf contents to the search path
9822 if test -f /etc/ld.so.conf; then
9823 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' ' '`
9824 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9825 fi
9826
9827 # We used to test for /lib/ld.so.1 and disable shared libraries on
9828 # powerpc, because MkLinux only supported shared libraries with the
9829 # GNU dynamic linker. Since this was broken with cross compilers,
9830 # most powerpc-linux boxes support dynamic linking these days and
9831 # people can always --disable-shared, the test was removed, and we
9832 # assume the GNU/Linux dynamic linker is in use.
9833 dynamic_linker='GNU/Linux ld.so'
9834 ;;
9835
9836netbsdelf*-gnu)
9837 version_type=linux
9838 need_lib_prefix=no
9839 need_version=no
9840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9841 soname_spec='${libname}${release}${shared_ext}$major'
9842 shlibpath_var=LD_LIBRARY_PATH
9843 shlibpath_overrides_runpath=no
9844 hardcode_into_libs=yes
9845 dynamic_linker='NetBSD ld.elf_so'
9846 ;;
9847
9848netbsd*)
9849 version_type=sunos
9850 need_lib_prefix=no
9851 need_version=no
9852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9855 dynamic_linker='NetBSD (a.out) ld.so'
9856 else
9857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9858 soname_spec='${libname}${release}${shared_ext}$major'
9859 dynamic_linker='NetBSD ld.elf_so'
9860 fi
9861 shlibpath_var=LD_LIBRARY_PATH
9862 shlibpath_overrides_runpath=yes
9863 hardcode_into_libs=yes
9864 ;;
9865
9866newsos6)
9867 version_type=linux
9868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9869 shlibpath_var=LD_LIBRARY_PATH
9870 shlibpath_overrides_runpath=yes
9871 ;;
9872
9873*nto* | *qnx*)
9874 version_type=qnx
9875 need_lib_prefix=no
9876 need_version=no
9877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9878 soname_spec='${libname}${release}${shared_ext}$major'
9879 shlibpath_var=LD_LIBRARY_PATH
9880 shlibpath_overrides_runpath=no
9881 hardcode_into_libs=yes
9882 dynamic_linker='ldqnx.so'
9883 ;;
9884
9885openbsd*)
9886 version_type=sunos
9887 sys_lib_dlsearch_path_spec="/usr/lib"
9888 need_lib_prefix=no
9889 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9890 case $host_os in
9891 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9892 *) need_version=no ;;
9893 esac
9894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9896 shlibpath_var=LD_LIBRARY_PATH
9897 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9898 case $host_os in
9899 openbsd2.[89] | openbsd2.[89].*)
9900 shlibpath_overrides_runpath=no
9901 ;;
9902 *)
9903 shlibpath_overrides_runpath=yes
9904 ;;
9905 esac
9906 else
9907 shlibpath_overrides_runpath=yes
9908 fi
9909 ;;
9910
9911os2*)
9912 libname_spec='$name'
9913 shrext_cmds=".dll"
9914 need_lib_prefix=no
9915 library_names_spec='$libname${shared_ext} $libname.a'
9916 dynamic_linker='OS/2 ld.exe'
9917 shlibpath_var=LIBPATH
9918 ;;
9919
9920osf3* | osf4* | osf5*)
9921 version_type=osf
9922 need_lib_prefix=no
9923 need_version=no
9924 soname_spec='${libname}${release}${shared_ext}$major'
9925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9926 shlibpath_var=LD_LIBRARY_PATH
9927 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9928 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9929 ;;
9930
9931rdos*)
9932 dynamic_linker=no
9933 ;;
9934
9935solaris*)
9936 version_type=linux
9937 need_lib_prefix=no
9938 need_version=no
9939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9940 soname_spec='${libname}${release}${shared_ext}$major'
9941 shlibpath_var=LD_LIBRARY_PATH
9942 shlibpath_overrides_runpath=yes
9943 hardcode_into_libs=yes
9944 # ldd complains unless libraries are executable
9945 postinstall_cmds='chmod +x $lib'
9946 ;;
9947
9948sunos4*)
9949 version_type=sunos
9950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9951 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9952 shlibpath_var=LD_LIBRARY_PATH
9953 shlibpath_overrides_runpath=yes
9954 if test "$with_gnu_ld" = yes; then
9955 need_lib_prefix=no
9956 fi
9957 need_version=yes
9958 ;;
9959
9960sysv4 | sysv4.3*)
9961 version_type=linux
9962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9963 soname_spec='${libname}${release}${shared_ext}$major'
9964 shlibpath_var=LD_LIBRARY_PATH
9965 case $host_vendor in
9966 sni)
9967 shlibpath_overrides_runpath=no
9968 need_lib_prefix=no
9969 runpath_var=LD_RUN_PATH
9970 ;;
9971 siemens)
9972 need_lib_prefix=no
9973 ;;
9974 motorola)
9975 need_lib_prefix=no
9976 need_version=no
9977 shlibpath_overrides_runpath=no
9978 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9979 ;;
9980 esac
9981 ;;
9982
9983sysv4*MP*)
9984 if test -d /usr/nec ;then
9985 version_type=linux
9986 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9987 soname_spec='$libname${shared_ext}.$major'
9988 shlibpath_var=LD_LIBRARY_PATH
9989 fi
9990 ;;
9991
9992sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9993 version_type=freebsd-elf
9994 need_lib_prefix=no
9995 need_version=no
9996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9997 soname_spec='${libname}${release}${shared_ext}$major'
9998 shlibpath_var=LD_LIBRARY_PATH
9999 shlibpath_overrides_runpath=yes
10000 hardcode_into_libs=yes
10001 if test "$with_gnu_ld" = yes; then
10002 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10003 else
10004 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10005 case $host_os in
10006 sco3.2v5*)
10007 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10008 ;;
10009 esac
10010 fi
10011 sys_lib_dlsearch_path_spec='/usr/lib'
10012 ;;
10013
10014tpf*)
10015 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10016 version_type=linux
10017 need_lib_prefix=no
10018 need_version=no
10019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10020 shlibpath_var=LD_LIBRARY_PATH
10021 shlibpath_overrides_runpath=no
10022 hardcode_into_libs=yes
10023 ;;
10024
10025uts4*)
10026 version_type=linux
10027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028 soname_spec='${libname}${release}${shared_ext}$major'
10029 shlibpath_var=LD_LIBRARY_PATH
10030 ;;
10031
10032*)
10033 dynamic_linker=no
10034 ;;
10035esac
10036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10037$as_echo "$dynamic_linker" >&6; }
10038test "$dynamic_linker" = no && can_build_shared=no
10039
10040variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10041if test "$GCC" = yes; then
10042 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10043fi
10044
10045if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10046 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10047fi
10048if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10049 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10050fi
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10139$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10140hardcode_action=
10141if test -n "$hardcode_libdir_flag_spec" ||
10142 test -n "$runpath_var" ||
10143 test "X$hardcode_automatic" = "Xyes" ; then
10144
10145 # We can hardcode non-existent directories.
10146 if test "$hardcode_direct" != no &&
10147 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10148 # have to relink, otherwise we might link with an installed library
10149 # when we should be linking with a yet-to-be-installed one
10150 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10151 test "$hardcode_minus_L" != no; then
10152 # Linking always hardcodes the temporary library directory.
10153 hardcode_action=relink
10154 else
10155 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10156 hardcode_action=immediate
10157 fi
10158else
10159 # We cannot hardcode anything, or else we can only hardcode existing
10160 # directories.
10161 hardcode_action=unsupported
10162fi
10163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10164$as_echo "$hardcode_action" >&6; }
10165
10166if test "$hardcode_action" = relink ||
10167 test "$inherit_rpath" = yes; then
10168 # Fast installation is not supported
10169 enable_fast_install=no
10170elif test "$shlibpath_overrides_runpath" = yes ||
10171 test "$enable_shared" = no; then
10172 # Fast installation is not necessary
10173 enable_fast_install=needless
10174fi
10175
10176
10177
10178
10179
10180
10181 if test "x$enable_dlopen" != xyes; then
10182 enable_dlopen=unknown
10183 enable_dlopen_self=unknown
10184 enable_dlopen_self_static=unknown
10185else
10186 lt_cv_dlopen=no
10187 lt_cv_dlopen_libs=
10188
10189 case $host_os in
10190 beos*)
10191 lt_cv_dlopen="load_add_on"
10192 lt_cv_dlopen_libs=
10193 lt_cv_dlopen_self=yes
10194 ;;
10195
10196 mingw* | pw32* | cegcc*)
10197 lt_cv_dlopen="LoadLibrary"
10198 lt_cv_dlopen_libs=
10199 ;;
10200
10201 cygwin*)
10202 lt_cv_dlopen="dlopen"
10203 lt_cv_dlopen_libs=
10204 ;;
10205
10206 darwin*)
10207 # if libdl is installed we need to link against it
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10209$as_echo_n "checking for dlopen in -ldl... " >&6; }
10210if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10211 $as_echo_n "(cached) " >&6
10212else
10213 ac_check_lib_save_LIBS=$LIBS
10214LIBS="-ldl $LIBS"
10215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216/* end confdefs.h. */
10217
10218/* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10221#ifdef __cplusplus
10222extern "C"
10223#endif
10224char dlopen ();
10225int
10226main ()
10227{
10228return dlopen ();
10229 ;
10230 return 0;
10231}
10232_ACEOF
10233if ac_fn_c_try_link "$LINENO"; then :
10234 ac_cv_lib_dl_dlopen=yes
10235else
10236 ac_cv_lib_dl_dlopen=no
10237fi
10238rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240LIBS=$ac_check_lib_save_LIBS
10241fi
10242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10243$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10244if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10245 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10246else
10247
10248 lt_cv_dlopen="dyld"
10249 lt_cv_dlopen_libs=
10250 lt_cv_dlopen_self=yes
10251
10252fi
10253
10254 ;;
10255
10256 *)
10257 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10258if test "x$ac_cv_func_shl_load" = x""yes; then :
10259 lt_cv_dlopen="shl_load"
10260else
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10262$as_echo_n "checking for shl_load in -ldld... " >&6; }
10263if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265else
10266 ac_check_lib_save_LIBS=$LIBS
10267LIBS="-ldld $LIBS"
10268cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269/* end confdefs.h. */
10270
10271/* Override any GCC internal prototype to avoid an error.
10272 Use char because int might match the return type of a GCC
10273 builtin and then its argument prototype would still apply. */
10274#ifdef __cplusplus
10275extern "C"
10276#endif
10277char shl_load ();
10278int
10279main ()
10280{
10281return shl_load ();
10282 ;
10283 return 0;
10284}
10285_ACEOF
10286if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_lib_dld_shl_load=yes
10288else
10289 ac_cv_lib_dld_shl_load=no
10290fi
10291rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293LIBS=$ac_check_lib_save_LIBS
10294fi
10295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10296$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10297if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10298 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10299else
10300 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10301if test "x$ac_cv_func_dlopen" = x""yes; then :
10302 lt_cv_dlopen="dlopen"
10303else
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10305$as_echo_n "checking for dlopen in -ldl... " >&6; }
10306if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10307 $as_echo_n "(cached) " >&6
10308else
10309 ac_check_lib_save_LIBS=$LIBS
10310LIBS="-ldl $LIBS"
10311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312/* end confdefs.h. */
10313
10314/* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317#ifdef __cplusplus
10318extern "C"
10319#endif
10320char dlopen ();
10321int
10322main ()
10323{
10324return dlopen ();
10325 ;
10326 return 0;
10327}
10328_ACEOF
10329if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_lib_dl_dlopen=yes
10331else
10332 ac_cv_lib_dl_dlopen=no
10333fi
10334rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336LIBS=$ac_check_lib_save_LIBS
10337fi
10338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10339$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10340if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10341 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10342else
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10344$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10345if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10346 $as_echo_n "(cached) " >&6
10347else
10348 ac_check_lib_save_LIBS=$LIBS
10349LIBS="-lsvld $LIBS"
10350cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351/* end confdefs.h. */
10352
10353/* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10356#ifdef __cplusplus
10357extern "C"
10358#endif
10359char dlopen ();
10360int
10361main ()
10362{
10363return dlopen ();
10364 ;
10365 return 0;
10366}
10367_ACEOF
10368if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_svld_dlopen=yes
10370else
10371 ac_cv_lib_svld_dlopen=no
10372fi
10373rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375LIBS=$ac_check_lib_save_LIBS
10376fi
10377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10378$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10379if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10380 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10381else
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10383$as_echo_n "checking for dld_link in -ldld... " >&6; }
10384if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10385 $as_echo_n "(cached) " >&6
10386else
10387 ac_check_lib_save_LIBS=$LIBS
10388LIBS="-ldld $LIBS"
10389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390/* end confdefs.h. */
10391
10392/* Override any GCC internal prototype to avoid an error.
10393 Use char because int might match the return type of a GCC
10394 builtin and then its argument prototype would still apply. */
10395#ifdef __cplusplus
10396extern "C"
10397#endif
10398char dld_link ();
10399int
10400main ()
10401{
10402return dld_link ();
10403 ;
10404 return 0;
10405}
10406_ACEOF
10407if ac_fn_c_try_link "$LINENO"; then :
10408 ac_cv_lib_dld_dld_link=yes
10409else
10410 ac_cv_lib_dld_dld_link=no
10411fi
10412rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414LIBS=$ac_check_lib_save_LIBS
10415fi
10416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10417$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10418if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10419 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10420fi
10421
10422
10423fi
10424
10425
10426fi
10427
10428
10429fi
10430
10431
10432fi
10433
10434
10435fi
10436
10437 ;;
10438 esac
10439
10440 if test "x$lt_cv_dlopen" != xno; then
10441 enable_dlopen=yes
10442 else
10443 enable_dlopen=no
10444 fi
10445
10446 case $lt_cv_dlopen in
10447 dlopen)
10448 save_CPPFLAGS="$CPPFLAGS"
10449 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10450
10451 save_LDFLAGS="$LDFLAGS"
10452 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10453
10454 save_LIBS="$LIBS"
10455 LIBS="$lt_cv_dlopen_libs $LIBS"
10456
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10458$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10459if test "${lt_cv_dlopen_self+set}" = set; then :
10460 $as_echo_n "(cached) " >&6
10461else
10462 if test "$cross_compiling" = yes; then :
10463 lt_cv_dlopen_self=cross
10464else
10465 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10466 lt_status=$lt_dlunknown
10467 cat > conftest.$ac_ext <<_LT_EOF
10468#line 10468 "configure"
10469#include "confdefs.h"
10470
10471#if HAVE_DLFCN_H
10472#include <dlfcn.h>
10473#endif
10474
10475#include <stdio.h>
10476
10477#ifdef RTLD_GLOBAL
10478# define LT_DLGLOBAL RTLD_GLOBAL
10479#else
10480# ifdef DL_GLOBAL
10481# define LT_DLGLOBAL DL_GLOBAL
10482# else
10483# define LT_DLGLOBAL 0
10484# endif
10485#endif
10486
10487/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10488 find out it does not work in some platform. */
10489#ifndef LT_DLLAZY_OR_NOW
10490# ifdef RTLD_LAZY
10491# define LT_DLLAZY_OR_NOW RTLD_LAZY
10492# else
10493# ifdef DL_LAZY
10494# define LT_DLLAZY_OR_NOW DL_LAZY
10495# else
10496# ifdef RTLD_NOW
10497# define LT_DLLAZY_OR_NOW RTLD_NOW
10498# else
10499# ifdef DL_NOW
10500# define LT_DLLAZY_OR_NOW DL_NOW
10501# else
10502# define LT_DLLAZY_OR_NOW 0
10503# endif
10504# endif
10505# endif
10506# endif
10507#endif
10508
10509void fnord() { int i=42;}
10510int main ()
10511{
10512 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10513 int status = $lt_dlunknown;
10514
10515 if (self)
10516 {
10517 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10518 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10519 /* dlclose (self); */
10520 }
10521 else
10522 puts (dlerror ());
10523
10524 return status;
10525}
10526_LT_EOF
10527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10528 (eval $ac_link) 2>&5
10529 ac_status=$?
10530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10531 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10532 (./conftest; exit; ) >&5 2>/dev/null
10533 lt_status=$?
10534 case x$lt_status in
10535 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10536 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10537 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10538 esac
10539 else :
10540 # compilation failed
10541 lt_cv_dlopen_self=no
10542 fi
10543fi
10544rm -fr conftest*
10545
10546
10547fi
10548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10549$as_echo "$lt_cv_dlopen_self" >&6; }
10550
10551 if test "x$lt_cv_dlopen_self" = xyes; then
10552 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10554$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10555if test "${lt_cv_dlopen_self_static+set}" = set; then :
10556 $as_echo_n "(cached) " >&6
10557else
10558 if test "$cross_compiling" = yes; then :
10559 lt_cv_dlopen_self_static=cross
10560else
10561 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10562 lt_status=$lt_dlunknown
10563 cat > conftest.$ac_ext <<_LT_EOF
10564#line 10564 "configure"
10565#include "confdefs.h"
10566
10567#if HAVE_DLFCN_H
10568#include <dlfcn.h>
10569#endif
10570
10571#include <stdio.h>
10572
10573#ifdef RTLD_GLOBAL
10574# define LT_DLGLOBAL RTLD_GLOBAL
10575#else
10576# ifdef DL_GLOBAL
10577# define LT_DLGLOBAL DL_GLOBAL
10578# else
10579# define LT_DLGLOBAL 0
10580# endif
10581#endif
10582
10583/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10584 find out it does not work in some platform. */
10585#ifndef LT_DLLAZY_OR_NOW
10586# ifdef RTLD_LAZY
10587# define LT_DLLAZY_OR_NOW RTLD_LAZY
10588# else
10589# ifdef DL_LAZY
10590# define LT_DLLAZY_OR_NOW DL_LAZY
10591# else
10592# ifdef RTLD_NOW
10593# define LT_DLLAZY_OR_NOW RTLD_NOW
10594# else
10595# ifdef DL_NOW
10596# define LT_DLLAZY_OR_NOW DL_NOW
10597# else
10598# define LT_DLLAZY_OR_NOW 0
10599# endif
10600# endif
10601# endif
10602# endif
10603#endif
10604
10605void fnord() { int i=42;}
10606int main ()
10607{
10608 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10609 int status = $lt_dlunknown;
10610
10611 if (self)
10612 {
10613 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10614 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10615 /* dlclose (self); */
10616 }
10617 else
10618 puts (dlerror ());
10619
10620 return status;
10621}
10622_LT_EOF
10623 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10624 (eval $ac_link) 2>&5
10625 ac_status=$?
10626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10627 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10628 (./conftest; exit; ) >&5 2>/dev/null
10629 lt_status=$?
10630 case x$lt_status in
10631 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10632 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10633 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10634 esac
10635 else :
10636 # compilation failed
10637 lt_cv_dlopen_self_static=no
10638 fi
10639fi
10640rm -fr conftest*
10641
10642
10643fi
10644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10645$as_echo "$lt_cv_dlopen_self_static" >&6; }
10646 fi
10647
10648 CPPFLAGS="$save_CPPFLAGS"
10649 LDFLAGS="$save_LDFLAGS"
10650 LIBS="$save_LIBS"
10651 ;;
10652 esac
10653
10654 case $lt_cv_dlopen_self in
10655 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10656 *) enable_dlopen_self=unknown ;;
10657 esac
10658
10659 case $lt_cv_dlopen_self_static in
10660 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10661 *) enable_dlopen_self_static=unknown ;;
10662 esac
10663fi
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681striplib=
10682old_striplib=
10683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10684$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10685if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10686 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10687 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10689$as_echo "yes" >&6; }
10690else
10691# FIXME - insert some real tests, host_os isn't really good enough
10692 case $host_os in
10693 darwin*)
10694 if test -n "$STRIP" ; then
10695 striplib="$STRIP -x"
10696 old_striplib="$STRIP -S"
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10698$as_echo "yes" >&6; }
10699 else
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701$as_echo "no" >&6; }
10702 fi
10703 ;;
10704 *)
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10706$as_echo "no" >&6; }
10707 ;;
10708 esac
10709fi
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722 # Report which library types will actually be built
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10724$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10726$as_echo "$can_build_shared" >&6; }
10727
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10729$as_echo_n "checking whether to build shared libraries... " >&6; }
10730 test "$can_build_shared" = "no" && enable_shared=no
10731
10732 # On AIX, shared libraries and static libraries use the same namespace, and
10733 # are all built from PIC.
10734 case $host_os in
10735 aix3*)
10736 test "$enable_shared" = yes && enable_static=no
10737 if test -n "$RANLIB"; then
10738 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10739 postinstall_cmds='$RANLIB $lib'
10740 fi
10741 ;;
10742
10743 aix[4-9]*)
10744 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10745 test "$enable_shared" = yes && enable_static=no
10746 fi
10747 ;;
10748 esac
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10750$as_echo "$enable_shared" >&6; }
10751
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10753$as_echo_n "checking whether to build static libraries... " >&6; }
10754 # Make sure either enable_shared or enable_static is yes.
10755 test "$enable_shared" = yes || enable_static=yes
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10757$as_echo "$enable_static" >&6; }
10758
10759
10760
10761
10762fi
10763ac_ext=c
10764ac_cpp='$CPP $CPPFLAGS'
10765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10767ac_compiler_gnu=$ac_cv_c_compiler_gnu
10768
10769CC="$lt_save_CC"
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783 ac_config_commands="$ac_config_commands libtool"
10784
10785
10786
10787
10788# Only expand once:
10789
10790
10791
10792##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10793##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10794
10795
10796
10797cat >>confdefs.h <<_ACEOF
10798#define VMAJ 1
10799_ACEOF
10800
10801
10802cat >>confdefs.h <<_ACEOF
10803#define VMIN 1
10804_ACEOF
10805
10806
10807cat >>confdefs.h <<_ACEOF
10808#define VMIC 0
10809_ACEOF
10810
10811
10812cat >>confdefs.h <<_ACEOF
10813#define VREV 0
10814_ACEOF
10815
10816version_info="2:0:1"
10817release_info=""
10818
10819
10820##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10821##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10822VMAJ=1
10823
10824
10825### Default options with respect to host
10826
10827
10828
10829
10830requirement_embryo=""
10831embryoincludedir="${datadir}/include"
10832
10833
10834### Additional options to configure
10835
10836
10837
10838
10839have_embryo_cc="yes"
10840
10841
10842# Check whether --enable-embryo-cc was given.
10843if test "${enable_embryo_cc+set}" = set; then :
10844 enableval=$enable_embryo_cc;
10845 if test "x${enableval}" = "xyes" ; then
10846 have_embryo_cc="yes"
10847 else
10848 have_embryo_cc="no"
10849 fi
10850
10851fi
10852
10853
10854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build embryo_cc binary" >&5
10855$as_echo_n "checking whether to build embryo_cc binary... " >&6; }
10856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_embryo_cc" >&5
10857$as_echo "$have_embryo_cc" >&6; }
10858
10859if test "x$have_embryo_cc" = "xyes"; then
10860 EMBRYO_CC_PRG=embryo_cc${EXEEXT}
10861fi
10862
10863
10864
10865 if test "x$have_embryo_cc" = "xyes"; then
10866 BUILD_EMBRYO_CC_TRUE=
10867 BUILD_EMBRYO_CC_FALSE='#'
10868else
10869 BUILD_EMBRYO_CC_TRUE='#'
10870 BUILD_EMBRYO_CC_FALSE=
10871fi
10872
10873
10874if test "x$have_embryo_cc" = "xyes"; then :
10875
10876fi
10877
10878
10879
10880
10881### Checks for programs
10882ac_ext=c
10883ac_cpp='$CPP $CPPFLAGS'
10884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10886ac_compiler_gnu=$ac_cv_c_compiler_gnu
10887if test -n "$ac_tool_prefix"; then
10888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10889set dummy ${ac_tool_prefix}gcc; ac_word=$2
10890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10891$as_echo_n "checking for $ac_word... " >&6; }
10892if test "${ac_cv_prog_CC+set}" = set; then :
10893 $as_echo_n "(cached) " >&6
10894else
10895 if test -n "$CC"; then
10896 ac_cv_prog_CC="$CC" # Let the user override the test.
10897else
10898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10899for as_dir in $PATH
10900do
10901 IFS=$as_save_IFS
10902 test -z "$as_dir" && as_dir=.
10903 for ac_exec_ext in '' $ac_executable_extensions; do
10904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10907 break 2
10908 fi
10909done
10910 done
10911IFS=$as_save_IFS
10912
10913fi
10914fi
10915CC=$ac_cv_prog_CC
10916if test -n "$CC"; then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10918$as_echo "$CC" >&6; }
10919else
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10921$as_echo "no" >&6; }
10922fi
10923
10924
10925fi
10926if test -z "$ac_cv_prog_CC"; then
10927 ac_ct_CC=$CC
10928 # Extract the first word of "gcc", so it can be a program name with args.
10929set dummy gcc; ac_word=$2
10930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10931$as_echo_n "checking for $ac_word... " >&6; }
10932if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10933 $as_echo_n "(cached) " >&6
10934else
10935 if test -n "$ac_ct_CC"; then
10936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10937else
10938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10939for as_dir in $PATH
10940do
10941 IFS=$as_save_IFS
10942 test -z "$as_dir" && as_dir=.
10943 for ac_exec_ext in '' $ac_executable_extensions; do
10944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10945 ac_cv_prog_ac_ct_CC="gcc"
10946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10947 break 2
10948 fi
10949done
10950 done
10951IFS=$as_save_IFS
10952
10953fi
10954fi
10955ac_ct_CC=$ac_cv_prog_ac_ct_CC
10956if test -n "$ac_ct_CC"; then
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10958$as_echo "$ac_ct_CC" >&6; }
10959else
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10961$as_echo "no" >&6; }
10962fi
10963
10964 if test "x$ac_ct_CC" = x; then
10965 CC=""
10966 else
10967 case $cross_compiling:$ac_tool_warned in
10968yes:)
10969{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10970$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10971ac_tool_warned=yes ;;
10972esac
10973 CC=$ac_ct_CC
10974 fi
10975else
10976 CC="$ac_cv_prog_CC"
10977fi
10978
10979if test -z "$CC"; then
10980 if test -n "$ac_tool_prefix"; then
10981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10982set dummy ${ac_tool_prefix}cc; ac_word=$2
10983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10984$as_echo_n "checking for $ac_word... " >&6; }
10985if test "${ac_cv_prog_CC+set}" = set; then :
10986 $as_echo_n "(cached) " >&6
10987else
10988 if test -n "$CC"; then
10989 ac_cv_prog_CC="$CC" # Let the user override the test.
10990else
10991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10992for as_dir in $PATH
10993do
10994 IFS=$as_save_IFS
10995 test -z "$as_dir" && as_dir=.
10996 for ac_exec_ext in '' $ac_executable_extensions; do
10997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10998 ac_cv_prog_CC="${ac_tool_prefix}cc"
10999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11000 break 2
11001 fi
11002done
11003 done
11004IFS=$as_save_IFS
11005
11006fi
11007fi
11008CC=$ac_cv_prog_CC
11009if test -n "$CC"; then
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11011$as_echo "$CC" >&6; }
11012else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11014$as_echo "no" >&6; }
11015fi
11016
11017
11018 fi
11019fi
11020if test -z "$CC"; then
11021 # Extract the first word of "cc", so it can be a program name with args.
11022set dummy cc; ac_word=$2
11023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11024$as_echo_n "checking for $ac_word... " >&6; }
11025if test "${ac_cv_prog_CC+set}" = set; then :
11026 $as_echo_n "(cached) " >&6
11027else
11028 if test -n "$CC"; then
11029 ac_cv_prog_CC="$CC" # Let the user override the test.
11030else
11031 ac_prog_rejected=no
11032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11033for as_dir in $PATH
11034do
11035 IFS=$as_save_IFS
11036 test -z "$as_dir" && as_dir=.
11037 for ac_exec_ext in '' $ac_executable_extensions; do
11038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11040 ac_prog_rejected=yes
11041 continue
11042 fi
11043 ac_cv_prog_CC="cc"
11044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11045 break 2
11046 fi
11047done
11048 done
11049IFS=$as_save_IFS
11050
11051if test $ac_prog_rejected = yes; then
11052 # We found a bogon in the path, so make sure we never use it.
11053 set dummy $ac_cv_prog_CC
11054 shift
11055 if test $# != 0; then
11056 # We chose a different compiler from the bogus one.
11057 # However, it has the same basename, so the bogon will be chosen
11058 # first if we set CC to just the basename; use the full file name.
11059 shift
11060 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11061 fi
11062fi
11063fi
11064fi
11065CC=$ac_cv_prog_CC
11066if test -n "$CC"; then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11068$as_echo "$CC" >&6; }
11069else
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071$as_echo "no" >&6; }
11072fi
11073
11074
11075fi
11076if test -z "$CC"; then
11077 if test -n "$ac_tool_prefix"; then
11078 for ac_prog in cl.exe
11079 do
11080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11081set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11083$as_echo_n "checking for $ac_word... " >&6; }
11084if test "${ac_cv_prog_CC+set}" = set; then :
11085 $as_echo_n "(cached) " >&6
11086else
11087 if test -n "$CC"; then
11088 ac_cv_prog_CC="$CC" # Let the user override the test.
11089else
11090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11091for as_dir in $PATH
11092do
11093 IFS=$as_save_IFS
11094 test -z "$as_dir" && as_dir=.
11095 for ac_exec_ext in '' $ac_executable_extensions; do
11096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11097 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11099 break 2
11100 fi
11101done
11102 done
11103IFS=$as_save_IFS
11104
11105fi
11106fi
11107CC=$ac_cv_prog_CC
11108if test -n "$CC"; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11110$as_echo "$CC" >&6; }
11111else
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11113$as_echo "no" >&6; }
11114fi
11115
11116
11117 test -n "$CC" && break
11118 done
11119fi
11120if test -z "$CC"; then
11121 ac_ct_CC=$CC
11122 for ac_prog in cl.exe
11123do
11124 # Extract the first word of "$ac_prog", so it can be a program name with args.
11125set dummy $ac_prog; ac_word=$2
11126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11127$as_echo_n "checking for $ac_word... " >&6; }
11128if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11129 $as_echo_n "(cached) " >&6
11130else
11131 if test -n "$ac_ct_CC"; then
11132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11133else
11134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11135for as_dir in $PATH
11136do
11137 IFS=$as_save_IFS
11138 test -z "$as_dir" && as_dir=.
11139 for ac_exec_ext in '' $ac_executable_extensions; do
11140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11141 ac_cv_prog_ac_ct_CC="$ac_prog"
11142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11143 break 2
11144 fi
11145done
11146 done
11147IFS=$as_save_IFS
11148
11149fi
11150fi
11151ac_ct_CC=$ac_cv_prog_ac_ct_CC
11152if test -n "$ac_ct_CC"; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11154$as_echo "$ac_ct_CC" >&6; }
11155else
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11157$as_echo "no" >&6; }
11158fi
11159
11160
11161 test -n "$ac_ct_CC" && break
11162done
11163
11164 if test "x$ac_ct_CC" = x; then
11165 CC=""
11166 else
11167 case $cross_compiling:$ac_tool_warned in
11168yes:)
11169{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11170$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11171ac_tool_warned=yes ;;
11172esac
11173 CC=$ac_ct_CC
11174 fi
11175fi
11176
11177fi
11178
11179
11180test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11181$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11182as_fn_error $? "no acceptable C compiler found in \$PATH
11183See \`config.log' for more details" "$LINENO" 5 ; }
11184
11185# Provide some information about the compiler.
11186$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11187set X $ac_compile
11188ac_compiler=$2
11189for ac_option in --version -v -V -qversion; do
11190 { { ac_try="$ac_compiler $ac_option >&5"
11191case "(($ac_try" in
11192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11193 *) ac_try_echo=$ac_try;;
11194esac
11195eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11196$as_echo "$ac_try_echo"; } >&5
11197 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11198 ac_status=$?
11199 if test -s conftest.err; then
11200 sed '10a\
11201... rest of stderr output deleted ...
11202 10q' conftest.err >conftest.er1
11203 cat conftest.er1 >&5
11204 fi
11205 rm -f conftest.er1 conftest.err
11206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11207 test $ac_status = 0; }
11208done
11209
11210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11211$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11212if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11213 $as_echo_n "(cached) " >&6
11214else
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216/* end confdefs.h. */
11217
11218int
11219main ()
11220{
11221#ifndef __GNUC__
11222 choke me
11223#endif
11224
11225 ;
11226 return 0;
11227}
11228_ACEOF
11229if ac_fn_c_try_compile "$LINENO"; then :
11230 ac_compiler_gnu=yes
11231else
11232 ac_compiler_gnu=no
11233fi
11234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11235ac_cv_c_compiler_gnu=$ac_compiler_gnu
11236
11237fi
11238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11239$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11240if test $ac_compiler_gnu = yes; then
11241 GCC=yes
11242else
11243 GCC=
11244fi
11245ac_test_CFLAGS=${CFLAGS+set}
11246ac_save_CFLAGS=$CFLAGS
11247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11248$as_echo_n "checking whether $CC accepts -g... " >&6; }
11249if test "${ac_cv_prog_cc_g+set}" = set; then :
11250 $as_echo_n "(cached) " >&6
11251else
11252 ac_save_c_werror_flag=$ac_c_werror_flag
11253 ac_c_werror_flag=yes
11254 ac_cv_prog_cc_g=no
11255 CFLAGS="-g"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257/* end confdefs.h. */
11258
11259int
11260main ()
11261{
11262
11263 ;
11264 return 0;
11265}
11266_ACEOF
11267if ac_fn_c_try_compile "$LINENO"; then :
11268 ac_cv_prog_cc_g=yes
11269else
11270 CFLAGS=""
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272/* end confdefs.h. */
11273
11274int
11275main ()
11276{
11277
11278 ;
11279 return 0;
11280}
11281_ACEOF
11282if ac_fn_c_try_compile "$LINENO"; then :
11283
11284else
11285 ac_c_werror_flag=$ac_save_c_werror_flag
11286 CFLAGS="-g"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288/* end confdefs.h. */
11289
11290int
11291main ()
11292{
11293
11294 ;
11295 return 0;
11296}
11297_ACEOF
11298if ac_fn_c_try_compile "$LINENO"; then :
11299 ac_cv_prog_cc_g=yes
11300fi
11301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11302fi
11303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11304fi
11305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11306 ac_c_werror_flag=$ac_save_c_werror_flag
11307fi
11308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11309$as_echo "$ac_cv_prog_cc_g" >&6; }
11310if test "$ac_test_CFLAGS" = set; then
11311 CFLAGS=$ac_save_CFLAGS
11312elif test $ac_cv_prog_cc_g = yes; then
11313 if test "$GCC" = yes; then
11314 CFLAGS="-g -O2"
11315 else
11316 CFLAGS="-g"
11317 fi
11318else
11319 if test "$GCC" = yes; then
11320 CFLAGS="-O2"
11321 else
11322 CFLAGS=
11323 fi
11324fi
11325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11326$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11327if test "${ac_cv_prog_cc_c89+set}" = set; then :
11328 $as_echo_n "(cached) " >&6
11329else
11330 ac_cv_prog_cc_c89=no
11331ac_save_CC=$CC
11332cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333/* end confdefs.h. */
11334#include <stdarg.h>
11335#include <stdio.h>
11336#include <sys/types.h>
11337#include <sys/stat.h>
11338/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11339struct buf { int x; };
11340FILE * (*rcsopen) (struct buf *, struct stat *, int);
11341static char *e (p, i)
11342 char **p;
11343 int i;
11344{
11345 return p[i];
11346}
11347static char *f (char * (*g) (char **, int), char **p, ...)
11348{
11349 char *s;
11350 va_list v;
11351 va_start (v,p);
11352 s = g (p, va_arg (v,int));
11353 va_end (v);
11354 return s;
11355}
11356
11357/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11358 function prototypes and stuff, but not '\xHH' hex character constants.
11359 These don't provoke an error unfortunately, instead are silently treated
11360 as 'x'. The following induces an error, until -std is added to get
11361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11362 array size at least. It's necessary to write '\x00'==0 to get something
11363 that's true only with -std. */
11364int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11365
11366/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11367 inside strings and character constants. */
11368#define FOO(x) 'x'
11369int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11370
11371int test (int i, double x);
11372struct s1 {int (*f) (int a);};
11373struct s2 {int (*f) (double a);};
11374int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11375int argc;
11376char **argv;
11377int
11378main ()
11379{
11380return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11381 ;
11382 return 0;
11383}
11384_ACEOF
11385for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11387do
11388 CC="$ac_save_CC $ac_arg"
11389 if ac_fn_c_try_compile "$LINENO"; then :
11390 ac_cv_prog_cc_c89=$ac_arg
11391fi
11392rm -f core conftest.err conftest.$ac_objext
11393 test "x$ac_cv_prog_cc_c89" != "xno" && break
11394done
11395rm -f conftest.$ac_ext
11396CC=$ac_save_CC
11397
11398fi
11399# AC_CACHE_VAL
11400case "x$ac_cv_prog_cc_c89" in
11401 x)
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11403$as_echo "none needed" >&6; } ;;
11404 xno)
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11406$as_echo "unsupported" >&6; } ;;
11407 *)
11408 CC="$CC $ac_cv_prog_cc_c89"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11410$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11411esac
11412if test "x$ac_cv_prog_cc_c89" != xno; then :
11413
11414fi
11415
11416ac_ext=c
11417ac_cpp='$CPP $CPPFLAGS'
11418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11420ac_compiler_gnu=$ac_cv_c_compiler_gnu
11421
11422depcc="$CC" am_compiler_list=
11423
11424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11425$as_echo_n "checking dependency style of $depcc... " >&6; }
11426if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428else
11429 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11430 # We make a subdir and do the tests there. Otherwise we can end up
11431 # making bogus files that we don't know about and never remove. For
11432 # instance it was reported that on HP-UX the gcc test will end up
11433 # making a dummy file named `D' -- because `-MD' means `put the output
11434 # in D'.
11435 mkdir conftest.dir
11436 # Copy depcomp to subdir because otherwise we won't find it if we're
11437 # using a relative directory.
11438 cp "$am_depcomp" conftest.dir
11439 cd conftest.dir
11440 # We will build objects and dependencies in a subdirectory because
11441 # it helps to detect inapplicable dependency modes. For instance
11442 # both Tru64's cc and ICC support -MD to output dependencies as a
11443 # side effect of compilation, but ICC will put the dependencies in
11444 # the current directory while Tru64 will put them in the object
11445 # directory.
11446 mkdir sub
11447
11448 am_cv_CC_dependencies_compiler_type=none
11449 if test "$am_compiler_list" = ""; then
11450 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11451 fi
11452 am__universal=false
11453 case " $depcc " in #(
11454 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11455 esac
11456
11457 for depmode in $am_compiler_list; do
11458 # Setup a source with many dependencies, because some compilers
11459 # like to wrap large dependency lists on column 80 (with \), and
11460 # we should not choose a depcomp mode which is confused by this.
11461 #
11462 # We need to recreate these files for each test, as the compiler may
11463 # overwrite some of them when testing with obscure command lines.
11464 # This happens at least with the AIX C compiler.
11465 : > sub/conftest.c
11466 for i in 1 2 3 4 5 6; do
11467 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11468 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11469 # Solaris 8's {/usr,}/bin/sh.
11470 touch sub/conftst$i.h
11471 done
11472 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11473
11474 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11475 # mode. It turns out that the SunPro C++ compiler does not properly
11476 # handle `-M -o', and we need to detect this. Also, some Intel
11477 # versions had trouble with output in subdirs
11478 am__obj=sub/conftest.${OBJEXT-o}
11479 am__minus_obj="-o $am__obj"
11480 case $depmode in
11481 gcc)
11482 # This depmode causes a compiler race in universal mode.
11483 test "$am__universal" = false || continue
11484 ;;
11485 nosideeffect)
11486 # after this tag, mechanisms are not by side-effect, so they'll
11487 # only be used when explicitly requested
11488 if test "x$enable_dependency_tracking" = xyes; then
11489 continue
11490 else
11491 break
11492 fi
11493 ;;
11494 msvisualcpp | msvcmsys)
11495 # This compiler won't grok `-c -o', but also, the minuso test has
11496 # not run yet. These depmodes are late enough in the game, and
11497 # so weak that their functioning should not be impacted.
11498 am__obj=conftest.${OBJEXT-o}
11499 am__minus_obj=
11500 ;;
11501 none) break ;;
11502 esac
11503 if depmode=$depmode \
11504 source=sub/conftest.c object=$am__obj \
11505 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11506 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11507 >/dev/null 2>conftest.err &&
11508 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11509 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11510 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11511 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11512 # icc doesn't choke on unknown options, it will just issue warnings
11513 # or remarks (even with -Werror). So we grep stderr for any message
11514 # that says an option was ignored or not supported.
11515 # When given -MP, icc 7.0 and 7.1 complain thusly:
11516 # icc: Command line warning: ignoring option '-M'; no argument required
11517 # The diagnosis changed in icc 8.0:
11518 # icc: Command line remark: option '-MP' not supported
11519 if (grep 'ignoring option' conftest.err ||
11520 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11521 am_cv_CC_dependencies_compiler_type=$depmode
11522 break
11523 fi
11524 fi
11525 done
11526
11527 cd ..
11528 rm -rf conftest.dir
11529else
11530 am_cv_CC_dependencies_compiler_type=none
11531fi
11532
11533fi
11534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11535$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11536CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11537
11538 if
11539 test "x$enable_dependency_tracking" != xno \
11540 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11541 am__fastdepCC_TRUE=
11542 am__fastdepCC_FALSE='#'
11543else
11544 am__fastdepCC_TRUE='#'
11545 am__fastdepCC_FALSE=
11546fi
11547
11548
11549
11550# doxygen program for documentation building
11551
11552
11553
11554# Check whether --enable-doc was given.
11555if test "${enable_doc+set}" = set; then :
11556 enableval=$enable_doc;
11557 if test "x${enableval}" = "xyes" ; then
11558 efl_enable_doc="yes"
11559 else
11560 efl_enable_doc="no"
11561 fi
11562
11563else
11564 efl_enable_doc="yes"
11565fi
11566
11567
11568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11569$as_echo_n "checking whether to build documentation... " >&6; }
11570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11571$as_echo "${efl_enable_doc}" >&6; }
11572
11573if test "x${efl_enable_doc}" = "xyes" ; then
11574
11575
11576 efl_doxygen="doxygen"
11577
11578
11579# Check whether --with-doxygen was given.
11580if test "${with_doxygen+set}" = set; then :
11581 withval=$with_doxygen;
11582 efl_doxygen=${withval}
11583 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11584set dummy ${efl_doxygen}; ac_word=$2
11585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11586$as_echo_n "checking for $ac_word... " >&6; }
11587if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11588 $as_echo_n "(cached) " >&6
11589else
11590 if test -n "$efl_have_doxygen"; then
11591 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11592else
11593as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11594for as_dir in $PATH
11595do
11596 IFS=$as_save_IFS
11597 test -z "$as_dir" && as_dir=.
11598 for ac_exec_ext in '' $ac_executable_extensions; do
11599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11600 ac_cv_prog_efl_have_doxygen="yes"
11601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11602 break 2
11603 fi
11604done
11605 done
11606IFS=$as_save_IFS
11607
11608 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11609fi
11610fi
11611efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11612if test -n "$efl_have_doxygen"; then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11614$as_echo "$efl_have_doxygen" >&6; }
11615else
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11617$as_echo "no" >&6; }
11618fi
11619
11620
11621 if test "x${efl_have_doxygen}" = "xno" ; then
11622 echo "WARNING:"
11623 echo "The doxygen program you specified:"
11624 echo "${efl_doxygen}"
11625 echo "was not found. Please check the path and make sure "
11626 echo "the program exists and is executable."
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11628$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11629 fi
11630
11631else
11632 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11633set dummy ${efl_doxygen}; ac_word=$2
11634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11635$as_echo_n "checking for $ac_word... " >&6; }
11636if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11637 $as_echo_n "(cached) " >&6
11638else
11639 if test -n "$efl_have_doxygen"; then
11640 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11641else
11642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643for as_dir in $PATH
11644do
11645 IFS=$as_save_IFS
11646 test -z "$as_dir" && as_dir=.
11647 for ac_exec_ext in '' $ac_executable_extensions; do
11648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649 ac_cv_prog_efl_have_doxygen="yes"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651 break 2
11652 fi
11653done
11654 done
11655IFS=$as_save_IFS
11656
11657 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11658fi
11659fi
11660efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11661if test -n "$efl_have_doxygen"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11663$as_echo "$efl_have_doxygen" >&6; }
11664else
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666$as_echo "no" >&6; }
11667fi
11668
11669
11670 if test "x${efl_have_doxygen}" = "xno" ; then
11671 echo "WARNING:"
11672 echo "The doxygen program was not found in your execute path."
11673 echo "You may have doxygen installed somewhere not covered by your path."
11674 echo ""
11675 echo "If this is the case make sure you have the packages installed, AND"
11676 echo "that the doxygen program is in your execute path (see your"
11677 echo "shell manual page on setting the \$PATH environment variable), OR"
11678 echo "alternatively, specify the program to use with --with-doxygen."
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11680$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11681 fi
11682
11683fi
11684
11685fi
11686
11687
11688
11689if ! test "x${efl_have_doxygen}" = "xyes" ; then
11690 efl_enable_doc="no"
11691fi
11692
11693 if test "x${efl_enable_doc}" = "xyes"; then
11694 EFL_BUILD_DOC_TRUE=
11695 EFL_BUILD_DOC_FALSE='#'
11696else
11697 EFL_BUILD_DOC_TRUE='#'
11698 EFL_BUILD_DOC_FALSE=
11699fi
11700
11701
11702if test "x${efl_enable_doc}" = "xyes" ; then
11703 build_doc="yes"
11704else
11705 build_doc="no"
11706fi
11707
11708
11709
11710# pkg-config
11711
11712
11713
11714
11715
11716
11717
11718if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11719 if test -n "$ac_tool_prefix"; then
11720 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11721set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723$as_echo_n "checking for $ac_word... " >&6; }
11724if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11725 $as_echo_n "(cached) " >&6
11726else
11727 case $PKG_CONFIG in
11728 [\\/]* | ?:[\\/]*)
11729 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11730 ;;
11731 *)
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733for as_dir in $PATH
11734do
11735 IFS=$as_save_IFS
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11739 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11741 break 2
11742 fi
11743done
11744 done
11745IFS=$as_save_IFS
11746
11747 ;;
11748esac
11749fi
11750PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11751if test -n "$PKG_CONFIG"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11753$as_echo "$PKG_CONFIG" >&6; }
11754else
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756$as_echo "no" >&6; }
11757fi
11758
11759
11760fi
11761if test -z "$ac_cv_path_PKG_CONFIG"; then
11762 ac_pt_PKG_CONFIG=$PKG_CONFIG
11763 # Extract the first word of "pkg-config", so it can be a program name with args.
11764set dummy pkg-config; ac_word=$2
11765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11766$as_echo_n "checking for $ac_word... " >&6; }
11767if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11768 $as_echo_n "(cached) " >&6
11769else
11770 case $ac_pt_PKG_CONFIG in
11771 [\\/]* | ?:[\\/]*)
11772 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11773 ;;
11774 *)
11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776for as_dir in $PATH
11777do
11778 IFS=$as_save_IFS
11779 test -z "$as_dir" && as_dir=.
11780 for ac_exec_ext in '' $ac_executable_extensions; do
11781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11782 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11784 break 2
11785 fi
11786done
11787 done
11788IFS=$as_save_IFS
11789
11790 ;;
11791esac
11792fi
11793ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11794if test -n "$ac_pt_PKG_CONFIG"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11796$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11797else
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799$as_echo "no" >&6; }
11800fi
11801
11802 if test "x$ac_pt_PKG_CONFIG" = x; then
11803 PKG_CONFIG=""
11804 else
11805 case $cross_compiling:$ac_tool_warned in
11806yes:)
11807{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11808$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11809ac_tool_warned=yes ;;
11810esac
11811 PKG_CONFIG=$ac_pt_PKG_CONFIG
11812 fi
11813else
11814 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11815fi
11816
11817fi
11818if test -n "$PKG_CONFIG"; then
11819 _pkg_min_version=0.9.0
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11821$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11822 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11824$as_echo "yes" >&6; }
11825 else
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827$as_echo "no" >&6; }
11828 PKG_CONFIG=""
11829 fi
11830fi
11831
11832# Check whether pkg-config supports Requires.private
11833if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
11834 pkgconfig_requires_private="Requires.private"
11835else
11836 pkgconfig_requires_private="Requires"
11837fi
11838
11839
11840
11841### Checks for libraries
11842
11843# Evil library for compilation on Windows
11844
11845EFL_EMBRYO_BUILD=""
11846case "$host_os" in
11847 mingw*)
11848
11849pkg_failed=no
11850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
11851$as_echo_n "checking for EVIL... " >&6; }
11852
11853if test -n "$EVIL_CFLAGS"; then
11854 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
11855 elif test -n "$PKG_CONFIG"; then
11856 if test -n "$PKG_CONFIG" && \
11857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
11858 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
11859 ac_status=$?
11860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11861 test $ac_status = 0; }; then
11862 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
11863else
11864 pkg_failed=yes
11865fi
11866 else
11867 pkg_failed=untried
11868fi
11869if test -n "$EVIL_LIBS"; then
11870 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
11871 elif test -n "$PKG_CONFIG"; then
11872 if test -n "$PKG_CONFIG" && \
11873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
11874 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
11875 ac_status=$?
11876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11877 test $ac_status = 0; }; then
11878 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
11879else
11880 pkg_failed=yes
11881fi
11882 else
11883 pkg_failed=untried
11884fi
11885
11886
11887
11888if test $pkg_failed = yes; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890$as_echo "no" >&6; }
11891
11892if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11893 _pkg_short_errors_supported=yes
11894else
11895 _pkg_short_errors_supported=no
11896fi
11897 if test $_pkg_short_errors_supported = yes; then
11898 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
11899 else
11900 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
11901 fi
11902 # Put the nasty error message in config.log where it belongs
11903 echo "$EVIL_PKG_ERRORS" >&5
11904
11905 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
11906
11907$EVIL_PKG_ERRORS
11908
11909Consider adjusting the PKG_CONFIG_PATH environment variable if you
11910installed software in a non-standard prefix.
11911
11912Alternatively, you may set the environment variables EVIL_CFLAGS
11913and EVIL_LIBS to avoid the need to call pkg-config.
11914See the pkg-config man page for more details." "$LINENO" 5
11915elif test $pkg_failed = untried; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11917$as_echo "no" >&6; }
11918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11919$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11920as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11921is in your PATH or set the PKG_CONFIG environment variable to the full
11922path to pkg-config.
11923
11924Alternatively, you may set the environment variables EVIL_CFLAGS
11925and EVIL_LIBS to avoid the need to call pkg-config.
11926See the pkg-config man page for more details.
11927
11928To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11929See \`config.log' for more details" "$LINENO" 5 ; }
11930else
11931 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
11932 EVIL_LIBS=$pkg_cv_EVIL_LIBS
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11934$as_echo "yes" >&6; }
11935
11936fi
11937
11938$as_echo "#define HAVE_EVIL 1" >>confdefs.h
11939
11940 requirement_embryo="evil ${requirement_embryo}"
11941 EFL_EMBRYO_BUILD="-DEFL_EMBRYO_BUILD"
11942 ;;
11943esac
11944
11945
11946# For embryo_cc_prefix.c
11947
11948pkg_failed=no
11949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
11950$as_echo_n "checking for EINA... " >&6; }
11951
11952if test -n "$EINA_CFLAGS"; then
11953 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
11954 elif test -n "$PKG_CONFIG"; then
11955 if test -n "$PKG_CONFIG" && \
11956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5
11957 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
11958 ac_status=$?
11959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11960 test $ac_status = 0; }; then
11961 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.1.0" 2>/dev/null`
11962else
11963 pkg_failed=yes
11964fi
11965 else
11966 pkg_failed=untried
11967fi
11968if test -n "$EINA_LIBS"; then
11969 pkg_cv_EINA_LIBS="$EINA_LIBS"
11970 elif test -n "$PKG_CONFIG"; then
11971 if test -n "$PKG_CONFIG" && \
11972 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5
11973 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
11974 ac_status=$?
11975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11976 test $ac_status = 0; }; then
11977 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.1.0" 2>/dev/null`
11978else
11979 pkg_failed=yes
11980fi
11981 else
11982 pkg_failed=untried
11983fi
11984
11985
11986
11987if test $pkg_failed = yes; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11989$as_echo "no" >&6; }
11990
11991if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11992 _pkg_short_errors_supported=yes
11993else
11994 _pkg_short_errors_supported=no
11995fi
11996 if test $_pkg_short_errors_supported = yes; then
11997 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.1.0" 2>&1`
11998 else
11999 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.1.0" 2>&1`
12000 fi
12001 # Put the nasty error message in config.log where it belongs
12002 echo "$EINA_PKG_ERRORS" >&5
12003
12004 as_fn_error $? "Package requirements (eina >= 1.1.0) were not met:
12005
12006$EINA_PKG_ERRORS
12007
12008Consider adjusting the PKG_CONFIG_PATH environment variable if you
12009installed software in a non-standard prefix.
12010
12011Alternatively, you may set the environment variables EINA_CFLAGS
12012and EINA_LIBS to avoid the need to call pkg-config.
12013See the pkg-config man page for more details." "$LINENO" 5
12014elif test $pkg_failed = untried; then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016$as_echo "no" >&6; }
12017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12019as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12020is in your PATH or set the PKG_CONFIG environment variable to the full
12021path to pkg-config.
12022
12023Alternatively, you may set the environment variables EINA_CFLAGS
12024and EINA_LIBS to avoid the need to call pkg-config.
12025See the pkg-config man page for more details.
12026
12027To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12028See \`config.log' for more details" "$LINENO" 5 ; }
12029else
12030 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12031 EINA_LIBS=$pkg_cv_EINA_LIBS
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12033$as_echo "yes" >&6; }
12034
12035fi
12036
12037### Checks for header files
12038
12039for ac_header in unistd.h
12040do :
12041 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12042if test "x$ac_cv_header_unistd_h" = x""yes; then :
12043 cat >>confdefs.h <<_ACEOF
12044#define HAVE_UNISTD_H 1
12045_ACEOF
12046
12047fi
12048
12049done
12050
12051
12052
12053default_max="4096"
12054ac_ext=c
12055ac_cpp='$CPP $CPPFLAGS'
12056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12058ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059
12060
12061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
12062$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
12063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064/* end confdefs.h. */
12065
12066#include <limits.h>
12067
12068int
12069main ()
12070{
12071
12072int i = PATH_MAX;
12073
12074 ;
12075 return 0;
12076}
12077_ACEOF
12078if ac_fn_c_try_compile "$LINENO"; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12080$as_echo "yes" >&6; }
12081else
12082
12083
12084cat >>confdefs.h <<_ACEOF
12085#define PATH_MAX ${default_max}
12086_ACEOF
12087
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
12089$as_echo "no: using ${default_max}" >&6; }
12090
12091fi
12092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12093
12094ac_ext=c
12095ac_cpp='$CPP $CPPFLAGS'
12096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12098ac_compiler_gnu=$ac_cv_c_compiler_gnu
12099
12100
12101
12102
12103
12104### Checks for types
12105
12106
12107### Checks for structures
12108
12109
12110### Checks for compiler characteristics
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12112$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12113if test "${ac_cv_c_bigendian+set}" = set; then :
12114 $as_echo_n "(cached) " >&6
12115else
12116 ac_cv_c_bigendian=unknown
12117 # See if we're dealing with a universal compiler.
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119/* end confdefs.h. */
12120#ifndef __APPLE_CC__
12121 not a universal capable compiler
12122 #endif
12123 typedef int dummy;
12124
12125_ACEOF
12126if ac_fn_c_try_compile "$LINENO"; then :
12127
12128 # Check for potential -arch flags. It is not universal unless
12129 # there are at least two -arch flags with different values.
12130 ac_arch=
12131 ac_prev=
12132 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12133 if test -n "$ac_prev"; then
12134 case $ac_word in
12135 i?86 | x86_64 | ppc | ppc64)
12136 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12137 ac_arch=$ac_word
12138 else
12139 ac_cv_c_bigendian=universal
12140 break
12141 fi
12142 ;;
12143 esac
12144 ac_prev=
12145 elif test "x$ac_word" = "x-arch"; then
12146 ac_prev=arch
12147 fi
12148 done
12149fi
12150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12151 if test $ac_cv_c_bigendian = unknown; then
12152 # See if sys/param.h defines the BYTE_ORDER macro.
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154/* end confdefs.h. */
12155#include <sys/types.h>
12156 #include <sys/param.h>
12157
12158int
12159main ()
12160{
12161#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12162 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12163 && LITTLE_ENDIAN)
12164 bogus endian macros
12165 #endif
12166
12167 ;
12168 return 0;
12169}
12170_ACEOF
12171if ac_fn_c_try_compile "$LINENO"; then :
12172 # It does; now see whether it defined to BIG_ENDIAN or not.
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174/* end confdefs.h. */
12175#include <sys/types.h>
12176 #include <sys/param.h>
12177
12178int
12179main ()
12180{
12181#if BYTE_ORDER != BIG_ENDIAN
12182 not big endian
12183 #endif
12184
12185 ;
12186 return 0;
12187}
12188_ACEOF
12189if ac_fn_c_try_compile "$LINENO"; then :
12190 ac_cv_c_bigendian=yes
12191else
12192 ac_cv_c_bigendian=no
12193fi
12194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12195fi
12196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12197 fi
12198 if test $ac_cv_c_bigendian = unknown; then
12199 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201/* end confdefs.h. */
12202#include <limits.h>
12203
12204int
12205main ()
12206{
12207#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12208 bogus endian macros
12209 #endif
12210
12211 ;
12212 return 0;
12213}
12214_ACEOF
12215if ac_fn_c_try_compile "$LINENO"; then :
12216 # It does; now see whether it defined to _BIG_ENDIAN or not.
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218/* end confdefs.h. */
12219#include <limits.h>
12220
12221int
12222main ()
12223{
12224#ifndef _BIG_ENDIAN
12225 not big endian
12226 #endif
12227
12228 ;
12229 return 0;
12230}
12231_ACEOF
12232if ac_fn_c_try_compile "$LINENO"; then :
12233 ac_cv_c_bigendian=yes
12234else
12235 ac_cv_c_bigendian=no
12236fi
12237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238fi
12239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12240 fi
12241 if test $ac_cv_c_bigendian = unknown; then
12242 # Compile a test program.
12243 if test "$cross_compiling" = yes; then :
12244 # Try to guess by grepping values from an object file.
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246/* end confdefs.h. */
12247short int ascii_mm[] =
12248 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12249 short int ascii_ii[] =
12250 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12251 int use_ascii (int i) {
12252 return ascii_mm[i] + ascii_ii[i];
12253 }
12254 short int ebcdic_ii[] =
12255 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12256 short int ebcdic_mm[] =
12257 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12258 int use_ebcdic (int i) {
12259 return ebcdic_mm[i] + ebcdic_ii[i];
12260 }
12261 extern int foo;
12262
12263int
12264main ()
12265{
12266return use_ascii (foo) == use_ebcdic (foo);
12267 ;
12268 return 0;
12269}
12270_ACEOF
12271if ac_fn_c_try_compile "$LINENO"; then :
12272 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12273 ac_cv_c_bigendian=yes
12274 fi
12275 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12276 if test "$ac_cv_c_bigendian" = unknown; then
12277 ac_cv_c_bigendian=no
12278 else
12279 # finding both strings is unlikely to happen, but who knows?
12280 ac_cv_c_bigendian=unknown
12281 fi
12282 fi
12283fi
12284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285else
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287/* end confdefs.h. */
12288$ac_includes_default
12289int
12290main ()
12291{
12292
12293 /* Are we little or big endian? From Harbison&Steele. */
12294 union
12295 {
12296 long int l;
12297 char c[sizeof (long int)];
12298 } u;
12299 u.l = 1;
12300 return u.c[sizeof (long int) - 1] == 1;
12301
12302 ;
12303 return 0;
12304}
12305_ACEOF
12306if ac_fn_c_try_run "$LINENO"; then :
12307 ac_cv_c_bigendian=no
12308else
12309 ac_cv_c_bigendian=yes
12310fi
12311rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12312 conftest.$ac_objext conftest.beam conftest.$ac_ext
12313fi
12314
12315 fi
12316fi
12317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12318$as_echo "$ac_cv_c_bigendian" >&6; }
12319 case $ac_cv_c_bigendian in #(
12320 yes)
12321 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12322;; #(
12323 no)
12324 ;; #(
12325 universal)
12326
12327$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12328
12329 ;; #(
12330 *)
12331 as_fn_error $? "unknown endianness
12332 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12333 esac
12334
12335if test "x$CC" != xcc; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12337$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12338else
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12340$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12341fi
12342set dummy $CC; ac_cc=`$as_echo "$2" |
12343 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12344if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
12345 $as_echo_n "(cached) " >&6
12346else
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348/* end confdefs.h. */
12349
12350int
12351main ()
12352{
12353
12354 ;
12355 return 0;
12356}
12357_ACEOF
12358# Make sure it works both with $CC and with simple cc.
12359# We do the test twice because some compilers refuse to overwrite an
12360# existing .o file with -o, though they will create one.
12361ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12362rm -f conftest2.*
12363if { { case "(($ac_try" in
12364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12365 *) ac_try_echo=$ac_try;;
12366esac
12367eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12368$as_echo "$ac_try_echo"; } >&5
12369 (eval "$ac_try") 2>&5
12370 ac_status=$?
12371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12372 test $ac_status = 0; } &&
12373 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12376esac
12377eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12378$as_echo "$ac_try_echo"; } >&5
12379 (eval "$ac_try") 2>&5
12380 ac_status=$?
12381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12382 test $ac_status = 0; };
12383then
12384 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12385 if test "x$CC" != xcc; then
12386 # Test first that cc exists at all.
12387 if { ac_try='cc -c conftest.$ac_ext >&5'
12388 { { case "(($ac_try" in
12389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12390 *) ac_try_echo=$ac_try;;
12391esac
12392eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12393$as_echo "$ac_try_echo"; } >&5
12394 (eval "$ac_try") 2>&5
12395 ac_status=$?
12396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12397 test $ac_status = 0; }; }; then
12398 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12399 rm -f conftest2.*
12400 if { { case "(($ac_try" in
12401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12402 *) ac_try_echo=$ac_try;;
12403esac
12404eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12405$as_echo "$ac_try_echo"; } >&5
12406 (eval "$ac_try") 2>&5
12407 ac_status=$?
12408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12409 test $ac_status = 0; } &&
12410 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12412 *) ac_try_echo=$ac_try;;
12413esac
12414eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12415$as_echo "$ac_try_echo"; } >&5
12416 (eval "$ac_try") 2>&5
12417 ac_status=$?
12418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12419 test $ac_status = 0; };
12420 then
12421 # cc works too.
12422 :
12423 else
12424 # cc exists but doesn't like -o.
12425 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12426 fi
12427 fi
12428 fi
12429else
12430 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12431fi
12432rm -f core conftest*
12433
12434fi
12435if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12437$as_echo "yes" >&6; }
12438else
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440$as_echo "no" >&6; }
12441
12442$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12443
12444fi
12445
12446# FIXME: we rely on the cache variable name because
12447# there is no other way.
12448set dummy $CC
12449am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12450eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12451if test "$am_t" != yes; then
12452 # Losing compiler, so override with the script.
12453 # FIXME: It is wrong to rewrite CC.
12454 # But if we don't then we get into trouble of one sort or another.
12455 # A longer-term fix would be to have automake use am__CC in this case,
12456 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12457 CC="$am_aux_dir/compile $CC"
12458fi
12459
12460
12461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12462$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12463if test "${ac_cv_c_const+set}" = set; then :
12464 $as_echo_n "(cached) " >&6
12465else
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467/* end confdefs.h. */
12468
12469int
12470main ()
12471{
12472/* FIXME: Include the comments suggested by Paul. */
12473#ifndef __cplusplus
12474 /* Ultrix mips cc rejects this. */
12475 typedef int charset[2];
12476 const charset cs;
12477 /* SunOS 4.1.1 cc rejects this. */
12478 char const *const *pcpcc;
12479 char **ppc;
12480 /* NEC SVR4.0.2 mips cc rejects this. */
12481 struct point {int x, y;};
12482 static struct point const zero = {0,0};
12483 /* AIX XL C 1.02.0.0 rejects this.
12484 It does not let you subtract one const X* pointer from another in
12485 an arm of an if-expression whose if-part is not a constant
12486 expression */
12487 const char *g = "string";
12488 pcpcc = &g + (g ? g-g : 0);
12489 /* HPUX 7.0 cc rejects these. */
12490 ++pcpcc;
12491 ppc = (char**) pcpcc;
12492 pcpcc = (char const *const *) ppc;
12493 { /* SCO 3.2v4 cc rejects this. */
12494 char *t;
12495 char const *s = 0 ? (char *) 0 : (char const *) 0;
12496
12497 *t++ = 0;
12498 if (s) return 0;
12499 }
12500 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12501 int x[] = {25, 17};
12502 const int *foo = &x[0];
12503 ++foo;
12504 }
12505 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12506 typedef const int *iptr;
12507 iptr p = 0;
12508 ++p;
12509 }
12510 { /* AIX XL C 1.02.0.0 rejects this saying
12511 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12512 struct s { int j; const int *ap[3]; };
12513 struct s *b; b->j = 5;
12514 }
12515 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12516 const int foo = 10;
12517 if (!foo) return 0;
12518 }
12519 return !cs[0] && !zero.x;
12520#endif
12521
12522 ;
12523 return 0;
12524}
12525_ACEOF
12526if ac_fn_c_try_compile "$LINENO"; then :
12527 ac_cv_c_const=yes
12528else
12529 ac_cv_c_const=no
12530fi
12531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12532fi
12533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12534$as_echo "$ac_cv_c_const" >&6; }
12535if test $ac_cv_c_const = no; then
12536
12537$as_echo "#define const /**/" >>confdefs.h
12538
12539fi
12540
12541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12542$as_echo_n "checking for inline... " >&6; }
12543if test "${ac_cv_c_inline+set}" = set; then :
12544 $as_echo_n "(cached) " >&6
12545else
12546 ac_cv_c_inline=no
12547for ac_kw in inline __inline__ __inline; do
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549/* end confdefs.h. */
12550#ifndef __cplusplus
12551typedef int foo_t;
12552static $ac_kw foo_t static_foo () {return 0; }
12553$ac_kw foo_t foo () {return 0; }
12554#endif
12555
12556_ACEOF
12557if ac_fn_c_try_compile "$LINENO"; then :
12558 ac_cv_c_inline=$ac_kw
12559fi
12560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12561 test "$ac_cv_c_inline" != no && break
12562done
12563
12564fi
12565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12566$as_echo "$ac_cv_c_inline" >&6; }
12567
12568case $ac_cv_c_inline in
12569 inline | yes) ;;
12570 *)
12571 case $ac_cv_c_inline in
12572 no) ac_val=;;
12573 *) ac_val=$ac_cv_c_inline;;
12574 esac
12575 cat >>confdefs.h <<_ACEOF
12576#ifndef __cplusplus
12577#define inline $ac_val
12578#endif
12579_ACEOF
12580 ;;
12581esac
12582
12583 case $ac_cv_prog_cc_stdc in #(
12584 no) :
12585 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
12586 *) :
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
12588$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
12589if test "${ac_cv_prog_cc_c99+set}" = set; then :
12590 $as_echo_n "(cached) " >&6
12591else
12592 ac_cv_prog_cc_c99=no
12593ac_save_CC=$CC
12594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595/* end confdefs.h. */
12596#include <stdarg.h>
12597#include <stdbool.h>
12598#include <stdlib.h>
12599#include <wchar.h>
12600#include <stdio.h>
12601
12602// Check varargs macros. These examples are taken from C99 6.10.3.5.
12603#define debug(...) fprintf (stderr, __VA_ARGS__)
12604#define showlist(...) puts (#__VA_ARGS__)
12605#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
12606static void
12607test_varargs_macros (void)
12608{
12609 int x = 1234;
12610 int y = 5678;
12611 debug ("Flag");
12612 debug ("X = %d\n", x);
12613 showlist (The first, second, and third items.);
12614 report (x>y, "x is %d but y is %d", x, y);
12615}
12616
12617// Check long long types.
12618#define BIG64 18446744073709551615ull
12619#define BIG32 4294967295ul
12620#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
12621#if !BIG_OK
12622 your preprocessor is broken;
12623#endif
12624#if BIG_OK
12625#else
12626 your preprocessor is broken;
12627#endif
12628static long long int bignum = -9223372036854775807LL;
12629static unsigned long long int ubignum = BIG64;
12630
12631struct incomplete_array
12632{
12633 int datasize;
12634 double data[];
12635};
12636
12637struct named_init {
12638 int number;
12639 const wchar_t *name;
12640 double average;
12641};
12642
12643typedef const char *ccp;
12644
12645static inline int
12646test_restrict (ccp restrict text)
12647{
12648 // See if C++-style comments work.
12649 // Iterate through items via the restricted pointer.
12650 // Also check for declarations in for loops.
12651 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
12652 continue;
12653 return 0;
12654}
12655
12656// Check varargs and va_copy.
12657static void
12658test_varargs (const char *format, ...)
12659{
12660 va_list args;
12661 va_start (args, format);
12662 va_list args_copy;
12663 va_copy (args_copy, args);
12664
12665 const char *str;
12666 int number;
12667 float fnumber;
12668
12669 while (*format)
12670 {
12671 switch (*format++)
12672 {
12673 case 's': // string
12674 str = va_arg (args_copy, const char *);
12675 break;
12676 case 'd': // int
12677 number = va_arg (args_copy, int);
12678 break;
12679 case 'f': // float
12680 fnumber = va_arg (args_copy, double);
12681 break;
12682 default:
12683 break;
12684 }
12685 }
12686 va_end (args_copy);
12687 va_end (args);
12688}
12689
12690int
12691main ()
12692{
12693
12694 // Check bool.
12695 _Bool success = false;
12696
12697 // Check restrict.
12698 if (test_restrict ("String literal") == 0)
12699 success = true;
12700 char *restrict newvar = "Another string";
12701
12702 // Check varargs.
12703 test_varargs ("s, d' f .", "string", 65, 34.234);
12704 test_varargs_macros ();
12705
12706 // Check flexible array members.
12707 struct incomplete_array *ia =
12708 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
12709 ia->datasize = 10;
12710 for (int i = 0; i < ia->datasize; ++i)
12711 ia->data[i] = i * 1.234;
12712
12713 // Check named initializers.
12714 struct named_init ni = {
12715 .number = 34,
12716 .name = L"Test wide string",
12717 .average = 543.34343,
12718 };
12719
12720 ni.number = 58;
12721
12722 int dynamic_array[ni.number];
12723 dynamic_array[ni.number - 1] = 543;
12724
12725 // work around unused variable warnings
12726 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
12727 || dynamic_array[ni.number - 1] != 543);
12728
12729 ;
12730 return 0;
12731}
12732_ACEOF
12733for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
12734do
12735 CC="$ac_save_CC $ac_arg"
12736 if ac_fn_c_try_compile "$LINENO"; then :
12737 ac_cv_prog_cc_c99=$ac_arg
12738fi
12739rm -f core conftest.err conftest.$ac_objext
12740 test "x$ac_cv_prog_cc_c99" != "xno" && break
12741done
12742rm -f conftest.$ac_ext
12743CC=$ac_save_CC
12744
12745fi
12746# AC_CACHE_VAL
12747case "x$ac_cv_prog_cc_c99" in
12748 x)
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12750$as_echo "none needed" >&6; } ;;
12751 xno)
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12753$as_echo "unsupported" >&6; } ;;
12754 *)
12755 CC="$CC $ac_cv_prog_cc_c99"
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
12757$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
12758esac
12759if test "x$ac_cv_prog_cc_c99" != xno; then :
12760 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
12761else
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12763$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12764if test "${ac_cv_prog_cc_c89+set}" = set; then :
12765 $as_echo_n "(cached) " >&6
12766else
12767 ac_cv_prog_cc_c89=no
12768ac_save_CC=$CC
12769cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770/* end confdefs.h. */
12771#include <stdarg.h>
12772#include <stdio.h>
12773#include <sys/types.h>
12774#include <sys/stat.h>
12775/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12776struct buf { int x; };
12777FILE * (*rcsopen) (struct buf *, struct stat *, int);
12778static char *e (p, i)
12779 char **p;
12780 int i;
12781{
12782 return p[i];
12783}
12784static char *f (char * (*g) (char **, int), char **p, ...)
12785{
12786 char *s;
12787 va_list v;
12788 va_start (v,p);
12789 s = g (p, va_arg (v,int));
12790 va_end (v);
12791 return s;
12792}
12793
12794/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12795 function prototypes and stuff, but not '\xHH' hex character constants.
12796 These don't provoke an error unfortunately, instead are silently treated
12797 as 'x'. The following induces an error, until -std is added to get
12798 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12799 array size at least. It's necessary to write '\x00'==0 to get something
12800 that's true only with -std. */
12801int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12802
12803/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12804 inside strings and character constants. */
12805#define FOO(x) 'x'
12806int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12807
12808int test (int i, double x);
12809struct s1 {int (*f) (int a);};
12810struct s2 {int (*f) (double a);};
12811int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12812int argc;
12813char **argv;
12814int
12815main ()
12816{
12817return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12818 ;
12819 return 0;
12820}
12821_ACEOF
12822for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12823 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12824do
12825 CC="$ac_save_CC $ac_arg"
12826 if ac_fn_c_try_compile "$LINENO"; then :
12827 ac_cv_prog_cc_c89=$ac_arg
12828fi
12829rm -f core conftest.err conftest.$ac_objext
12830 test "x$ac_cv_prog_cc_c89" != "xno" && break
12831done
12832rm -f conftest.$ac_ext
12833CC=$ac_save_CC
12834
12835fi
12836# AC_CACHE_VAL
12837case "x$ac_cv_prog_cc_c89" in
12838 x)
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12840$as_echo "none needed" >&6; } ;;
12841 xno)
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12843$as_echo "unsupported" >&6; } ;;
12844 *)
12845 CC="$CC $ac_cv_prog_cc_c89"
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12847$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12848esac
12849if test "x$ac_cv_prog_cc_c89" != xno; then :
12850 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
12851else
12852 ac_cv_prog_cc_stdc=no
12853fi
12854
12855fi
12856 ;;
12857esac
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
12859$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
12860 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
12861 $as_echo_n "(cached) " >&6
12862fi
12863
12864 case $ac_cv_prog_cc_stdc in #(
12865 no) :
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12867$as_echo "unsupported" >&6; } ;; #(
12868 '') :
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12870$as_echo "none needed" >&6; } ;; #(
12871 *) :
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
12873$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
12874esac
12875
12876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12877$as_echo_n "checking for ANSI C header files... " >&6; }
12878if test "${ac_cv_header_stdc+set}" = set; then :
12879 $as_echo_n "(cached) " >&6
12880else
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882/* end confdefs.h. */
12883#include <stdlib.h>
12884#include <stdarg.h>
12885#include <string.h>
12886#include <float.h>
12887
12888int
12889main ()
12890{
12891
12892 ;
12893 return 0;
12894}
12895_ACEOF
12896if ac_fn_c_try_compile "$LINENO"; then :
12897 ac_cv_header_stdc=yes
12898else
12899 ac_cv_header_stdc=no
12900fi
12901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12902
12903if test $ac_cv_header_stdc = yes; then
12904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906/* end confdefs.h. */
12907#include <string.h>
12908
12909_ACEOF
12910if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12911 $EGREP "memchr" >/dev/null 2>&1; then :
12912
12913else
12914 ac_cv_header_stdc=no
12915fi
12916rm -f conftest*
12917
12918fi
12919
12920if test $ac_cv_header_stdc = yes; then
12921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923/* end confdefs.h. */
12924#include <stdlib.h>
12925
12926_ACEOF
12927if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12928 $EGREP "free" >/dev/null 2>&1; then :
12929
12930else
12931 ac_cv_header_stdc=no
12932fi
12933rm -f conftest*
12934
12935fi
12936
12937if test $ac_cv_header_stdc = yes; then
12938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12939 if test "$cross_compiling" = yes; then :
12940 :
12941else
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943/* end confdefs.h. */
12944#include <ctype.h>
12945#include <stdlib.h>
12946#if ((' ' & 0x0FF) == 0x020)
12947# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12948# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12949#else
12950# define ISLOWER(c) \
12951 (('a' <= (c) && (c) <= 'i') \
12952 || ('j' <= (c) && (c) <= 'r') \
12953 || ('s' <= (c) && (c) <= 'z'))
12954# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12955#endif
12956
12957#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12958int
12959main ()
12960{
12961 int i;
12962 for (i = 0; i < 256; i++)
12963 if (XOR (islower (i), ISLOWER (i))
12964 || toupper (i) != TOUPPER (i))
12965 return 2;
12966 return 0;
12967}
12968_ACEOF
12969if ac_fn_c_try_run "$LINENO"; then :
12970
12971else
12972 ac_cv_header_stdc=no
12973fi
12974rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12975 conftest.$ac_objext conftest.beam conftest.$ac_ext
12976fi
12977
12978fi
12979fi
12980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12981$as_echo "$ac_cv_header_stdc" >&6; }
12982if test $ac_cv_header_stdc = yes; then
12983
12984$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12985
12986fi
12987
12988
12989
12990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12991$as_echo_n "checking for __attribute__... " >&6; }
12992
12993if test "${ac_cv___attribute__+set}" = set; then :
12994 $as_echo_n "(cached) " >&6
12995else
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997/* end confdefs.h. */
12998
12999#include <stdlib.h>
13000
13001int func(int x);
13002int foo(int x __attribute__ ((unused)))
13003{
13004 exit(1);
13005}
13006
13007int
13008main ()
13009{
13010
13011 ;
13012 return 0;
13013}
13014_ACEOF
13015if ac_fn_c_try_compile "$LINENO"; then :
13016 ac_cv___attribute__="yes"
13017else
13018 ac_cv___attribute__="no"
13019
13020fi
13021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13022fi
13023
13024
13025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13026$as_echo "$ac_cv___attribute__" >&6; }
13027
13028if test "x${ac_cv___attribute__}" = "xyes" ; then
13029
13030$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13031
13032
13033$as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13034
13035 else
13036
13037$as_echo "#define __UNUSED__ /**/" >>confdefs.h
13038
13039fi
13040
13041
13042
13043EMBRYO_CPPFLAGS=""
13044EMBRYO_CFLAGS=""
13045case "$host_os" in
13046 mingw32ce*)
13047 EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
13048 ;;
13049esac
13050
13051
13052
13053
13054### Checks for linker characteristics
13055
13056lt_enable_auto_import=""
13057case "$host_os" in
13058 mingw*)
13059 lt_enable_auto_import="-Wl,--enable-auto-import"
13060 ;;
13061esac
13062
13063
13064
13065### Checks for library functions
13066
13067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13068$as_echo_n "checking for library containing strerror... " >&6; }
13069if test "${ac_cv_search_strerror+set}" = set; then :
13070 $as_echo_n "(cached) " >&6
13071else
13072 ac_func_search_save_LIBS=$LIBS
13073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074/* end confdefs.h. */
13075
13076/* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079#ifdef __cplusplus
13080extern "C"
13081#endif
13082char strerror ();
13083int
13084main ()
13085{
13086return strerror ();
13087 ;
13088 return 0;
13089}
13090_ACEOF
13091for ac_lib in '' cposix; do
13092 if test -z "$ac_lib"; then
13093 ac_res="none required"
13094 else
13095 ac_res=-l$ac_lib
13096 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13097 fi
13098 if ac_fn_c_try_link "$LINENO"; then :
13099 ac_cv_search_strerror=$ac_res
13100fi
13101rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext
13103 if test "${ac_cv_search_strerror+set}" = set; then :
13104 break
13105fi
13106done
13107if test "${ac_cv_search_strerror+set}" = set; then :
13108
13109else
13110 ac_cv_search_strerror=no
13111fi
13112rm conftest.$ac_ext
13113LIBS=$ac_func_search_save_LIBS
13114fi
13115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13116$as_echo "$ac_cv_search_strerror" >&6; }
13117ac_res=$ac_cv_search_strerror
13118if test "$ac_res" != no; then :
13119 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13120
13121fi
13122
13123
13124# alloca
13125# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13126# for constant arguments. Useless!
13127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13128$as_echo_n "checking for working alloca.h... " >&6; }
13129if test "${ac_cv_working_alloca_h+set}" = set; then :
13130 $as_echo_n "(cached) " >&6
13131else
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133/* end confdefs.h. */
13134#include <alloca.h>
13135int
13136main ()
13137{
13138char *p = (char *) alloca (2 * sizeof (int));
13139 if (p) return 0;
13140 ;
13141 return 0;
13142}
13143_ACEOF
13144if ac_fn_c_try_link "$LINENO"; then :
13145 ac_cv_working_alloca_h=yes
13146else
13147 ac_cv_working_alloca_h=no
13148fi
13149rm -f core conftest.err conftest.$ac_objext \
13150 conftest$ac_exeext conftest.$ac_ext
13151fi
13152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13153$as_echo "$ac_cv_working_alloca_h" >&6; }
13154if test $ac_cv_working_alloca_h = yes; then
13155
13156$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13157
13158fi
13159
13160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13161$as_echo_n "checking for alloca... " >&6; }
13162if test "${ac_cv_func_alloca_works+set}" = set; then :
13163 $as_echo_n "(cached) " >&6
13164else
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166/* end confdefs.h. */
13167#ifdef __GNUC__
13168# define alloca __builtin_alloca
13169#else
13170# ifdef _MSC_VER
13171# include <malloc.h>
13172# define alloca _alloca
13173# else
13174# ifdef HAVE_ALLOCA_H
13175# include <alloca.h>
13176# else
13177# ifdef _AIX
13178 #pragma alloca
13179# else
13180# ifndef alloca /* predefined by HP cc +Olibcalls */
13181char *alloca ();
13182# endif
13183# endif
13184# endif
13185# endif
13186#endif
13187
13188int
13189main ()
13190{
13191char *p = (char *) alloca (1);
13192 if (p) return 0;
13193 ;
13194 return 0;
13195}
13196_ACEOF
13197if ac_fn_c_try_link "$LINENO"; then :
13198 ac_cv_func_alloca_works=yes
13199else
13200 ac_cv_func_alloca_works=no
13201fi
13202rm -f core conftest.err conftest.$ac_objext \
13203 conftest$ac_exeext conftest.$ac_ext
13204fi
13205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13206$as_echo "$ac_cv_func_alloca_works" >&6; }
13207
13208if test $ac_cv_func_alloca_works = yes; then
13209
13210$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13211
13212else
13213 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13214# that cause trouble. Some versions do not even contain alloca or
13215# contain a buggy version. If you still want to use their alloca,
13216# use ar to extract alloca.o from them instead of compiling alloca.c.
13217
13218ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13219
13220$as_echo "#define C_ALLOCA 1" >>confdefs.h
13221
13222
13223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13224$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13225if test "${ac_cv_os_cray+set}" = set; then :
13226 $as_echo_n "(cached) " >&6
13227else
13228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229/* end confdefs.h. */
13230#if defined CRAY && ! defined CRAY2
13231webecray
13232#else
13233wenotbecray
13234#endif
13235
13236_ACEOF
13237if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13238 $EGREP "webecray" >/dev/null 2>&1; then :
13239 ac_cv_os_cray=yes
13240else
13241 ac_cv_os_cray=no
13242fi
13243rm -f conftest*
13244
13245fi
13246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13247$as_echo "$ac_cv_os_cray" >&6; }
13248if test $ac_cv_os_cray = yes; then
13249 for ac_func in _getb67 GETB67 getb67; do
13250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13251ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13252if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13253
13254cat >>confdefs.h <<_ACEOF
13255#define CRAY_STACKSEG_END $ac_func
13256_ACEOF
13257
13258 break
13259fi
13260
13261 done
13262fi
13263
13264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13265$as_echo_n "checking stack direction for C alloca... " >&6; }
13266if test "${ac_cv_c_stack_direction+set}" = set; then :
13267 $as_echo_n "(cached) " >&6
13268else
13269 if test "$cross_compiling" = yes; then :
13270 ac_cv_c_stack_direction=0
13271else
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273/* end confdefs.h. */
13274$ac_includes_default
13275int
13276find_stack_direction ()
13277{
13278 static char *addr = 0;
13279 auto char dummy;
13280 if (addr == 0)
13281 {
13282 addr = &dummy;
13283 return find_stack_direction ();
13284 }
13285 else
13286 return (&dummy > addr) ? 1 : -1;
13287}
13288
13289int
13290main ()
13291{
13292 return find_stack_direction () < 0;
13293}
13294_ACEOF
13295if ac_fn_c_try_run "$LINENO"; then :
13296 ac_cv_c_stack_direction=1
13297else
13298 ac_cv_c_stack_direction=-1
13299fi
13300rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13301 conftest.$ac_objext conftest.beam conftest.$ac_ext
13302fi
13303
13304fi
13305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13306$as_echo "$ac_cv_c_stack_direction" >&6; }
13307cat >>confdefs.h <<_ACEOF
13308#define STACK_DIRECTION $ac_cv_c_stack_direction
13309_ACEOF
13310
13311
13312fi
13313
13314
13315# fnmatch
13316
13317
13318ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
13319if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
13320 _efl_have_fnmatch="yes"
13321else
13322 _efl_have_fnmatch="no"
13323fi
13324
13325
13326
13327if test "x${_efl_have_fnmatch}" = "xyes" ; then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
13329$as_echo_n "checking for library containing fnmatch... " >&6; }
13330if test "${ac_cv_search_fnmatch+set}" = set; then :
13331 $as_echo_n "(cached) " >&6
13332else
13333 ac_func_search_save_LIBS=$LIBS
13334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335/* end confdefs.h. */
13336
13337/* Override any GCC internal prototype to avoid an error.
13338 Use char because int might match the return type of a GCC
13339 builtin and then its argument prototype would still apply. */
13340#ifdef __cplusplus
13341extern "C"
13342#endif
13343char fnmatch ();
13344int
13345main ()
13346{
13347return fnmatch ();
13348 ;
13349 return 0;
13350}
13351_ACEOF
13352for ac_lib in '' fnmatch evil iberty; do
13353 if test -z "$ac_lib"; then
13354 ac_res="none required"
13355 else
13356 ac_res=-l$ac_lib
13357 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13358 fi
13359 if ac_fn_c_try_link "$LINENO"; then :
13360 ac_cv_search_fnmatch=$ac_res
13361fi
13362rm -f core conftest.err conftest.$ac_objext \
13363 conftest$ac_exeext
13364 if test "${ac_cv_search_fnmatch+set}" = set; then :
13365 break
13366fi
13367done
13368if test "${ac_cv_search_fnmatch+set}" = set; then :
13369
13370else
13371 ac_cv_search_fnmatch=no
13372fi
13373rm conftest.$ac_ext
13374LIBS=$ac_func_search_save_LIBS
13375fi
13376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
13377$as_echo "$ac_cv_search_fnmatch" >&6; }
13378ac_res=$ac_cv_search_fnmatch
13379if test "$ac_res" != no; then :
13380 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13381 _efl_have_fnmatch="yes"
13382else
13383 _efl_have_fnmatch="no"
13384fi
13385
13386fi
13387
13388EFL_FNMATCH_LIBS=""
13389
13390if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
13391 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
13392fi
13393
13394
13395
13396if test "x$_efl_have_fnmatch" = "xyes"; then :
13397
13398else
13399 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
13400fi
13401
13402
13403
13404case "$host_os" in
13405 mingw*)
13406
13407$as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
13408
13409 ;;
13410 *)
13411 for ac_func in gettimeofday
13412do :
13413 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
13414if test "x$ac_cv_func_gettimeofday" = x""yes; then :
13415 cat >>confdefs.h <<_ACEOF
13416#define HAVE_GETTIMEOFDAY 1
13417_ACEOF
13418
13419fi
13420done
13421
13422 ;;
13423esac
13424
13425
13426
13427
13428
13429ac_config_files="$ac_config_files Makefile doc/Makefile doc/Doxyfile doc/embryo.dox embryo.pc include/Makefile src/Makefile src/lib/Makefile src/bin/Makefile embryo.spec"
13430
13431cat >confcache <<\_ACEOF
13432# This file is a shell script that caches the results of configure
13433# tests run on this system so they can be shared between configure
13434# scripts and configure runs, see configure's option --config-cache.
13435# It is not useful on other systems. If it contains results you don't
13436# want to keep, you may remove or edit it.
13437#
13438# config.status only pays attention to the cache file if you give it
13439# the --recheck option to rerun configure.
13440#
13441# `ac_cv_env_foo' variables (set or unset) will be overridden when
13442# loading this file, other *unset* `ac_cv_foo' will be assigned the
13443# following values.
13444
13445_ACEOF
13446
13447# The following way of writing the cache mishandles newlines in values,
13448# but we know of no workaround that is simple, portable, and efficient.
13449# So, we kill variables containing newlines.
13450# Ultrix sh set writes to stderr and can't be redirected directly,
13451# and sets the high bit in the cache file unless we assign to the vars.
13452(
13453 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13454 eval ac_val=\$$ac_var
13455 case $ac_val in #(
13456 *${as_nl}*)
13457 case $ac_var in #(
13458 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13459$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13460 esac
13461 case $ac_var in #(
13462 _ | IFS | as_nl) ;; #(
13463 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13464 *) { eval $ac_var=; unset $ac_var;} ;;
13465 esac ;;
13466 esac
13467 done
13468
13469 (set) 2>&1 |
13470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13471 *${as_nl}ac_space=\ *)
13472 # `set' does not quote correctly, so add quotes: double-quote
13473 # substitution turns \\\\ into \\, and sed turns \\ into \.
13474 sed -n \
13475 "s/'/'\\\\''/g;
13476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13477 ;; #(
13478 *)
13479 # `set' quotes correctly as required by POSIX, so do not add quotes.
13480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13481 ;;
13482 esac |
13483 sort
13484) |
13485 sed '
13486 /^ac_cv_env_/b end
13487 t clear
13488 :clear
13489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13490 t end
13491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13492 :end' >>confcache
13493if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13494 if test -w "$cache_file"; then
13495 test "x$cache_file" != "x/dev/null" &&
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13497$as_echo "$as_me: updating cache $cache_file" >&6;}
13498 cat confcache >$cache_file
13499 else
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13501$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13502 fi
13503fi
13504rm -f confcache
13505
13506test "x$prefix" = xNONE && prefix=$ac_default_prefix
13507# Let make expand exec_prefix.
13508test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13509
13510DEFS=-DHAVE_CONFIG_H
13511
13512ac_libobjs=
13513ac_ltlibobjs=
13514U=
13515for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13516 # 1. Remove the extension, and $U if already installed.
13517 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13518 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13519 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13520 # will be set to the directory where LIBOBJS objects are built.
13521 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13522 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13523done
13524LIBOBJS=$ac_libobjs
13525
13526LTLIBOBJS=$ac_ltlibobjs
13527
13528
13529 if test -n "$EXEEXT"; then
13530 am__EXEEXT_TRUE=
13531 am__EXEEXT_FALSE='#'
13532else
13533 am__EXEEXT_TRUE='#'
13534 am__EXEEXT_FALSE=
13535fi
13536
13537if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13538 as_fn_error $? "conditional \"AMDEP\" was never defined.
13539Usually this means the macro was only invoked conditionally." "$LINENO" 5
13540fi
13541if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13542 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13543Usually this means the macro was only invoked conditionally." "$LINENO" 5
13544fi
13545if test -z "${BUILD_EMBRYO_CC_TRUE}" && test -z "${BUILD_EMBRYO_CC_FALSE}"; then
13546 as_fn_error $? "conditional \"BUILD_EMBRYO_CC\" was never defined.
13547Usually this means the macro was only invoked conditionally." "$LINENO" 5
13548fi
13549if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13550 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13551Usually this means the macro was only invoked conditionally." "$LINENO" 5
13552fi
13553if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
13554 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
13555Usually this means the macro was only invoked conditionally." "$LINENO" 5
13556fi
13557
13558
13559: ${CONFIG_STATUS=./config.status}
13560ac_write_fail=0
13561ac_clean_files_save=$ac_clean_files
13562ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13563{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13564$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13565as_write_fail=0
13566cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13567#! $SHELL
13568# Generated by $as_me.
13569# Run this file to recreate the current configuration.
13570# Compiler output produced by configure, useful for debugging
13571# configure, is in config.log if it exists.
13572
13573debug=false
13574ac_cs_recheck=false
13575ac_cs_silent=false
13576
13577SHELL=\${CONFIG_SHELL-$SHELL}
13578export SHELL
13579_ASEOF
13580cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13581## -------------------- ##
13582## M4sh Initialization. ##
13583## -------------------- ##
13584
13585# Be more Bourne compatible
13586DUALCASE=1; export DUALCASE # for MKS sh
13587if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13588 emulate sh
13589 NULLCMD=:
13590 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13591 # is contrary to our usage. Disable this feature.
13592 alias -g '${1+"$@"}'='"$@"'
13593 setopt NO_GLOB_SUBST
13594else
13595 case `(set -o) 2>/dev/null` in #(
13596 *posix*) :
13597 set -o posix ;; #(
13598 *) :
13599 ;;
13600esac
13601fi
13602
13603
13604as_nl='
13605'
13606export as_nl
13607# Printing a long string crashes Solaris 7 /usr/bin/printf.
13608as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13609as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13610as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13611# Prefer a ksh shell builtin over an external printf program on Solaris,
13612# but without wasting forks for bash or zsh.
13613if test -z "$BASH_VERSION$ZSH_VERSION" \
13614 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13615 as_echo='print -r --'
13616 as_echo_n='print -rn --'
13617elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13618 as_echo='printf %s\n'
13619 as_echo_n='printf %s'
13620else
13621 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13622 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13623 as_echo_n='/usr/ucb/echo -n'
13624 else
13625 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13626 as_echo_n_body='eval
13627 arg=$1;
13628 case $arg in #(
13629 *"$as_nl"*)
13630 expr "X$arg" : "X\\(.*\\)$as_nl";
13631 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13632 esac;
13633 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13634 '
13635 export as_echo_n_body
13636 as_echo_n='sh -c $as_echo_n_body as_echo'
13637 fi
13638 export as_echo_body
13639 as_echo='sh -c $as_echo_body as_echo'
13640fi
13641
13642# The user is always right.
13643if test "${PATH_SEPARATOR+set}" != set; then
13644 PATH_SEPARATOR=:
13645 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13646 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13647 PATH_SEPARATOR=';'
13648 }
13649fi
13650
13651
13652# IFS
13653# We need space, tab and new line, in precisely that order. Quoting is
13654# there to prevent editors from complaining about space-tab.
13655# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13656# splitting by setting IFS to empty value.)
13657IFS=" "" $as_nl"
13658
13659# Find who we are. Look in the path if we contain no directory separator.
13660case $0 in #((
13661 *[\\/]* ) as_myself=$0 ;;
13662 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13663for as_dir in $PATH
13664do
13665 IFS=$as_save_IFS
13666 test -z "$as_dir" && as_dir=.
13667 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13668 done
13669IFS=$as_save_IFS
13670
13671 ;;
13672esac
13673# We did not find ourselves, most probably we were run as `sh COMMAND'
13674# in which case we are not to be found in the path.
13675if test "x$as_myself" = x; then
13676 as_myself=$0
13677fi
13678if test ! -f "$as_myself"; then
13679 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13680 exit 1
13681fi
13682
13683# Unset variables that we do not need and which cause bugs (e.g. in
13684# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13685# suppresses any "Segmentation fault" message there. '((' could
13686# trigger a bug in pdksh 5.2.14.
13687for as_var in BASH_ENV ENV MAIL MAILPATH
13688do eval test x\${$as_var+set} = xset \
13689 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13690done
13691PS1='$ '
13692PS2='> '
13693PS4='+ '
13694
13695# NLS nuisances.
13696LC_ALL=C
13697export LC_ALL
13698LANGUAGE=C
13699export LANGUAGE
13700
13701# CDPATH.
13702(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13703
13704
13705# as_fn_error STATUS ERROR [LINENO LOG_FD]
13706# ----------------------------------------
13707# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13708# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13709# script with STATUS, using 1 if that was 0.
13710as_fn_error ()
13711{
13712 as_status=$1; test $as_status -eq 0 && as_status=1
13713 if test "$4"; then
13714 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13715 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13716 fi
13717 $as_echo "$as_me: error: $2" >&2
13718 as_fn_exit $as_status
13719} # as_fn_error
13720
13721
13722# as_fn_set_status STATUS
13723# -----------------------
13724# Set $? to STATUS, without forking.
13725as_fn_set_status ()
13726{
13727 return $1
13728} # as_fn_set_status
13729
13730# as_fn_exit STATUS
13731# -----------------
13732# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13733as_fn_exit ()
13734{
13735 set +e
13736 as_fn_set_status $1
13737 exit $1
13738} # as_fn_exit
13739
13740# as_fn_unset VAR
13741# ---------------
13742# Portably unset VAR.
13743as_fn_unset ()
13744{
13745 { eval $1=; unset $1;}
13746}
13747as_unset=as_fn_unset
13748# as_fn_append VAR VALUE
13749# ----------------------
13750# Append the text in VALUE to the end of the definition contained in VAR. Take
13751# advantage of any shell optimizations that allow amortized linear growth over
13752# repeated appends, instead of the typical quadratic growth present in naive
13753# implementations.
13754if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13755 eval 'as_fn_append ()
13756 {
13757 eval $1+=\$2
13758 }'
13759else
13760 as_fn_append ()
13761 {
13762 eval $1=\$$1\$2
13763 }
13764fi # as_fn_append
13765
13766# as_fn_arith ARG...
13767# ------------------
13768# Perform arithmetic evaluation on the ARGs, and store the result in the
13769# global $as_val. Take advantage of shells that can avoid forks. The arguments
13770# must be portable across $(()) and expr.
13771if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13772 eval 'as_fn_arith ()
13773 {
13774 as_val=$(( $* ))
13775 }'
13776else
13777 as_fn_arith ()
13778 {
13779 as_val=`expr "$@" || test $? -eq 1`
13780 }
13781fi # as_fn_arith
13782
13783
13784if expr a : '\(a\)' >/dev/null 2>&1 &&
13785 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13786 as_expr=expr
13787else
13788 as_expr=false
13789fi
13790
13791if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13792 as_basename=basename
13793else
13794 as_basename=false
13795fi
13796
13797if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13798 as_dirname=dirname
13799else
13800 as_dirname=false
13801fi
13802
13803as_me=`$as_basename -- "$0" ||
13804$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13805 X"$0" : 'X\(//\)$' \| \
13806 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13807$as_echo X/"$0" |
13808 sed '/^.*\/\([^/][^/]*\)\/*$/{
13809 s//\1/
13810 q
13811 }
13812 /^X\/\(\/\/\)$/{
13813 s//\1/
13814 q
13815 }
13816 /^X\/\(\/\).*/{
13817 s//\1/
13818 q
13819 }
13820 s/.*/./; q'`
13821
13822# Avoid depending upon Character Ranges.
13823as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13824as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13825as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13826as_cr_digits='0123456789'
13827as_cr_alnum=$as_cr_Letters$as_cr_digits
13828
13829ECHO_C= ECHO_N= ECHO_T=
13830case `echo -n x` in #(((((
13831-n*)
13832 case `echo 'xy\c'` in
13833 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13834 xy) ECHO_C='\c';;
13835 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13836 ECHO_T=' ';;
13837 esac;;
13838*)
13839 ECHO_N='-n';;
13840esac
13841
13842rm -f conf$$ conf$$.exe conf$$.file
13843if test -d conf$$.dir; then
13844 rm -f conf$$.dir/conf$$.file
13845else
13846 rm -f conf$$.dir
13847 mkdir conf$$.dir 2>/dev/null
13848fi
13849if (echo >conf$$.file) 2>/dev/null; then
13850 if ln -s conf$$.file conf$$ 2>/dev/null; then
13851 as_ln_s='ln -s'
13852 # ... but there are two gotchas:
13853 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13854 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13855 # In both cases, we have to default to `cp -p'.
13856 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13857 as_ln_s='cp -p'
13858 elif ln conf$$.file conf$$ 2>/dev/null; then
13859 as_ln_s=ln
13860 else
13861 as_ln_s='cp -p'
13862 fi
13863else
13864 as_ln_s='cp -p'
13865fi
13866rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13867rmdir conf$$.dir 2>/dev/null
13868
13869
13870# as_fn_mkdir_p
13871# -------------
13872# Create "$as_dir" as a directory, including parents if necessary.
13873as_fn_mkdir_p ()
13874{
13875
13876 case $as_dir in #(
13877 -*) as_dir=./$as_dir;;
13878 esac
13879 test -d "$as_dir" || eval $as_mkdir_p || {
13880 as_dirs=
13881 while :; do
13882 case $as_dir in #(
13883 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13884 *) as_qdir=$as_dir;;
13885 esac
13886 as_dirs="'$as_qdir' $as_dirs"
13887 as_dir=`$as_dirname -- "$as_dir" ||
13888$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13889 X"$as_dir" : 'X\(//\)[^/]' \| \
13890 X"$as_dir" : 'X\(//\)$' \| \
13891 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13892$as_echo X"$as_dir" |
13893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13894 s//\1/
13895 q
13896 }
13897 /^X\(\/\/\)[^/].*/{
13898 s//\1/
13899 q
13900 }
13901 /^X\(\/\/\)$/{
13902 s//\1/
13903 q
13904 }
13905 /^X\(\/\).*/{
13906 s//\1/
13907 q
13908 }
13909 s/.*/./; q'`
13910 test -d "$as_dir" && break
13911 done
13912 test -z "$as_dirs" || eval "mkdir $as_dirs"
13913 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13914
13915
13916} # as_fn_mkdir_p
13917if mkdir -p . 2>/dev/null; then
13918 as_mkdir_p='mkdir -p "$as_dir"'
13919else
13920 test -d ./-p && rmdir ./-p
13921 as_mkdir_p=false
13922fi
13923
13924if test -x / >/dev/null 2>&1; then
13925 as_test_x='test -x'
13926else
13927 if ls -dL / >/dev/null 2>&1; then
13928 as_ls_L_option=L
13929 else
13930 as_ls_L_option=
13931 fi
13932 as_test_x='
13933 eval sh -c '\''
13934 if test -d "$1"; then
13935 test -d "$1/.";
13936 else
13937 case $1 in #(
13938 -*)set "./$1";;
13939 esac;
13940 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13941 ???[sx]*):;;*)false;;esac;fi
13942 '\'' sh
13943 '
13944fi
13945as_executable_p=$as_test_x
13946
13947# Sed expression to map a string onto a valid CPP name.
13948as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13949
13950# Sed expression to map a string onto a valid variable name.
13951as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13952
13953
13954exec 6>&1
13955## ----------------------------------- ##
13956## Main body of $CONFIG_STATUS script. ##
13957## ----------------------------------- ##
13958_ASEOF
13959test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13960
13961cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13962# Save the log message, to keep $0 and so on meaningful, and to
13963# report actual input values of CONFIG_FILES etc. instead of their
13964# values after options handling.
13965ac_log="
13966This file was extended by embryo $as_me 1.1.0, which was
13967generated by GNU Autoconf 2.67. Invocation command line was
13968
13969 CONFIG_FILES = $CONFIG_FILES
13970 CONFIG_HEADERS = $CONFIG_HEADERS
13971 CONFIG_LINKS = $CONFIG_LINKS
13972 CONFIG_COMMANDS = $CONFIG_COMMANDS
13973 $ $0 $@
13974
13975on `(hostname || uname -n) 2>/dev/null | sed 1q`
13976"
13977
13978_ACEOF
13979
13980case $ac_config_files in *"
13981"*) set x $ac_config_files; shift; ac_config_files=$*;;
13982esac
13983
13984case $ac_config_headers in *"
13985"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13986esac
13987
13988
13989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13990# Files that config.status was made for.
13991config_files="$ac_config_files"
13992config_headers="$ac_config_headers"
13993config_commands="$ac_config_commands"
13994
13995_ACEOF
13996
13997cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13998ac_cs_usage="\
13999\`$as_me' instantiates files and other configuration actions
14000from templates according to the current configuration. Unless the files
14001and actions are specified as TAGs, all are instantiated by default.
14002
14003Usage: $0 [OPTION]... [TAG]...
14004
14005 -h, --help print this help, then exit
14006 -V, --version print version number and configuration settings, then exit
14007 --config print configuration, then exit
14008 -q, --quiet, --silent
14009 do not print progress messages
14010 -d, --debug don't remove temporary files
14011 --recheck update $as_me by reconfiguring in the same conditions
14012 --file=FILE[:TEMPLATE]
14013 instantiate the configuration file FILE
14014 --header=FILE[:TEMPLATE]
14015 instantiate the configuration header FILE
14016
14017Configuration files:
14018$config_files
14019
14020Configuration headers:
14021$config_headers
14022
14023Configuration commands:
14024$config_commands
14025
14026Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14027
14028_ACEOF
14029cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14030ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14031ac_cs_version="\\
14032embryo config.status 1.1.0
14033configured by $0, generated by GNU Autoconf 2.67,
14034 with options \\"\$ac_cs_config\\"
14035
14036Copyright (C) 2010 Free Software Foundation, Inc.
14037This config.status script is free software; the Free Software Foundation
14038gives unlimited permission to copy, distribute and modify it."
14039
14040ac_pwd='$ac_pwd'
14041srcdir='$srcdir'
14042INSTALL='$INSTALL'
14043MKDIR_P='$MKDIR_P'
14044AWK='$AWK'
14045test -n "\$AWK" || AWK=awk
14046_ACEOF
14047
14048cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14049# The default lists apply if the user does not specify any file.
14050ac_need_defaults=:
14051while test $# != 0
14052do
14053 case $1 in
14054 --*=?*)
14055 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14056 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14057 ac_shift=:
14058 ;;
14059 --*=)
14060 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14061 ac_optarg=
14062 ac_shift=:
14063 ;;
14064 *)
14065 ac_option=$1
14066 ac_optarg=$2
14067 ac_shift=shift
14068 ;;
14069 esac
14070
14071 case $ac_option in
14072 # Handling of the options.
14073 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14074 ac_cs_recheck=: ;;
14075 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14076 $as_echo "$ac_cs_version"; exit ;;
14077 --config | --confi | --conf | --con | --co | --c )
14078 $as_echo "$ac_cs_config"; exit ;;
14079 --debug | --debu | --deb | --de | --d | -d )
14080 debug=: ;;
14081 --file | --fil | --fi | --f )
14082 $ac_shift
14083 case $ac_optarg in
14084 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14085 '') as_fn_error $? "missing file argument" ;;
14086 esac
14087 as_fn_append CONFIG_FILES " '$ac_optarg'"
14088 ac_need_defaults=false;;
14089 --header | --heade | --head | --hea )
14090 $ac_shift
14091 case $ac_optarg in
14092 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14093 esac
14094 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14095 ac_need_defaults=false;;
14096 --he | --h)
14097 # Conflict between --help and --header
14098 as_fn_error $? "ambiguous option: \`$1'
14099Try \`$0 --help' for more information.";;
14100 --help | --hel | -h )
14101 $as_echo "$ac_cs_usage"; exit ;;
14102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14103 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14104 ac_cs_silent=: ;;
14105
14106 # This is an error.
14107 -*) as_fn_error $? "unrecognized option: \`$1'
14108Try \`$0 --help' for more information." ;;
14109
14110 *) as_fn_append ac_config_targets " $1"
14111 ac_need_defaults=false ;;
14112
14113 esac
14114 shift
14115done
14116
14117ac_configure_extra_args=
14118
14119if $ac_cs_silent; then
14120 exec 6>/dev/null
14121 ac_configure_extra_args="$ac_configure_extra_args --silent"
14122fi
14123
14124_ACEOF
14125cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14126if \$ac_cs_recheck; then
14127 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14128 shift
14129 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14130 CONFIG_SHELL='$SHELL'
14131 export CONFIG_SHELL
14132 exec "\$@"
14133fi
14134
14135_ACEOF
14136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14137exec 5>>config.log
14138{
14139 echo
14140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14141## Running $as_me. ##
14142_ASBOX
14143 $as_echo "$ac_log"
14144} >&5
14145
14146_ACEOF
14147cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14148#
14149# INIT-COMMANDS
14150#
14151AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14152
14153
14154# The HP-UX ksh and POSIX shell print the target directory to stdout
14155# if CDPATH is set.
14156(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14157
14158sed_quote_subst='$sed_quote_subst'
14159double_quote_subst='$double_quote_subst'
14160delay_variable_subst='$delay_variable_subst'
14161AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14162DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14163OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14164macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14165macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14166enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14167enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14168pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14169enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14170host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14171host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14172host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14173build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14174build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14175build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14176SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14177Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14178GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14179EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14180FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14181LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14182NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14183LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14184max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14185ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14186exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14187lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14188lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14189lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14190reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14191reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14192deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14193file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14194AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14195AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14196STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14197RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14198old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14199old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14200old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14201CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14202CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14203compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14204GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14205lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14206lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14207lt_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"`'
14208lt_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"`'
14209objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14210SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14211ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14212MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14213lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14214lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14215lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14216lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14217lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14218need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14219DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14220NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14221LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14222OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14223OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14224libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14225shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14226extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14227archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14228enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14229export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14230whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14231compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14232old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14233old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14234archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14235archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14236module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14237module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14238with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14239allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14240no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14241hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14242hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14243hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14244hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14245hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14246hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14247hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14248hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14249inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14250link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14251fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14252always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14253export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14254exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14255include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14256prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14257file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14258variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14259need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14260need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14261version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14262runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14263shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14264shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14265libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14266library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14267soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14268postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14269postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14270finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14271finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14272hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14273sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14274sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14275hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14276enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14277enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14278enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14279old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14280striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14281
14282LTCC='$LTCC'
14283LTCFLAGS='$LTCFLAGS'
14284compiler='$compiler_DEFAULT'
14285
14286# Quote evaled strings.
14287for var in SED \
14288GREP \
14289EGREP \
14290FGREP \
14291LD \
14292NM \
14293LN_S \
14294lt_SP2NL \
14295lt_NL2SP \
14296reload_flag \
14297deplibs_check_method \
14298file_magic_cmd \
14299AR \
14300AR_FLAGS \
14301STRIP \
14302RANLIB \
14303CC \
14304CFLAGS \
14305compiler \
14306lt_cv_sys_global_symbol_pipe \
14307lt_cv_sys_global_symbol_to_cdecl \
14308lt_cv_sys_global_symbol_to_c_name_address \
14309lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14310SHELL \
14311ECHO \
14312lt_prog_compiler_no_builtin_flag \
14313lt_prog_compiler_wl \
14314lt_prog_compiler_pic \
14315lt_prog_compiler_static \
14316lt_cv_prog_compiler_c_o \
14317need_locks \
14318DSYMUTIL \
14319NMEDIT \
14320LIPO \
14321OTOOL \
14322OTOOL64 \
14323shrext_cmds \
14324export_dynamic_flag_spec \
14325whole_archive_flag_spec \
14326compiler_needs_object \
14327with_gnu_ld \
14328allow_undefined_flag \
14329no_undefined_flag \
14330hardcode_libdir_flag_spec \
14331hardcode_libdir_flag_spec_ld \
14332hardcode_libdir_separator \
14333fix_srcfile_path \
14334exclude_expsyms \
14335include_expsyms \
14336file_list_spec \
14337variables_saved_for_relink \
14338libname_spec \
14339library_names_spec \
14340soname_spec \
14341finish_eval \
14342old_striplib \
14343striplib; do
14344 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14345 *[\\\\\\\`\\"\\\$]*)
14346 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14347 ;;
14348 *)
14349 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14350 ;;
14351 esac
14352done
14353
14354# Double-quote double-evaled strings.
14355for var in reload_cmds \
14356old_postinstall_cmds \
14357old_postuninstall_cmds \
14358old_archive_cmds \
14359extract_expsyms_cmds \
14360old_archive_from_new_cmds \
14361old_archive_from_expsyms_cmds \
14362archive_cmds \
14363archive_expsym_cmds \
14364module_cmds \
14365module_expsym_cmds \
14366export_symbols_cmds \
14367prelink_cmds \
14368postinstall_cmds \
14369postuninstall_cmds \
14370finish_cmds \
14371sys_lib_search_path_spec \
14372sys_lib_dlsearch_path_spec; do
14373 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14374 *[\\\\\\\`\\"\\\$]*)
14375 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14376 ;;
14377 *)
14378 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14379 ;;
14380 esac
14381done
14382
14383# Fix-up fallback echo if it was mangled by the above quoting rules.
14384case \$lt_ECHO in
14385*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14386 ;;
14387esac
14388
14389ac_aux_dir='$ac_aux_dir'
14390xsi_shell='$xsi_shell'
14391lt_shell_append='$lt_shell_append'
14392
14393# See if we are running on zsh, and set the options which allow our
14394# commands through without removal of \ escapes INIT.
14395if test -n "\${ZSH_VERSION+set}" ; then
14396 setopt NO_GLOB_SUBST
14397fi
14398
14399
14400 PACKAGE='$PACKAGE'
14401 VERSION='$VERSION'
14402 TIMESTAMP='$TIMESTAMP'
14403 RM='$RM'
14404 ofile='$ofile'
14405
14406
14407
14408
14409_ACEOF
14410
14411cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14412
14413# Handling of arguments.
14414for ac_config_target in $ac_config_targets
14415do
14416 case $ac_config_target in
14417 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14418 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14419 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14420 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14421 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14422 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14423 "doc/embryo.dox") CONFIG_FILES="$CONFIG_FILES doc/embryo.dox" ;;
14424 "embryo.pc") CONFIG_FILES="$CONFIG_FILES embryo.pc" ;;
14425 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14426 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14427 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14428 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14429 "embryo.spec") CONFIG_FILES="$CONFIG_FILES embryo.spec" ;;
14430
14431 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
14432 esac
14433done
14434
14435
14436# If the user did not use the arguments to specify the items to instantiate,
14437# then the envvar interface is used. Set only those that are not.
14438# We use the long form for the default assignment because of an extremely
14439# bizarre bug on SunOS 4.1.3.
14440if $ac_need_defaults; then
14441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14444fi
14445
14446# Have a temporary directory for convenience. Make it in the build tree
14447# simply because there is no reason against having it here, and in addition,
14448# creating and moving files from /tmp can sometimes cause problems.
14449# Hook for its removal unless debugging.
14450# Note that there is a small window in which the directory will not be cleaned:
14451# after its creation but before its name has been assigned to `$tmp'.
14452$debug ||
14453{
14454 tmp=
14455 trap 'exit_status=$?
14456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14457' 0
14458 trap 'as_fn_exit 1' 1 2 13 15
14459}
14460# Create a (secure) tmp directory for tmp files.
14461
14462{
14463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14464 test -n "$tmp" && test -d "$tmp"
14465} ||
14466{
14467 tmp=./conf$$-$RANDOM
14468 (umask 077 && mkdir "$tmp")
14469} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14470
14471# Set up the scripts for CONFIG_FILES section.
14472# No need to generate them if there are no CONFIG_FILES.
14473# This happens for instance with `./config.status config.h'.
14474if test -n "$CONFIG_FILES"; then
14475
14476
14477ac_cr=`echo X | tr X '\015'`
14478# On cygwin, bash can eat \r inside `` if the user requested igncr.
14479# But we know of no other shell where ac_cr would be empty at this
14480# point, so we can use a bashism as a fallback.
14481if test "x$ac_cr" = x; then
14482 eval ac_cr=\$\'\\r\'
14483fi
14484ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14485if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14486 ac_cs_awk_cr='\\r'
14487else
14488 ac_cs_awk_cr=$ac_cr
14489fi
14490
14491echo 'BEGIN {' >"$tmp/subs1.awk" &&
14492_ACEOF
14493
14494
14495{
14496 echo "cat >conf$$subs.awk <<_ACEOF" &&
14497 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14498 echo "_ACEOF"
14499} >conf$$subs.sh ||
14500 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14501ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14502ac_delim='%!_!# '
14503for ac_last_try in false false false false false :; do
14504 . ./conf$$subs.sh ||
14505 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14506
14507 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14508 if test $ac_delim_n = $ac_delim_num; then
14509 break
14510 elif $ac_last_try; then
14511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14512 else
14513 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14514 fi
14515done
14516rm -f conf$$subs.sh
14517
14518cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14519cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14520_ACEOF
14521sed -n '
14522h
14523s/^/S["/; s/!.*/"]=/
14524p
14525g
14526s/^[^!]*!//
14527:repl
14528t repl
14529s/'"$ac_delim"'$//
14530t delim
14531:nl
14532h
14533s/\(.\{148\}\)..*/\1/
14534t more1
14535s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14536p
14537n
14538b repl
14539:more1
14540s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14541p
14542g
14543s/.\{148\}//
14544t nl
14545:delim
14546h
14547s/\(.\{148\}\)..*/\1/
14548t more2
14549s/["\\]/\\&/g; s/^/"/; s/$/"/
14550p
14551b
14552:more2
14553s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14554p
14555g
14556s/.\{148\}//
14557t delim
14558' <conf$$subs.awk | sed '
14559/^[^""]/{
14560 N
14561 s/\n//
14562}
14563' >>$CONFIG_STATUS || ac_write_fail=1
14564rm -f conf$$subs.awk
14565cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14566_ACAWK
14567cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14568 for (key in S) S_is_set[key] = 1
14569 FS = ""
14570
14571}
14572{
14573 line = $ 0
14574 nfields = split(line, field, "@")
14575 substed = 0
14576 len = length(field[1])
14577 for (i = 2; i < nfields; i++) {
14578 key = field[i]
14579 keylen = length(key)
14580 if (S_is_set[key]) {
14581 value = S[key]
14582 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14583 len += length(value) + length(field[++i])
14584 substed = 1
14585 } else
14586 len += 1 + keylen
14587 }
14588
14589 print line
14590}
14591
14592_ACAWK
14593_ACEOF
14594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14595if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14596 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14597else
14598 cat
14599fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14600 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14601_ACEOF
14602
14603# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14604# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14605# trailing colons and then remove the whole line if VPATH becomes empty
14606# (actually we leave an empty line to preserve line numbers).
14607if test "x$srcdir" = x.; then
14608 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14609h
14610s///
14611s/^/:/
14612s/[ ]*$/:/
14613s/:\$(srcdir):/:/g
14614s/:\${srcdir}:/:/g
14615s/:@srcdir@:/:/g
14616s/^:*//
14617s/:*$//
14618x
14619s/\(=[ ]*\).*/\1/
14620G
14621s/\n//
14622s/^[^=]*=[ ]*$//
14623}'
14624fi
14625
14626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14627fi # test -n "$CONFIG_FILES"
14628
14629# Set up the scripts for CONFIG_HEADERS section.
14630# No need to generate them if there are no CONFIG_HEADERS.
14631# This happens for instance with `./config.status Makefile'.
14632if test -n "$CONFIG_HEADERS"; then
14633cat >"$tmp/defines.awk" <<\_ACAWK ||
14634BEGIN {
14635_ACEOF
14636
14637# Transform confdefs.h into an awk script `defines.awk', embedded as
14638# here-document in config.status, that substitutes the proper values into
14639# config.h.in to produce config.h.
14640
14641# Create a delimiter string that does not exist in confdefs.h, to ease
14642# handling of long lines.
14643ac_delim='%!_!# '
14644for ac_last_try in false false :; do
14645 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14646 if test -z "$ac_t"; then
14647 break
14648 elif $ac_last_try; then
14649 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14650 else
14651 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14652 fi
14653done
14654
14655# For the awk script, D is an array of macro values keyed by name,
14656# likewise P contains macro parameters if any. Preserve backslash
14657# newline sequences.
14658
14659ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14660sed -n '
14661s/.\{148\}/&'"$ac_delim"'/g
14662t rset
14663:rset
14664s/^[ ]*#[ ]*define[ ][ ]*/ /
14665t def
14666d
14667:def
14668s/\\$//
14669t bsnl
14670s/["\\]/\\&/g
14671s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14672D["\1"]=" \3"/p
14673s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14674d
14675:bsnl
14676s/["\\]/\\&/g
14677s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14678D["\1"]=" \3\\\\\\n"\\/p
14679t cont
14680s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14681t cont
14682d
14683:cont
14684n
14685s/.\{148\}/&'"$ac_delim"'/g
14686t clear
14687:clear
14688s/\\$//
14689t bsnlc
14690s/["\\]/\\&/g; s/^/"/; s/$/"/p
14691d
14692:bsnlc
14693s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14694b cont
14695' <confdefs.h | sed '
14696s/'"$ac_delim"'/"\\\
14697"/g' >>$CONFIG_STATUS || ac_write_fail=1
14698
14699cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14700 for (key in D) D_is_set[key] = 1
14701 FS = ""
14702}
14703/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14704 line = \$ 0
14705 split(line, arg, " ")
14706 if (arg[1] == "#") {
14707 defundef = arg[2]
14708 mac1 = arg[3]
14709 } else {
14710 defundef = substr(arg[1], 2)
14711 mac1 = arg[2]
14712 }
14713 split(mac1, mac2, "(") #)
14714 macro = mac2[1]
14715 prefix = substr(line, 1, index(line, defundef) - 1)
14716 if (D_is_set[macro]) {
14717 # Preserve the white space surrounding the "#".
14718 print prefix "define", macro P[macro] D[macro]
14719 next
14720 } else {
14721 # Replace #undef with comments. This is necessary, for example,
14722 # in the case of _POSIX_SOURCE, which is predefined and required
14723 # on some systems where configure will not decide to define it.
14724 if (defundef == "undef") {
14725 print "/*", prefix defundef, macro, "*/"
14726 next
14727 }
14728 }
14729}
14730{ print }
14731_ACAWK
14732_ACEOF
14733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14734 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14735fi # test -n "$CONFIG_HEADERS"
14736
14737
14738eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14739shift
14740for ac_tag
14741do
14742 case $ac_tag in
14743 :[FHLC]) ac_mode=$ac_tag; continue;;
14744 esac
14745 case $ac_mode$ac_tag in
14746 :[FHL]*:*);;
14747 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14748 :[FH]-) ac_tag=-:-;;
14749 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14750 esac
14751 ac_save_IFS=$IFS
14752 IFS=:
14753 set x $ac_tag
14754 IFS=$ac_save_IFS
14755 shift
14756 ac_file=$1
14757 shift
14758
14759 case $ac_mode in
14760 :L) ac_source=$1;;
14761 :[FH])
14762 ac_file_inputs=
14763 for ac_f
14764 do
14765 case $ac_f in
14766 -) ac_f="$tmp/stdin";;
14767 *) # Look for the file first in the build tree, then in the source tree
14768 # (if the path is not absolute). The absolute path cannot be DOS-style,
14769 # because $ac_f cannot contain `:'.
14770 test -f "$ac_f" ||
14771 case $ac_f in
14772 [\\/$]*) false;;
14773 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14774 esac ||
14775 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14776 esac
14777 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14778 as_fn_append ac_file_inputs " '$ac_f'"
14779 done
14780
14781 # Let's still pretend it is `configure' which instantiates (i.e., don't
14782 # use $as_me), people would be surprised to read:
14783 # /* config.h. Generated by config.status. */
14784 configure_input='Generated from '`
14785 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14786 `' by configure.'
14787 if test x"$ac_file" != x-; then
14788 configure_input="$ac_file. $configure_input"
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14790$as_echo "$as_me: creating $ac_file" >&6;}
14791 fi
14792 # Neutralize special characters interpreted by sed in replacement strings.
14793 case $configure_input in #(
14794 *\&* | *\|* | *\\* )
14795 ac_sed_conf_input=`$as_echo "$configure_input" |
14796 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14797 *) ac_sed_conf_input=$configure_input;;
14798 esac
14799
14800 case $ac_tag in
14801 *:-:* | *:-) cat >"$tmp/stdin" \
14802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14803 esac
14804 ;;
14805 esac
14806
14807 ac_dir=`$as_dirname -- "$ac_file" ||
14808$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14809 X"$ac_file" : 'X\(//\)[^/]' \| \
14810 X"$ac_file" : 'X\(//\)$' \| \
14811 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14812$as_echo X"$ac_file" |
14813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14814 s//\1/
14815 q
14816 }
14817 /^X\(\/\/\)[^/].*/{
14818 s//\1/
14819 q
14820 }
14821 /^X\(\/\/\)$/{
14822 s//\1/
14823 q
14824 }
14825 /^X\(\/\).*/{
14826 s//\1/
14827 q
14828 }
14829 s/.*/./; q'`
14830 as_dir="$ac_dir"; as_fn_mkdir_p
14831 ac_builddir=.
14832
14833case "$ac_dir" in
14834.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14835*)
14836 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14837 # A ".." for each directory in $ac_dir_suffix.
14838 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14839 case $ac_top_builddir_sub in
14840 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14841 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14842 esac ;;
14843esac
14844ac_abs_top_builddir=$ac_pwd
14845ac_abs_builddir=$ac_pwd$ac_dir_suffix
14846# for backward compatibility:
14847ac_top_builddir=$ac_top_build_prefix
14848
14849case $srcdir in
14850 .) # We are building in place.
14851 ac_srcdir=.
14852 ac_top_srcdir=$ac_top_builddir_sub
14853 ac_abs_top_srcdir=$ac_pwd ;;
14854 [\\/]* | ?:[\\/]* ) # Absolute name.
14855 ac_srcdir=$srcdir$ac_dir_suffix;
14856 ac_top_srcdir=$srcdir
14857 ac_abs_top_srcdir=$srcdir ;;
14858 *) # Relative name.
14859 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14860 ac_top_srcdir=$ac_top_build_prefix$srcdir
14861 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14862esac
14863ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14864
14865
14866 case $ac_mode in
14867 :F)
14868 #
14869 # CONFIG_FILE
14870 #
14871
14872 case $INSTALL in
14873 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14874 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14875 esac
14876 ac_MKDIR_P=$MKDIR_P
14877 case $MKDIR_P in
14878 [\\/$]* | ?:[\\/]* ) ;;
14879 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14880 esac
14881_ACEOF
14882
14883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14884# If the template does not know about datarootdir, expand it.
14885# FIXME: This hack should be removed a few years after 2.60.
14886ac_datarootdir_hack=; ac_datarootdir_seen=
14887ac_sed_dataroot='
14888/datarootdir/ {
14889 p
14890 q
14891}
14892/@datadir@/p
14893/@docdir@/p
14894/@infodir@/p
14895/@localedir@/p
14896/@mandir@/p'
14897case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14898*datarootdir*) ac_datarootdir_seen=yes;;
14899*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14901$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14902_ACEOF
14903cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14904 ac_datarootdir_hack='
14905 s&@datadir@&$datadir&g
14906 s&@docdir@&$docdir&g
14907 s&@infodir@&$infodir&g
14908 s&@localedir@&$localedir&g
14909 s&@mandir@&$mandir&g
14910 s&\\\${datarootdir}&$datarootdir&g' ;;
14911esac
14912_ACEOF
14913
14914# Neutralize VPATH when `$srcdir' = `.'.
14915# Shell code in configure.ac might set extrasub.
14916# FIXME: do we really want to maintain this feature?
14917cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14918ac_sed_extra="$ac_vpsub
14919$extrasub
14920_ACEOF
14921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14922:t
14923/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14924s|@configure_input@|$ac_sed_conf_input|;t t
14925s&@top_builddir@&$ac_top_builddir_sub&;t t
14926s&@top_build_prefix@&$ac_top_build_prefix&;t t
14927s&@srcdir@&$ac_srcdir&;t t
14928s&@abs_srcdir@&$ac_abs_srcdir&;t t
14929s&@top_srcdir@&$ac_top_srcdir&;t t
14930s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14931s&@builddir@&$ac_builddir&;t t
14932s&@abs_builddir@&$ac_abs_builddir&;t t
14933s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14934s&@INSTALL@&$ac_INSTALL&;t t
14935s&@MKDIR_P@&$ac_MKDIR_P&;t t
14936$ac_datarootdir_hack
14937"
14938eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14940
14941test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14942 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14943 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14945which seems to be undefined. Please make sure it is defined" >&5
14946$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14947which seems to be undefined. Please make sure it is defined" >&2;}
14948
14949 rm -f "$tmp/stdin"
14950 case $ac_file in
14951 -) cat "$tmp/out" && rm -f "$tmp/out";;
14952 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14953 esac \
14954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14955 ;;
14956 :H)
14957 #
14958 # CONFIG_HEADER
14959 #
14960 if test x"$ac_file" != x-; then
14961 {
14962 $as_echo "/* $configure_input */" \
14963 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14964 } >"$tmp/config.h" \
14965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14966 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14968$as_echo "$as_me: $ac_file is unchanged" >&6;}
14969 else
14970 rm -f "$ac_file"
14971 mv "$tmp/config.h" "$ac_file" \
14972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14973 fi
14974 else
14975 $as_echo "/* $configure_input */" \
14976 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14977 || as_fn_error $? "could not create -" "$LINENO" 5
14978 fi
14979# Compute "$ac_file"'s index in $config_headers.
14980_am_arg="$ac_file"
14981_am_stamp_count=1
14982for _am_header in $config_headers :; do
14983 case $_am_header in
14984 $_am_arg | $_am_arg:* )
14985 break ;;
14986 * )
14987 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14988 esac
14989done
14990echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14991$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14992 X"$_am_arg" : 'X\(//\)[^/]' \| \
14993 X"$_am_arg" : 'X\(//\)$' \| \
14994 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14995$as_echo X"$_am_arg" |
14996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14997 s//\1/
14998 q
14999 }
15000 /^X\(\/\/\)[^/].*/{
15001 s//\1/
15002 q
15003 }
15004 /^X\(\/\/\)$/{
15005 s//\1/
15006 q
15007 }
15008 /^X\(\/\).*/{
15009 s//\1/
15010 q
15011 }
15012 s/.*/./; q'`/stamp-h$_am_stamp_count
15013 ;;
15014
15015 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15016$as_echo "$as_me: executing $ac_file commands" >&6;}
15017 ;;
15018 esac
15019
15020
15021 case $ac_file$ac_mode in
15022 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15023 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15024 # are listed without --file. Let's play safe and only enable the eval
15025 # if we detect the quoting.
15026 case $CONFIG_FILES in
15027 *\'*) eval set x "$CONFIG_FILES" ;;
15028 *) set x $CONFIG_FILES ;;
15029 esac
15030 shift
15031 for mf
15032 do
15033 # Strip MF so we end up with the name of the file.
15034 mf=`echo "$mf" | sed -e 's/:.*$//'`
15035 # Check whether this is an Automake generated Makefile or not.
15036 # We used to match only the files named `Makefile.in', but
15037 # some people rename them; so instead we look at the file content.
15038 # Grep'ing the first line is not enough: some people post-process
15039 # each Makefile.in and add a new line on top of each file to say so.
15040 # Grep'ing the whole file is not good either: AIX grep has a line
15041 # limit of 2048, but all sed's we know have understand at least 4000.
15042 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15043 dirpart=`$as_dirname -- "$mf" ||
15044$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15045 X"$mf" : 'X\(//\)[^/]' \| \
15046 X"$mf" : 'X\(//\)$' \| \
15047 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15048$as_echo X"$mf" |
15049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15050 s//\1/
15051 q
15052 }
15053 /^X\(\/\/\)[^/].*/{
15054 s//\1/
15055 q
15056 }
15057 /^X\(\/\/\)$/{
15058 s//\1/
15059 q
15060 }
15061 /^X\(\/\).*/{
15062 s//\1/
15063 q
15064 }
15065 s/.*/./; q'`
15066 else
15067 continue
15068 fi
15069 # Extract the definition of DEPDIR, am__include, and am__quote
15070 # from the Makefile without running `make'.
15071 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15072 test -z "$DEPDIR" && continue
15073 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15074 test -z "am__include" && continue
15075 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15076 # When using ansi2knr, U may be empty or an underscore; expand it
15077 U=`sed -n 's/^U = //p' < "$mf"`
15078 # Find all dependency output files, they are included files with
15079 # $(DEPDIR) in their names. We invoke sed twice because it is the
15080 # simplest approach to changing $(DEPDIR) to its actual value in the
15081 # expansion.
15082 for file in `sed -n "
15083 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15084 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15085 # Make sure the directory exists.
15086 test -f "$dirpart/$file" && continue
15087 fdir=`$as_dirname -- "$file" ||
15088$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15089 X"$file" : 'X\(//\)[^/]' \| \
15090 X"$file" : 'X\(//\)$' \| \
15091 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15092$as_echo X"$file" |
15093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15094 s//\1/
15095 q
15096 }
15097 /^X\(\/\/\)[^/].*/{
15098 s//\1/
15099 q
15100 }
15101 /^X\(\/\/\)$/{
15102 s//\1/
15103 q
15104 }
15105 /^X\(\/\).*/{
15106 s//\1/
15107 q
15108 }
15109 s/.*/./; q'`
15110 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15111 # echo "creating $dirpart/$file"
15112 echo '# dummy' > "$dirpart/$file"
15113 done
15114 done
15115}
15116 ;;
15117 "libtool":C)
15118
15119 # See if we are running on zsh, and set the options which allow our
15120 # commands through without removal of \ escapes.
15121 if test -n "${ZSH_VERSION+set}" ; then
15122 setopt NO_GLOB_SUBST
15123 fi
15124
15125 cfgfile="${ofile}T"
15126 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15127 $RM "$cfgfile"
15128
15129 cat <<_LT_EOF >> "$cfgfile"
15130#! $SHELL
15131
15132# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15133# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15134# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15135# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15136#
15137# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15138# 2006, 2007, 2008 Free Software Foundation, Inc.
15139# Written by Gordon Matzigkeit, 1996
15140#
15141# This file is part of GNU Libtool.
15142#
15143# GNU Libtool is free software; you can redistribute it and/or
15144# modify it under the terms of the GNU General Public License as
15145# published by the Free Software Foundation; either version 2 of
15146# the License, or (at your option) any later version.
15147#
15148# As a special exception to the GNU General Public License,
15149# if you distribute this file as part of a program or library that
15150# is built using GNU Libtool, you may include this file under the
15151# same distribution terms that you use for the rest of that program.
15152#
15153# GNU Libtool is distributed in the hope that it will be useful,
15154# but WITHOUT ANY WARRANTY; without even the implied warranty of
15155# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15156# GNU General Public License for more details.
15157#
15158# You should have received a copy of the GNU General Public License
15159# along with GNU Libtool; see the file COPYING. If not, a copy
15160# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15161# obtained by writing to the Free Software Foundation, Inc.,
15162# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15163
15164
15165# The names of the tagged configurations supported by this script.
15166available_tags=""
15167
15168# ### BEGIN LIBTOOL CONFIG
15169
15170# Assembler program.
15171AS=$AS
15172
15173# DLL creation program.
15174DLLTOOL=$DLLTOOL
15175
15176# Object dumper program.
15177OBJDUMP=$OBJDUMP
15178
15179# Which release of libtool.m4 was used?
15180macro_version=$macro_version
15181macro_revision=$macro_revision
15182
15183# Whether or not to build shared libraries.
15184build_libtool_libs=$enable_shared
15185
15186# Whether or not to build static libraries.
15187build_old_libs=$enable_static
15188
15189# What type of objects to build.
15190pic_mode=$pic_mode
15191
15192# Whether or not to optimize for fast installation.
15193fast_install=$enable_fast_install
15194
15195# The host system.
15196host_alias=$host_alias
15197host=$host
15198host_os=$host_os
15199
15200# The build system.
15201build_alias=$build_alias
15202build=$build
15203build_os=$build_os
15204
15205# A sed program that does not truncate output.
15206SED=$lt_SED
15207
15208# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15209Xsed="\$SED -e 1s/^X//"
15210
15211# A grep program that handles long lines.
15212GREP=$lt_GREP
15213
15214# An ERE matcher.
15215EGREP=$lt_EGREP
15216
15217# A literal string matcher.
15218FGREP=$lt_FGREP
15219
15220# A BSD- or MS-compatible name lister.
15221NM=$lt_NM
15222
15223# Whether we need soft or hard links.
15224LN_S=$lt_LN_S
15225
15226# What is the maximum length of a command?
15227max_cmd_len=$max_cmd_len
15228
15229# Object file suffix (normally "o").
15230objext=$ac_objext
15231
15232# Executable file suffix (normally "").
15233exeext=$exeext
15234
15235# whether the shell understands "unset".
15236lt_unset=$lt_unset
15237
15238# turn spaces into newlines.
15239SP2NL=$lt_lt_SP2NL
15240
15241# turn newlines into spaces.
15242NL2SP=$lt_lt_NL2SP
15243
15244# How to create reloadable object files.
15245reload_flag=$lt_reload_flag
15246reload_cmds=$lt_reload_cmds
15247
15248# Method to check whether dependent libraries are shared objects.
15249deplibs_check_method=$lt_deplibs_check_method
15250
15251# Command to use when deplibs_check_method == "file_magic".
15252file_magic_cmd=$lt_file_magic_cmd
15253
15254# The archiver.
15255AR=$lt_AR
15256AR_FLAGS=$lt_AR_FLAGS
15257
15258# A symbol stripping program.
15259STRIP=$lt_STRIP
15260
15261# Commands used to install an old-style archive.
15262RANLIB=$lt_RANLIB
15263old_postinstall_cmds=$lt_old_postinstall_cmds
15264old_postuninstall_cmds=$lt_old_postuninstall_cmds
15265
15266# A C compiler.
15267LTCC=$lt_CC
15268
15269# LTCC compiler flags.
15270LTCFLAGS=$lt_CFLAGS
15271
15272# Take the output of nm and produce a listing of raw symbols and C names.
15273global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15274
15275# Transform the output of nm in a proper C declaration.
15276global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15277
15278# Transform the output of nm in a C name address pair.
15279global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15280
15281# Transform the output of nm in a C name address pair when lib prefix is needed.
15282global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15283
15284# The name of the directory that contains temporary libtool files.
15285objdir=$objdir
15286
15287# Shell to use when invoking shell scripts.
15288SHELL=$lt_SHELL
15289
15290# An echo program that does not interpret backslashes.
15291ECHO=$lt_ECHO
15292
15293# Used to examine libraries when file_magic_cmd begins with "file".
15294MAGIC_CMD=$MAGIC_CMD
15295
15296# Must we lock files when doing compilation?
15297need_locks=$lt_need_locks
15298
15299# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15300DSYMUTIL=$lt_DSYMUTIL
15301
15302# Tool to change global to local symbols on Mac OS X.
15303NMEDIT=$lt_NMEDIT
15304
15305# Tool to manipulate fat objects and archives on Mac OS X.
15306LIPO=$lt_LIPO
15307
15308# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15309OTOOL=$lt_OTOOL
15310
15311# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15312OTOOL64=$lt_OTOOL64
15313
15314# Old archive suffix (normally "a").
15315libext=$libext
15316
15317# Shared library suffix (normally ".so").
15318shrext_cmds=$lt_shrext_cmds
15319
15320# The commands to extract the exported symbol list from a shared archive.
15321extract_expsyms_cmds=$lt_extract_expsyms_cmds
15322
15323# Variables whose values should be saved in libtool wrapper scripts and
15324# restored at link time.
15325variables_saved_for_relink=$lt_variables_saved_for_relink
15326
15327# Do we need the "lib" prefix for modules?
15328need_lib_prefix=$need_lib_prefix
15329
15330# Do we need a version for libraries?
15331need_version=$need_version
15332
15333# Library versioning type.
15334version_type=$version_type
15335
15336# Shared library runtime path variable.
15337runpath_var=$runpath_var
15338
15339# Shared library path variable.
15340shlibpath_var=$shlibpath_var
15341
15342# Is shlibpath searched before the hard-coded library search path?
15343shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15344
15345# Format of library name prefix.
15346libname_spec=$lt_libname_spec
15347
15348# List of archive names. First name is the real one, the rest are links.
15349# The last name is the one that the linker finds with -lNAME
15350library_names_spec=$lt_library_names_spec
15351
15352# The coded name of the library, if different from the real name.
15353soname_spec=$lt_soname_spec
15354
15355# Command to use after installation of a shared archive.
15356postinstall_cmds=$lt_postinstall_cmds
15357
15358# Command to use after uninstallation of a shared archive.
15359postuninstall_cmds=$lt_postuninstall_cmds
15360
15361# Commands used to finish a libtool library installation in a directory.
15362finish_cmds=$lt_finish_cmds
15363
15364# As "finish_cmds", except a single script fragment to be evaled but
15365# not shown.
15366finish_eval=$lt_finish_eval
15367
15368# Whether we should hardcode library paths into libraries.
15369hardcode_into_libs=$hardcode_into_libs
15370
15371# Compile-time system search path for libraries.
15372sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15373
15374# Run-time system search path for libraries.
15375sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15376
15377# Whether dlopen is supported.
15378dlopen_support=$enable_dlopen
15379
15380# Whether dlopen of programs is supported.
15381dlopen_self=$enable_dlopen_self
15382
15383# Whether dlopen of statically linked programs is supported.
15384dlopen_self_static=$enable_dlopen_self_static
15385
15386# Commands to strip libraries.
15387old_striplib=$lt_old_striplib
15388striplib=$lt_striplib
15389
15390
15391# The linker used to build libraries.
15392LD=$lt_LD
15393
15394# Commands used to build an old-style archive.
15395old_archive_cmds=$lt_old_archive_cmds
15396
15397# A language specific compiler.
15398CC=$lt_compiler
15399
15400# Is the compiler the GNU compiler?
15401with_gcc=$GCC
15402
15403# Compiler flag to turn off builtin functions.
15404no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15405
15406# How to pass a linker flag through the compiler.
15407wl=$lt_lt_prog_compiler_wl
15408
15409# Additional compiler flags for building library objects.
15410pic_flag=$lt_lt_prog_compiler_pic
15411
15412# Compiler flag to prevent dynamic linking.
15413link_static_flag=$lt_lt_prog_compiler_static
15414
15415# Does compiler simultaneously support -c and -o options?
15416compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15417
15418# Whether or not to add -lc for building shared libraries.
15419build_libtool_need_lc=$archive_cmds_need_lc
15420
15421# Whether or not to disallow shared libs when runtime libs are static.
15422allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15423
15424# Compiler flag to allow reflexive dlopens.
15425export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15426
15427# Compiler flag to generate shared objects directly from archives.
15428whole_archive_flag_spec=$lt_whole_archive_flag_spec
15429
15430# Whether the compiler copes with passing no objects directly.
15431compiler_needs_object=$lt_compiler_needs_object
15432
15433# Create an old-style archive from a shared archive.
15434old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15435
15436# Create a temporary old-style archive to link instead of a shared archive.
15437old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15438
15439# Commands used to build a shared archive.
15440archive_cmds=$lt_archive_cmds
15441archive_expsym_cmds=$lt_archive_expsym_cmds
15442
15443# Commands used to build a loadable module if different from building
15444# a shared archive.
15445module_cmds=$lt_module_cmds
15446module_expsym_cmds=$lt_module_expsym_cmds
15447
15448# Whether we are building with GNU ld or not.
15449with_gnu_ld=$lt_with_gnu_ld
15450
15451# Flag that allows shared libraries with undefined symbols to be built.
15452allow_undefined_flag=$lt_allow_undefined_flag
15453
15454# Flag that enforces no undefined symbols.
15455no_undefined_flag=$lt_no_undefined_flag
15456
15457# Flag to hardcode \$libdir into a binary during linking.
15458# This must work even if \$libdir does not exist
15459hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15460
15461# If ld is used when linking, flag to hardcode \$libdir into a binary
15462# during linking. This must work even if \$libdir does not exist.
15463hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15464
15465# Whether we need a single "-rpath" flag with a separated argument.
15466hardcode_libdir_separator=$lt_hardcode_libdir_separator
15467
15468# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15469# DIR into the resulting binary.
15470hardcode_direct=$hardcode_direct
15471
15472# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15473# DIR into the resulting binary and the resulting library dependency is
15474# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15475# library is relocated.
15476hardcode_direct_absolute=$hardcode_direct_absolute
15477
15478# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15479# into the resulting binary.
15480hardcode_minus_L=$hardcode_minus_L
15481
15482# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15483# into the resulting binary.
15484hardcode_shlibpath_var=$hardcode_shlibpath_var
15485
15486# Set to "yes" if building a shared library automatically hardcodes DIR
15487# into the library and all subsequent libraries and executables linked
15488# against it.
15489hardcode_automatic=$hardcode_automatic
15490
15491# Set to yes if linker adds runtime paths of dependent libraries
15492# to runtime path list.
15493inherit_rpath=$inherit_rpath
15494
15495# Whether libtool must link a program against all its dependency libraries.
15496link_all_deplibs=$link_all_deplibs
15497
15498# Fix the shell variable \$srcfile for the compiler.
15499fix_srcfile_path=$lt_fix_srcfile_path
15500
15501# Set to "yes" if exported symbols are required.
15502always_export_symbols=$always_export_symbols
15503
15504# The commands to list exported symbols.
15505export_symbols_cmds=$lt_export_symbols_cmds
15506
15507# Symbols that should not be listed in the preloaded symbols.
15508exclude_expsyms=$lt_exclude_expsyms
15509
15510# Symbols that must always be exported.
15511include_expsyms=$lt_include_expsyms
15512
15513# Commands necessary for linking programs (against libraries) with templates.
15514prelink_cmds=$lt_prelink_cmds
15515
15516# Specify filename containing input files.
15517file_list_spec=$lt_file_list_spec
15518
15519# How to hardcode a shared library path into an executable.
15520hardcode_action=$hardcode_action
15521
15522# ### END LIBTOOL CONFIG
15523
15524_LT_EOF
15525
15526 case $host_os in
15527 aix3*)
15528 cat <<\_LT_EOF >> "$cfgfile"
15529# AIX sometimes has problems with the GCC collect2 program. For some
15530# reason, if we set the COLLECT_NAMES environment variable, the problems
15531# vanish in a puff of smoke.
15532if test "X${COLLECT_NAMES+set}" != Xset; then
15533 COLLECT_NAMES=
15534 export COLLECT_NAMES
15535fi
15536_LT_EOF
15537 ;;
15538 esac
15539
15540
15541ltmain="$ac_aux_dir/ltmain.sh"
15542
15543
15544 # We use sed instead of cat because bash on DJGPP gets confused if
15545 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15546 # text mode, it properly converts lines to CR/LF. This bash problem
15547 # is reportedly fixed, but why not run on old versions too?
15548 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15549 || (rm -f "$cfgfile"; exit 1)
15550
15551 case $xsi_shell in
15552 yes)
15553 cat << \_LT_EOF >> "$cfgfile"
15554
15555# func_dirname file append nondir_replacement
15556# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15557# otherwise set result to NONDIR_REPLACEMENT.
15558func_dirname ()
15559{
15560 case ${1} in
15561 */*) func_dirname_result="${1%/*}${2}" ;;
15562 * ) func_dirname_result="${3}" ;;
15563 esac
15564}
15565
15566# func_basename file
15567func_basename ()
15568{
15569 func_basename_result="${1##*/}"
15570}
15571
15572# func_dirname_and_basename file append nondir_replacement
15573# perform func_basename and func_dirname in a single function
15574# call:
15575# dirname: Compute the dirname of FILE. If nonempty,
15576# add APPEND to the result, otherwise set result
15577# to NONDIR_REPLACEMENT.
15578# value returned in "$func_dirname_result"
15579# basename: Compute filename of FILE.
15580# value retuned in "$func_basename_result"
15581# Implementation must be kept synchronized with func_dirname
15582# and func_basename. For efficiency, we do not delegate to
15583# those functions but instead duplicate the functionality here.
15584func_dirname_and_basename ()
15585{
15586 case ${1} in
15587 */*) func_dirname_result="${1%/*}${2}" ;;
15588 * ) func_dirname_result="${3}" ;;
15589 esac
15590 func_basename_result="${1##*/}"
15591}
15592
15593# func_stripname prefix suffix name
15594# strip PREFIX and SUFFIX off of NAME.
15595# PREFIX and SUFFIX must not contain globbing or regex special
15596# characters, hashes, percent signs, but SUFFIX may contain a leading
15597# dot (in which case that matches only a dot).
15598func_stripname ()
15599{
15600 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15601 # positional parameters, so assign one to ordinary parameter first.
15602 func_stripname_result=${3}
15603 func_stripname_result=${func_stripname_result#"${1}"}
15604 func_stripname_result=${func_stripname_result%"${2}"}
15605}
15606
15607# func_opt_split
15608func_opt_split ()
15609{
15610 func_opt_split_opt=${1%%=*}
15611 func_opt_split_arg=${1#*=}
15612}
15613
15614# func_lo2o object
15615func_lo2o ()
15616{
15617 case ${1} in
15618 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15619 *) func_lo2o_result=${1} ;;
15620 esac
15621}
15622
15623# func_xform libobj-or-source
15624func_xform ()
15625{
15626 func_xform_result=${1%.*}.lo
15627}
15628
15629# func_arith arithmetic-term...
15630func_arith ()
15631{
15632 func_arith_result=$(( $* ))
15633}
15634
15635# func_len string
15636# STRING may not start with a hyphen.
15637func_len ()
15638{
15639 func_len_result=${#1}
15640}
15641
15642_LT_EOF
15643 ;;
15644 *) # Bourne compatible functions.
15645 cat << \_LT_EOF >> "$cfgfile"
15646
15647# func_dirname file append nondir_replacement
15648# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15649# otherwise set result to NONDIR_REPLACEMENT.
15650func_dirname ()
15651{
15652 # Extract subdirectory from the argument.
15653 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15654 if test "X$func_dirname_result" = "X${1}"; then
15655 func_dirname_result="${3}"
15656 else
15657 func_dirname_result="$func_dirname_result${2}"
15658 fi
15659}
15660
15661# func_basename file
15662func_basename ()
15663{
15664 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15665}
15666
15667
15668# func_stripname prefix suffix name
15669# strip PREFIX and SUFFIX off of NAME.
15670# PREFIX and SUFFIX must not contain globbing or regex special
15671# characters, hashes, percent signs, but SUFFIX may contain a leading
15672# dot (in which case that matches only a dot).
15673# func_strip_suffix prefix name
15674func_stripname ()
15675{
15676 case ${2} in
15677 .*) func_stripname_result=`$ECHO "X${3}" \
15678 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15679 *) func_stripname_result=`$ECHO "X${3}" \
15680 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15681 esac
15682}
15683
15684# sed scripts:
15685my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15686my_sed_long_arg='1s/^-[^=]*=//'
15687
15688# func_opt_split
15689func_opt_split ()
15690{
15691 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15692 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15693}
15694
15695# func_lo2o object
15696func_lo2o ()
15697{
15698 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15699}
15700
15701# func_xform libobj-or-source
15702func_xform ()
15703{
15704 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15705}
15706
15707# func_arith arithmetic-term...
15708func_arith ()
15709{
15710 func_arith_result=`expr "$@"`
15711}
15712
15713# func_len string
15714# STRING may not start with a hyphen.
15715func_len ()
15716{
15717 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15718}
15719
15720_LT_EOF
15721esac
15722
15723case $lt_shell_append in
15724 yes)
15725 cat << \_LT_EOF >> "$cfgfile"
15726
15727# func_append var value
15728# Append VALUE to the end of shell variable VAR.
15729func_append ()
15730{
15731 eval "$1+=\$2"
15732}
15733_LT_EOF
15734 ;;
15735 *)
15736 cat << \_LT_EOF >> "$cfgfile"
15737
15738# func_append var value
15739# Append VALUE to the end of shell variable VAR.
15740func_append ()
15741{
15742 eval "$1=\$$1\$2"
15743}
15744
15745_LT_EOF
15746 ;;
15747 esac
15748
15749
15750 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15751 || (rm -f "$cfgfile"; exit 1)
15752
15753 mv -f "$cfgfile" "$ofile" ||
15754 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15755 chmod +x "$ofile"
15756
15757 ;;
15758
15759 esac
15760done # for ac_tag
15761
15762
15763as_fn_exit 0
15764_ACEOF
15765ac_clean_files=$ac_clean_files_save
15766
15767test $ac_write_fail = 0 ||
15768 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15769
15770
15771# configure is writing to config.log, and then calls config.status.
15772# config.status does its own redirection, appending to config.log.
15773# Unfortunately, on DOS this fails, as config.log is still kept open
15774# by configure, so config.status won't be able to write to it; its
15775# output is simply discarded. So we exec the FD to /dev/null,
15776# effectively closing config.log, so it can be properly (re)opened and
15777# appended to by config.status. When coming back to configure, we
15778# need to make the FD available again.
15779if test "$no_create" != yes; then
15780 ac_cs_success=:
15781 ac_config_status_args=
15782 test "$silent" = yes &&
15783 ac_config_status_args="$ac_config_status_args --quiet"
15784 exec 5>/dev/null
15785 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15786 exec 5>>config.log
15787 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15788 # would make configure fail if this is the last instruction.
15789 $ac_cs_success || as_fn_exit 1
15790fi
15791if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15793$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15794fi
15795
15796
15797
15798#####################################################################
15799## Info
15800
15801echo
15802echo
15803echo
15804echo "------------------------------------------------------------------------"
15805echo "$PACKAGE $VERSION"
15806echo "------------------------------------------------------------------------"
15807echo
15808echo "Configuration Options Summary:"
15809echo
15810echo " Build embryo_cc......: $have_embryo_cc"
15811echo
15812echo " Documentation........: ${build_doc}"
15813echo
15814echo "Compilation............: make (or gmake)"
15815echo " CPPFLAGS.............: $CPPFLAGS"
15816echo " CFLAGS...............: $CFLAGS"
15817echo " LDFLAGS..............: $LDFLAGS"
15818echo
15819echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
15820echo " prefix...............: $prefix"
15821echo